/* ========================================================================
   DERICE — v4 « CORPORATE CONFIANCE »
   Refonte — ATOM Studios
   Palette : teal #21A6A5 · marine #0f2942 · gris clair #f1f5f7 · blanc
   ======================================================================== */

:root {
  --teal: #21a6a5;
  --teal-dark: #178584;
  --teal-soft: #e3f4f4;
  --navy: #0f2942;
  --navy-2: #16395c;
  --navy-soft: #21456b;
  --gray: #f1f5f7;
  --gray-2: #e2e9ed;
  --ink: #1c2733;
  --muted: #5a6b7a;
  --white: #ffffff;
  --line: #dde5ea;

  --shadow-sm: 0 1px 3px rgba(15, 41, 66, 0.08), 0 1px 2px rgba(15, 41, 66, 0.04);
  --shadow: 0 6px 24px rgba(15, 41, 66, 0.09);
  --shadow-lg: 0 18px 48px rgba(15, 41, 66, 0.16);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;

  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-slab: 'Roboto Slab', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-slab); line-height: 1.18; color: var(--navy); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: #d4e0ea; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---- Eyebrow + headings ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); display: inline-block; }
.section--navy .eyebrow { color: #5fd6d5; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--navy .section-head p { color: #aebfce; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(33, 166, 165, 0.32); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(33, 166, 165, 0.4); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* ========================================================================
   HEADER
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--navy);
  color: #c8d6e2;
  font-size: 0.84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #c8d6e2; transition: color .18s; }
.topbar a:hover { color: #5fd6d5; }
.topbar-info { display: flex; gap: 22px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--teal); }
.topbar-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.topbar-tag svg { width: 15px; height: 15px; color: #5fd6d5; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--teal); background: var(--teal-soft); }
.nav-links a.active { color: var(--teal); }
.nav-cta { margin-left: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.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;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(33,166,165,.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(33,166,165,.12), transparent 40%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
  min-height: 560px;
}
.hero-content { padding: 80px 56px 80px 0; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: #5fd6d5; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: #5fd6d5; }
.hero-lead { font-size: 1.14rem; color: #b9cadb; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #cdddea; }
.hero-trust-item svg { width: 20px; height: 20px; color: #5fd6d5; flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--navy) 0%, rgba(15,41,66,.55) 28%, rgba(15,41,66,.12) 100%);
}
.hero-badge {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 2;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 280px;
}
.hero-badge .num { font-family: var(--font-slab); font-size: 2rem; color: var(--teal); line-height: 1; }
.hero-badge .lbl { font-size: 0.84rem; color: var(--muted); font-weight: 600; }

/* ========================================================================
   STATS / COMPTEURS
   ======================================================================== */
.stats {
  background: var(--teal);
  color: #fff;
  position: relative;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 56px; padding-bottom: 56px; }
.stat { text-align: center; padding: 8px; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 18%; height: 64%; width: 1px;
  background: rgba(255,255,255,.28);
}
.stat-num { font-family: var(--font-slab); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.stat-num .suffix { font-size: 0.55em; vertical-align: super; }
.stat-label { margin-top: 8px; font-size: 0.96rem; font-weight: 600; opacity: .94; }
.stats-note { text-align: center; font-size: 0.78rem; opacity: .8; padding-bottom: 22px; }

/* ========================================================================
   INTRO / VALUE
   ======================================================================== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.intro-media .tint { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,41,66,.45)); }
.intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.intro p { color: var(--muted); margin-bottom: 16px; }
.intro-points { list-style: none; margin: 22px 0 28px; display: grid; gap: 14px; }
.intro-points li { display: flex; gap: 13px; align-items: flex-start; }
.intro-points .ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center;
}
.intro-points .ico svg { width: 17px; height: 17px; }
.intro-points strong { color: var(--navy); display: block; }
.intro-points span { color: var(--muted); font-size: 0.93rem; }

/* ========================================================================
   MÉTIERS (cartes)
   ======================================================================== */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}
.metier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.metier-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.metier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.metier-card:hover::before { transform: scaleX(1); }
.metier-icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--gray); display: grid; place-items: center; margin-bottom: 18px;
  transition: background .25s;
}
.metier-card:hover .metier-icon { background: var(--teal-soft); }
.metier-icon img { width: 38px; height: 38px; object-fit: contain; }
.metier-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.metier-card p { color: var(--muted); font-size: 0.94rem; }
.metier-card .link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.9rem; color: var(--teal);
}
.metier-card .link svg { width: 15px; height: 15px; transition: transform .2s; }
.metier-card:hover .link svg { transform: translateX(4px); }

/* ========================================================================
   PROCESS / TIMELINE
   ======================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.process-step .step-num {
  font-family: var(--font-slab);
  font-size: 0.9rem; font-weight: 700;
  color: var(--navy);
  width: 44px; height: 44px; border-radius: 50%;
  background: #5fd6d5; display: grid; place-items: center;
  margin-bottom: 18px;
}
.process-step .step-ico { width: 26px; height: 26px; color: #5fd6d5; margin-bottom: 14px; }
.process-step h3 { font-size: 1.16rem; margin-bottom: 8px; color: #fff; }
.process-step p { font-size: 0.92rem; color: #aebfce; }
.process-step .connector {
  position: absolute; top: 52px; right: -13px; z-index: 2;
  color: #5fd6d5; opacity: .7;
}
.process-step .connector svg { width: 24px; height: 24px; }

/* ========================================================================
   CERTIF / GEO band
   ======================================================================== */
.assur-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.assur-cert {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); text-align: center;
}
.assur-cert img { margin: 0 auto 18px; max-width: 220px; }
.assur-cert h3 { font-size: 1.3rem; margin-bottom: 8px; }
.assur-cert p { color: var(--muted); font-size: 0.95rem; }
.assur-feats { display: grid; gap: 20px; }
.assur-feat { display: flex; gap: 16px; align-items: flex-start; }
.assur-feat .ico {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal); display: grid; place-items: center;
}
.assur-feat .ico svg { width: 24px; height: 24px; }
.assur-feat h4 { font-size: 1.12rem; margin-bottom: 4px; }
.assur-feat p { color: var(--muted); font-size: 0.95rem; }

/* ========================================================================
   RÉALISATIONS preview / galerie
   ======================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 250px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile.has-photo:hover img { transform: scale(1.06); }
.tile-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(33,166,165,.78), rgba(15,41,66,.88));
  mix-blend-mode: multiply;
}
.tile.has-photo .tile-tint {
  background: linear-gradient(180deg, rgba(15,41,66,.05) 35%, rgba(15,41,66,.85));
  mix-blend-mode: normal;
}
.tile-body { position: relative; z-index: 2; padding: 24px; color: #fff; width: 100%; }
.tile-ico { width: 46px; height: 46px; margin-bottom: 12px; padding: 9px; background: rgba(255,255,255,.16); border-radius: 11px; backdrop-filter: blur(4px); }
.tile-ico img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.tile p { font-size: 0.9rem; color: rgba(255,255,255,.85); }

.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  cursor: pointer; transition: .18s;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal); }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ========================================================================
   TÉMOIGNAGES + LOGOS
   ======================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testi-quote { color: var(--teal); width: 34px; height: 34px; margin-bottom: 14px; }
.testi-card p { color: var(--ink); font-size: 1.02rem; flex-grow: 1; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-slab); font-weight: 700;
}
.testi-author .nm { font-weight: 700; color: var(--navy); font-size: 0.96rem; }
.testi-author .rl { color: var(--muted); font-size: 0.85rem; }
.testi-stars { color: #f5b50a; margin-bottom: 14px; letter-spacing: 2px; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 52px; }
.logo-chip {
  display: flex; align-items: center; justify-content: center;
  height: 64px; min-width: 150px; padding: 0 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-slab); font-weight: 700; color: var(--muted);
  letter-spacing: .03em; font-size: 1.02rem;
  transition: .2s; filter: grayscale(1); opacity: .8;
}
.logo-chip:hover { filter: grayscale(0); opacity: 1; color: var(--navy); border-color: var(--teal); }

/* ========================================================================
   CTA band
   ======================================================================== */
.cta-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 56px;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(33,166,165,.32), transparent 50%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta-band p { color: #b9cadb; max-width: 540px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========================================================================
   PAGE HEADER (sous-pages)
   ======================================================================== */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 70px 0 64px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 30%, rgba(33,166,165,.2), transparent 48%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #5fd6d5; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; max-width: 760px; }
.page-hero p { color: #b9cadb; font-size: 1.08rem; max-width: 620px; }
.breadcrumb { font-size: 0.86rem; color: #8fa6bb; margin-bottom: 18px; }
.breadcrumb a { color: #8fa6bb; }
.breadcrumb a:hover { color: #5fd6d5; }

/* ========================================================================
   À PROPOS bits
   ======================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: .2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .ico {
  width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 16px;
}
.value-card .ico svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.94rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.split-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }
.split-body .mini-stats { display: flex; gap: 32px; margin-top: 26px; flex-wrap: wrap; }
.mini-stat .n { font-family: var(--font-slab); font-size: 1.9rem; color: var(--teal); line-height: 1; }
.mini-stat .l { font-size: 0.86rem; color: var(--muted); font-weight: 600; }

/* ========================================================================
   RECRUTEMENT bits
   ======================================================================== */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 22px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.perk .ico svg { width: 22px; height: 22px; }
.perk h3 { font-size: 1.06rem; margin-bottom: 5px; }
.perk p { color: var(--muted); font-size: 0.92rem; }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: .2s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.job-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.job-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.job-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.job-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 15px; height: 15px; color: var(--teal); }

/* ========================================================================
   FORMULAIRE
   ======================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start;
}
.info-card .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #5fd6d5; display: grid; place-items: center; }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.95rem; }
.info-card a:hover { color: var(--teal); }

.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 0.98rem;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--gray); color: var(--ink); transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(33,166,165,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 0.82rem; max-width: 320px; }
.form-success {
  display: none;
  background: var(--teal-soft); border: 1.5px solid var(--teal);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 22px;
  color: var(--teal-dark); font-weight: 600;
  align-items: center; gap: 12px;
}
.form-success.show { display: flex; animation: pop .35s ease; }
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); margin-top: 40px; min-height: 320px;
  position: relative; background: var(--navy);
  display: grid; place-items: center; color: #b9cadb; text-align: center; padding: 40px;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer { background: var(--navy); color: #9fb3c6; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 48px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.92rem; color: #8fa6bb; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-family: var(--font-sans); font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: #9fb3c6; font-size: 0.93rem; transition: color .18s; }
.footer-col a:hover { color: #5fd6d5; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.footer-qualibat {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
  background: rgba(33,166,165,.14); border: 1px solid rgba(33,166,165,.3);
  color: #5fd6d5; font-weight: 700; font-size: 0.82rem; letter-spacing: .04em;
  padding: 8px 14px; border-radius: 999px;
}
.footer-qualibat svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: #7e93a8;
}
.footer-bottom a { color: #9fb3c6; }
.footer-bottom a:hover { color: #5fd6d5; }
.footer-credit { font-weight: 600; }
.footer-credit a { color: #5fd6d5; }

/* ========================================================================
   REVEAL animation
   ======================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 56px 0 40px; }
  .hero-media { min-height: 320px; }
  .hero-media img { position: relative; }
  .intro-grid, .assur-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step .connector { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .topbar-info { display: none; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 90px 26px 30px; gap: 6px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s ease; z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.06rem; padding: 13px 14px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  .burger { display: flex; z-index: 95; }
  .process-grid, .stats .container { grid-template-columns: 1fr; }
  .stat::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 44px 0 36px; }
  .cta-band { padding: 36px 24px; }
}

/* nav overlay */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(15,41,66,.5); z-index: 85; }
.nav-overlay.show { display: block; }
