/* =========================================================================
   SERVICE PAIE EXPERT — Design system « précision tropicale »
   Site statique. CSS custom, mobile-first, sans framework.
   Palette, typo et composants définis dans le brief (§10).
   ========================================================================= */

/* ----------------------------- POLICES (auto-hébergées, RGPD) ----------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------- TOKENS ----------------------------------- */
:root {
  /* Palette brief */
  --bg:        #FBFAF7;   /* blanc coquillage */
  --ink:       #0A2A43;   /* bleu fond marin profond */
  --coral:     #FF5C4D;   /* corail vif — CTA / actif */
  --lagoon:    #1B7F79;   /* vert lagon — coches / validation */
  --sand:      #E8E3D8;   /* sable — fonds alternés */

  /* Dérivés */
  --ink-90:   rgba(10,42,67,.90);
  --ink-70:   rgba(10,42,67,.70);
  --ink-55:   rgba(10,42,67,.55);
  --ink-12:   rgba(10,42,67,.12);
  --ink-08:   rgba(10,42,67,.08);
  --coral-dk: #E8463A;
  --lagoon-dk:#13635E;
  --sand-dk:  #DCD5C6;
  --white:    #FFFFFF;

  /* Typo */
  --serif: 'Fraunces', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Échelle fluide */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.44rem, 1.28rem + 0.8vw, 1.95rem);
  --step-3:  clamp(1.73rem, 1.45rem + 1.4vw, 2.65rem);
  --step-4:  clamp(2.07rem, 1.6rem + 2.35vw, 3.6rem);
  --step-5:  clamp(2.49rem, 1.7rem + 3.95vw, 4.6rem);

  /* Rythme */
  --container: 1180px;
  --container-narrow: 760px;
  --gap: clamp(1rem, 0.7rem + 1.5vw, 2rem);
  --section-y: clamp(3.2rem, 2rem + 6vw, 6rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10,42,67,.06), 0 2px 8px rgba(10,42,67,.05);
  --shadow-md: 0 6px 18px rgba(10,42,67,.08), 0 2px 6px rgba(10,42,67,.05);
  --shadow-lg: 0 20px 50px rgba(10,42,67,.13), 0 6px 16px rgba(10,42,67,.07);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------- RESET ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--coral); color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
strong, b { font-weight: 600; }

/* ----------------------------- UTILITAIRES ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 2.4rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #EAF1F6; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--coral); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.lede { font-size: var(--step-1); color: var(--ink-70); line-height: 1.55; }
.muted { color: var(--ink-55); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 1rem; }

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }
p + p { margin-top: 1rem; }

/* ----------------------------- BOUTONS ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: var(--step-0);
  line-height: 1; text-align: center; padding: .95em 1.6em;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(255,92,77,.32); }
.btn--primary:hover { background: var(--coral-dk); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,92,77,.38); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink-12); }
.btn--secondary:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0d3556; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--wa { background: #25D366; color: #06351b; }
.btn--wa:hover { background: #1fc05c; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ----------------------------- HEADER ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251,250,247,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--ink-08);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: baseline; }
.logo .dot { color: var(--coral); }
.logo span.sub { display: none; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(.6rem, 1.4vw, 1.5rem); }
.primary-nav a { font-size: .96rem; font-weight: 500; color: var(--ink-90); padding: .4rem .2rem; position: relative; transition: color .15s; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--coral); transition: right .25s var(--ease); }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.header-phone { display: none; font-weight: 600; color: var(--ink); align-items: center; gap: .45rem; white-space: nowrap; }
.header-phone:hover { color: var(--coral); }
.header-phone svg { width: 1.05rem; height: 1.05rem; }

/* Dropdown territoires */
.has-sub { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .6rem; min-width: 250px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav a { display: block; padding: .55rem .8rem; border-radius: 9px; font-size: .92rem; }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--sand); }

/* Burger / mobile */
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: .55rem; margin-left: .2rem; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.mobile-menu { display: none; }

@media (max-width: 1099px) {
  .header-actions .btn--primary { display: none; }
  body.menu-open { overflow: hidden; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 0 0; z-index: 999;
    background: var(--bg); padding: 1.5rem clamp(1.1rem,5vw,2.4rem) 3rem;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
    border-top: 1px solid var(--ink-08);
  }
  body.menu-open .mobile-menu { transform: translateX(0); }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu nav > ul > li { border-bottom: 1px solid var(--ink-08); }
  .mobile-menu nav a { display: block; padding: .95rem .2rem; font-size: 1.1rem; font-weight: 500; }
  .mobile-menu .m-group-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-55); padding: 1.2rem .2rem .3rem; font-weight: 600; }
  .mobile-menu .m-territories a { padding: .6rem .2rem; font-size: 1rem; color: var(--ink-70); }
  .mobile-menu .btn { margin-top: 1.4rem; }
  .mobile-cta { display: grid; gap: .7rem; margin-top: 1.5rem; }
}
@media (min-width: 1100px) {
  .burger { display: none; }
  .primary-nav { display: block; }
  .header-phone { display: inline-flex; }
}

/* ----------------------------- PASTILLES TERRITOIRES (signature) -------- */
.territory-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem;
}
@media (min-width: 560px) { .territory-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .territory-grid { grid-template-columns: repeat(6, 1fr); gap: .85rem; } }
.pastille {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  text-align: center; padding: 1.1rem .6rem; min-height: 92px;
  border: 1.5px solid var(--ink-12); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font-weight: 600; letter-spacing: .02em; line-height: 1.15;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.pastille .code { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.pastille .pin { width: 1.3rem; height: 1.3rem; color: var(--ink-55); transition: color .22s var(--ease); }
.pastille .name { font-size: .9rem; }
.pastille:hover, .pastille:focus-visible {
  background: var(--coral); border-color: var(--coral); color: #fff;
  transform: translateY(-3px); box-shadow: 0 12px 24px rgba(255,92,77,.28);
}
.pastille:hover .pin, .pastille:focus-visible .pin { color: #fff; }

/* Mini-pastilles (footer / motif de pied de page) */
.pastille-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pastille-sm {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--ink-12); border-radius: var(--radius-pill);
  padding: .4rem .9rem; font-size: .85rem; font-weight: 600; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pastille-sm::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--coral); transition: background .2s; }
.pastille-sm:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }
.pastille-sm:hover::before { background: #fff; border-color: #fff; }
.section--ink .pastille-sm { color: #EAF1F6; border-color: rgba(255,255,255,.22); }
.section--ink .pastille-sm:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ----------------------------- HERO ------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 1.5rem + 5vw, 5rem); padding-bottom: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(27,127,121,.10), transparent 60%),
    radial-gradient(700px 460px at 8% 108%, rgba(255,92,77,.08), transparent 60%);
}
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { font-size: var(--step-5); margin-bottom: 1.2rem; }
.hero .lede { max-width: 36rem; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-aside { }
.hero-aside .panel-label { font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); margin-bottom: .9rem; display: block; }
.hero-card { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); box-shadow: var(--shadow-lg); }

/* ----------------------------- BARRE RÉASSURANCE ------------------------ */
.reassurance { border-block: 1px solid var(--ink-08); background: var(--white); }
.reassurance ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08); }
@media (min-width: 760px) { .reassurance ul { grid-template-columns: repeat(5, 1fr); } }
.reassurance li { background: var(--white); display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.1rem 1rem; font-weight: 600; font-size: .94rem; text-align: center; }
.reassurance svg { width: 1.4rem; height: 1.4rem; color: var(--lagoon); flex-shrink: 0; }

/* ----------------------------- GRILLES / CARTES ------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: clamp(1.9rem,1.4rem + 2vw,2.8rem); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); height: 100%; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.card .icon-badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(27,127,121,.1); color: var(--lagoon); margin-bottom: 1.1rem; }
.card .icon-badge svg { width: 24px; height: 24px; }
.card--coral .icon-badge { background: rgba(255,92,77,.12); color: var(--coral); }

/* Argumentaire problème (numéroté) */
.argu-list { display: grid; gap: 1.1rem; counter-reset: argu; }
@media (min-width: 760px) { .argu-list { grid-template-columns: repeat(2,1fr); gap: 1.3rem; } }
.argu-item { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.argu-item .num { counter-increment: argu; flex-shrink: 0; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--coral); width: 2.2rem; height: 2.2rem; border: 1.5px solid var(--coral); border-radius: 50%; display: grid; place-items: center; }
.argu-item .num::before { content: counter(argu); }
.argu-item h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.argu-item p { font-size: .96rem; color: var(--ink-70); }

/* ----------------------------- ENCART AUDIT (argument massue) ----------- */
.audit-feature { position: relative; overflow: hidden; }
.audit-card {
  background: var(--sand); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.1rem + 2.5vw, 3.2rem);
  border: 1px solid var(--sand-dk);
  display: grid; gap: clamp(1.6rem, 1rem + 3vw, 3rem); align-items: center;
}
@media (min-width: 900px) { .audit-card { grid-template-columns: 1fr 1fr; } }
.audit-card .badge-offert { display: inline-block; background: var(--coral); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; padding: .4rem .85rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.audit-card h2 { margin-bottom: 1rem; }
.audit-points { display: grid; gap: .9rem; }
.audit-points li { display: flex; gap: .8rem; align-items: flex-start; }
.audit-key { margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: var(--ink); color: #EAF1F6; border-radius: var(--radius); font-size: .98rem; }
.audit-key strong { color: #fff; }

/* Listes à coches */
.check-list { display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list svg, .audit-points svg { width: 1.35rem; height: 1.35rem; color: var(--lagoon); flex-shrink: 0; margin-top: .12rem; }
.section--ink .check-list svg { color: #4FD1C8; }

/* ----------------------------- FORMULES (aperçu accueil + tarifs) ------- */
.plans { display: grid; gap: 1.3rem; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3,1fr); gap: 1rem; } }
.plan {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius-lg);
  padding: clamp(1.9rem,1.4rem + 2vw,2.7rem); display: flex; flex-direction: column;
  position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan--featured { border-color: var(--coral); border-width: 2px; box-shadow: var(--shadow-lg); }
.plan--featured::before {
  content: "Recommandée"; position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%);
  background: var(--coral); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: .35rem .9rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.plan h3 { font-size: var(--step-1); }
.plan .plan-price { font-family: var(--serif); display: flex; align-items: baseline; gap: .3rem; margin: .6rem 0 .2rem; }
.plan .plan-price .amount { font-size: 2.6rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.plan .plan-price .unit { font-family: var(--sans); font-size: .92rem; color: var(--ink-55); font-weight: 500; }
.plan .plan-sub { font-size: .9rem; color: var(--ink-55); margin-bottom: 1.2rem; }
.plan .plan-audit { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; color: var(--lagoon); background: rgba(27,127,121,.1); padding: .4rem .75rem; border-radius: var(--radius-pill); margin-bottom: 1.1rem; }
.plan .plan-audit svg { width: 1rem; height: 1rem; }
.plan .check-list { margin-bottom: 1.5rem; font-size: .94rem; }
.plan .check-list li svg { width: 1.15rem; height: 1.15rem; }
.plan .btn { margin-top: auto; }

/* ----------------------------- TABLEAU COMPARATIF ----------------------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
table.compare th, table.compare td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--ink-08); }
table.compare thead th { position: sticky; top: 0; background: #fff; }
table.compare tbody th { text-align: left; font-family: var(--sans); font-weight: 500; font-size: .94rem; color: var(--ink-90); max-width: 320px; }
table.compare .col-feature { width: 38%; }
table.compare th .plan-name { font-family: var(--serif); font-size: 1.2rem; display: block; }
table.compare th .plan-price-sm { font-size: .92rem; font-weight: 600; color: var(--ink-70); font-variant-numeric: tabular-nums; }
table.compare .col-featured { background: rgba(255,92,77,.05); }
table.compare thead .col-featured { box-shadow: inset 0 3px 0 var(--coral); }
table.compare .yes { color: var(--lagoon); }
table.compare .yes svg { width: 1.3rem; height: 1.3rem; display: inline-block; }
table.compare .no { color: var(--ink-55); font-weight: 600; }
table.compare .opt { font-size: .85rem; color: var(--ink-70); }
table.compare tbody tr:hover td, table.compare tbody tr:hover th { background: var(--sand); }
table.compare tbody tr:hover .col-featured { background: rgba(255,92,77,.09); }
table.compare .row-highlight th { font-weight: 600; color: var(--ink); }
table.compare .row-highlight td, table.compare .row-highlight th { background: rgba(27,127,121,.06); }

/* ----------------------------- SIMULATEUR ------------------------------- */
.simulator { background: var(--ink); color: #EAF1F6; border-radius: var(--radius-lg); overflow: hidden; }
.simulator-grid { display: grid; gap: 0; }
@media (min-width: 860px) { .simulator-grid { grid-template-columns: 1.1fr .9fr; } }
.sim-controls { padding: clamp(1.6rem,1.1rem + 2vw,2.8rem); }
.sim-controls h3 { color: #fff; margin-bottom: .4rem; }
.sim-field { margin-top: 1.8rem; }
.sim-field > label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: .9rem; }
.sim-field .val-bubble { font-family: var(--serif); font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); border: 4px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .12s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); border: 4px solid #fff; cursor: pointer; }
.sim-scale { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(234,241,246,.55); margin-top: .5rem; }
.sim-formules { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: .9rem; }
.sim-formule-btn { border: 1.5px solid rgba(255,255,255,.22); border-radius: 10px; padding: .7rem .4rem; color: #EAF1F6; text-align: center; font-size: .85rem; font-weight: 600; transition: all .18s var(--ease); }
.sim-formule-btn .p { display: block; font-size: .78rem; font-weight: 500; color: rgba(234,241,246,.6); margin-top: .15rem; }
.sim-formule-btn[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #fff; }
.sim-formule-btn[aria-pressed="true"] .p { color: rgba(255,255,255,.85); }
.sim-result { background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.1); padding: clamp(1.6rem,1.1rem + 2vw,2.8rem); display: flex; flex-direction: column; justify-content: center; }
.sim-result .result-label { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(234,241,246,.6); }
.sim-result .result-amount { font-family: var(--serif); font-size: clamp(2.6rem,2rem + 3vw,3.8rem); font-weight: 600; color: #fff; line-height: 1; margin: .4rem 0; font-variant-numeric: tabular-nums; }
.sim-result .result-amount .cur { font-size: .5em; color: rgba(255,255,255,.7); }
.sim-result .result-period { font-size: .9rem; color: rgba(234,241,246,.6); }
.sim-result .result-compare { margin-top: 1.2rem; padding: .9rem 1.1rem; background: rgba(27,127,121,.25); border-radius: 10px; font-size: .92rem; }
.sim-result .btn { margin-top: 1.5rem; }
.sim-result .result-note { font-size: .76rem; color: rgba(234,241,246,.45); margin-top: .9rem; }

/* ----------------------------- TÉMOIGNAGES ------------------------------ */
.testimonial { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: clamp(1.5rem,1rem + 1.4vw,2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.testimonial .quote-mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--coral); height: 1.4rem; }
.testimonial blockquote { font-size: 1.05rem; line-height: 1.55; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: #fff; flex-shrink: 0; }
.testimonial .who .name { font-weight: 600; font-size: .95rem; }
.testimonial .who .role { font-size: .85rem; color: var(--ink-55); }
.stars { display: flex; gap: 2px; color: #F2B705; }
.stars svg { width: 1.05rem; height: 1.05rem; }

/* ----------------------------- FAQ -------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border: 1px solid var(--ink-08); border-radius: var(--radius); background: #fff; margin-bottom: .8rem; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 1.4rem; height: 1.4rem; flex-shrink: 0; color: var(--coral); transition: transform .25s var(--ease); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-70); }
.faq .faq-body p + p { margin-top: .8rem; }

/* ----------------------------- CTA FINAL -------------------------------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-phone-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.8rem; }
.cta-phone { font-family: var(--serif); font-size: clamp(1.6rem,1.2rem + 2vw,2.4rem); font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.cta-phone:hover { color: var(--coral); }

/* ----------------------------- FIL D'ARIANE ---------------------------- */
.breadcrumb { padding-block: 1rem; font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--ink-55); }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--ink-55); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ----------------------------- PAGE HEADER (territoire / interne) ------- */
.page-hero { padding-top: clamp(1.5rem,1rem + 2vw,2.5rem); padding-bottom: var(--section-y); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 92% -10%, rgba(27,127,121,.09), transparent 60%); }
.page-hero .eyebrow .pin { width: 1.1em; height: 1.1em; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero .lede { margin-top: 1.1rem; max-width: 42rem; }
.page-hero .btn-row { margin-top: 1.7rem; }

/* ----------------------------- CONTENU ÉDITORIAL (territoire/blog) ------ */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-90); }
.prose ul:not(.check-list) { display: grid; gap: .55rem; padding-left: 0; }
.prose ul:not(.check-list) li { position: relative; padding-left: 1.5rem; }
.prose ul:not(.check-list) li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.prose a:not(.btn) { color: var(--lagoon-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 500; }
.prose a:not(.btn):hover { color: var(--coral); }
.prose strong { color: var(--ink); }
.layout-2col { display: grid; gap: clamp(2rem,1rem + 3vw,4rem); }
@media (min-width: 960px) { .layout-2col { grid-template-columns: minmax(0,1fr) 320px; align-items: start; } }
.sidebar { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.side-card { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.side-card--ink { background: var(--ink); color: #EAF1F6; }
.side-card--ink h3, .side-card--ink .price-lead { color: #fff; }
.side-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.side-card .price-lead { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.side-card .price-lead small { font-family: var(--sans); font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.side-card .btn { margin-top: 1rem; }

/* Encart tarif inline (dans le flux éditorial) */
.inline-pricing { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(1.5rem,1rem + 2vw,2.4rem); margin-block: 2.5rem; }
.inline-pricing h3 { margin-bottom: .4rem; }
.inline-pricing .price-lead { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); }

/* Stat / chiffre d'accroche */
.stat-callout { font-family: var(--serif); font-size: clamp(1.4rem,1.1rem + 1.6vw,2rem); line-height: 1.25; color: var(--ink); border-left: 4px solid var(--coral); padding-left: 1.2rem; }

/* ----------------------------- BLOG ------------------------------------- */
.article-grid { display: grid; gap: 1.5rem; }
@media (min-width: 680px) { .article-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .article-grid { grid-template-columns: repeat(3,1fr); } }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); height: 100%; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; overflow: hidden; }
.article-card .thumb-illu { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.article-card .thumb .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--ink); font-size: .76rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--radius-pill); }
.article-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.article-card p { font-size: .94rem; color: var(--ink-70); flex: 1; }
.article-card .read-more { margin-top: 1rem; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: .4rem; }
.article-meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--ink-55); margin-bottom: .6rem; }

.article-header { max-width: 760px; margin-inline: auto; text-align: center; }
.article-header h1 { font-size: var(--step-4); margin-block: 1rem; }
.article-header .article-meta { justify-content: center; }
.article-body { max-width: 720px; margin-inline: auto; }
.article-body.prose h2 { margin-top: 2.4rem; }
.article-cta { background: var(--ink); color: #EAF1F6; border-radius: var(--radius-lg); padding: clamp(1.6rem,1.1rem + 2vw,2.6rem); margin-top: 3rem; text-align: center; }
.article-cta h3 { color: #fff; margin-bottom: .7rem; }

/* ----------------------------- FORMULAIRE ------------------------------- */
.form-card { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: clamp(1.6rem,1.1rem + 2vw,2.6rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid .span-2 { grid-column: 1 / -1; } .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--ink-12); border-radius: 10px;
  background: var(--bg); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,92,77,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-consent { font-size: .85rem; color: var(--ink-55); display: flex; gap: .6rem; align-items: flex-start; }
.form-consent input { margin-top: .25rem; width: auto; flex-shrink: 0; }
.form-note { font-size: .82rem; color: var(--ink-55); margin-top: .5rem; }

/* Bloc contact infos */
.contact-info { display: grid; gap: 1rem; }
.contact-line { display: flex; gap: .9rem; align-items: center; }
.contact-line .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(27,127,121,.1); color: var(--lagoon); display: grid; place-items: center; flex-shrink: 0; }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line a { font-weight: 600; }
.contact-line a:hover { color: var(--coral); }

/* ----------------------------- MÉTHODE (étapes) ------------------------- */
.steps { display: grid; gap: 1.2rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; position: relative; }
.step .step-num { counter-increment: step; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--coral); line-height: 1; }
.step .step-num::before { content: "0" counter(step); }
.step h3 { font-size: 1.18rem; margin: .7rem 0 .5rem; }
.step p { font-size: .95rem; color: var(--ink-70); }

/* ----------------------------- FOOTER ----------------------------------- */
.site-footer { background: var(--ink); color: #C7D6E2; padding-top: clamp(3rem,2rem + 4vw,5rem); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .logo { color: #fff; font-size: 1.45rem; }
.footer-brand p { color: #93A8BA; font-size: .92rem; margin-top: 1rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #6E869A; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #C7D6E2; font-size: .95rem; transition: color .15s; }
.footer-col a:hover { color: var(--coral); }
.footer-contact .line { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; font-size: .95rem; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; color: var(--coral); flex-shrink: 0; }
.footer-pastilles { padding-block: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-pastilles .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #6E869A; margin-bottom: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #6E869A; }
.footer-bottom a:hover { color: var(--coral); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ----------------------------- WHATSAPP FLOTTANT ------------------------ */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@media (min-width: 961px) { .wa-float { right: 1.6rem; bottom: 1.6rem; } }

/* ----------------------------- STAT TILES (hero / indicateurs) ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.stat-tile { background: var(--bg); border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stat-tile .figure { font-family: var(--serif); font-weight: 600; font-size: 1.95rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-tile .figure .accent { color: var(--coral); }
.stat-tile .label { font-size: .85rem; color: var(--ink-70); margin-top: .4rem; line-height: 1.35; }
.metrics-band { border-block: 1px solid var(--ink-08); background: #fff; }
.metrics-band .stat-tiles { grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08); }
@media (min-width: 760px) { .metrics-band .stat-tiles { grid-template-columns: repeat(4, 1fr); } }
.metrics-band .stat-tile { border: 0; border-radius: 0; background: #fff; text-align: center; padding: 1.6rem 1rem; }

/* ----------------------------- COUVERTURE TERRITOIRES ------------------- */
.coverage-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }
.coverage-card { display: flex; flex-direction: column; gap: .55rem; background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); height: 100%; }
.coverage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink-12); }
.coverage-card .cov-top { display: flex; align-items: center; justify-content: space-between; }
.coverage-card .code-chip { font-family: var(--serif); font-weight: 600; font-size: .9rem; color: var(--coral); border: 1.5px solid var(--ink-08); border-radius: var(--radius-pill); padding: .15rem .65rem; }
.coverage-card h3 { font-size: 1.35rem; }
.coverage-card .cov-note { font-size: .88rem; color: var(--ink-55); flex: 1; }
.coverage-card .cov-link { margin-top: .5rem; font-weight: 600; font-size: .9rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.coverage-card:hover .cov-link { color: var(--coral); }
.coverage-card .cov-link svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.coverage-card:hover .cov-link svg { transform: translateX(3px); }

/* ----------------------------- AUTOMATISATION --------------------------- */
.auto-feature { display: flex; gap: 1rem; align-items: flex-start; }
.auto-feature .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: rgba(10,42,67,.06); color: var(--ink); }
.section--ink .auto-feature .ic { background: rgba(255,255,255,.08); color: #fff; }
.auto-feature .ic svg { width: 22px; height: 22px; }
.auto-feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.auto-feature p { font-size: .94rem; color: var(--ink-70); }
.section--ink .auto-feature p { color: #A9BECD; }
.flow-steps { display: grid; gap: 1.5rem 1.1rem; grid-template-columns: 1fr; counter-reset: flow; }
@media (min-width: 700px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .flow-steps { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------- REVEAL ANIM ------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
