/* ═══════════════════════════════════════════════════════════
   VOTRE DRIVE CHEZ VOUS — style.css v2.1.1
   Réécriture complète — système cohérent unifié
═══════════════════════════════════════════════════════════ */

/* ─── 1. VARIABLES ─────────────────────────────────────── */
:root {
  /* Couleurs */
  --blue:        #1D4ED8;
  --blue-dk:     #1E3A8A;
  --blue-lt:     #EFF6FF;
  --blue-md:     #DBEAFE;
  --green:       #25D366;
  --green-dk:    #128C7E;
  --text:        #111827;
  --text-light:  #374151;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --bg:          #F8FAFF;
  --dark:        #0D1F4E;
  --white:       #FFFFFF;

  /* Rayons */
  --r-full:  9999px;
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    22px;

  /* Ombres */
  --shadow-sm:  0 2px 10px rgba(29,78,216,.07);
  --shadow-md:  0 4px 20px rgba(29,78,216,.10);
  --shadow-lg:  0 16px 50px rgba(29,78,216,.15);

  /* Espacement sections */
  --section-pad: 5.5rem 0;

  /* Transition */
  --tr: all .25s ease;

  /* Typographie */
  --font: 'Sora', sans-serif;
}

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

/* ─── 3. TYPOGRAPHIE ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }

/* Texte dégradé bleu */
.gtext {
  background: linear-gradient(130deg, var(--blue), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 4. LAYOUT ─────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section        { padding: var(--section-pad); }
.section-light  { padding: var(--section-pad); background: var(--bg); }
.section-dark   { padding: var(--section-pad); background: var(--dark); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

/* ─── 5. EN-TÊTES DE SECTION ────────────────────────────── */
.s-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 4rem;
}
.s-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid rgba(29,78,216,.2);
  padding: .28rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: .85rem;
}
.s-tag-lt {
  color: #93C5FD;
  background: rgba(147,197,253,.12);
  border-color: rgba(147,197,253,.3);
}
.s-sub { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* ─── 6. BOUTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: var(--tr);
}
.btn-blue  { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,78,216,.35); }
.btn-xl    { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-sm    { padding: .5rem 1.1rem; font-size: .82rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ─── 7. NAVBAR ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: .5rem; }
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-fallback {
  display: none;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue);
}

.nav-menu { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.nav-menu a {
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem .65rem;
  border-radius: var(--r-sm);
  color: var(--text);
  transition: var(--tr);
}
.nav-menu a:hover { color: var(--blue); background: var(--blue-lt); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue);
  color: var(--white);
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: var(--tr);
}
.btn-nav-cta:hover { background: var(--blue-dk); }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--tr);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 8. HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #EFF6FF 0%, #fff 50%, #EEF2FF 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(76px + 4rem) 0 4rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .1; }
.hb1 { width: 600px; height: 600px; background: var(--blue);  top: -150px; right: -100px; animation: hbf 9s ease-in-out infinite; }
.hb2 { width: 380px; height: 380px; background: #818CF8; bottom: -50px; left: -80px;  animation: hbf 7s ease-in-out 2s infinite; }
.hb3 { width: 200px; height: 200px; background: #34D399; top: 42%; right: 22%;        animation: hbf 6s ease-in-out 4s infinite; }
@keyframes hbf {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-md);
  color: var(--blue);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .05em;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(29,78,216,.2);
}
.hero h1 { margin-bottom: 1rem; }
.hero-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .8rem;
}
.step-pill {
  background: var(--blue-lt);
  color: var(--blue);
  font-weight: 700;
  font-size: .85rem;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--blue-md);
}
.step-arrow { color: #94A3B8; font-size: .9rem; }
.hero-sub    { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }

.trust-row  { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.trust-chip {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

/* Hero cards flottantes */
.hero-cards { position: relative; height: 340px; }
.hcard {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: hcf 6s ease-in-out infinite;
}
.hcard-1 { top: 10px;  left: 0;   right: 40px; }
.hcard-2 { top: 130px; left: 40px; right: 0;    animation-delay: 2s; }
.hcard-3 { top: 250px; left: 10px; right: 40px; animation-delay: 4s; }
@keyframes hcf {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hcard-ico { font-size: 1.9rem; flex-shrink: 0; }
.hcard-info strong { display: block; font-weight: 700; font-size: .9rem; color: var(--text); }
.hcard-info span   { font-size: .75rem; color: var(--muted); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-size: .75rem;
  animation: shy 2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes shy {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Animations d'entrée */
.animate-up   { animation: fadeUp .7s ease both; }
.animate-up-d { animation: fadeUp .7s ease .2s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 9. CARTES AUDIENCE ────────────────────────────────── */
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.acard {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.acard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60A5FA);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acard:hover::after { transform: scaleX(1); }
.acard-ico { font-size: 2.5rem; display: block; margin-bottom: .9rem; }
.acard h3  { font-size: 1rem; margin-bottom: .5rem; color: var(--text); }
.acard p   { font-size: .87rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.acard-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: .85rem;
  color: var(--blue);
  transition: var(--tr);
  padding: 0;
}
.acard-btn:hover { color: var(--blue-dk); }

/* ─── 10. SERVICES ──────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.svc-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: var(--tr);
}
.svc-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.svc-ico   { font-size: 2rem; display: block; margin-bottom: .8rem; }
.svc-card h3 { color: var(--white); margin-bottom: .5rem; }
.svc-card p  { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.65; }

.s-cta      { text-align: center; margin-top: 3.5rem; }
.s-cta-note { color: rgba(255,255,255,.45); font-size: .78rem; margin-top: .65rem; }

/* ─── 11. SIMULATEUR ────────────────────────────────────── */
.sim-wrap {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Colonne gauche — grille tarifaire */
.sim-left {
  background: linear-gradient(168deg, var(--blue) 0%, var(--blue-dk) 100%);
  padding: 2.5rem 2rem;
  color: var(--white);
}
.sim-left h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.t-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: .85rem;
  text-align: center;
  transition: var(--tr);
}
.t-item:hover    { background: rgba(255,255,255,.18); }
.t-main          { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); grid-column: span 2; }
.t-lourdes       { grid-column: span 2; border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.15); }
.t-price         { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: .2rem; }
.t-desc          { font-size: .74rem; color: rgba(255,255,255,.78); line-height: 1.45; }
.t-desc small    { color: rgba(255,255,255,.55); }
.t-note          { font-size: .74rem; color: rgba(255,255,255,.55); padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.2); line-height: 1.55; }

/* Colonne droite — formulaire */
.sim-right { background: var(--white); padding: 2.5rem 2rem; }

.form-group   { margin-bottom: 1.2rem; }
.form-label   { display: block; font-weight: 600; font-size: .86rem; color: var(--text); margin-bottom: .4rem; }
.field-hint   { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); margin-top: .15rem; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-input {
  width: 100%;
  padding: .8rem .95rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: .95rem;
  background: #FAFAFA;
  color: var(--text);
  transition: var(--tr);
  outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--blue-md);
}
textarea.form-input { resize: vertical; min-height: 120px; }

/* Résultat simulateur */
.result-box {
  background: var(--blue-lt);
  border: 2px solid var(--blue-md);
  border-radius: var(--r-md);
  padding: 1.4rem;
  margin-top: 1rem;
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-top    { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .6rem; }
.result-label  { font-size: .8rem; font-weight: 600; color: var(--muted); }
.result-price  { font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.result-detail { font-size: .8rem; color: var(--muted); margin-bottom: .8rem; line-height: 1.8; }
.result-credit { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 9px; padding: .75rem 1rem; font-size: .84rem; color: #065F46; margin-bottom: 1rem; }
.sim-err-box   { background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: var(--r-md); padding: 1.1rem; color: #991B1B; font-weight: 600; font-size: .88rem; }
.sim-note      { font-size: .75rem; color: var(--muted); text-align: center; margin-top: .8rem; font-style: italic; }

/* ─── 12. CRÉDIT D'IMPÔT ────────────────────────────────── */
.section-credit {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}
.credit-inner {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.credit-badge {
  width: 110px; height: 110px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #60A5FA);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  line-height: 1.15;
}
.credit-badge strong { font-size: 1.9rem; font-weight: 800; display: block; }
.credit-badge span   { font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.credit-body h2     { margin-bottom: .65rem; color: var(--text); }
.credit-body > p    { color: var(--muted); margin-bottom: 1.4rem; font-size: .95rem; }
.credit-compare     { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.credit-box         { text-align: center; padding: .9rem 1.4rem; border-radius: var(--r-md); }
.credit-before      { background: #FEF2F2; border: 2px solid #FCA5A5; }
.credit-after       { background: #ECFDF5; border: 2px solid #6EE7B7; }
.credit-lbl         { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: .25rem; }
.credit-amt         { font-size: 1.65rem; font-weight: 800; color: var(--text); }
.credit-amt.green   { color: #059669; }
.credit-arr         { font-size: 1.5rem; color: var(--blue); font-weight: 700; }
.credit-note        { font-size: .74rem; color: var(--muted); font-style: italic; margin-top: .9rem; }

/* ─── 13. MISSION ───────────────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: start; }
.mission-lead { font-size: 1.1rem; font-weight: 600; color: var(--text); line-height: 1.6; margin-bottom: 1.2rem; }
.mission-body p      { color: var(--muted); margin-bottom: .9rem; font-size: .95rem; }
.mission-body strong { color: var(--text); }

.val-list { display: flex; flex-direction: column; gap: .9rem; }
.val-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.val-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.val-ico                { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.val-item strong        { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .2rem; color: var(--text); }
.val-item p             { font-size: .83rem; color: var(--muted); margin: 0; }

/* ─── 14. FAQ ───────────────────────────────────────────── */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  text-align: left;
  font-weight: 600;
  font-size: .97rem;
  color: var(--text);
  gap: 1rem;
  transition: var(--tr);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}
.faq-q span       { flex: 1; }
.faq-q:hover,
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-ico          { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s ease; color: var(--muted); }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(180deg); color: var(--blue); }
.faq-a            { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a.open       { max-height: 600px; }
.faq-a p          { padding-bottom: 1.1rem; color: var(--muted); line-height: 1.75; font-size: .93rem; }
.faq-a strong     { color: var(--text); }
.faq-cta          { text-align: center; margin-top: 2.8rem; }
.faq-cta p        { color: var(--muted); margin-bottom: .9rem; }

/* ─── 15. CONTACT ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.info-list    { display: flex; flex-direction: column; gap: .9rem; }
.info-item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.info-icon  { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-label { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.info-value { font-size: .9rem; font-weight: 600; color: var(--blue); display: block; }
.info-text  { font-size: .85rem; color: var(--muted); line-height: 1.55; display: block; }

.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-feedback { display: none; margin-top: .8rem; padding: .85rem 1rem; border-radius: 9px; font-weight: 600; font-size: .86rem; }
.ff-success    { display: block !important; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.ff-error      { display: block !important; background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ─── 16. FOOTER ────────────────────────────────────────── */
footer {
  background: #090F2D;
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 3rem; }
.f-logo      { margin-bottom: .85rem; }
.f-sub       { font-size: .83rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 1.1rem; }
.f-col h4,
.f-legal h4  { color: var(--white); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.f-col ul li { margin-bottom: .5rem; }
.f-col a     { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .2s; }
.f-col a:hover { color: var(--white); }
.f-legal p   { font-size: .76rem; color: rgba(255,255,255,.38); line-height: 1.7; margin-bottom: .3rem; }
.f-legal p strong { color: rgba(255,255,255,.65); }
.footer-bar  { padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .74rem; color: rgba(255,255,255,.28); }

/* ─── 17. BOUTON FLOTTANT ───────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--blue);
  color: var(--white);
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  box-shadow: 0 6px 28px rgba(29,78,216,.45);
  font-weight: 700;
  font-size: .9rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: var(--tr);
  animation: fpulse 3s ease-in-out infinite;
}
.float-cta:hover {
  background: var(--blue-dk);
  transform: scale(1.04) translateY(-2px);
  animation: none;
  box-shadow: 0 12px 36px rgba(29,78,216,.55);
}
@keyframes fpulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(29,78,216,.45); }
  50%       { box-shadow: 0 6px 28px rgba(29,78,216,.45), 0 0 0 10px rgba(29,78,216,.08); }
}
.float-label { font-size: .85rem; }

#backToTop {
  position: fixed;
  bottom: 1.8rem; left: 1.8rem;
  z-index: 998;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--tr);
  pointer-events: none;
  border: none;
  cursor: pointer;
}
#backToTop.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#backToTop:hover   { background: var(--blue-dk); transform: translateY(-2px); }

/* ─── 18. POPUP CONTACT ─────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,15,45,.65);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.overlay.open         { opacity: 1; pointer-events: all; }
.popup {
  background: var(--white);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  max-width: 430px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(9,15,45,.3);
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.overlay.open .popup  { transform: translateY(0) scale(1); }

.popup-x {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: var(--tr);
}
.popup-x:hover { background: #d1d5db; color: var(--text); }

.popup-head       { text-align: center; margin-bottom: 1.8rem; }
.popup-emo        { display: block; font-size: 2.7rem; margin-bottom: .75rem; animation: pemoji .6s cubic-bezier(.34,1.56,.64,1) .1s both; }
@keyframes pemoji {
  from { transform: scale(0) rotate(-12deg); }
  to   { transform: scale(1) rotate(0); }
}
.popup-head h3    { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: .35rem; }
.popup-head p     { font-size: .9rem; color: var(--muted); }

.popup-actions    { display: flex; flex-direction: column; gap: .85rem; }
.popup-btn {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.05rem 1.3rem;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: var(--tr);
}
.pbtn-wa          { background: var(--green); color: var(--white); }
.pbtn-wa:hover    { background: var(--green-dk); transform: translateX(4px); }
.pbtn-call        { background: var(--blue-lt); color: var(--blue); border: 2px solid var(--blue-md) !important; }
.pbtn-call:hover  { background: var(--blue-md); transform: translateX(4px); }
.pbtn-ico         { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.pbtn-ico-blue    { background: rgba(29,78,216,.1); }
.pbtn-txt         { display: flex; flex-direction: column; gap: .15rem; }
.pbtn-txt strong  { font-size: .92rem; }
.pbtn-txt small   { font-size: .74rem; opacity: .8; font-weight: 400; }
.popup-sep        { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .8rem; }
.popup-sep::before,
.popup-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }


/* Select et datetime-local */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
input[type="datetime-local"].form-input {
  cursor: pointer;
}
/* Grille tarifaire 3 colonnes (avec 3 tranches) */
@media (max-width: 480px) {
  .tariff-grid { grid-template-columns: 1fr; }
  .t-main, .t-lourdes { grid-column: span 1; }
}

/* ─── 19. SCROLL REVEAL ─────────────────────────────────── */
.reveal     { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on  { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ─── 20. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid-4  { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sim-wrap      { grid-template-columns: 1fr; }
  .credit-inner  { flex-direction: column; text-align: center; padding: 2.5rem; gap: 1.5rem; }
  .credit-compare{ justify-content: center; }
  .mission-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 0; }

  /* Navbar mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: .2rem;
  }
  .nav-menu.open       { display: flex; }
  .nav-menu a          { padding: .75rem .9rem; font-size: .95rem; border-radius: 10px; }
  .btn-nav-cta         { margin-top: .4rem; justify-content: center; padding: .75rem; }

  /* Layout */
  .hero-grid           { grid-template-columns: 1fr; }
  .hero-cards          { display: none; }
  .cards-grid-4        { grid-template-columns: 1fr; }
  .svc-grid            { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid         { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }

  /* Floating button */
  .float-label         { display: none; }
  .float-cta           { padding: .9rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .container  { padding: 0 1rem; }
  .popup      { padding: 2rem 1.2rem; border-radius: 18px; }
  .s-head     { margin-bottom: 2.5rem; }
  .credit-inner { padding: 2rem 1.5rem; }
  .contact-form { padding: 1.8rem 1.2rem; }
  .sim-left, .sim-right { padding: 2rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
