/* ============================================================
   RISK CONTROL — Bureau de Contrôle Technique de la Construction
   Design system & global styles
   ============================================================ */

:root {
  --primary: #1F3864;
  --primary-2: #2E74B5;
  --accent: #2E74B5;
  --light: #EAF0F8;
  --gold: #B8860B;
  --gold-soft: #d8a520;
  --ink: #1c2430;
  --grey: #5b6573;
  --grey-2: #8a93a0;
  --line: #e2e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --ok: #1a9d6a;
  --shadow-sm: 0 2px 10px rgba(31, 56, 100, .06);
  --shadow: 0 12px 34px rgba(31, 56, 100, .10);
  --shadow-lg: 0 28px 60px rgba(31, 56, 100, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --grad: linear-gradient(135deg, #1F3864 0%, #2E74B5 100%);
  --grad-gold: linear-gradient(135deg, #B8860B 0%, #d8a520 100%);
  --font: 'Inter', 'Segoe UI', Calibri, system-ui, Arial, sans-serif;
  --head: 'Sora', 'Segoe UI', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; color: var(--primary); font-weight: 700; }
::selection { background: var(--gold); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--primary); color: #dbe4f2; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }

/* ---- Utility text ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: .78rem;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 18px; letter-spacing: -.5px; }
.section-lead { font-size: 1.12rem; color: var(--grey); max-width: 720px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-gold); color: #fff; box-shadow: 0 10px 24px rgba(184, 134, 11, .32); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(184, 134, 11, .42); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: #16294a; color: #fff; transform: translateY(-3px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--primary); color: #cdd8ec; font-size: .84rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #cdd8ec; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 46px; height: auto; flex: none; }
.brand .bt { font-family: var(--head); font-weight: 800; font-size: 1.22rem; color: var(--primary); letter-spacing: .5px; line-height: 1.05; white-space: nowrap; }
.brand .bs { display: block; font-size: .6rem; letter-spacing: .9px; text-transform: uppercase; color: var(--grey); font-weight: 600; white-space: nowrap; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; flex: 0 1 auto; }
.nav-links a {
  font-family: var(--head); font-weight: 500; font-size: .9rem; color: var(--ink);
  padding: 8px 11px; border-radius: 8px; position: relative; white-space: nowrap;
}
/* CTA button that lives inside the nav list is only for the mobile drawer */
.nav-links .m-cta { display: none; }
.nav-cta { flex: 0 0 auto; }
.nav-cta .btn:not(.burger) { padding: 11px 20px; font-size: .9rem; }
.nav-links a:hover { color: var(--primary); background: var(--light); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2.5px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 96px 0 108px;
  background: linear-gradient(120deg, rgba(16,27,50,.95) 0%, rgba(31,56,100,.9) 42%, rgba(46,116,181,.78) 100%),
              url('../img/stock/inspection.jpg') center 30% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 15%, rgba(184,134,11,.28), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(46,116,181,.5), transparent 46%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); padding: 8px 16px; border-radius: 50px;
  font-size: .82rem; font-weight: 600; letter-spacing: .5px; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -1px; margin-bottom: 22px; }
.hero h1 .hl { color: #ffd86b; }
.hero-lead { font-size: 1.2rem; color: #d7e3f5; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: #cdd8ec; }
.hero-trust .ht svg { width: 26px; height: 26px; color: #ffd86b; flex: none; }

/* Hero side card */
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.hero-card p.hc-sub { color: #cdd8ec; font-size: .92rem; margin-bottom: 22px; }
.hero-card .hc-list { list-style: none; }
.hero-card .hc-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: .96rem; color: #eaf1fb;
}
.hero-card .hc-list li:last-child { border-bottom: none; }
.hero-card .hc-ic {
  width: 34px; height: 34px; border-radius: 9px; background: rgba(255,216,107,.16);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hero-card .hc-ic svg { width: 18px; height: 18px; color: #ffd86b; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: #fff; margin-top: -56px; position: relative; z-index: 5; }
.stats-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-cell { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: none; }
.stat-cell .n { font-family: var(--head); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-cell .n .suf { color: var(--gold); }
.stat-cell .l { font-size: .9rem; color: var(--grey); margin-top: 8px; font-weight: 500; }

/* ============================================================
   GENERIC CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #d3e0f2; }
.card-ic {
  width: 58px; height: 58px; border-radius: 14px; background: var(--light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background .3s;
}
.card-ic svg { width: 28px; height: 28px; color: var(--accent); }
.card:hover .card-ic { background: var(--grad); }
.card:hover .card-ic svg { color: #fff; }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .98rem; }
.card .card-tag {
  position: absolute; top: 18px; right: -34px; background: var(--gold); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .5px; padding: 4px 40px;
  transform: rotate(45deg); text-transform: uppercase;
}
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--head); font-weight: 600; font-size: .92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card-link:hover svg { transform: translateX(4px); }

/* ============================================================
   FEATURE / SPLIT SECTIONS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.feature-list { list-style: none; margin-top: 26px; }
.feature-list li { display: flex; gap: 15px; margin-bottom: 20px; }
.feature-list .fic {
  width: 42px; height: 42px; border-radius: 11px; background: var(--light); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.feature-list .fic svg { width: 21px; height: 21px; color: var(--accent); }
.feature-list h4 { font-size: 1.06rem; margin-bottom: 3px; }
.feature-list p { color: var(--grey); font-size: .95rem; margin: 0; }

.media-panel {
  background: var(--grad); border-radius: 22px; padding: 42px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.media-panel::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(184,134,11,.28);
}
.media-panel .mp-inner { position: relative; z-index: 2; }

/* ============================================================
   MISSION / SERVICE DETAIL CARDS
   ============================================================ */
.mission-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm); padding: 26px; transition: all .3s;
}
.mission-card.key { border-left-color: var(--gold); background: linear-gradient(180deg, #fffdf6, #fff); }
.mission-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mission-card .mc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.mission-card .mc-num {
  font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: #fff;
  background: var(--primary); min-width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.mission-card.key .mc-num { background: var(--grad-gold); }
.mission-card h3 { font-size: 1.16rem; margin: 0; }
.mission-card p { color: var(--grey); font-size: .97rem; }
.pill-key {
  display: inline-block; margin-top: 14px; background: rgba(184,134,11,.12); color: var(--gold);
  font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; letter-spacing: .4px;
}

/* Clickable mission cards -> detail modal */
.mission-card.clickable { cursor: pointer; }
.mission-card.clickable:focus-visible { outline: 3px solid rgba(46,116,181,.4); outline-offset: 3px; }
.mc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--head); font-weight: 600; font-size: .86rem; color: var(--accent); }
.mc-more svg { width: 15px; height: 15px; transition: transform .25s; }
.mission-card.clickable:hover .mc-more svg { transform: translateX(4px); }

/* ============================================================
   MODAL (mission detail)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(20,33,61,.62); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal-dialog {
  position: relative; z-index: 2; background: #fff; border-radius: 20px; max-width: 680px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: popIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--light); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 3;
}
.modal-close:hover { background: var(--primary); }
.modal-close svg { width: 20px; height: 20px; color: var(--primary); }
.modal-close:hover svg { color: #fff; }
.modal-body { padding: 40px; }
.md-code { display: inline-block; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .5px; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px; }
.md-body-inner h3 { font-size: 1.5rem; margin-bottom: 12px; }
.md-obj { color: var(--grey); font-size: 1.02rem; margin-bottom: 22px; }
.md-grid { display: grid; gap: 18px; }
.md-grid > div { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; }
.md-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 6px; }
.md-grid p { color: var(--ink); font-size: .96rem; }
.modal-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .modal-body { padding: 30px 22px; } .md-body-inner h3 { font-size: 1.3rem; } }

/* ============================================================
   SCOPE / TAGS
   ============================================================ */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.scope-item {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 15px 18px; font-weight: 500; font-size: .96rem; transition: all .25s;
}
.scope-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.scope-item .si-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; flex: none; }
.scope-item .si-ic svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; }
.step .s-num {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 20px;
  background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--primary); position: relative; z-index: 2;
}
.step.dark-step .s-num { background: var(--grad); color: #fff; border-color: transparent; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: .94rem; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 33px; left: 60%; width: 80%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.section.dark .step .s-num { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.section.dark .step p { color: #b9c6dc; }

/* ============================================================
   REFERENCES TABLE
   ============================================================ */
.ref-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ref-table thead th { background: var(--primary); color: #fff; text-align: left; padding: 16px 20px; font-family: var(--head); font-weight: 600; font-size: .95rem; }
.ref-table tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: middle; }
.ref-table tbody tr:last-child td { border-bottom: none; }
.ref-table tbody tr:hover { background: var(--bg-soft); }
.ref-table .r-proj { font-weight: 600; color: var(--primary); }
.ref-table .r-year { color: var(--accent); font-weight: 700; white-space: nowrap; }
.tag-chip { display: inline-block; background: var(--light); color: var(--primary); font-size: .78rem; font-weight: 600; padding: 3px 11px; border-radius: 20px; }

/* ============================================================
   CLIENT LOGOS
   ============================================================ */
.logos-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.logo-cell {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 110px;
  display: flex; align-items: center; justify-content: center; padding: 22px; transition: all .3s;
}
.logo-cell:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); border-color: #d3e0f2; }
.logo-cell img { max-height: 62px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: all .3s; }
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   PROJECT GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gphoto { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gphoto:hover img { transform: scale(1.06); }
.gphoto .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 18px; background: linear-gradient(to top, rgba(20,33,61,.9), rgba(20,33,61,.35) 60%, transparent); color: #fff; }
.gphoto .gcap h4 { color: #fff; font-size: 1.12rem; margin-bottom: 2px; }
.gphoto .gcap span { color: #dbe4f2; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.gphoto .gcap span svg { width: 14px; height: 14px; }
.gphoto .gtag { position: absolute; top: 14px; left: 14px; background: rgba(184,134,11,.95); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; letter-spacing: .3px; }

/* ============================================================
   PHOTO BAND (immersive full-width image + statement)
   ============================================================ */
.photo-band { position: relative; padding: 108px 0; color: #fff; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(16,27,50,.86), rgba(31,56,100,.8) 60%, rgba(46,116,181,.72)); }
.photo-band .container { position: relative; z-index: 2; }
.photo-band .eyebrow { justify-content: center; color: #ffd86b; }
.photo-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 860px; margin: 0 auto 14px; letter-spacing: -.3px; }
.photo-band p { color: #dbe4f2; max-width: 660px; margin: 0 auto; font-size: 1.12rem; }
.photo-band .band-stats { display: flex; justify-content: center; gap: 46px; margin-top: 36px; flex-wrap: wrap; }
.photo-band .band-stats .bs-n { font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: #ffd86b; line-height: 1; }
.photo-band .band-stats .bs-l { font-size: .9rem; color: #cdd8ec; margin-top: 6px; }
@media (max-width: 780px) { .photo-band { background-attachment: scroll; padding: 76px 0; } .photo-band .band-stats { gap: 30px; } }

/* ============================================================
   SECTORS
   ============================================================ */
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; transition: all .3s; }
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sector .sec-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.sector .sec-ic svg { width: 30px; height: 30px; color: #fff; }
.sector h4 { font-size: 1.08rem; margin-bottom: 6px; }
.sector p { color: var(--grey); font-size: .9rem; }

/* ============================================================
   VALUES
   ============================================================ */
.value-card { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); transition: all .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .v-ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(184,134,11,.1); display: flex; align-items: center; justify-content: center; }
.value-card .v-ic svg { width: 26px; height: 26px; color: var(--gold); }
.value-card h4 { font-size: 1.14rem; margin-bottom: 8px; }
.value-card p { color: var(--grey); font-size: .92rem; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { max-width: 860px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s; }
.acc-item.open { box-shadow: var(--shadow-sm); border-color: #d3e0f2; }
.acc-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--primary); }
.acc-q .acc-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; flex: none; transition: all .3s; }
.acc-q .acc-ic svg { width: 18px; height: 18px; color: var(--accent); transition: transform .3s; }
.acc-item.open .acc-ic { background: var(--grad); }
.acc-item.open .acc-ic svg { color: #fff; transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding: 0 24px 22px; color: var(--grey); font-size: .98rem; }

/* ============================================================
   TIMELINE (direction / about)
   ============================================================ */
.person-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; gap: 22px; align-items: flex-start; transition: all .3s; }
.person-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.person-avatar { width: 76px; height: 76px; border-radius: 18px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 1.6rem; flex: none; }
.person-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.person-card .p-role { color: var(--gold); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.person-card .p-desc { color: var(--grey); font-size: .95rem; }
.person-card .p-exp { display: inline-block; margin-top: 10px; background: var(--light); color: var(--primary); font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--grad); border-radius: 26px; padding: 60px 56px; color: #fff; position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(184,134,11,.32), transparent 40%), radial-gradient(circle at 90% 90%, rgba(255,255,255,.1), transparent 40%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: #d7e3f5; font-size: 1.12rem; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--primary); margin-bottom: 7px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .97rem; color: var(--ink); background: #fbfcfe; transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(46,116,181,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .84rem; color: var(--grey-2); margin-top: 4px; }
.form-success { display: none; background: rgba(26,157,106,.1); border: 1px solid rgba(26,157,106,.35); color: #0f6b47; border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; font-weight: 500; }
.form-success.show { display: block; }

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: all .3s; }
.info-card:hover { box-shadow: var(--shadow-sm); border-color: #d3e0f2; }
.info-card .ic-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; flex: none; }
.info-card .ic-ic svg { width: 22px; height: 22px; color: #fff; }
.info-card h4 { font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--grey); font-size: .94rem; margin: 0; }
.info-card a:hover { color: var(--accent); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-hero { background: var(--grad); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(184,134,11,.26), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #b9c6dc; margin-bottom: 16px; }
.breadcrumb a { color: #dbe4f2; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 14px; letter-spacing: -.5px; }
.page-hero p { color: #d7e3f5; font-size: 1.15rem; max-width: 680px; }

/* ============================================================
   ISO / QUALITY BADGE
   ============================================================ */
.iso-badge { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; box-shadow: var(--shadow-sm); }
.iso-badge .ib-seal { width: 60px; height: 60px; border-radius: 50%; background: var(--grad-gold); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; line-height: 1; flex: none; }
.iso-badge .ib-seal .big { font-size: 1.2rem; }
.iso-badge .ib-seal .small { font-size: .55rem; letter-spacing: 1px; margin-top: 2px; }
.iso-badge .ib-txt strong { display: block; color: var(--primary); font-family: var(--head); font-size: 1.05rem; }
.iso-badge .ib-txt span { color: var(--grey); font-size: .88rem; }

.check-list { list-style: none; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 15px; font-size: 1rem; color: var(--ink); }
.check-list li .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.check-list li .chk svg { width: 14px; height: 14px; }
.section.dark .check-list li { color: #dbe4f2; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #14213d; color: #a9b6cf; padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .fb-logo img { width: 48px; background: #fff; border-radius: 10px; padding: 5px; }
.footer-brand .fb-logo .bt { font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-brand p { font-size: .94rem; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--head); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #a9b6cf; font-size: .93rem; }
.footer-col ul a:hover { color: #ffd86b; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; color: #ffd86b; flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.footer-bottom .legal-mini { color: #7f8db0; }
.footer-bottom .fb-links { display: flex; gap: 20px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(14px); transition: all .3s; z-index: 90; border: none; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); }
.to-top svg { width: 22px; height: 22px; }

/* Floating WhatsApp / quick contact */
.float-wa { position: fixed; left: 26px; bottom: 26px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 12px 20px; border-radius: 50px; font-family: var(--head); font-weight: 600; font-size: .94rem; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: all .3s; }
.float-wa:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(37,211,102,.5); }
.float-wa svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logos-strip { grid-template-columns: repeat(3, 1fr); }
}
/* Header collapses to a burger drawer before the horizontal nav can crowd */
@media (max-width: 1080px) {
  .topbar { display: none; }
  .nav-links {
    position: fixed; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px; gap: 4px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .35s; max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px; border-radius: 10px; font-size: 1rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--light); }
  .nav-links .m-cta { display: block; margin-top: 8px; }
  .nav-cta .btn:not(.burger) { display: none; }
  .burger { display: block; }
}

@media (max-width: 940px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .media-panel { padding: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .logos-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .float-wa span { display: none; }
  .float-wa { padding: 14px; }
  .ref-table { display: block; overflow-x: auto; white-space: nowrap; }
}
