/* Pin and Scan — feuille de style commune du site.
   Concept : le papier et l'écran. Le site alterne des sections blanches (le papier imprimé)
   et des bandes pétrole plein écran (l'écran du téléphone), avec un téléphone qui sert de fil conducteur.
   Le site est volontairement en fond blanc uniquement (demande de Lisa). */
:root {
  --petrole: #044B57;
  --petrole-fonce: #02333B;
  --petrole-clair: #0B6472;
  --corail: #F06B66;
  --corail-pale: #FDE9E8;
  --corail-texte: #B9433E; /* corail assombri pour le texte sur fond clair (contraste AA) */
  --turquoise: #74D0CE;
  --turquoise-pale: #E8F6F5;
  --encre: #10262B;
  --texte: #2B4146;
  --gris: #5B6E72;
  --trait: #DCE6E7;
  --papier: #FFFFFF;
  --papier-2: #F5F9F9;

  --f-display: "Unbounded", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --largeur: 1180px;
  --lecture: 68ch;
  --rayon: 18px;
  --ombre: 0 24px 60px -24px rgba(4, 75, 87, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--petrole); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--petrole-clair); }
:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--encre); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: -.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .conteneur { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

.surtitre {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--corail-texte);
  font-weight: 500;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-texte); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--corail); color: var(--encre); box-shadow: 0 10px 22px -14px rgba(16, 38, 43, .55); }
.btn-cta:hover { background: #F4827E; color: var(--encre); }
.btn-ligne { border-color: var(--petrole); color: var(--petrole); background: transparent; }
.btn-ligne:hover { background: var(--turquoise-pale); color: var(--petrole); }
.btn-clair { background: var(--papier); color: var(--petrole); }
.btn-clair:hover { color: var(--petrole); background: var(--turquoise-pale); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- En-tête ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.92); }
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.entete.defile { border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--petrole); font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.marque:hover { color: var(--petrole); }
.marque svg { width: 30px; height: 30px; flex: none; }
.marque b { color: var(--corail); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: .5em .8em; border-radius: 999px; text-decoration: none; color: var(--encre); font-weight: 600; font-size: .97rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--turquoise-pale); color: var(--petrole); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--trait); background: var(--papier); color: var(--petrole); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 920px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); background: var(--papier); border-bottom: 1px solid var(--trait); box-shadow: 0 20px 40px -24px rgba(4,75,87,.3); }
  .nav[data-ouvert="false"] { display: none; }
  .nav a:not(.btn) { padding: .8em 1em; }
  .nav .btn { margin: 10px 0 0; }
}
.cta-mobile { display: none; }
@media (max-width: 520px) {
  .entete .cta-court { display: none; }
}

/* ---------- Héros ---------- */
.heros { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 110px); overflow: hidden; }
.heros::before {
  /* trame de modules de QR code, très pâle, qui s'efface vers le bas */
  content: ""; position: absolute; inset: 0 0 auto auto; width: min(760px, 70%); height: 100%;
  background-image: radial-gradient(var(--turquoise-pale) 32%, transparent 33%);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
          mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
  pointer-events: none;
}
.heros .conteneur { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.heros-texte { display: grid; gap: 22px; min-width: 0; }
.heros h1 em { font-style: normal; color: var(--petrole); background: linear-gradient(transparent 62%, var(--corail-pale) 62%); }
.chapeau { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--texte); max-width: 56ch; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.preuves { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--gris); font-size: .95rem; }
.preuves li { display: inline-flex; align-items: center; gap: 8px; }
.preuves li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--turquoise); flex: none; }
@media (max-width: 880px) { .heros .conteneur { grid-template-columns: 1fr; } }

/* Scène du héros : flyer imprimé + téléphone */
.scene { position: relative; min-height: 560px; display: grid; place-items: center; }
.scene .telephone { position: relative; z-index: 2; transform: rotate(4deg); animation: monte 1.1s cubic-bezier(.2,.8,.2,1) both; }
.flyer {
  position: absolute; z-index: 3; left: 0; bottom: 34px; width: 210px;
  background: var(--papier); border-radius: 10px; padding: 18px 18px 16px;
  box-shadow: 0 30px 60px -20px rgba(2, 51, 59, .45), 0 2px 0 rgba(0,0,0,.03);
  transform: rotate(-7deg);
  animation: glisse 1.1s .25s cubic-bezier(.2,.8,.2,1) both;
  overflow: hidden;
}
.flyer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 64px; background: var(--petrole); clip-path: ellipse(80% 100% at 30% 0); }
.flyer > * { position: relative; }
.flyer .flyer-titre { font-family: var(--f-display); color: #fff; font-size: .92rem; line-height: 1.15; margin-bottom: 26px; }
.flyer .flyer-qr { position: relative; width: 120px; margin: 0 auto 10px; padding: 8px; background: #fff; }
.flyer .flyer-qr::after { /* rayon de scan */
  content: ""; position: absolute; left: -6px; right: -6px; height: 3px; top: 8px;
  background: var(--corail); box-shadow: 0 0 14px 3px rgba(240,107,102,.7); border-radius: 2px;
  animation: scan 2.6s 1.2s ease-in-out infinite;
}
.flyer .flyer-bas { font-size: .78rem; color: var(--gris); text-align: center; line-height: 1.3; }
.flyer .flyer-bas b { display: block; color: var(--encre); font-size: .86rem; }
.notif {
  position: absolute; z-index: 4; right: 0; top: 70px; max-width: 250px;
  display: flex; gap: 12px; align-items: center;
  background: rgba(255,255,255,.97); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--ombre); font-size: .9rem; line-height: 1.3; color: var(--encre);
  animation: pop .7s 2.2s cubic-bezier(.16,1,.3,1) both;
}
.notif .pastille { width: 38px; height: 38px; border-radius: 12px; background: var(--petrole); display: grid; place-items: center; flex: none; }
.notif .pastille svg { width: 20px; height: 20px; stroke: var(--turquoise); fill: none; stroke-width: 2.2; }
.notif small { display: block; color: var(--gris); font-size: .8rem; }
@keyframes monte { from { transform: translateY(40px) rotate(8deg); } to { transform: translateY(0) rotate(4deg); } }
@keyframes glisse { from { transform: translate(-40px, 30px) rotate(-14deg); } to { transform: translate(0,0) rotate(-7deg); } }
@keyframes pop { from { transform: scale(.6) translateY(10px); } to { transform: scale(1) translateY(0); } }
@keyframes scan { 0%, 100% { top: 8px; } 50% { top: calc(100% - 11px); } }
@media (max-width: 560px) {
  .scene { min-height: 540px; overflow: hidden; max-width: 100%; justify-items: center; }
  .scene .telephone { --l: 230px; margin-inline: auto; transform: none; animation: none; }
  .flyer { width: 148px; left: 14px; bottom: 16px; padding: 12px; transform: rotate(-4deg); animation: none; }
  .flyer .flyer-titre { font-size: .8rem; margin-bottom: 18px; }
  .flyer .flyer-qr { width: 84px; }
  .notif { right: 4px; top: 6px; max-width: 200px; font-size: .82rem; padding: 10px 12px; }
  .notif .pastille { width: 32px; height: 32px; }
}
@media (max-width: 380px) {
  .scene .telephone { --l: 210px; }
  .scene { min-height: 500px; }
  .flyer { width: 132px; left: 10px; }
  .flyer .flyer-qr { width: 74px; }
  .notif { max-width: 180px; }
}

/* ---------- Téléphone (le cadre ; l'écran est une image facile à remplacer) ---------- */
.telephone {
  --l: 300px;
  width: var(--l); max-width: 78vw; aspect-ratio: 390 / 844;
  border-radius: calc(var(--l) * .15);
  padding: calc(var(--l) * .035);
  background: linear-gradient(145deg, #1D3237, #071518 60%, #22383D);
  box-shadow: 0 0 0 1.5px #2F474C inset, 0 50px 90px -30px rgba(2, 51, 59, .55), 0 18px 30px -18px rgba(0,0,0,.4);
  position: relative;
}
.telephone::before { /* îlot de la caméra */
  content: ""; position: absolute; z-index: 3; top: calc(var(--l) * .055); left: 50%; transform: translateX(-50%);
  width: 30%; height: calc(var(--l) * .07); border-radius: 999px; background: #050C0E;
}
.telephone .ecran { width: 100%; height: 100%; border-radius: calc(var(--l) * .12); overflow: hidden; background: var(--papier-2); position: relative; }
.telephone .ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: absolute; inset: 0; transition: opacity .5s ease, transform .6s ease; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tete { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-tete p { font-size: 1.1rem; }
.fond-doux { background: var(--papier-2); }

/* Comment ça marche : étapes + téléphone collant */
.recit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.recit-etapes { list-style: none; margin: 0; padding: 0; display: grid; }
.recit-etape { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; padding-block: clamp(28px, 7vh, 72px); border-top: 1px solid var(--trait); }
.recit-etape:first-child { border-top: 0; padding-top: 8px; }
.recit-etape > :not(.num) { grid-column: 2; }
.recit-etape .num { grid-column: 1; grid-row: 1 / span 4; align-self: start; font-family: var(--f-mono); font-size: .85rem; color: var(--gris); font-weight: 500; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--trait); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.recit-etape.actif .num { background: var(--corail); border-color: var(--corail); color: var(--encre); }
.recit-etape h3 { margin-bottom: 8px; }
.recit-etape p { color: var(--texte); max-width: 46ch; }
.recit-etape .exemple-code { margin-top: 12px; display: inline-block; font-family: var(--f-mono); font-size: .86rem; color: var(--petrole); background: var(--turquoise-pale); padding: 6px 10px; border-radius: 8px; justify-self: start; }
.recit-etape .img-mobile { display: none; }
.recit-visuel { position: sticky; top: 110px; display: grid; place-items: center; }
.recit-visuel .telephone { --l: 320px; }
.recit-visuel .ecran img { opacity: 0; transform: scale(1.02); }
.recit-visuel .ecran img.visible { opacity: 1; transform: none; }
@media (max-width: 880px) {
  .recit { grid-template-columns: 1fr; }
  .recit-visuel { display: none; }
  .recit-etape .img-mobile { display: block; grid-column: 1 / -1 !important; justify-self: center; margin-top: 18px; width: min(260px, 70%); border-radius: 26px; box-shadow: var(--ombre); border: 6px solid #0E2226; }
}

/* Bande cinéma plein écran */
.cinema { position: relative; min-height: clamp(460px, 70vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.cinema > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cinema::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,51,59,0) 15%, rgba(2,51,59,.62) 50%, rgba(2,40,46,.94) 100%); }
.cinema .conteneur { padding-block: clamp(40px, 7vw, 96px); display: grid; gap: 18px; }
.cinema h2 { color: #fff; max-width: 18ch; }
.cinema p { max-width: 54ch; font-size: 1.12rem; color: rgba(255,255,255,.92); }
.cinema .surtitre { justify-self: start; color: var(--encre); background: var(--turquoise); padding: 6px 12px; border-radius: 999px; font-weight: 500; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cinema > img { animation: travelling linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes travelling { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
  }
}

/* Avant / après : changer la destination */
.bascule { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bascule-visuel { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px; align-items: center; background: var(--papier-2); border-radius: 28px; padding: clamp(22px, 3.5vw, 40px); }
.flyer.statique { position: relative; left: auto; bottom: auto; width: 176px; transform: rotate(-4deg); animation: none; }
.flyer.statique .flyer-qr { width: 104px; }
.fleche { display: grid; justify-items: center; gap: 4px; color: var(--corail-texte); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.fleche svg { width: 44px; height: 22px; fill: none; stroke: var(--corail); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cycle { position: relative; min-height: 236px; }
.dest { position: absolute; inset: 0; background: var(--papier); border-radius: 22px; padding: 18px; box-shadow: 0 18px 40px -22px rgba(2,51,59,.45); display: grid; align-content: start; gap: 10px; opacity: 0; animation: cycle-dest 10.5s infinite; }
.dest.d1 { animation-delay: 0s; } .dest.d2 { animation-delay: 3.5s; } .dest.d3 { animation-delay: 7s; }
@keyframes cycle-dest { 0% { opacity: 0; transform: translateY(10px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-6px); } }
.dest .mois { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--corail-texte); }
.dest-tete { font-family: var(--f-display); font-weight: 600; color: var(--petrole); font-size: 1rem; line-height: 1.2; }
.dest-tete.wa { color: #fff; background: #1F7A5A; margin: -4px -6px 0; padding: 10px 12px; border-radius: 12px; font-family: var(--f-texte); font-weight: 700; font-size: .92rem; }
.menu-lignes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.menu-lignes li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--trait); padding-bottom: 6px; }
.menu-lignes b { color: var(--encre); font-variant-numeric: tabular-nums; }
.etoiles { font-size: 1.7rem; letter-spacing: .08em; color: #E9A23B; line-height: 1; }
.bulle { background: #E3F4EC; color: var(--encre); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: .92rem; line-height: 1.4; }
.dest-btn { justify-self: start; background: var(--petrole); color: #fff; font-weight: 700; font-size: .9rem; padding: 9px 14px; border-radius: 999px; }
.dest-btn.wa { background: #1F7A5A; }
@media (prefers-reduced-motion: reduce) { .dest { animation: none; } .dest.d3 { opacity: 1; } }
@media (max-width: 880px) { .bascule { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .bascule-visuel { grid-template-columns: 1fr; justify-items: center; }
  .fleche svg { transform: rotate(90deg); }
  .cycle { width: 100%; }
}

/* Grille des destinations */
.destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.destinations li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 20px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--trait); }
.destinations .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; background: var(--turquoise-pale); display: grid; place-items: center; }
.destinations .ico svg { width: 22px; height: 22px; stroke: var(--petrole); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.destinations b { color: var(--encre); font-size: 1.04rem; }
.destinations span { color: var(--gris); font-size: .94rem; line-height: 1.45; }
.destinations .pro-tag { display: inline-block; margin-left: 6px; font-family: var(--f-mono); font-size: .74rem; color: var(--corail-texte); border: 1.5px solid var(--corail-texte); border-radius: 999px; padding: 0 6px; vertical-align: 2px; }
@media (max-width: 900px) { .destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .destinations { grid-template-columns: 1fr; } }

/* Statistiques : texte + téléphone */
.duo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo-visuel { display: grid; place-items: center; position: relative; }
.duo-visuel .telephone { --l: 300px; transform: rotate(-3deg); }
.liste-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.liste-points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.liste-points li svg { width: 24px; height: 24px; stroke: var(--corail); fill: none; stroke-width: 2.4; margin-top: 2px; }
.liste-points b { color: var(--encre); }
@media (max-width: 880px) { .duo { grid-template-columns: 1fr; } .duo-visuel { order: -1; } .duo-visuel .telephone { transform: none; } }

/* Tableau comparatif */
.tableau-wrap { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--papier); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--trait); vertical-align: top; }
thead th { font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--encre); background: var(--papier-2); }
thead th.nous { background: var(--petrole); color: #fff; }
tbody th { font-weight: 600; color: var(--encre); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.oui { color: #1E6B44; font-weight: 600; }
td.non { color: var(--gris); }
@media (max-width: 640px) {
  .tableau-wrap { overflow: visible; border: 0; background: transparent; }
  .tableau-wrap table { min-width: 0; }
  .tableau-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-wrap tbody { display: grid; gap: 12px; }
  .tableau-wrap tr { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--trait); border-radius: 16px; background: var(--papier); }
  .tableau-wrap th, .tableau-wrap td { display: block; padding: 0; border: 0; }
  .tableau-wrap tbody th { font-family: var(--f-display); font-size: 1rem; color: var(--petrole); margin-bottom: 2px; }
  .tableau-wrap td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
}

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; }
.tarif { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--papier); border: 1px solid var(--trait); }
.tarif.pro { background: var(--petrole); color: rgba(255,255,255,.9); border-color: var(--petrole); }
.tarif.pro h3, .tarif.pro .prix { color: #fff; }
.tarif .prix { font-family: var(--f-display); font-size: 2.6rem; color: var(--encre); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tarif .prix small { font-family: var(--f-texte); font-size: 1rem; letter-spacing: 0; font-weight: 600; color: var(--gris); }
.tarif.pro .prix small { color: var(--turquoise); }
.tarif ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tarif li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.tarif li svg { width: 20px; height: 20px; stroke: var(--petrole); fill: none; stroke-width: 2.6; margin-top: 3px; }
.tarif.pro li svg { stroke: var(--turquoise); }
.tarif .btn { justify-self: start; }
.note-tarifs { margin-top: 18px; color: var(--gris); font-size: .95rem; max-width: 70ch; }
@media (max-width: 720px) { .tarifs { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--trait); border-radius: 16px; background: var(--papier); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 700; color: var(--encre); font-size: 1.05rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--petrole); border-bottom: 2.5px solid var(--petrole); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .reponse { padding: 0 20px 20px; display: grid; gap: 10px; }
.faq .reponse strong.oui, .faq .reponse strong.non { font-family: var(--f-display); font-weight: 600; }
.faq .reponse strong.oui { color: #1E6B44; }
.faq .reponse strong.non { color: #B23A36; }

/* Bandeau d'appel final */
.appel { background: var(--petrole); color: rgba(255,255,255,.9); border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.appel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background-image: radial-gradient(rgba(116,208,206,.35) 32%, transparent 33%); background-size: 20px 20px; border-radius: 50%; }
.appel h2 { color: #fff; }
.appel p { margin-top: 12px; max-width: 52ch; }
.appel .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .appel { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--petrole-fonce); color: rgba(255,255,255,.78); padding-block: 56px 32px; margin-top: clamp(64px, 9vw, 120px); font-size: .95rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: var(--turquoise); }
.pied-grille { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.pied .marque { color: #fff; }
.pied .pied-titre { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 12px; font-weight: 500; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied-bas { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-grille { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.fil { font-size: .9rem; color: var(--gris); padding-top: 28px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.fil li + li::before { content: "›"; margin-right: 6px; color: var(--trait); }
.fil a { color: var(--gris); }
.page-tete { padding-block: 28px clamp(32px, 5vw, 56px); display: grid; gap: 18px; max-width: 860px; }

/* Article de blog */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; } .article-aside { display: none; } }
.article-tete { display: grid; gap: 18px; padding-top: 18px; max-width: 820px; }
.article-tete h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
.meta-auteur { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--gris); font-size: .92rem; }
.meta-auteur .qui { display: flex; align-items: center; gap: 12px; color: var(--encre); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--petrole); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: .95rem; flex: none; }
.meta-auteur small { display: block; color: var(--gris); font-size: .84rem; }
.prose { max-width: var(--lecture); display: grid; gap: 20px; }
.prose > h2 { margin-top: 28px; scroll-margin-top: 100px; }
.prose > h3 { margin-top: 10px; scroll-margin-top: 100px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; }
.prose li::marker { color: var(--corail-texte); font-weight: 700; }
.prose strong { color: var(--encre); }
.prose figure { margin: 8px 0; display: grid; gap: 10px; }
.prose figure img { border-radius: 22px; border: 1px solid var(--trait); }
.prose figure.ecran-fig img { width: min(300px, 80%); margin-inline: auto; border-radius: 32px; border: 7px solid #0E2226; box-shadow: var(--ombre); }
.prose figcaption { font-size: .9rem; color: var(--gris); text-align: center; }
.en-bref { background: var(--turquoise-pale); border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 12px; border: 1px solid #CDEBEA; }
.en-bref h2 { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.en-bref h2::before { content: ""; width: 10px; height: 10px; background: var(--corail); border-radius: 3px; }
.en-bref ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.encart { background: var(--corail-pale); padding: 16px 20px; border-radius: 14px; color: var(--encre); }
.bloc-cta { background: var(--petrole); color: rgba(255,255,255,.9); border-radius: 24px; padding: clamp(22px, 3.5vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-block: 12px; }
.bloc-cta strong { color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; display: block; margin-bottom: 6px; line-height: 1.25; }
@media (max-width: 640px) { .bloc-cta { grid-template-columns: 1fr; } }
.sommaire { position: sticky; top: 100px; display: grid; gap: 10px; font-size: .92rem; }
.sommaire .sommaire-titre { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 500; }
.sommaire ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--trait); }
.sommaire a { display: block; padding: 6px 12px; text-decoration: none; color: var(--texte); border-left: 2px solid transparent; margin-left: -2px; line-height: 1.35; }
.sommaire a:hover, .sommaire a.actif { color: var(--petrole); border-left-color: var(--corail); }
.sources { display: grid; gap: 10px; }
.sources ol { padding-left: 1.2em; display: grid; gap: 8px; font-size: .95rem; }
.partage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.partage a, .partage button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--papier); color: var(--encre); font: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.partage a:hover, .partage button:hover { border-color: var(--petrole); color: var(--petrole); }
.auteur { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: 22px; border: 1px solid var(--trait); background: var(--papier-2); }
.auteur .avatar { width: 64px; height: 64px; font-size: 1.2rem; }
.auteur h2 { font-size: 1.1rem; }
.auteur p { margin-top: 6px; }

/* Blog : cartes */
.cartes-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.carte-blog { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.carte-blog img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 20px; }
.carte-blog h2, .carte-blog h3 { font-size: 1.25rem; color: var(--encre); }
.carte-blog:hover h2, .carte-blog:hover h3 { color: var(--petrole); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .15em; }
.carte-blog p { color: var(--gris); font-size: .97rem; }
.carte-blog .date { font-family: var(--f-mono); font-size: .78rem; color: var(--gris); }
.carte-blog.a-venir { border: 1.5px dashed var(--trait); border-radius: 20px; padding: 22px; }
@media (max-width: 900px) { .cartes-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cartes-blog { grid-template-columns: 1fr; } }

/* À propos */
.histoire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.histoire img { border-radius: 26px; box-shadow: var(--ombre); }
@media (max-width: 860px) { .histoire { grid-template-columns: 1fr; } }
.valeurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.valeurs li { padding: 24px; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--papier); display: grid; gap: 8px; align-content: start; }
.valeurs b { font-family: var(--f-display); font-weight: 600; color: var(--encre); font-size: 1.08rem; line-height: 1.25; }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.formulaire { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--trait); background: var(--papier); }
.formulaire label { font-weight: 700; color: var(--encre); display: block; margin-bottom: 6px; font-size: .97rem; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--trait); background: var(--papier); color: var(--encre); font: inherit; }
.formulaire textarea { min-height: 150px; resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 3px rgba(4,75,87,.14); }
.formulaire .aide { font-size: .88rem; color: var(--gris); margin-top: 4px; }
.formulaire .duo-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .formulaire .duo-champs { grid-template-columns: 1fr; } }
.message-envoi { padding: 14px 16px; border-radius: 12px; background: var(--turquoise-pale); color: var(--petrole); font-weight: 600; }
.coordonnees { display: grid; gap: 14px; }
.coordonnees .carte-info { padding: 22px; border-radius: 20px; background: var(--papier-2); border: 1px solid var(--trait); display: grid; gap: 6px; }
.coordonnees .carte-info b { color: var(--encre); }
.adresse-mail { font-family: var(--f-mono); font-size: 1rem; color: var(--petrole); user-select: all; word-break: break-all; }

/* Apparitions au défilement (progressif : tout reste visible sans prise en charge) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .apparait { animation: apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes apparait { from { opacity: .25; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
