/*
Theme Name: Autoswitch
Theme URI: https://autoswitch.fr
Author: Autoswitch
Author URI: https://autoswitch.fr
Description: Thème éditorial pour Autoswitch — Agence Automobile. Design moderne, palette crème chaleureuse, typographie 2026, animations raffinées.
Version: 1.9.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoswitch
Tags: business, one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ===================================================
   DESIGN TOKENS
   =================================================== */
:root {
  /* Editorial ecru palette — accordée au vert forêt #0F390A */
  --bg:         #F4F0E2;   /* écru chaud légèrement vert-jauni, moins pêche */
  --bg-alt:     #ECE6D3;   /* sable doux pour sections alternées */
  --bg-deep:    #DDD3B8;   /* beige profond */
  --bg-dark:    #0F390A;   /* vert forêt — surface signature unifiée */
  --bg-dark-alt:#143E10;   /* vert légèrement plus clair pour hovers */

  /* Ink — charbon avec sous-ton vert pour résonner avec l'accent */
  --ink:        #14201A;
  --ink-mid:    #545E54;
  --ink-light:  #8B9087;

  /* Lines */
  --line:       #D9D2BD;
  --line-soft:  rgba(20,32,26,.09);
  --line-dark:  rgba(244,240,226,.10);

  /* Accent — famille verte forêt */
  --accent:     #0F390A;   /* hero — vert profond du logo (FONDS) */
  --accent-deep:#082604;   /* hover / focus */
  --accent-soft:#D9E3CC;   /* sage clair pour fonds, badges, highlights */
  --accent-text:#0F390A;   /* vert forêt — texte d'accent (eyebrows, italiques, hovers) sur fond clair */

  --white:      #FFFFFF;
  --cream-80:   rgba(244,240,226,.82);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .7s;

  /* Fluid fonts */
  --fs-display: clamp(2.4rem, 6vw, 5.4rem);
  --fs-h2:      clamp(1.9rem, 3.8vw, 3rem);
  --fs-h3:      clamp(1.25rem, 1.7vw, 1.55rem);
  --fs-body:    15px;
}

/* ===================================================
   RESET & BASE
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01","ss02","cv11";
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===================================================
   TYPOGRAPHY HELPERS
   =================================================== */
.serif { font-family: 'Instrument Serif', 'Fraunces', serif; font-weight: 400; font-style: normal; letter-spacing: -.01em; }
.mono-tag {
  font-family: 'JetBrains Mono', 'Inter Tight', sans-serif;
  font-size: .7rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-mid);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent-text); }

/* Serif italic accent for headings */
h1 em, h2 em, h3 em, .section-title em, .cta-band em {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
  letter-spacing: -.01em;
}

/* ===================================================
   LAYOUT
   =================================================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: #0F390A !important; color: #E5DEC5 !important; }
/* Sur fond vert : eyebrows et italiques en champagne (sinon invisibles) */
.section--dark .eyebrow,
.section--dark h1 em,
.section--dark h2 em,
.section--dark h3 em,
.section--dark .section-title em { color: #D4C28A !important; }
.section--dark .eyebrow::before { background: #D4C28A !important; }

/* ===================================================
   NAV (pilule flottante, plus basse, plus lisible)
   =================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 24px 0;
  transition: padding .35s var(--ease-out);
  background: transparent;
  pointer-events: none;
}
.nav.scrolled { padding: 14px 24px 0; }

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 14px 22px 14px 26px;
  border-radius: 999px;
  background: rgba(244, 240, 226, 0.28);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition: background .4s var(--ease-out),
              border-color .4s var(--ease-out),
              box-shadow .4s var(--ease-out);
  pointer-events: auto;
}

/* Sur le hero : glass très discret, on laisse transparaître l'image */
.nav.on-hero .nav-inner {
  background: rgba(15, 57, 10, 0.24);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Au scroll (fond clair) : glass crème subtil, juste une ligne de démarcation */
.nav.scrolled .nav-inner {
  background: rgba(244, 240, 226, 0.55);
  border-color: var(--line-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset,
              0 4px 18px -14px rgba(20, 32, 26, 0.12);
}

/* Logo — légèrement plus grand, mieux repérable */
.logo-wrap { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; display: block; transition: opacity .3s, filter .3s; }
.logo-img-light { display: none; }
.logo-img-dark  { display: block; }
/* Sur le hero (glass sombre), bascule sur le logo clair */
.nav.on-hero .logo-img-dark  { display: none; }
.nav.on-hero .logo-img-light { display: block; }

/* Override WordPress custom-logo size */
.custom-logo { max-height: 44px !important; width: auto !important; }
.custom-logo-link { display: inline-flex; align-items: center; }

/* Nav links — plus visibles */
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
  margin: 0 auto;
}
.nav-link, .nav-links a {
  font-size: 1rem; font-weight: 500; color: var(--ink);
  letter-spacing: -.005em;
  position: relative; padding: 8px 2px;
  transition: color .2s;
}
.nav-link::after, .nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1.5px; background: var(--accent-text);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover, .nav-links a:hover { color: var(--accent-text); }
.nav-link:hover::after, .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Sur le hero (glass foncé) : texte clair */
.nav.on-hero .nav-link,
.nav.on-hero .nav-links a { color: rgba(255, 255, 255, 0.94); }
.nav.on-hero .nav-link:hover,
.nav.on-hero .nav-links a:hover { color: var(--accent-soft); }

/* Nav CTA — pilule sombre, hover en accent vert */
.nav-cta {
  padding: 13px 24px;
  border-radius: 999px;
  font-size: .94rem; font-weight: 600; letter-spacing: -.005em;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  transition: background .25s var(--ease-out),
              color .25s var(--ease-out),
              border-color .25s var(--ease-out),
              transform .25s var(--ease-out);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
  transform: translateY(-1px);
}
/* Sur le hero : CTA translucide, liseré clair */
.nav.on-hero .nav-cta {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}
.nav.on-hero .nav-cta:hover {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none; color: inherit;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: .3s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--bg);
  z-index: 200; padding: 96px 32px 32px; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu .ml {
  font-family: 'Instrument Serif', serif; font-size: 2.2rem; font-weight: 400;
  color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line);
  letter-spacing: -.02em;
}
.mobile-close {
  position: absolute; top: 22px; right: 28px; background: none; border: none;
  cursor: pointer; font-size: 1.4rem; color: var(--ink);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  background: var(--bg-dark); color: var(--white); overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-position: center 40%; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.04);
  filter: brightness(.72) saturate(1.04) contrast(1.02);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,.45) 0%, transparent 22%, rgba(14,12,10,.15) 60%, rgba(14,12,10,.85) 100%),
    linear-gradient(90deg, rgba(14,12,10,.55) 0%, transparent 55%);
}

.hero-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 40px 92px; max-width: 1240px; margin: 0 auto;
}
.hero-meta {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 36px;
}
.hero-meta .dot { width: 3px; height: 3px; background: rgba(255,255,255,.55); border-radius: 50%; }

.hero-title {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.02em;
  max-width: 1100px;
  margin-bottom: 40px;
}
.hero-title em {
  font-style: italic; color: #E5DEC5;
  letter-spacing: -.02em;
}

/* Word reveal (JS injects .word wrappers) */
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: baseline; }
.hero-title .word .word-inner {
  display: inline-block; transform: translateY(110%);
  transition: transform .9s var(--ease-out);
}
.hero-title.in .word .word-inner { transform: translateY(0); }
.hero-title.in .word:nth-child(1)  .word-inner { transition-delay: .05s; }
.hero-title.in .word:nth-child(2)  .word-inner { transition-delay: .12s; }
.hero-title.in .word:nth-child(3)  .word-inner { transition-delay: .19s; }
.hero-title.in .word:nth-child(4)  .word-inner { transition-delay: .26s; }
.hero-title.in .word:nth-child(5)  .word-inner { transition-delay: .33s; }
.hero-title.in .word:nth-child(6)  .word-inner { transition-delay: .40s; }
.hero-title.in .word:nth-child(7)  .word-inner { transition-delay: .47s; }
.hero-title.in .word:nth-child(8)  .word-inner { transition-delay: .54s; }
.hero-title.in .word:nth-child(9)  .word-inner { transition-delay: .61s; }
.hero-title.in .word:nth-child(10) .word-inner { transition-delay: .68s; }
.hero-title.in .word:nth-child(n+11) .word-inner { transition-delay: .75s; }

.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: .83rem; font-weight: 600;
  letter-spacing: -.005em; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--white); color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.btn-primary:hover {
  background: var(--accent); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15,57,10,.32);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-dark {
  background: var(--ink); color: var(--bg);
}
.btn-dark:hover {
  background: var(--accent); transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15,57,10,.30);
}

.hero-scroll {
  position: absolute; bottom: 92px; right: 40px;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  writing-mode: vertical-rl;
}
.hero-scroll::before {
  content: ''; display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  margin: 0 auto 12px;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: .8; }
  50%      { transform: scaleY(1.4); opacity: 1; }
}

.hero-brand-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 40px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(14,12,10,.35); backdrop-filter: blur(10px);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.brand-strip-items { display: flex; gap: 42px; flex-wrap: wrap; }

/* ===================================================
   INTRO SPLIT — B+3 asymétrique layered
   =================================================== */
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: start; position: relative;
}
.intro-text { padding-top: 12px; }
.intro-text h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.025em;
  margin-bottom: 40px; max-width: 18ch;
}
.intro-lede {
  color: var(--ink) !important;
  font-size: 1.08rem !important; line-height: 1.75 !important; font-weight: 400 !important;
  margin-bottom: 28px !important; max-width: 50ch !important; letter-spacing: -.005em;
}
.intro-text p {
  color: var(--ink-mid); font-size: .98rem; line-height: 1.85;
  margin-bottom: 24px; max-width: 50ch;
}
.intro-pull {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; font-size: 1.4rem; line-height: 1.4;
  color: var(--accent);
  padding: 26px 0 26px 28px; border-left: 2px solid var(--accent);
  margin: 36px 0; max-width: 42ch;
}

/* Image stack — image en relief avec un fond beige décalé */
.intro-image-stack { position: relative; padding: 20px 20px 80px 0; }
.intro-image-stack::before {
  content: ''; position: absolute; inset: 0 0 60px 40px;
  background: var(--bg-alt); border-radius: 6px; z-index: 0;
}
.intro-image {
  position: relative; z-index: 1;
  aspect-ratio: 4/5; overflow: hidden; border-radius: 6px;
}
.intro-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.intro-image:hover img { transform: scale(1.05); }

/* Carte signature verte qui chevauche en bas-gauche */
.intro-signature-card {
  position: absolute; left: -40px; bottom: 0; z-index: 2;
  background: var(--accent); color: #E5DEC5;
  padding: 28px 32px; border-radius: 8px;
  max-width: 330px;
  box-shadow: 0 28px 60px rgba(15,57,10,.32),
              0 8px 16px rgba(15,57,10,.18);
}
.intro-sign-q {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1.28rem; line-height: 1.35; color: #D4C28A; margin-bottom: 12px;
  font-weight: 400;
}
.intro-sign-a {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(229,222,197,.7); font-weight: 600;
}

/* Stats — bande détachée pleine largeur */
.intro-stats-band {
  margin-top: 40px; padding: 56px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
}
/* Stats héritées (au cas où) */
.stats {
  display: flex; gap: 48px; margin-top: 48px;
  padding-top: 36px; border-top: 1px solid var(--line);
}
.stat-item .num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.6rem; font-weight: 400;
  letter-spacing: -.025em; color: var(--ink);
  line-height: 1; display: block;
}
.stat-item .num span { color: var(--accent-text); font-style: italic; }
.stat-item .label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-light); margin-top: 14px; display: block; font-weight: 500;
}

/* ===================================================
   SERVICES
   =================================================== */
.services-head {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 64px;
  align-items: end; margin-bottom: 72px;
}
.section-title {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.025em;
}
.services-head .section-title em { white-space: nowrap; }
.services-head p { color: var(--ink-mid); font-size: 1rem; line-height: 1.72; max-width: 380px; }

/* Cartes vertes signature (Option B) */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: transparent; border: 0;
}
.service-card {
  background: #0F390A; color: var(--cream);
  border-radius: 14px; padding: 38px 32px 32px;
  position: relative; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px -20px rgba(15,57,10,.4);
}
.service-card::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,194,138,.10), transparent 70%);
  pointer-events: none;
  transition: transform .8s var(--ease-out);
}
.service-card:hover::before { transform: scale(1.4); }

.service-card-ico {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  color: #D4C28A; margin-bottom: 28px;
  position: relative; z-index: 1;
}
.service-card-ico svg { width: 100%; height: 100%; }
.service-card-num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(212,194,138,.78); margin-bottom: 12px;
  position: relative; z-index: 1;
}
.service-card-title {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 1.7rem; line-height: 1.15; letter-spacing: -.015em;
  color: var(--cream); margin-bottom: 14px;
  position: relative; z-index: 1;
}
.service-card-title em {
  color: #D4C28A !important; font-style: italic;
}
.service-card-desc {
  color: rgba(229,222,197,.72); font-size: .92rem; line-height: 1.6;
  position: relative; z-index: 1;
}
.service-card-stat {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid rgba(212,194,138,.18);
  display: flex; align-items: baseline; gap: 10px;
  position: relative; z-index: 1;
}
.service-card-stat-num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 2rem; line-height: 1; color: #D4C28A;
  letter-spacing: -.02em;
}
.service-card-stat-lab {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(229,222,197,.65); font-weight: 500;
}

/* ===================================================
   PROCESS
   =================================================== */
.process-head { text-align: center; margin-bottom: 72px; }
.process-head .section-title { color: #E5DEC5; }
.process-head .eyebrow { color: #D4C28A; }
.process-head .eyebrow::before { background: #D4C28A; }
.process-head p {
  color: rgba(234,223,201,.68); max-width: 560px; margin: 22px auto 0;
  font-size: 1rem; line-height: 1.72;
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-dark);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.step {
  background: var(--bg-dark); padding: 44px 28px;
  transition: background .4s var(--ease-out);
}
.step:hover { background: var(--bg-dark-alt); }
.step-num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 3.6rem; font-weight: 400;
  color: rgba(234,223,201,.22); letter-spacing: -.04em; line-height: 1;
  margin-bottom: 32px;
}
.step h4 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 1.35rem; color: #E5DEC5; margin-bottom: 12px; letter-spacing: -.015em;
}
.step p { font-size: .88rem; color: rgba(234,223,201,.62); line-height: 1.65; }

/* ===================================================
   FEATURE ROW
   =================================================== */
.feature-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.feature-img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r-md);
}
.feature-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.feature-img-wrap:hover img { transform: scale(1.04); }
.feature-sticker {
  position: absolute; top: 22px; right: 22px; background: var(--bg);
  padding: 14px 18px; border-radius: var(--r-sm);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
.feature-sticker strong {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1.35rem; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--accent-text); display: block; margin-bottom: 2px;
}
.feature-body h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.025em;
  margin-bottom: 26px;
}
.feature-list { list-style: none; margin: 28px 0; }
.feature-list li {
  padding: 20px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feat-ico {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1rem; color: var(--accent-text); padding-top: 3px;
}
.feat-title { font-weight: 600; font-size: .98rem; margin-bottom: 4px; }
.feat-desc  { font-size: .88rem; color: var(--ink-mid); line-height: 1.6; }

/* ===================================================
   GALLERY (scroll horizontal + snap)
   =================================================== */
.gallery-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 52px; gap: 40px; flex-wrap: wrap;
}
.gallery-scroll {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 0 40px 20px; margin: 0 -40px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.gallery-scroll::-webkit-scrollbar { height: 3px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--bg-deep); }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.gallery-item { flex: 0 0 auto; width: 340px; scroll-snap-align: start; }
.gallery-img {
  aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r-md);
  margin-bottom: 14px;
}
.gallery-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.gallery-item:hover .gallery-img img { transform: scale(1.06); }
.gallery-caption {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .86rem;
}
.gallery-caption strong {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 1.08rem; letter-spacing: -.01em;
}
.gallery-caption span {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-light);
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.t-card {
  background: var(--white); padding: 38px 34px; border-radius: var(--r-md);
  position: relative; border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20,32,26,.08);
}
.t-card::before {
  content: '"'; position: absolute; top: 14px; left: 22px;
  font-family: 'Instrument Serif', serif; font-size: 5rem; line-height: 1;
  color: var(--accent-text); opacity: .35;
}
.t-stars { color: var(--accent-text); font-size: .85rem; letter-spacing: 3px; margin-bottom: 20px; position: relative; }
.t-text {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 1.12rem; line-height: 1.5; color: var(--ink);
  margin-bottom: 28px; letter-spacing: -.01em;
}
.t-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.t-avatar {
  width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent-text);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.t-name { font-weight: 600; font-size: .9rem; }
.t-detail { font-size: .78rem; color: var(--ink-light); margin-top: 2px; letter-spacing: .04em; }

/* ===================================================
   FAQ
   =================================================== */
.faq-wrap { max-width: 920px; margin: 60px auto 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; padding: 26px 0; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; text-align: left;
  font-family: 'Instrument Serif', serif; font-size: 1.25rem; font-weight: 400;
  color: var(--ink); letter-spacing: -.01em;
  transition: color .25s var(--ease-out);
}
.faq-q:hover { color: var(--accent-text); }
.faq-plus { flex-shrink: 0; width: 28px; height: 28px; position: relative; }
.faq-plus::before, .faq-plus::after {
  content: ''; position: absolute; background: currentColor;
  top: 50%; left: 50%;
}
.faq-plus::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-plus::after  { width: 1.5px; height: 14px; transform: translate(-50%,-50%);
                    transition: transform .4s var(--ease-out); }
.faq-item.open .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-a-inner {
  padding: 0 0 26px; font-size: .95rem; color: var(--ink-mid);
  line-height: 1.72; max-width: 720px;
}
.faq-item.open .faq-a { max-height: 420px; }

/* ===================================================
   CONTACT
   =================================================== */
.contact { background: #0F390A !important; color: #E5DEC5 !important; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-left .section-title { color: #E5DEC5 !important; }
.contact-left .section-title em { color: #D4C28A !important; }
.contact-left .eyebrow { color: #D4C28A !important; }
.contact-left .eyebrow::before { background: #D4C28A !important; }
.contact-left > p {
  color: rgba(234,223,201,.62); font-size: 1rem; line-height: 1.72;
  margin: 28px 0 44px; max-width: 460px;
}
.contact-channels { display: flex; flex-direction: column; gap: 22px; }
.channel {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 16px 0; border-top: 1px solid rgba(229,222,197,.10);
  align-items: center;
}
.channel:last-child { border-bottom: 1px solid rgba(229,222,197,.10); }
.channel-ico {
  width: 44px; height: 44px;
  background: rgba(217,227,204,.14); color: var(--accent-soft);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.channel-label {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(229,222,197,.55); margin-bottom: 3px;
}
.channel-value {
  font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 1.15rem;
  color: #E5DEC5; letter-spacing: -.01em;
}

/* Form card */
.form-card {
  background: var(--bg); color: var(--ink);
  padding: 44px; border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.form-card h3 {
  font-family: 'Instrument Serif', serif; font-size: 1.6rem; font-weight: 400;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.form-card .form-sub { color: var(--ink-light); font-size: .88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mid); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0;
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; font-family: inherit; font-size: .95rem; color: var(--ink);
  outline: none; transition: border-color .25s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-light); opacity: .65; }
.submit-btn {
  width: 100%; padding: 15px; background: var(--ink); color: var(--bg);
  border: none; border-radius: 999px; font-size: .88rem; font-weight: 600;
  letter-spacing: .02em; cursor: pointer; margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .3s var(--ease-out);
}
.submit-btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,57,10,.32); }
.form-note { font-size: .72rem; color: var(--ink-light); text-align: center; margin-top: 14px; }
#form-success {
  display: none; background: var(--accent-soft); color: var(--accent-deep);
  padding: 20px; border-radius: var(--r-sm); text-align: center;
  font-weight: 600; margin-top: 20px;
}

/* ===================================================
   COMMITMENT CARD (carte verte signature)
   =================================================== */
.commit-card {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 76px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: center;
  color: #E5DEC5;
  box-shadow: 0 30px 80px -20px rgba(15,57,10,.4),
              0 12px 24px -10px rgba(15,57,10,.2);
}
.commit-card-bg {
  position: absolute; inset: 0;
  background: var(--accent);
  z-index: 0;
}
.commit-card-bg::before {
  content: ''; position: absolute;
  top: -150px; right: -150px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,194,138,.10), transparent 70%);
}
.commit-card-bg::after {
  content: ''; position: absolute;
  bottom: -200px; left: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,222,197,.06), transparent 70%);
}
.commit-card-body { position: relative; z-index: 1; }
.commit-card-stat { position: relative; z-index: 1; text-align: right; }
.commit-card .eyebrow { color: #D4C28A; }
.commit-card .eyebrow::before { background: #D4C28A; }
.commit-card h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em;
  color: #E5DEC5; margin-bottom: 18px;
}
.commit-card h2 em {
  font-style: italic; color: #D4C28A;
}
.commit-card p {
  color: rgba(229,222,197,.78);
  font-size: 1rem; line-height: 1.65;
  max-width: 46ch; margin-bottom: 32px;
}
.commit-btn {
  background: #E5DEC5; color: var(--accent);
  padding: 14px 26px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; letter-spacing: -.005em;
  border: 1px solid #E5DEC5;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
}
.commit-btn:hover {
  background: #D4C28A; border-color: #D4C28A; color: var(--accent-deep);
  transform: translateY(-2px);
}
.commit-num {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(72px, 9vw, 132px); line-height: .92;
  color: #D4C28A; letter-spacing: -.04em;
}
.commit-num span {
  font-size: .55em; color: rgba(229,222,197,.62);
  font-style: italic; margin-left: 4px;
}
.commit-lab {
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(229,222,197,.7); margin-top: 14px;
}
@media (max-width: 880px) {
  .commit-card { grid-template-columns: 1fr; gap: 32px; padding: 48px 28px; }
  .commit-card-stat { text-align: left; }
}

/* ===================================================
   CTA BAND
   =================================================== */
.cta-band {
  padding: 104px 0; text-align: center;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(15,57,10,.18), transparent 60%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em;
  max-width: 860px; margin: 0 auto 36px; position: relative;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--accent); color: rgba(229,222,197,.78);
  padding: 96px 0 32px; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 100%, rgba(212,194,138,.10), transparent 55%);
  pointer-events: none;
}
.site-footer > .container { position: relative; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 60px;
}
.foot-brand p {
  font-size: .9rem; line-height: 1.7; max-width: 320px;
  margin-top: 22px; color: rgba(229,222,197,.72);
}
.foot-col h5 {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem; letter-spacing: .02em; text-transform: none;
  color: #D4C28A; margin-bottom: 20px; font-weight: 400;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 11px; }
.foot-col a {
  font-size: .9rem; color: rgba(229,222,197,.72);
  transition: color .25s var(--ease-out);
}
.foot-col a:hover { color: #D4C28A; }
.foot-bottom {
  border-top: 1px solid rgba(229,222,197,.18); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: .78rem; color: rgba(229,222,197,.52);
}
.foot-bottom a { color: rgba(229,222,197,.52); }
.foot-bottom a:hover { color: #D4C28A; }

/* ===================================================
   FLOAT CTA
   =================================================== */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  display: flex; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; background: var(--ink); color: var(--bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 6px 22px rgba(20,32,26,.35);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(20,32,26,.45);
}
.float-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 6px 22px rgba(37,211,102,.4);
}
.float-btn.whatsapp:hover { box-shadow: 0 12px 28px rgba(37,211,102,.5); }

/* ===================================================
   GENERIC PAGE
   =================================================== */
.page-generic { padding-top: 140px; padding-bottom: 100px; }
.page-generic .entry-content {
  max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: var(--ink-mid);
}
.page-generic h1 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 32px;
}
.page-generic h2, .page-generic h3 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  color: var(--ink); margin: 40px 0 16px; letter-spacing: -.02em;
}
.page-generic p { margin-bottom: 20px; }
.page-generic a { color: var(--accent-text); border-bottom: 1px solid var(--accent-text); }

/* ===================================================
   ANIMATIONS — scroll reveal system
   =================================================== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger: when parent has data-reveal-group, children .reveal get delays */
[data-reveal-group] .reveal.in:nth-child(1) { transition-delay: .05s; }
[data-reveal-group] .reveal.in:nth-child(2) { transition-delay: .15s; }
[data-reveal-group] .reveal.in:nth-child(3) { transition-delay: .25s; }
[data-reveal-group] .reveal.in:nth-child(4) { transition-delay: .35s; }
[data-reveal-group] .reveal.in:nth-child(5) { transition-delay: .45s; }
[data-reveal-group] .reveal.in:nth-child(6) { transition-delay: .55s; }

/* Image reveal with scale */
.reveal-img { overflow: hidden; }
.reveal-img > img, .reveal-img::after {
  transform: scale(1.12); transition: transform 1.4s var(--ease-out);
}
.reveal-img.in > img { transform: scale(1); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word .word-inner { transform: none; }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --fs-body: 15px; }
  .container { padding: 0 22px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 52px 0; }
  .nav, .nav.scrolled { padding: 12px 22px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { height: 88vh; min-height: 560px; }
  .hero-image { transform: scale(1); background-position: center 30%; }
  .hero-content { padding: 0 22px 80px; }
  .hero-brand-strip { display: none; }
  .hero-scroll { display: none; }
  .intro-split, .feature-row, .contact-grid, .services-head, .gallery-head {
    grid-template-columns: 1fr; gap: 44px;
  }
  .intro-text .stats { gap: 28px; flex-wrap: wrap; }
  /* Stats : 3 colonnes serrées plutôt qu'une pile de chiffres géants */
  .intro-stats-band {
    grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 32px; padding-top: 32px;
  }
  .stat-item .num { font-size: 1.6rem; }
  .stat-item .label { font-size: .58rem; letter-spacing: .12em; margin-top: 8px; line-height: 1.35; }
  .intro-image { aspect-ratio: 4/3; }
  .intro-image-stack { padding: 0; }
  .intro-image-stack::before { display: none; }
  .intro-signature-card { left: 14px; right: 14px; max-width: none; padding: 16px 18px; }
  .intro-sign-q { font-size: 1rem; line-height: 1.3; margin-bottom: 7px; }
  .intro-sign-a { font-size: 9px; letter-spacing: .16em; }
  .intro-pull { font-size: 1.05rem; padding-left: 20px; margin: 26px 0; }
  /* Cartes « Pourquoi Autoswitch » : compactes et aérées sur mobile
     (avant : ~1 carte par écran, illisible en série) */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 24px 22px; border-radius: 12px; }
  .service-card-ico { width: 38px; height: 38px; margin-bottom: 16px; }
  .service-card-heading { margin-bottom: 10px; }
  .service-card-num { font-size: .6rem; letter-spacing: .1em; margin-bottom: 5px; }
  .service-card-title { font-size: 1.2rem; line-height: 1.2; }
  .service-card-sep { margin-bottom: 11px; }
  .service-card-desc { font-size: .84rem; line-height: 1.55; }
  .services-head { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .gallery-item { width: 78vw; }
}

/* ===================================================
   ELEMENTOR COMPAT
   =================================================== */
.elementor-page .site-header { display: none; }
.autoswitch-blank .nav, .autoswitch-blank .site-footer, .autoswitch-blank .float-cta { display: none !important; }


/* ===================================================
   FINANCING SIMULATOR (page-financement.php)
   =================================================== */
.simu-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}
.simu-form { padding: 40px; }
.simu-form h3 { font-size: 1.3rem; }
.simu-form .form-sub { margin-bottom: 32px; }
.simu-form .field { margin-bottom: 34px; }
.simu-form .field:last-child { margin-bottom: 0; }
.simu-form .field label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.simu-field-val {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: 1.15rem; letter-spacing: -.01em; color: var(--accent-text);
  text-transform: none; font-variant-numeric: tabular-nums;
}
input[type="range"].simu-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 999px; background: var(--line); outline: none; cursor: pointer; margin: 6px 0;
}
input[type="range"].simu-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(15,57,10,.35); cursor: pointer;
}
input[type="range"].simu-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  border: 3px solid var(--bg); box-shadow: 0 2px 8px rgba(15,57,10,.35); cursor: pointer;
}
.duree-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.duree-pill {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-family: inherit; font-size: .85rem; font-weight: 600;
  color: var(--ink-mid); cursor: pointer; transition: all .25s var(--ease-out);
}
.duree-pill:hover { border-color: var(--accent); color: var(--accent-text); }
.duree-pill.active { background: var(--accent); border-color: var(--accent); color: #E5DEC5; }
.simu-hint { font-size: .74rem; line-height: 1.55; color: var(--ink-light); margin-top: 10px; }

.rate-badge {
  display: inline-flex; align-items: center; font-size: .62rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: rgba(229,222,197,.75);
  background: rgba(229,222,197,.12); padding: 3px 9px; border-radius: 999px; margin-left: 8px;
}

.simu-result {
  background: var(--accent); color: #E5DEC5; border-radius: var(--r-lg);
  padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,.15); position: sticky; top: 120px;
}
.simu-result .eyebrow { color: #D4C28A; margin-bottom: 14px; }
.simu-result .eyebrow::before { background: #D4C28A; }
.simu-mensualite {
  font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic;
  font-size: clamp(2.2rem, 4.4vw, 3rem); letter-spacing: -.02em; line-height: .95;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.simu-mensualite span:last-child {
  font-family: 'Inter Tight', sans-serif; font-style: normal; font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(229,222,197,.55); display: block; margin: 10px 0 0; white-space: normal;
}
.simu-breakdown { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(229,222,197,.18); display: flex; flex-direction: column; gap: 17px; }
.simu-breakdown-row { display: flex; justify-content: space-between; align-items: baseline; }
.simu-breakdown-row span:first-child { font-size: .8rem; color: rgba(229,222,197,.65); }
.simu-breakdown-row span:last-child { font-size: 1.02rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.simu-cta { margin-top: 28px; width: 100%; justify-content: center; }
.simu-note { font-size: .72rem; line-height: 1.6; color: rgba(229,222,197,.55); margin-top: 22px; }

@media (max-width: 768px) {
  .simu-grid { grid-template-columns: 1fr; gap: 32px; }
  .simu-result { position: static; padding: 30px 26px; }
  /* Libellé au-dessus de la valeur : évite que les longs libellés
     (« valeur de rachat en fin de contrat ») cassent le montant sur 2 lignes */
  .simu-form { padding: 30px 26px; }
  .simu-form .field label {
    display: block; margin-bottom: 12px;
  }
  .simu-field-val { display: block; margin-top: 6px; font-size: 1.3rem; }
  .simu-form .field { margin-bottom: 30px; }
}
