/* ==========================================================
   Prestige Web — palette « Vin et chambray » (noms de variables conservés : marine = vin, brique = accent). Ancienne palette : archives/site-agence-sauvegarde-2026-12-05-marine-brique
   Titres : Fraunces · Texte : Inter
   ========================================================== */

:root {
  color-scheme: only light;
  /* Couleur foncée : marine (titres, sections foncées) */
  --marine: #492A34;
  --marine-clair: #5E3844;
  --marine-nuit: #331C24;
  /* Accent : brique (boutons et éléments importants seulement) */
  --brique: #7B2D43;
  --brique-fonce: #652337;
  --brique-sur-fonce: #9EB4D3;
  /* Touche secondaire : gris-bleu (petits textes, icônes) */
  --gris-bleu: #5A6680;
  /* Fonds clairs et chaleureux */
  --ivoire: #F7F9FC;
  --pierre: #C9D6E8;
  --blanc: #FFFFFF;
  /* Texte */
  --texte: #3A222B;
  --doux: #54474E;
  --sur-fonce: #E6D9DE;
  --label-fonce: #BFA8B1;
  --ligne: rgba(73, 42, 52, .12);
  --erreur: #B3261E;

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-titre: "Fraunces", Georgia, "Times New Roman", serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ombre: 0 24px 48px -28px rgba(73, 42, 52, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--texte);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  color: var(--marine);
  font-family: var(--font-titre); font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.005em; }

p { margin: 0; max-width: 62ch; text-wrap: pretty; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }

/* Icônes Lucide : petites, trait fin, une seule couleur */
.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--marine); color: var(--ivoire);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gris-bleu); outline-offset: 3px; border-radius: 2px; }
.section-vert :focus-visible,
.contact-info :focus-visible,
.site-footer :focus-visible { outline-color: var(--brique-sur-fonce); }

.eyebrow {
  color: var(--gris-bleu);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.section-vert .eyebrow, .contact .eyebrow { color: var(--brique-sur-fonce); }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { opacity: .88; }
.btn-primary { background: var(--brique); color: var(--blanc); border-color: var(--brique); }
.btn-primary:hover { background: var(--brique-fonce); border-color: var(--brique-fonce); }
.btn-dark { background: var(--marine); color: var(--blanc); }
.btn-dark:hover { background: var(--marine-clair); }
.btn-ghost { background: transparent; color: var(--marine); border-color: var(--ligne); }
.btn-ghost:hover { border-color: var(--marine); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--marine); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: .3em; text-decoration-color: rgba(73, 42, 52, .35);
  transition: text-decoration-color .15s;
}
.link::after { content: "→"; transition: transform .2s var(--ease); }
.link:hover { text-decoration-color: currentColor; }
@media (hover: hover) { .link:hover::after { transform: translateX(3px); } }

.show-sm { display: none; }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ligne); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--marine); text-decoration: none;
  font-family: var(--font-titre); font-weight: 600; font-stretch: 72%; font-size: 1.4rem; letter-spacing: -.01em; line-height: 1;
}
.brand-mark { width: 30px; height: 30px; }
.brand-light { color: var(--blanc); }

.nav { display: flex; gap: clamp(16px, 1.8vw, 32px); }
.brand, .site-header .btn { white-space: nowrap; flex: none; }
.nav a {
  padding-block: 4px; white-space: nowrap;
  color: var(--marine); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  background: linear-gradient(var(--gris-bleu), var(--gris-bleu)) no-repeat left bottom / 0 2px;
  transition: background-size .25s var(--ease);
}
.nav a:hover, .nav a:focus-visible { background-size: 100% 2px; }
@media (max-width: 1140px) { .nav { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 152px); }
.section-paper { background: var(--blanc); }
.section-menthe { background: var(--pierre); }
/* Section foncée (nom de classe conservé) : marine */
.section-vert { background: var(--marine); color: var(--blanc); }
.section-vert h2, .section-vert h3 { color: var(--blanc); }

.section-head {
  display: grid; gap: 16px;
  max-width: 680px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head p:not(.eyebrow) { color: var(--doux); font-size: var(--step-1); line-height: 1.5; }
.section-vert .section-head p:not(.eyebrow) { color: var(--sur-fonce); }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(56px, 8vw, 112px) clamp(72px, 10vw, 136px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero-copy { display: grid; gap: 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { max-width: 12ch; }
.lead { margin-top: 28px; font-size: var(--step-1); line-height: 1.5; max-width: 34ch; color: var(--doux); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.hero-note {
  display: flex; gap: 10px; align-items: center;
  margin-top: 40px;
  font-size: var(--step--1); color: var(--doux);
}
.hero-note .icon { color: var(--gris-bleu); width: 16px; height: 16px; }

/* Cadres d'appareils : ordinateur portable + cellulaire */
.hero-visual { margin: 0; }
.devices { position: relative; padding: 0 0 7% 9%; }
.devices:not(:has(.phone)) { padding-left: 0; }

.laptop { position: relative; filter: drop-shadow(0 30px 40px rgba(73, 42, 52, .22)); }
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: clamp(6px, 1vw, 12px) solid #1C1F22;
  border-bottom-width: clamp(10px, 1.6vw, 18px);
  border-radius: 14px 14px 0 0;
  background: #1C1F22;
  overflow: hidden;
}
.laptop-screen video, .laptop-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.laptop-screen video { z-index: 1; }
.laptop-base {
  position: relative;
  height: clamp(10px, 1.4vw, 16px);
  margin: 0 -6%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(#DADDE0, #B7BBC0);
}
.laptop-base::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 14%; height: 40%;
  border-radius: 0 0 8px 8px;
  background: #A5AAB0;
  transform: translateX(-50%);
}
.phone {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: 23%; aspect-ratio: 9 / 19.5;
  border: clamp(5px, .7vw, 8px) solid #1C1F22;
  border-radius: clamp(18px, 2.4vw, 30px);
  background: #1C1F22;
  overflow: hidden;
  box-shadow: 0 24px 40px -16px rgba(73, 42, 52, .4);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(13px, 1.8vw, 22px); }

.hero-visual figcaption { margin-top: 28px; padding-left: 9%; font-size: var(--step--1); color: var(--doux); }
.devices:not(:has(.phone)) + figcaption { padding-left: 0; }
.hero-visual figcaption strong { color: var(--marine); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Chiffres ---------- */
.chiffres { background: var(--blanc); padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid var(--ligne); }
.stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.stat { display: grid; gap: 8px; align-content: start; }
.stat-num {
  color: var(--marine);
  font-family: var(--font-titre); font-weight: 600; font-stretch: 65%;
  font-size: clamp(2.2rem, 1.7rem + 2vw, 3.2rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--doux); font-size: .95rem; line-height: 1.45; max-width: 24ch; }
.stat-lien { display: grid; gap: 8px; align-content: start; color: inherit; text-decoration: none; }
.stat-voir { color: var(--brique); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.stat-voir span { display: inline-block; transition: transform .2s ease; }
.stat-lien:hover .stat-voir, .stat-lien:focus-visible .stat-voir { color: var(--brique-fonce); text-decoration-thickness: 2px; }
.stat-lien:hover .stat-voir span { transform: translateY(3px); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* ---------- Étapes ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.step { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 1px solid var(--ligne); }
.step-num { color: var(--gris-bleu); font-weight: 700; font-size: .95rem; letter-spacing: .08em; }
.step h3 { font-size: var(--step-2); font-stretch: 75%; font-family: var(--font-titre); font-weight: 600; line-height: 1.1; }
.step p { color: var(--doux); }
.step-key { border-top-color: var(--brique); border-top-width: 2px; }
.step-key .step-num { color: var(--brique); }

.steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(56px, 7vw, 88px); }
.steps-cta p { color: var(--doux); }

@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps-cta .btn { width: 100%; }
}

/* Apparition une après l'autre au défilement */
.js .step { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .step:nth-child(2) { transition-delay: .2s; }
.js .step:nth-child(3) { transition-delay: .4s; }
.js .steps:not(.is-visible) .step { opacity: 0; transform: translateY(20px); }

/* ---------- Services ---------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 36px 32px 96px;
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  background: var(--ivoire);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
@media (hover: hover) {
  .service:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
}
.service-ico {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 12px;
  border-radius: 10px;
  background: var(--pierre); color: var(--marine);
}
.service-ico .icon { width: 22px; height: 22px; }
.service h3 { font-size: var(--step-2); }
.service > p { color: var(--doux); }
.service .checks { margin-top: 4px; }
.service-go {
  position: absolute; right: 28px; bottom: 28px;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--ligne);
  background: var(--blanc); color: var(--marine);
  transition: background-color .2s, color .2s, border-color .2s;
}
.service-go .icon { transition: transform .2s var(--ease); }
.service-go:hover, .service-go:focus-visible { background: var(--brique); border-color: var(--brique); color: var(--blanc); }
@media (hover: hover) { .service-go:hover .icon { transform: translate(2px, -2px); } }
@media (max-width: 900px) {
  .services { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service { padding: 28px 24px 88px; }
  .service-go { right: 20px; bottom: 20px; }
}

/* ---------- Avant / après (activé quand vos captures sont prêtes) ---------- */
.aa {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
  background: #ddd;
}
.aa-pane { position: absolute; inset: 0; }
.aa-pane img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.aa-apres { clip-path: inset(0 0 0 var(--pos)); }
.aa-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; outline: none; }
.aa-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px;
  background: var(--blanc);
}
.aa-knob {
  position: absolute; left: 0; top: 50%;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blanc); color: var(--marine);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
}
.aa-handle:focus-visible .aa-knob { outline: 3px solid var(--gris-bleu); outline-offset: 3px; }
.aa-tag {
  position: absolute; top: 14px; z-index: 1;
  padding: 5px 10px; border-radius: 4px;
  background: rgba(0, 0, 0, .6); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  pointer-events: none;
}
.aa-tag-avant { left: 14px; }
.aa-tag-apres { right: 14px; }

/* ---------- Réalisations ---------- */
.browser {
  overflow: hidden;
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: #EEEBE5; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFC9BF; }
.shot { position: relative; aspect-ratio: 1600 / 793; background: #222; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.shot-open {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px; border: 0;
  background: transparent; cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.shot-open > span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--blanc); color: var(--marine);
  font-weight: 700; font-size: .9rem; line-height: 1;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
  transition: background-color .15s, color .15s;
}
.shot-open .icon { width: 14px; height: 14px; fill: currentColor; }
.shot-open:hover > span { background: var(--marine); color: var(--blanc); }
.shot-open:focus-visible { outline: 3px solid var(--brique); outline-offset: -6px; }

.project {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.project .browser { transition: box-shadow .3s var(--ease); }
@media (hover: hover) { .project .browser:hover { box-shadow: 0 32px 60px -28px rgba(73, 42, 52, .45); } }
.project-info { display: grid; gap: 16px; justify-items: start; }
.project-meta { color: var(--gris-bleu); font-weight: 600; font-size: var(--step--1); }
.project-info h3 { font-size: var(--step-3); font-stretch: 70%; font-family: var(--font-titre); font-weight: 600; line-height: 1; }
.project-info > p:not(.project-meta) { color: var(--doux); }

.checks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .icon { color: var(--gris-bleu); width: 16px; height: 16px; }

.thumbs-row { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.thumbs-row li { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; border: 1px solid var(--ligne); background: #222; }
.thumbs-row button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.thumbs-row img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .15s; }
.thumbs-row button:hover img { opacity: .85; }

.slots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(64px, 8vw, 104px);
}
.slot {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--blanc);
  color: var(--texte); text-decoration: none;
  box-shadow: 0 1px 0 var(--ligne);
  transition: box-shadow .3s var(--ease);
}
.slot-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--pierre); }
.slot-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slot-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 28px; }
.slot h3 { font-size: var(--step-2); font-stretch: 75%; font-family: var(--font-titre); font-weight: 600; line-height: 1.05; }
.slot p { color: var(--doux); font-size: .98rem; }
.slot .link { margin-top: auto; padding-top: 10px; }
@media (hover: hover) {
  .slot:hover { box-shadow: var(--ombre); }
  .slot:hover .slot-photo img { transform: scale(1.03); }
}

@media (max-width: 860px) {
  .project { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Calculateur ---------- */
.calc-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.calc-grid .section-head { margin-bottom: 0; }
.calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-result { display: grid; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.calc-out { display: grid; gap: 12px; }
.calc-out[hidden], .calc-empty[hidden] { display: none; }
.calc-empty { color: var(--doux); font-weight: 600; }
.calc-label { color: var(--doux); font-size: var(--step--1); font-weight: 600; }
.calc-big {
  color: var(--marine);
  font-family: var(--font-titre); font-weight: 600; font-stretch: 65%;
  font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-big small { color: var(--doux); font-size: .42em; font-stretch: 85%; font-weight: 700; }
.calc-context { color: var(--doux); font-size: .95rem; }
.calc-lost { padding: 14px 16px; border-radius: var(--r-sm); background: var(--pierre); color: var(--marine); }
.calc-out.is-new { animation: rise .4s var(--ease); }
.calc-fine { color: var(--doux); font-size: .82rem; line-height: 1.45; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 900px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .calc-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inclus ---------- */
.inclus-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.inclus-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.devis {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  background: var(--blanc);
}
.devis-lines { list-style: none; margin: 0; padding: 0; }
.devis-lines li { padding: 24px 0; border-bottom: 1px solid var(--ligne); }
.devis-lines li:first-child { padding-top: 0; }
.devis-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.devis-item h3 { font-size: var(--step-1); }
.devis-price { color: var(--gris-bleu); font-weight: 600; font-size: var(--step--1); white-space: nowrap; }
.devis-lines p { margin-top: 6px; color: var(--doux); max-width: 54ch; }
.devis-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 28px; font-weight: 700; }
.devis-total strong { color: var(--marine); font-family: var(--font-titre); font-weight: 600; font-stretch: 70%; font-size: var(--step-3); line-height: 1; white-space: nowrap; }
.devis-extra { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ligne); font-size: var(--step--1); color: var(--doux); }
.devis-extra strong { color: var(--marine); }
@media (max-width: 900px) {
  .inclus-grid { grid-template-columns: minmax(0, 1fr); }
  .inclus-grid .section-head { position: static; }
}

/* ---------- Pourquoi nous ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.why-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--pierre); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-body { display: grid; gap: 18px; justify-items: start; }
.why-lead { color: var(--doux); font-size: var(--step-1); line-height: 1.5; }
.why-list {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .icon { color: var(--gris-bleu); margin-top: 3px; }
.why-list h3 { font-size: 1.05rem; font-stretch: 90%; }
.why-list p { margin-top: 4px; color: var(--doux); font-size: .95rem; }
.why-phone { display: grid; gap: 2px; margin-top: 20px; text-decoration: none; }
.why-phone-label { color: var(--doux); font-size: var(--step--1); font-weight: 600; }
.why-phone-num {
  color: var(--marine);
  font-family: var(--font-titre); font-weight: 600; font-stretch: 70%; font-size: var(--step-3); line-height: 1.05;
}
.why-phone:hover .why-phone-num { color: var(--gris-bleu); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .why-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- L'équipe ---------- */
.team {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
/* Écran moyen (tablette) : 2 cartes par rangée */
@media (max-width: 1100px) and (min-width: 761px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.member {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 40px 28px 32px;
  border-radius: var(--r-lg);
  background: var(--blanc);
  text-align: center;
  box-shadow: 0 1px 0 var(--ligne);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) {
  .member:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
}
.avatar {
  position: relative; flex: none;
  width: 112px; height: 112px; border-radius: 50%;
  overflow: hidden;
  /* Silhouette floue en attendant la vraie photo */
  background: #C9CDCB url("equipe/silhouette.jpg") center 30% / cover no-repeat;
}
.avatar-attente {
  position: absolute; left: 0; right: 0; bottom: 22%;
  padding: 0 8px;
  text-align: center;
  color: rgba(255, 255, 255, .92);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.member-body { display: grid; gap: 6px; justify-items: center; }
.member h3 { font-size: var(--step-2); font-stretch: 75%; font-family: var(--font-titre); font-weight: 600; }
.member-role { color: var(--gris-bleu); font-weight: 600; font-size: .95rem; }
.member-bio { margin-top: 8px; color: var(--doux); font-size: .95rem; max-width: 32ch; }
.member-links { display: flex; gap: 8px; margin-top: 12px; }
.member-links:not(:has(a:not([href="#"]))) { display: none; }
.member-links a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--ligne);
  color: var(--marine);
  transition: color .15s, border-color .15s;
}
.member-links a:hover { color: var(--gris-bleu); border-color: var(--gris-bleu); }
.member-links a[href="#"], .member-links a[href=""] { display: none; } /* lien pas encore rempli */

/* Cellulaire : cartes horizontales, plus compactes */
@media (max-width: 760px) {
  .team { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .member { flex-direction: row; align-items: flex-start; gap: 18px; padding: 22px 20px; text-align: left; }
  .avatar { width: 72px; height: 72px; }
  .avatar-attente { font-size: .56rem; bottom: 16%; padding: 0 14px; }
  .member-body { justify-items: start; gap: 4px; }
  .member-bio { margin-top: 6px; max-width: none; }
  .member-links { margin-top: 8px; }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head { display: grid; gap: 16px; position: sticky; top: 120px; }
.faq-head p:not(.eyebrow) { color: var(--doux); }
.faq-head a { color: var(--marine); font-weight: 700; text-underline-offset: .25em; }
.faq-list { border-top: 1px solid var(--ligne); }
.faq-list details { border-bottom: 1px solid var(--ligne); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  list-style: none; cursor: pointer;
  color: var(--marine);
  font-weight: 700; font-stretch: 88%; font-size: var(--step-1); line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gris-bleu); }
.faq-icon { color: var(--gris-bleu); transition: transform .25s var(--ease); }
details[open]:not(.is-closing) .faq-icon { transform: rotate(180deg); }
/* La hauteur est animée en JS (ouverture et fermeture en douceur) */
.faq-answer { overflow: hidden; color: var(--doux); }
.faq-answer > p { padding-bottom: 24px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}

/* ---------- Contact ---------- */
.contact { background: var(--marine); color: var(--ivoire); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-info h2 { color: var(--blanc); }
.contact-info > p:not(.eyebrow) { color: var(--sur-fonce); font-size: var(--step-1); line-height: 1.5; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 2px; }
.ci-label { color: var(--label-fonce); font-size: var(--step--1); }
.contact-list a, .ci-text {
  justify-self: start;
  color: var(--blanc); font-weight: 600; font-size: var(--step-1);
  text-decoration: none;
}
.contact-list a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact-list a:hover { border-bottom-color: var(--brique-sur-fonce); }
.contact-list .ci-phone { font-stretch: 70%; font-family: var(--font-titre); font-weight: 600; font-size: var(--step-3); line-height: 1.05; }

.card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--blanc);
  color: var(--texte);
}
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { position: relative; display: grid; gap: 8px; align-content: start; }
.field label, .field-label { color: var(--marine); font-weight: 700; font-size: .95rem; }
.opt { color: var(--doux); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #C4BDB2; border-radius: var(--r-sm);
  background: var(--blanc); color: var(--texte);
  font: inherit; font-size: 1.0625rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23492A34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--doux); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gris-bleu); box-shadow: 0 0 0 3px rgba(73, 42, 52, .2);
}
.field [aria-invalid="true"] { border-color: var(--erreur); }
.error { color: var(--erreur); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Photos : zone de dépôt */
.drop-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.field label.drop {
  display: grid; justify-items: center; gap: 6px;
  padding: 24px 16px;
  border: 1.5px dashed #C4BDB2; border-radius: var(--r-lg);
  background: var(--ivoire);
  text-align: center; cursor: pointer; font-weight: 400;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, background-color .15s;
}
.field label.drop:hover, .drop.is-over { border-color: var(--gris-bleu); background: var(--pierre); }
.drop-input:focus-visible + .drop { outline: 3px solid var(--gris-bleu); outline-offset: 2px; }
.drop-icon { width: 22px; height: 22px; color: var(--gris-bleu); }
.drop-title { color: var(--marine); font-weight: 700; font-size: 1rem; }
.drop-title u { text-underline-offset: .2em; }
.drop-hint { color: var(--doux); font-size: .85rem; line-height: 1.4; max-width: 40ch; }
.show-touch { display: none; }
@media (hover: none) {
  .show-touch { display: inline; }
  .hide-touch { display: none; }
}
.thumbs {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px;
}
.thumbs:empty { display: none; }
.thumb {
  position: relative; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--r-sm); overflow: hidden;
  background: var(--pierre); color: var(--doux);
  font-size: .7rem; text-align: center; padding: 4px; word-break: break-all;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-remove {
  position: absolute; top: 4px; right: 4px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: rgba(73, 42, 52, .85); color: var(--blanc);
  cursor: pointer; transition: background-color .15s;
}
.thumb-remove:hover { background: var(--erreur); }
.thumb-remove .icon { width: 14px; height: 14px; }

.form-status { color: var(--erreur); font-weight: 600; font-size: .95rem; text-align: center; }
.form-status:empty { display: none; }
.form-fine { color: var(--doux); font-size: .875rem; text-align: center; margin-inline: auto; }

.form-success { display: grid; gap: 14px; justify-items: start; }
.form-success[hidden] { display: none; }
.form-success h3 { font-size: var(--step-3); font-stretch: 70%; font-family: var(--font-titre); font-weight: 600; }
.form-success p { color: var(--doux); font-size: var(--step-1); line-height: 1.5; }
.form-success:focus { outline: none; }
.success-icon { width: 40px; height: 40px; color: var(--gris-bleu); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--marine-nuit); color: var(--sur-fonce); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand p { max-width: 38ch; font-size: .95rem; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--ivoire); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem; color: var(--label-fonce);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barre d'action cellulaire ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 249, 252, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--ligne);
    transition: transform .3s var(--ease);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0 18px; font-size: 1rem; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
}

/* ---------- Fenêtre d'aperçu ---------- */
.apercu {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0;
  border-radius: var(--r-lg);
  background: var(--blanc); color: var(--texte);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  overflow: auto; overscroll-behavior: contain;
}
.apercu::backdrop { background: rgba(23, 32, 48, .7); }
.apercu[open] { animation: apercu-in .25s var(--ease); }
@keyframes apercu-in { from { opacity: 0; transform: translateY(12px); } }
.apercu-inner { display: grid; gap: 18px; padding: clamp(16px, 3vw, 28px); }
.apercu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.apercu-head h3 { font-size: var(--step-2); font-stretch: 75%; font-family: var(--font-titre); font-weight: 600; }
.apercu-close {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border: 1px solid var(--ligne); border-radius: 50%;
  background: var(--blanc); color: var(--marine); cursor: pointer;
  transition: border-color .15s;
}
.apercu-close:hover { border-color: var(--marine); }
.apercu-media { overflow: hidden; border-radius: 8px; background: #222; }
.apercu-media video, .apercu-media img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.apercu-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apercu-actions [hidden] { display: none; }
body.has-dialog { overflow: hidden; }
@media (max-width: 560px) { .apercu-actions .btn { width: 100%; } }

/* ---------- Page Forfaits ---------- */
.nav a[aria-current="page"] { background-size: 100% 2px; }
.footer-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { max-width: 44ch; }
.page-hero .hero-actions .btn .icon { transition: transform .2s var(--ease); }
@media (hover: hover) { .page-hero .hero-actions .btn:hover .icon { transform: translateY(2px); } }
.promesse {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.promesse-titre {
  margin-bottom: 18px;
  color: var(--gris-bleu);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.promesse .checks { gap: 14px; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.forfaits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 24px; align-items: stretch;
}
.forfait {
  position: relative;
  display: flex; flex-direction: column; gap: 28px;
  padding: 40px 32px 32px;
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  background: var(--blanc);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) { .forfait:hover { transform: translateY(-4px); box-shadow: var(--ombre); } }
.forfait-head { display: grid; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--ligne); }
.forfait h3 { font-size: var(--step-3); font-stretch: 70%; line-height: 1; }
.forfait-pour { display: grid; gap: 6px; color: var(--doux); font-size: .98rem; line-height: 1.5; }
.forfait-pour span {
  color: var(--gris-bleu);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.forfait .checks { gap: 12px; margin: 0; }
.forfait .checks li { align-items: flex-start; font-weight: 500; font-size: .98rem; line-height: 1.45; }
.forfait .checks .icon { margin-top: 3px; }
.forfait .btn { margin-top: auto; }

/* Pro : plus grand, foncé, mis en valeur */
.forfait-vedette {
  margin-block: -28px;
  padding: 64px 40px 44px;
  border-color: var(--marine);
  background: var(--marine);
  color: var(--sur-fonce);
  box-shadow: 0 40px 70px -36px rgba(73, 42, 52, .7);
}
@media (hover: hover) { .forfait-vedette:hover { box-shadow: 0 48px 80px -36px rgba(73, 42, 52, .8); } }
.forfait-vedette h3 { color: var(--blanc); font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.6rem); }
.forfait-vedette .forfait-head { border-bottom-color: rgba(255, 255, 255, .14); }
.forfait-vedette .forfait-pour { color: var(--sur-fonce); }
.forfait-vedette .forfait-pour span { color: var(--brique-sur-fonce); }
.forfait-vedette .checks li { color: var(--blanc); }
.forfait-vedette .checks .icon { color: var(--brique-sur-fonce); }
.forfait-vedette :focus-visible { outline-color: var(--brique-sur-fonce); }
.forfait-badge {
  position: absolute; top: -15px; left: 40px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--brique); color: var(--blanc);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1;
  box-shadow: 0 8px 18px -8px rgba(123, 45, 67, .7);
}

@media (max-width: 960px) {
  .forfaits { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 560px; margin-inline: auto; }
  .forfait { padding: 36px 24px 28px; }
  .forfait-vedette { margin-block: 0; padding: 48px 24px 32px; }
  .forfait-badge { left: 24px; }
}

/* Apparition une après l'autre au défilement */
.js .forfait { transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .3s var(--ease); }
.js .forfaits:not(.is-visible) .forfait { opacity: 0; transform: translateY(24px); }
.js .forfaits.is-entering .forfait:nth-child(2) { transition-delay: .15s; }
.js .forfaits.is-entering .forfait:nth-child(3) { transition-delay: .3s; }

/* Bande « Pas certain? » */
.cta-band-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px); align-items: end;
}
.cta-band .section-head { margin-bottom: 0; }
.cta-band-actions { display: grid; gap: 28px; justify-items: start; }
.cta-band .why-phone { margin-top: 0; }
.cta-band .why-phone-label { color: var(--label-fonce); }
.cta-band .why-phone-num { color: var(--blanc); }
.cta-band .why-phone:hover .why-phone-num { color: var(--brique-sur-fonce); }
@media (max-width: 860px) {
  .cta-band-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
}

/* Lien vers les forfaits (accueil, section « Ce qui est inclus ») */
.devis-forfaits { margin-top: 24px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
