/* ═══════════════════════════════════════════════════════════════
   AVDT.FR — Feuille de style principale
   Site : avdt.fr | Partie de homologations.eu
   ═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────────────── */
:root {
  --navy:        #0B1F33;
  --navy-90:     rgba(11,31,51,.90);
  --blue:        #1055A0;
  --blue-light:  #2475C8;
  --blue-pale:   #E8F1FB;
  --amber:       #D4872A;
  --amber-dark:  #B8711E;
  --amber-light: #FBF3E8;
  --red:         #C0392B;
  --red-pale:    #FDECEA;
  --green:       #1A5C35;
  --green-light: #E9F4EE;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --grey-50:     #F8F9FB;
  --grey-100:    #ECEEF2;
  --grey-300:    #C8CDD6;
  --grey-400:    #98A5B5;
  --grey-600:    #5A6B7E;
  --grey-800:    #2A3A4C;
  --text:        #18293D;

  --serif:   'Source Serif 4', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --display: 'Bebas Neue', sans-serif;

  --nav-h:    70px;
  --r-sm:     6px;
  --r:        10px;
  --r-lg:     20px;
  --sh-sm:    0 2px 10px rgba(11,31,51,.07);
  --sh:       0 8px 32px rgba(11,31,51,.12);
  --sh-lg:    0 24px 72px rgba(11,31,51,.18);
  --trans:    0.3s cubic-bezier(.25,.46,.45,.94);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy);
  border-top: 2px solid var(--amber);
  padding: 20px 5%;
  display: none;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 32px rgba(0,0,0,.3);
}
#cookie-banner.show { display: flex; }
.cookie-icon {
  font-size: 1.8rem; flex-shrink: 0;
  margin-top: 2px;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text p {
  font-size: .83rem; color: rgba(255,255,255,.75);
  line-height: 1.6; margin-bottom: 4px;
}
.cookie-text p strong { color: white; }
.cookie-text a { color: var(--amber); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-cookie-accept {
  padding: 10px 22px; background: var(--amber); color: white;
  font-size: .85rem; font-weight: 600; border-radius: var(--r-sm);
  transition: background var(--trans);
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--amber-dark); }
.btn-cookie-refuse {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75);
  font-size: .83rem; font-weight: 400; border-radius: var(--r-sm);
  transition: border-color var(--trans), color var(--trans);
  white-space: nowrap;
}
.btn-cookie-refuse:hover { border-color: rgba(255,255,255,.6); color: white; }
.cookie-customize {
  font-size: .75rem; color: rgba(255,255,255,.4);
  text-decoration: underline; cursor: pointer;
  transition: color var(--trans);
}
.cookie-customize:hover { color: rgba(255,255,255,.7); }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
#nav.nav-top { background: transparent; }
#nav.nav-filled {
  background: rgba(11,31,51,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 28px rgba(0,0,0,.28);
}
#nav.nav-solid {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--blue-light); border-radius: var(--r-sm);
}
.logo-badge .lb-avdt {
  font-family: var(--display); font-size: 1rem;
  letter-spacing: .06em; color: white; line-height: 1;
}
.logo-flag { display: flex; width: 24px; height: 10px; border-radius: 1px; overflow: hidden; margin-top: 3px; }
.logo-flag span { flex: 1; }
.lf-b { background: #002395; }
.lf-w { background: white; }
.lf-r { background: #ED2939; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: .08em; color: white; }
.logo-sub  { font-size: .62rem; font-weight: 400; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .84rem; font-weight: 500;
  color: rgba(255,255,255,.78); letter-spacing: .03em;
  position: relative; transition: color .2s; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--amber); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 9px 20px !important;
  background: var(--amber) !important; color: white !important;
  font-weight: 600 !important; font-size: .79rem !important;
  border-radius: var(--r-sm) !important; letter-spacing: .05em !important;
  text-transform: uppercase; transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }
.nav-cta.active::after { display: none !important; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-100);
  padding: 12px 5%;
  margin-top: var(--nav-h);
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--grey-400);
}
.breadcrumb-inner a { color: var(--grey-600); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--grey-300); }
.breadcrumb-current { color: var(--navy); font-weight: 500; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.rv, .rv-l, .rv-r, .rv-s {
  opacity: 0; transition: opacity .75s ease, transform .75s ease;
}
.rv   { transform: translateY(28px); }
.rv-l { transform: translateX(-36px); }
.rv-r { transform: translateX(36px); }
.rv-s { transform: scale(.95); }
.rv.in, .rv-l.in, .rv-r.in, .rv-s.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }
.d5 { transition-delay: .5s !important; }

/* ─── SECTION COMMONS ────────────────────────────────────────── */
section { position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.pt90 { padding-top: 90px; }
.pb90 { padding-bottom: 90px; }

.slabel {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.slabel::before { content:''; display:block; width:22px; height:2px; background:var(--amber); }
.slabel.light { color: rgba(255,255,255,.55); }
.slabel.light::before { background: var(--amber); }

h2.stitle {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.12; color: var(--navy); margin-bottom: 16px;
}
h2.stitle.light { color: white; }
.slead {
  font-size: 1rem; font-weight: 300; color: var(--grey-600);
  line-height: 1.78; max-width: 620px;
}
.slead.light { color: rgba(255,255,255,.65); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-amber {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--amber); color: white;
  font-size: .92rem; font-weight: 600; border-radius: var(--r-sm);
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(212,135,42,.35);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,135,42,.45); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--blue-light); color: white;
  font-size: .92rem; font-weight: 600; border-radius: var(--r-sm);
  transition: background .25s, transform .25s;
}
.btn-blue:hover { background: #1a65b5; transform: translateY(-2px); }
.btn-outline-w {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  font-size: .88rem; border-radius: var(--r-sm);
  transition: border-color .25s, color .25s, background .25s;
}
.btn-outline-w:hover { border-color: rgba(255,255,255,.7); color: white; background: rgba(255,255,255,.07); }
.btn-outline-b {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--blue); color: var(--blue);
  font-size: .88rem; border-radius: var(--r-sm);
  transition: background .25s, color .25s;
}
.btn-outline-b:hover { background: var(--blue); color: white; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  will-change: transform;
}
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(11,31,51,.96) 0%,
    rgba(11,31,51,.55) 40%,
    rgba(11,31,51,.15) 75%,
    transparent 100%);
}
.hero-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue-light) 50%, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 5% 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px; margin-bottom: 18px;
  border: 1px solid rgba(212,135,42,.4); border-radius: 100px;
  animation: aUp .8s .2s both;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; background: var(--amber); border-radius: 50%;
  animation: blink 2s infinite;
}
.hero-eyebrow span { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: .04em; line-height: .95; color: white; margin-bottom: 14px;
  animation: aUp .9s .4s both;
}
.hero-title .hl { color: var(--amber); }
.hero-subtitle {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,.7); margin-bottom: 24px;
  animation: aUp .9s .55s both;
}
.hero-desc {
  font-size: .98rem; font-weight: 300; line-height: 1.78;
  color: rgba(255,255,255,.72); max-width: 560px; margin-bottom: 36px;
  animation: aUp .9s .68s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  animation: aUp .9s .82s both;
}
.hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px;
  animation: aUp .9s 1s both;
}
.hb {
  display: flex; align-items: center; gap: 8px; padding: 7px 14px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 100px;
}
.hb svg { width: 16px; height: 16px; fill: var(--amber); flex-shrink: 0; }
.hb span { font-size: .76rem; font-weight: 500; color: rgba(255,255,255,.8); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  cursor: pointer; animation: fadeIn 1s 1.4s both;
}
.hero-scroll span { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.scroll-bar { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); animation: sPulse 2s ease-in-out infinite; }

/* hero page intérieure */
.hero-inner {
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  height: 380px; display: flex; align-items: flex-end;
}
.hero-inner .hero-content { padding-bottom: 50px; }
.hero-inner .hero-title { font-size: clamp(2.4rem, 5vw, 5rem); }

/* ─── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes aUp    { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes blink  { 0%,100% { box-shadow:0 0 0 0 rgba(212,135,42,.5); } 50% { box-shadow:0 0 0 6px rgba(212,135,42,0); } }
@keyframes sPulse { 0%,100% { transform:scaleY(1); opacity:.3; } 50% { transform:scaleY(.5); opacity:1; } }

/* ─── STATS BAND ─────────────────────────────────────────────── */
.stats-band { background: var(--navy); padding: 56px 0; overflow: hidden; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden;
}
.stat-item {
  padding: 36px 24px; background: var(--navy); text-align: center;
  position: relative; transition: background .3s;
}
.stat-item:hover { background: rgba(255,255,255,.03); }
.stat-item::after {
  content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:0; height:2px; background:var(--amber); transition:width .4s;
}
.stat-item:hover::after { width:55%; }
.stat-num {
  font-family: var(--display); font-size: 3.2rem; letter-spacing: .04em;
  color: white; line-height: 1; margin-bottom: 8px;
}
.stat-suf { color: var(--amber); font-size: 2rem; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.48); letter-spacing: .05em; text-transform: uppercase; line-height: 1.4; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.card {
  background: white; border-radius: var(--r); padding: 28px 24px;
  border: 1px solid var(--grey-100); box-shadow: var(--sh-sm);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.ci-blue  { background: var(--blue-pale); }
.ci-blue svg  { fill: var(--blue); }
.ci-amber { background: var(--amber-light); }
.ci-amber svg { fill: var(--amber); }
.ci-green { background: var(--green-light); }
.ci-green svg { fill: var(--green); }
.ci-red   { background: var(--red-pale); }
.ci-red svg   { fill: var(--red); }
.card-title { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.card-desc  { font-size: .82rem; color: var(--grey-600); line-height: 1.6; }

/* ─── IMAGE COL ──────────────────────────────────────────────── */
.img-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.img-wrap:hover img { transform: scale(1.03); }

/* ─── TIMELINE ───────────────────────────────────────────────── */
.timeline { position: relative; }
.timeline::before {
  content:''; position:absolute; left:27px; top:0; bottom:0; width:1px;
  background: linear-gradient(to bottom, var(--blue-light), var(--amber));
}
.tstep { display: grid; grid-template-columns: 56px 1fr; gap: 30px; margin-bottom: 52px; }
.tstep:last-child { margin-bottom: 0; }
.tstep-dot {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: white; border: 2px solid var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em;
  color: var(--blue); z-index: 1; box-shadow: 0 0 0 6px white;
  transition: background .3s, color .3s, border-color .3s;
}
.tstep:hover .tstep-dot { background: var(--amber); color: white; border-color: var(--amber); }
.tstep-body { padding-top: 10px; }
.tstep-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tstep-n { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }
.badge { padding: 2px 10px; border-radius: 100px; font-size: .7rem; font-weight: 500; }
.b-blue  { background: var(--blue-pale);   color: var(--blue); }
.b-amber { background: var(--amber-light);  color: var(--amber); }
.b-green { background: var(--green-light); color: var(--green); }
.tstep-title { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.tstep-desc  { font-size: .9rem; line-height: 1.75; color: var(--grey-600); }
.tstep-img   { margin-top: 16px; border-radius: var(--r); overflow: hidden; max-height: 230px; }
.tstep-img img { width: 100%; height: 100%; object-fit: cover; }
.tstep-docs { margin-top: 14px; padding: 16px 18px; background: var(--off-white); border-radius: 8px; border: 1px solid var(--grey-100); }
.tstep-docs-title { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 10px; }
.tstep-docs ul { display: flex; flex-direction: column; gap: 6px; }
.tstep-docs ul li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--grey-800); line-height: 1.45; }
.tstep-docs ul li::before { content: '→'; color: var(--amber); font-weight: 700; flex-shrink: 0; }

/* ─── INFO BOXES ─────────────────────────────────────────────── */
.info-box {
  padding: 22px 26px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 24px 0;
}
.info-box.blue  { border-left: 3px solid var(--blue);  background: var(--blue-pale); }
.info-box.amber { border-left: 3px solid var(--amber); background: var(--amber-light); }
.info-box.red   { border-left: 3px solid var(--red);   background: var(--red-pale); }
.info-box.green { border-left: 3px solid var(--green); background: var(--green-light); }
.info-box-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.info-box-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.ib-blue  .info-box-head svg { fill: var(--blue); }
.ib-amber .info-box-head svg { fill: var(--amber); }
.ib-red   .info-box-head svg { fill: var(--red); }
.ib-green .info-box-head svg { fill: var(--green); }
.info-box-head span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ib-blue  .info-box-head span { color: var(--blue); }
.ib-amber .info-box-head span { color: var(--amber); }
.ib-red   .info-box-head span { color: var(--red); }
.ib-green .info-box-head span { color: var(--green); }
.info-box p { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.65; color: var(--navy); }
.info-box p.plain { font-family: var(--sans); font-style: normal; font-size: .9rem; }
.info-box cite { display:block; margin-top:8px; font-family:var(--sans); font-style:normal; font-size:.72rem; font-weight:600; color:var(--grey-600); letter-spacing:.06em; text-transform:uppercase; }

/* ─── NOTE BAND ──────────────────────────────────────────────── */
.note-band {
  padding: 28px 32px; background: var(--navy);
  border-radius: var(--r); display: flex; align-items: flex-start; gap: 18px;
}
.note-band-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.note-band-icon svg { width: 22px; height: 22px; fill: white; }
.note-band p { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.65; }
.note-band strong { color: white; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: white; border: 1px solid var(--grey-100); border-radius: var(--r-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: .93rem; font-weight: 500; color: var(--navy);
  text-align: left; transition: background .2s;
}
.faq-q:hover { background: var(--off-white); }
.faq-ic {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--grey-100);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s, border-color .3s;
}
.faq-ic svg { width: 13px; height: 13px; fill: var(--grey-600); transition: fill .3s; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); }
.faq-item.open .faq-ic svg { fill: white; }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-ans { max-height: 600px; }
.faq-ans-inner {
  padding: 0 22px 20px; margin: 0;
  border-top: 1px solid var(--grey-100);
  font-size: .87rem; color: var(--grey-600); line-height: 1.75;
  padding-top: 16px;
}
.faq-ans-inner a { color: var(--blue); text-decoration: underline; }

/* ─── TAGS ───────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { padding: 5px 14px; border-radius: 100px; font-size: .76rem; font-weight: 500; letter-spacing: .03em; }
.t-blue  { background: var(--blue-pale);   color: var(--blue); }
.t-amber { background: var(--amber-light);  color: var(--amber); }
.t-green { background: var(--green-light); color: var(--green); }
.t-red   { background: var(--red-pale);    color: var(--red); }

/* ─── TABLE CHAMPS ───────────────────────────────────────────── */
.fields-table { width: 100%; border-collapse: collapse; }
.fields-table th {
  padding: 10px 16px; background: var(--navy); color: white;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-align: left;
}
.fields-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.fields-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
.fields-table td {
  padding: 10px 16px; font-size: .84rem; color: var(--grey-800);
  border-bottom: 1px solid var(--grey-100);
}
.fields-table tr:nth-child(even) td { background: var(--grey-50); }
.fields-table tr:last-child td { border-bottom: none; }
.field-code { font-family: monospace; font-weight: 700; color: var(--blue); font-size: .88rem; }
.field-req { color: var(--green); font-weight: 600; }

/* ─── WARN CARD ──────────────────────────────────────────────── */
.warn-card {
  padding: 20px 22px; background: white; border-radius: var(--r);
  border: 1px solid var(--grey-100); box-shadow: var(--sh-sm);
  display: flex; align-items: flex-start; gap: 14px;
  transition: box-shadow .25s, transform .25s;
}
.warn-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.warn-card.alert  { border-left: 3px solid var(--red); }
.warn-card.caution{ border-left: 3px solid var(--amber); }
.warn-card.info   { border-left: 3px solid var(--blue); }
.warn-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.warn-ic svg { width: 20px; height: 20px; }
.wi-red   { background: var(--red-pale); } .wi-red svg { fill: var(--red); }
.wi-amber { background: var(--amber-light); } .wi-amber svg { fill: var(--amber); }
.wi-blue  { background: var(--blue-pale); } .wi-blue svg { fill: var(--blue); }
.warn-title { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.warn-desc  { font-size: .8rem; color: var(--grey-600); line-height: 1.6; }

/* ─── CONTACT FORM ───────────────────────────────────────────── */
.form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 36px;
  backdrop-filter: blur(4px);
}
.form-title { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: white; margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg   { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.fg input, .fg select, .fg textarea {
  font-family: var(--sans); font-size: .88rem; padding: 11px 15px; width: 100%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm); color: white; outline: none;
  transition: border-color .25s, background .25s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.55); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--amber); background: rgba(255,255,255,.1); }
.fg select option { background: var(--navy); }
.fg textarea { resize: vertical; min-height: 100px; }
.fsub {
  width: 100%; padding: 13px; background: var(--amber); color: white;
  font-size: .92rem; font-weight: 600; border-radius: var(--r-sm);
  transition: background .25s, transform .25s;
}
.fsub:hover { background: var(--amber-dark); transform: translateY(-1px); }
.fmention { margin-top: 10px; font-size: .7rem; color: rgba(255,255,255,.28); text-align: center; line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: #060F1E; padding: 56px 0 0; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 5% 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-badge { width: 36px; height: 36px; background: var(--blue-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.footer-badge span { font-family: var(--display); font-size: .88rem; letter-spacing: .06em; color: white; }
.footer-name { font-family: var(--display); font-size: 1.18rem; letter-spacing: .08em; color: white; }
.footer-desc { font-size: .8rem; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.footer-rf { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: rgba(255,255,255,.28); letter-spacing: .06em; }
.footer-rf-flag { display: flex; width: 18px; height: 11px; border-radius: 1px; overflow: hidden; }
.footer-rf-flag span { flex: 1; }
.ff-b { background: #002395; } .ff-w { background: white; } .ff-r { background: #ED2939; }
.footer-col h5 { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .8rem; color: rgba(255,255,255,.36); transition: color .2s; }
.footer-col ul a:hover { color: rgba(255,255,255,.78); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.05);
  max-width: 1280px; margin: 0 auto; padding: 18px 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bar span { font-size: .72rem; color: rgba(255,255,255,.28); }
.footer-bar-links { display: flex; gap: 22px; }
.footer-bar-links a { font-size: .72rem; color: rgba(255,255,255,.28); transition: color .2s; }
.footer-bar-links a:hover { color: rgba(255,255,255,.7); }

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  padding: 100px 0;
}
.cta-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.35) saturate(.6);
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,51,.9) 0%, rgba(16,85,160,.6) 100%);
}
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1rem; }
.cta-price {
  display: inline-block; margin-bottom: 32px;
  padding: 12px 28px; background: rgba(212,135,42,.15);
  border: 1px solid rgba(212,135,42,.4); border-radius: 100px;
  font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em;
  color: var(--amber);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .avantages-grid   { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* ── NAV ── */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--navy); padding: 28px 5%; z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 1.05rem; }
  .nav-cta   { display: none; }
  .burger    { display: flex; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub  { display: none; }
  .logo-badge { width: 38px; height: 38px; }
  .logo-badge img { width: 38px !important; height: 38px !important; }

  /* ── HERO ── */
  .hero                  { min-height: 560px; }
  .hero-title            { font-size: clamp(2.2rem,10vw,3.2rem) !important; }
  .hero-subtitle         { font-size: .9rem; }
  .hero-desc             { font-size: .9rem; }
  .hero-badges           { display: none; }
  .hero-content          { padding-bottom: 60px; }
  .hero-actions          { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-amber, .btn-outline-w { width: 100%; justify-content: center; }
  .hero-inner            { height: 280px; }
  .hero-inner .hero-title { font-size: clamp(1.8rem,7vw,2.8rem) !important; }
  .hero-scroll           { display: none; }

  /* ── BREADCRUMB ── */
  .breadcrumb { padding: 10px 4%; }
  .breadcrumb-inner { font-size: .7rem; gap: 5px; flex-wrap: wrap; }

  /* ── TOUTES LES GRILLES 2 COLONNES INLINE → 1 COLONNE ── */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Grilles 1fr 2fr (FAQ) */
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Grille 4 colonnes process → 2 colonnes */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  /* Grille 3 colonnes → 1 colonne */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* ── SECTIONS padding ── */
  .pt90 { padding-top: 50px; }
  .pb90 { padding-bottom: 50px; }
  [style*="padding:90px 0"],
  [style*="padding: 90px 0"],
  [style*="padding:80px 0"],
  [style*="padding: 80px 0"],
  [style*="padding:100px 0"],
  [style*="padding: 100px 0"] {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  [style*="gap:72px"],
  [style*="gap: 72px"],
  [style*="gap:80px"],
  [style*="gap: 80px"],
  [style*="gap:60px"],
  [style*="gap: 60px"] {
    gap: 28px !important;
  }

  /* ── STATS ── */
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .stat-num     { font-size: 2.2rem; }
  .stats-band   { padding: 40px 0; }

  /* ── TIMELINE ── */
  .timeline::before { left: 22px; }
  .tstep             { grid-template-columns: 46px 1fr; gap: 16px; }
  .tstep-dot         { width: 46px; height: 46px; font-size: 1rem; box-shadow: 0 0 0 4px white; }
  .tstep-img         { max-height: 180px; }

  /* ── CARDS GRILLE ── */
  .dreal-cards,
  [style*="grid-template-columns:1fr 1fr"][style*="gap:14px"],
  [style*="grid-template-columns:1fr 1fr"][style*="gap:16px"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── BRANDS ── */
  .brands-grid { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)) !important; gap: 8px; }
  .brand-card  { padding: 12px 8px 10px; }
  .bc-logo-wrap { width: 48px; height: 48px; }
  .bc-logo-wrap img { max-width: 48px; max-height: 48px; }
  .bc-name     { font-size: .78rem; }
  .bc-models   { display: none; }
  .brand-cat-label { font-size: .68rem; }

  /* ── TABLE CHAMPS ── */
  .fields-table { font-size: .76rem; display: block; overflow-x: auto; }
  .fields-table th, .fields-table td { padding: 7px 10px; white-space: nowrap; }

  /* ── FAQ ── */
  .faq-q { font-size: .85rem; padding: 16px 16px; }

  /* ── FORMS ── */
  .frow          { grid-template-columns: 1fr; }
  .form-wrap     { padding: 22px 16px; }
  .form-title    { font-size: 1.05rem; }
  .fsub          { font-size: .88rem; padding: 12px; }

  /* ── FOOTER ── */
  .footer-grid         { grid-template-columns: 1fr; gap: 24px; }
  .footer-col h5       { margin-top: 8px; }
  .footer-bar          { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bar-links    { flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* ── NOTE BAND ── */
  .note-band { flex-direction: column; gap: 12px; padding: 20px 16px; }
  .note-band p { font-size: .84rem; }

  /* ── WARN CARDS ── */
  .warn-card { flex-direction: column; gap: 10px; }

  /* ── IMG BADGE flottant ── */
  .intro-float   { right: 0; bottom: -10px; min-width: 160px; padding: 12px 14px; }
  .intro-float strong { font-size: .82rem; }
  .intro-float span   { font-size: .67rem; }

  /* ── POSITION STICKY procedure ── */
  [style*="position:sticky"],
  [style*="position: sticky"] {
    position: relative !important;
    top: auto !important;
  }

  /* ── CTA SECTION ── */
  .cta-section    { padding: 60px 0; }
  .cta-content h2 { font-size: 1.5rem; }
  .cta-content .rv { flex-direction: column; align-items: center; }

  /* ── MERCI PAGE ── */
  .merci-card { padding: 36px 20px; }
  .merci-title { font-size: 2rem; }
  .merci-actions { flex-direction: column; }
  .merci-actions a { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  :root { --nav-h: 58px; }
  .wrap { padding: 0 4%; }
  .hero-title { font-size: clamp(1.9rem,9vw,2.6rem) !important; }
  .hero-inner { height: 240px; }
  .stitle { font-size: 1.5rem !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num   { font-size: 1.9rem; }
  .brands-grid { grid-template-columns: repeat(3,1fr) !important; gap: 6px; }
  .bc-logo-wrap { width: 40px; height: 40px; }
  .bc-name    { font-size: .7rem; }
  [style*="padding:90px 0"], [style*="padding:80px 0"], [style*="padding:100px 0"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .footer-bar-links a { font-size: .68rem; }
  .tstep-docs ul li { font-size: .78rem; }
  .note-band-icon { display: none; }
}
