/* ==========================================================================
   PyOne · Site vitrine
   Feuille de style unique, pensée « mobile d'abord » : les règles de base
   visent le téléphone, les requêtes @media ajoutent la mise en page large.

   Sommaire
   1. Polices locales            7. Services, Pourquoi, Méthode
   2. Variables (charte)         8. Tarifs et offre
   3. Base et accessibilité      9. Réalisations, À propos
   4. Boutons                   10. FAQ et contact
   5. En-tête et menu           11. Pied de page, pages légales
   6. Hero et bandeau           12. Animations
   ========================================================================== */

/* 1. Police locale : Inter, variable (graisses 100 à 900), licence OFL ----- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-var.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-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* 2. Variables : charte de la page tarifs ---------------------------------- */
:root {
  --cream: #f1eee9;        /* fond principal */
  --cream-2: #e9e4dd;      /* sections alternées */
  --paper: #faf8f5;        /* cartes */
  --ink: #0b090a;          /* texte principal */
  --ink-2: #1a0c06;        /* texte sur terracotta, fonds sombres */
  --accent: #d67554;       /* terracotta */
  --accent-light: #e99a7b; /* survol, variante claire */
  /* Terracotta assombrie pour les petits textes sur fond crème (contraste ≥ 4,5:1, WCAG AA) */
  --accent-text: #9b4426;
  --grey: #9a918d;         /* gris chaud : filets, décors */
  --grey-light: #cec8c3;   /* gris chaud clair : bordures */
  /* Gris chaud assombri pour le texte secondaire (contraste ≥ 4,5:1 sur crème) */
  --muted: #645b57;

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  /* Pleine largeur : le contenu occupe tout l'écran, avec des marges latérales proportionnelles */
  --container: none;
  --gutter: clamp(20px, 4.5vw, 88px);
  --section-y: clamp(72px, 11vw, 136px);
  --header-h: 68px;
  --focus: 0 0 0 3px var(--cream), 0 0 0 5px var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Base et accessibilité -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em { font-style: italic; }
strong { font-weight: 600; }

/* Titres en Inter gras, approche serrée ; l'emphase passe par la couleur, pas par l'italique */
h1, h2 { font-weight: 700; letter-spacing: -.03em; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
main:focus { outline: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--cream); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1.04; }
.section-lead { margin: 20px 0 0; font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.section-lead a { color: var(--ink); }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 4. Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
/* Bouton principal : terracotta, texte quasi noir (contraste 6:1) */
.btn-primary { background: var(--accent); color: var(--ink-2); }
.btn-primary:hover { background: var(--accent-light); color: var(--ink-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* 5. En-tête et menu -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--grey-light); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 24px; height: 28px; fill: var(--accent); }
.brand-name { font-size: 1.75rem; line-height: 1; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--grey-light); border-radius: 999px; }
.lang-switch button {
  min-width: 38px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent;
  font: 600 .8125rem/1 var(--sans); letter-spacing: .04em; color: var(--muted); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* Bouton « burger » (mobile) */
.menu-toggle {
  position: relative; width: 44px; height: 44px; border: 1px solid var(--grey-light); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: translateX(-50%);
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle-bar { top: 50%; }
.menu-toggle-bar::before, .menu-toggle-bar::after { content: ""; left: 0; transform: none; }
.menu-toggle-bar::before { top: -6px; }
.menu-toggle-bar::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile : panneau déroulant sous l'en-tête */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  padding: 12px var(--gutter) 28px; background: var(--cream); border-bottom: 1px solid var(--grey-light);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.main-nav ul { display: grid; }
.main-nav li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--grey-light);
  font-size: 1.75rem; line-height: 1.1; text-decoration: none;
}
.nav-cta-mobile { margin-top: 22px; width: 100%; }
/* Sans JavaScript, le menu reste affiché sous forme de liste simple */
html:not(.js) .main-nav { position: static; visibility: visible; opacity: 1; transform: none; }
html:not(.js) .menu-toggle { display: none; }

@media (min-width: 1000px) {
  .menu-toggle, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .main-nav, html:not(.js) .main-nav {
    position: static; visibility: visible; opacity: 1; transform: none; padding: 0;
    background: none; border: 0; margin-left: 28px; transition: none;
  }
  .main-nav ul { display: flex; gap: 28px; }
  .main-nav li a {
    position: relative; padding: 6px 0; border: 0; font: 500 .9375rem/1 var(--sans); color: var(--ink);
  }
  .main-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .main-nav li a:hover, .main-nav li a[aria-current="true"] { color: var(--ink); }
  .main-nav li a:hover::after, .main-nav li a[aria-current="true"]::after { transform: scaleX(1); }
}

/* 6. Hero et bandeau de confiance ------------------------------------------ */
.hero { padding-block: clamp(48px, 9vw, 112px) clamp(56px, 9vw, 104px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(48px, 7vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 9vw, 5.25rem); line-height: 1; max-width: 13ch; }
.hero-lead { margin: 28px 0 0; font-size: clamp(1.125rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-motto { margin: 44px 0 0; font-size: 1.5rem; line-height: 1.2; }
/* Filet décoratif en ligne (pas de flex : le texte et l'italique restent sur la même ligne) */
.hero-motto::before { content: ""; display: inline-block; width: 40px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--grey); }
.hero-motto em { color: var(--accent-text); }

/* Illustration du hero (purement décorative, dessinée en CSS) */
.hero-visual { position: relative; max-width: 560px; width: 100%; justify-self: center; padding: 0 0 36px 0; }
.mock {
  background: var(--paper); border: 1px solid var(--grey-light); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(26, 12, 6, .28), 0 2px 6px rgba(26, 12, 6, .05); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--grey-light); background: var(--cream); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-light); }
.mock-bar i {
  margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--paper);
  font: 500 .75rem/1.2 var(--sans); font-style: normal; color: var(--muted);
}
.mock-body { padding: 20px; display: grid; gap: 18px; }
.mock-body b, .mock-phone b { display: block; border-radius: 6px; background: var(--grey-light); }
.mock-hero { display: grid; gap: 10px; padding: 26px 22px; border-radius: var(--radius-sm); background: var(--ink); }
.mock-hero .mock-line { height: 12px; background: rgba(241, 238, 233, .85); }
.mock-hero .mock-line.w40 { background: rgba(241, 238, 233, .4); height: 8px; }
.mock-btn { width: 84px; height: 22px; margin-top: 6px; border-radius: 999px !important; background: var(--accent) !important; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards b { height: 64px; background: var(--cream-2); }
.mock-lines { display: grid; gap: 8px; }
.mock-line { height: 8px; }
.w90 { width: 90%; } .w75 { width: 75%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mock-phone {
  position: absolute; right: -6px; bottom: 0; width: 34%; max-width: 170px; aspect-ratio: 9 / 17;
  display: grid; align-content: start; gap: 8px; padding: 22px 12px;
  background: var(--paper); border: 6px solid var(--ink); border-radius: 26px;
  box-shadow: 0 24px 40px -20px rgba(26, 12, 6, .45);
}
.mock-phone b:first-child { height: 64px; background: var(--ink); }
.mock-phone .mock-btn { width: 60%; height: 16px; }
.mock-chip {
  position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(26, 12, 6, .5);
}
.chip-a { left: -8px; bottom: 54px; }
.chip-b { left: 40%; top: -14px; background: var(--accent); color: var(--ink-2); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { justify-self: end; }
}

/* Bandeau de confiance */
.trust { border-block: 1px solid var(--grey-light); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; }
.trust-list li {
  display: flex; align-items: center; gap: 12px; padding: 22px 12px 22px 0;
  font-weight: 500; font-size: .9375rem; line-height: 1.35;
}
.trust-list li:nth-child(-n+2) { border-bottom: 1px solid var(--grey-light); }
.trust-list .icon { color: var(--accent-text); }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { justify-content: center; padding: 28px 16px; border-bottom: 0 !important; }
  .trust-list li + li { border-left: 1px solid var(--grey-light); }
}

/* 7. Cartes, Services, Pourquoi, Méthode ----------------------------------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 32px); background: var(--paper);
  border: 1px solid var(--grey-light); border-radius: var(--radius);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card h3, .card h4 { font-family: var(--sans); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.service { min-height: 100%; }
.service:hover { border-color: var(--grey); box-shadow: 0 20px 40px -28px rgba(26, 12, 6, .35); }
.card-num { display: block; margin-bottom: 40px; font-size: 2.25rem; line-height: 1; color: var(--accent-text); }
.service h3 { margin-bottom: 12px; }

/* Pourquoi PyOne : titre à gauche, liste à droite */
.why-grid { display: grid; gap: 8px; }
.why-grid .section-head .btn { margin-top: 32px; }
.why-list { border-top: 1px solid var(--grey); }
.why-list li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--grey-light); }
.why-list h3 { font-size: 1.75rem; line-height: 1.15; }
.why-list p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .why-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; margin-bottom: 0; }
  .why-list li { grid-template-columns: 2fr 3fr; gap: 32px; padding: 32px 0; }
}

/* Méthode : frise verticale sur mobile, horizontale sur grand écran */
.timeline { position: relative; display: grid; gap: 0; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--grey);
}
.timeline li { position: relative; padding: 0 0 36px 72px; }
.timeline li:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--cream); border: 1px solid var(--ink); font-size: 1.5rem; line-height: 1;
}
.timeline li:last-child .step-num { background: var(--accent); border-color: var(--accent); color: var(--ink-2); }
.timeline h3 { padding-top: 8px; margin-bottom: 8px; font-size: 1.75rem; line-height: 1.1; }
.timeline p { margin: 0; color: var(--muted); }
.timeline .step-key {
  display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 8px;
  background: var(--ink); color: var(--cream); font-size: .875rem; font-weight: 600;
}
@media (min-width: 1140px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .timeline::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 1px; }
  .timeline li { padding: 76px 0 0; }
  .timeline h3 { padding-top: 0; }
}

/* 8. Tarifs et offre --------------------------------------------------------- */
.pricing-subtitle {
  display: flex; align-items: center; gap: 16px; margin: 0 0 24px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.pricing-subtitle::after { content: ""; flex: 1; height: 1px; background: var(--grey-light); }
.care + .pricing-note, .plans + .pricing-subtitle { margin-top: clamp(48px, 7vw, 72px); }

.plan { gap: 0; }
.plan-name { font-size: 1.1875rem; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; color: var(--ink) !important; }
.price { font-size: clamp(3rem, 6vw, 3.75rem); line-height: 1; }
.price-text { font-size: clamp(2.5rem, 5vw, 3rem); }
.per { font-size: 1rem; color: var(--muted); }
.plan-delay { margin-bottom: 24px !important; padding-bottom: 24px; border-bottom: 1px solid var(--grey-light); font-size: .9375rem; }
.checklist { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%231a0c06' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Formule Pro mise en avant : carte sombre */
.plan-featured { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 0 30px 60px -30px rgba(26, 12, 6, .55); }
.plan-featured p, .plan-featured .per { color: rgba(241, 238, 233, .72); }
.plan-featured .plan-price { color: var(--cream) !important; }
.plan-featured .plan-delay { border-color: rgba(241, 238, 233, .18); }
.plan-badge {
  position: absolute; top: clamp(24px, 3vw, 32px); right: clamp(24px, 3vw, 32px); margin: 0;
  padding: 5px 12px; border-radius: 999px; background: var(--accent);
  color: var(--ink-2) !important; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.plan-featured .btn-primary:hover { background: var(--accent-light); }
@media (min-width: 1000px) { .plan-featured { transform: translateY(-12px); } }

.care-card h4 { font-size: 1.0625rem; }
.care-card .plan-price { margin: 14px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-light); }
.care-card .price { font-size: 2.75rem; }

.pricing-note { margin: 24px 0 0; font-size: .875rem; color: var(--muted); }

/* Encadré offre premier client */
.offer {
  display: grid; gap: 20px; align-items: center; margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--accent); color: var(--ink-2);
}
.offer-figure { margin: 0; font-size: clamp(4rem, 12vw, 6.5rem); line-height: .9; }
.offer h3 { margin-bottom: 8px; font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1.1; }
.offer p { margin: 0; max-width: 60ch; }
.offer .btn { justify-self: start; }
@media (min-width: 900px) { .offer { grid-template-columns: auto 1fr auto; gap: 40px; } }

/* 9. Réalisations, À propos ------------------------------------------------- */
.work-item figure {
  margin: 0 0 18px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--grey-light); background: var(--cream-2);
  aspect-ratio: 4 / 3;
}
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-item:hover img { transform: scale(1.03); }
.work-item h3 { font-size: 1.625rem; line-height: 1.15; margin-bottom: 4px; }
.work-type { margin: 0; color: var(--muted); font-size: .9375rem; }

.section-dark .eyebrow, .section-dark h2 em { color: var(--accent-light); }
.section-dark a:hover { color: var(--accent-light); }
.about-grid { display: grid; gap: 40px; }
.about-grid .section-head { margin-bottom: 0; }
.about-text p { font-size: 1.125rem; color: rgba(241, 238, 233, .82); max-width: 60ch; }
.placeholder-note { font-size: .9375rem !important; color: var(--accent-light) !important; }
.values { display: grid; gap: 16px; }
.values li { padding: 28px; border: 1px solid rgba(241, 238, 233, .16); border-radius: var(--radius); }
.values h3 { margin-bottom: 10px; font-size: 1.875rem; line-height: 1.1; color: var(--cream); }
.values p { margin: 0; color: rgba(241, 238, 233, .72); }
.vision { padding-top: 32px; border-top: 1px solid rgba(241, 238, 233, .16); }
.vision h3 { margin-bottom: 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); }
.vision p { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; max-width: 40ch; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; column-gap: 64px; row-gap: 56px; }
  .values { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .vision { grid-column: 1 / -1; }
}

/* 10. FAQ et contact -------------------------------------------------------- */
.faq-grid { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--grey); }
.faq-list details { border-bottom: 1px solid var(--grey-light); }
.faq-list summary {
  position: relative; display: block; padding: 24px 48px 24px 0; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.2; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover h3 { color: var(--accent-text); }
.faq-answer { padding: 0 48px 26px 0; }
.faq-answer p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

.contact-grid { display: grid; gap: 24px; }
.contact-direct { margin: 36px 0 0; display: grid; gap: 4px; color: var(--muted); }
.contact-mail { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; color: var(--ink); text-decoration-color: var(--accent); }
.contact-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 10px 16px;
  border: 1px solid var(--grey-light); border-radius: 999px; background: var(--paper); font-weight: 500; font-size: .9375rem;
}
.contact-badge .icon { color: var(--accent-text); width: 20px; height: 20px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .contact-head { margin-bottom: 0; }
}

.contact-form {
  display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px);
  background: var(--paper); border: 1px solid var(--grey-light); border-radius: var(--radius);
}
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--grey); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230b090a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #8a817d; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214, 117, 84, .35); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin: 0; color: #b3261e; font-size: .875rem; font-weight: 500; }

.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.field-check label { font-weight: 400; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.field-check label a { color: var(--ink); }
.field-check .field-error { grid-column: 2; }

.form-legend { margin: 0; font-size: .8125rem; color: var(--muted); }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1e6b3a; }
.form-status.is-error { color: #b3261e; }
/* Piège à robots, hors écran */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 11. Pied de page et pages légales ---------------------------------------- */
.site-footer { padding-top: clamp(56px, 8vw, 88px); background: var(--ink); color: var(--cream); }
.site-footer .brand, .site-footer .brand:hover { color: var(--cream); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 48px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 16px 0 0; font-size: 1.5rem; color: rgba(241, 238, 233, .8); }
.footer-brand em { color: var(--accent-light); }
.footer-title { margin-bottom: 16px; font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(241, 238, 233, .86); }
.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--cream); }
.footer-bottom { padding-block: 24px; border-top: 1px solid rgba(241, 238, 233, .14); }
.footer-bottom p { margin: 0; font-size: .875rem; color: var(--grey); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Pages légales */
.legal { padding-block: clamp(48px, 8vw, 96px) var(--section-y); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.05; margin-bottom: 16px; }
.legal .legal-updated { color: var(--muted); margin-bottom: 48px; }
.legal h2 { margin: 48px 0 14px; font-size: clamp(1.625rem, 3.5vw, 2rem); line-height: 1.15; }
.legal h3 { margin: 24px 0 8px; font-size: 1.0625rem; font-weight: 600; }
.legal p, .legal li { color: #3a332f; }
.legal ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal .back { display: inline-flex; margin-bottom: 32px; font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; }
.legal-notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream-2); border: 1px solid var(--grey-light); }
.todo { background: rgba(214, 117, 84, .18); padding: 0 4px; border-radius: 4px; }

/* 12. Animations discrètes au défilement ----------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Décalage léger entre éléments voisins */
.js .cards > .reveal:nth-child(2), .js .timeline > .reveal:nth-child(2), .js .trust-list > .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards > .reveal:nth-child(3), .js .timeline > .reveal:nth-child(3), .js .trust-list > .reveal:nth-child(3) { transition-delay: .16s; }
.js .cards > .reveal:nth-child(4), .js .timeline > .reveal:nth-child(4), .js .trust-list > .reveal:nth-child(4) { transition-delay: .24s; }
.js .timeline > .reveal:nth-child(5) { transition-delay: .32s; }
@media (min-width: 1000px) { .js .plan-featured.reveal.is-visible { transform: translateY(-12px); } }

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

/* Impression : contenu seul, sans décor */
@media print {
  .site-header, .hero-visual, .contact-form, .skip-link { display: none !important; }
  .section-dark, .site-footer, .plan-featured { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* 13. Typographie standard : tailles et graisses adaptées à Inter -------- */
body { font-size: 1rem; line-height: 1.65; font-optical-sizing: auto; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.04; font-weight: 750; max-width: 16ch; letter-spacing: -.04em; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.1; }
.section-head { max-width: 760px; }
.brand-name { font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; }
.hero-motto { font-size: 1.125rem; font-weight: 600; }
.hero-motto em, .footer-brand em { font-style: normal; }
.card-num { margin-bottom: 32px; font-size: 1rem; font-weight: 600; letter-spacing: .04em; }
.why-list h3, .timeline h3, .work-item h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.step-num { font-size: 1.0625rem; font-weight: 650; }
.price { font-size: clamp(2.5rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -.04em; }
.price-text { font-size: clamp(2rem, 3.6vw, 2.5rem); }
.care-card .price { font-size: 2.25rem; }
.offer-figure { font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; }
.offer h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.values h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -.02em; }
.vision p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 500; line-height: 1.45; letter-spacing: -.015em; max-width: 52ch; }
.faq-list summary h3 { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; }
.contact-mail { font-size: clamp(1.375rem, 2.8vw, 1.75rem); font-weight: 650; letter-spacing: -.02em; }
.footer-brand p { font-size: 1.125rem; font-weight: 500; }
.legal h1 { letter-spacing: -.035em; }
.legal h2 { font-size: clamp(1.375rem, 2.6vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 999px) { .main-nav li a { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; } }

/* 14. Barre de défilement et barre de progression ------------------------ */
/* Chrome, Edge, Safari : rail crème, poignée sombre en pilule, terracotta au survol */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--cream-2); border-left: 1px solid var(--grey-light); }
::-webkit-scrollbar-thumb {
  background: var(--ink); border-radius: 999px;
  border: 4px solid transparent; background-clip: padding-box; min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }
::-webkit-scrollbar-thumb:active { background-color: var(--accent-text); }
::-webkit-scrollbar-corner { background: var(--cream-2); }
/* Zones de texte et blocs défilants : version fine */
textarea::-webkit-scrollbar, .main-nav::-webkit-scrollbar { width: 10px; }
textarea::-webkit-scrollbar-track { background: transparent; border: 0; }
textarea::-webkit-scrollbar-thumb { background-color: var(--grey); border-width: 3px; }
/* Firefox (ne connaît pas les règles ci-dessus) : couleurs de la charte, épaisseur fine */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--ink) var(--cream-2); scrollbar-width: thin; }
  textarea { scrollbar-color: var(--grey) transparent; }
}

/* Fine barre terracotta sous l'en-tête, qui avance avec la lecture (main.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: 0 50%;
}

::selection { background: var(--accent); color: var(--ink-2); }
