/* =====================================================================
   toiture-arles.fr — feuille de style unique
   Direction : canvas sombre, cadre arrondi façon lecteur, nav flottante,
   une seule source de lumière (terre cuite) derrière le titre, cadres
   photo « squircle » qui gravitent autour de l'accroche.
   Deux voix typographiques : sans très resserrée pour l'affirmation,
   serif italique pour le mot qui porte le ton.
   ===================================================================== */

:root {
  --void: #07090a;        /* fond autour du cadre arrondi */
  --ink: #0c100f;         /* canvas principal */
  --ink-2: #121716;       /* surface relevée */
  --ink-3: #171f1c;       /* carte */
  --paper: #f5f1e9;       /* texte clair / sections claires */
  --paper-2: #fffdf8;     /* carte sur section claire */
  --dim: #a9b2ae;         /* texte secondaire sur fond sombre */
  --dim-2: #79837f;       /* texte tertiaire sur fond sombre */
  --ember: #e2673a;       /* accent terre cuite */
  --ember-lt: #f5a17a;    /* accent lisible sur fond sombre */
  --clay-dk: #a2431f;     /* accent lisible sur fond clair */
  --line: rgba(245, 241, 233, .12);
  --line-2: rgba(245, 241, 233, .06);
  --line-lt: #e2dccf;     /* filet sur fond clair */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --r-lg: 34px;
  --r-md: 22px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 120px; background: var(--void) }
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important }
a { color: inherit; text-underline-offset: 5px }
button, a, summary, label { -webkit-tap-highlight-color: transparent }
button, input, textarea, select { font: inherit; color: inherit }
img { display: block; max-width: 100%; height: auto }
h1, h2, h3, h4, p, figure, blockquote, fieldset { margin: 0 }
fieldset { border: 0; padding: 0; min-width: 0 }
p { color: var(--dim) }
strong { font-weight: 600; color: var(--paper) }

/* --- Voix typographiques ------------------------------------------- */
h1, h2 {
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 4.9vw, 68px) }
h2 { font-size: clamp(32px, 3.6vw, 52px) }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600 }
h1 .say, h2 .say {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ember-lt);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember-lt);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; flex: none }

.container { width: min(1240px, calc(100% - 88px)); margin-inline: auto }
.section { padding: 104px 0; position: relative }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 46px }
.section-head > p { font-size: 14px; max-width: 400px }

/* Mot fantôme qui ancre la section (référence : un mot par section) */
.ghost {
  position: absolute;
  top: 18px;
  right: -10px;
  font-size: clamp(90px, 15vw, 210px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 241, 233, .1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1 }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden }

/* --- Boutons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 24px;
  min-height: 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .18s, transform .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--ember); color: #10100d }
.btn-primary:hover { background: #f07c4f; transform: translateY(-2px) }
.btn-light { background: var(--paper); color: var(--ink) }
.btn-light:hover { background: #fff; transform: translateY(-2px) }
.btn-ghost { border-color: var(--line); color: var(--paper); background: transparent }
.btn-ghost:hover { border-color: var(--ember-lt); color: var(--ember-lt) }
.btn .icon { width: 19px; height: 19px }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ember-lt);
}
.text-link .icon { width: 17px; height: 17px; transition: transform .2s }
.text-link:hover { text-decoration: underline }
.text-link:hover .icon { transform: translateX(4px) }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; background: var(--paper); color: var(--ink); padding: 12px 20px; border-radius: 12px; transform: translateY(-220%) }
.skip-link:focus { transform: translateY(0) }
:focus-visible { outline: 3px solid var(--ember-lt); outline-offset: 4px; border-radius: 4px }

/* --- Cadre arrondi : la page se lit comme une fenêtre, pas un document */
.frame {
  background: var(--ink);
  border-radius: var(--r-lg);
  margin: 10px;
  overflow: clip;
  position: relative;
}

/* --- Header flottant ------------------------------------------------ */
.site-header { position: sticky; top: 14px; z-index: 60; padding-inline: 14px; margin-top: 14px }
.header-inner {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 9px 9px 20px;
  background: rgba(16, 21, 20, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ember); color: #10100d }
.brand-mark .icon { width: 22px; height: 22px; stroke-width: 1.8 }
.brand strong { display: block; font-size: 16px; letter-spacing: -.03em; line-height: 1.15 }
.brand small { display: block; font-size: 8.5px; letter-spacing: .2em; color: var(--dim-2); margin-top: 2px }
.site-header nav { display: flex; gap: 4px }
.site-header nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 13px; color: var(--dim); text-decoration: none; border-radius: var(--r-pill); transition: color .18s, background .18s }
.site-header nav a:hover { color: var(--paper); background: rgba(245, 241, 233, .07) }
.header-phone { white-space: nowrap; padding: 13px 20px; min-height: 46px; font-size: 14px }

/* --- Hero ----------------------------------------------------------- */
.hero { position: relative; padding: 62px 0 86px }
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(1150px, 130vw);
  height: 760px;
  transform: translateX(-52%);
  background: radial-gradient(48% 46% at 50% 50%, rgba(226, 103, 58, .40), rgba(226, 103, 58, .12) 46%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center }
.hero h1 { margin-bottom: 26px }
.hero-lead { font-size: 16px; line-height: 1.75; max-width: 470px; color: var(--dim) }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim-2); margin-top: 20px }
.hero-note .icon { width: 15px; height: 15px; color: var(--ember-lt) }

/* Cadres photo qui gravitent autour de l'accroche */
.hero-visual { position: relative; align-self: stretch; min-height: 520px }
.squircle { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2) }
.hero-main { position: absolute; inset: 0 0 46px 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5) }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 52% }
.hero-chip {
  position: absolute;
  width: 148px;
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
  animation: float 7s ease-in-out infinite;
}
.hero-chip img { width: 100%; aspect-ratio: .78; object-fit: cover }
.hero-chip.chip-a { left: -54px; top: 58px; transform: rotate(-6deg) }
.hero-chip.chip-b { right: 14px; bottom: -14px; transform: rotate(5deg); animation-delay: -3.5s }
.hero-chip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 9px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(7, 9, 10, .92));
}
@keyframes float { 0%, 100% { translate: 0 0 } 50% { translate: 0 -12px } }

/* --- Bandeau de réassurance ---------------------------------------- */
.trust { border-block: 1px solid var(--line); background: var(--ink-2) }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr) }
.trust-grid > div { display: flex; align-items: center; gap: 16px; padding: 26px 30px }
.trust-grid > div + div { border-left: 1px solid var(--line) }
.trust-grid .icon { width: 26px; height: 26px; color: var(--ember-lt) }
.trust-grid strong { display: block; font-size: 14px }
.trust-grid small { display: block; font-size: 12px; color: var(--dim-2); margin-top: 2px; line-height: 1.5 }

/* --- À propos / ancrage local --------------------------------------- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px }
.about-media { position: relative }
.about-media .squircle img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: 50% 32% }
.about-badge {
  position: absolute;
  left: -22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.about-badge .icon { color: var(--clay-dk); width: 26px; height: 26px }
.about-badge strong { display: block; font-size: 14px; color: var(--ink) }
.about-badge span span { display: block; font-size: 11.5px; color: #5d635f; line-height: 1.5 }
.prose p { font-size: 15px }
.prose p + p { margin-top: 18px }
.prose h2 { margin-bottom: 24px }

/* --- Prestations ---------------------------------------------------- */
.services { background: var(--ink-2); border-block: 1px solid var(--line) }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.service {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: rgba(226, 103, 58, .45); transform: translateY(-4px) }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px }
.service-top .icon { width: 30px; height: 30px; color: var(--ember-lt) }
.service-top span { font-size: 11px; color: var(--dim-2); letter-spacing: .1em }
.service h3 { margin-bottom: 14px }
.service p { font-size: 13.5px; line-height: 1.75; margin-bottom: 20px }
.service .text-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 12px; justify-content: space-between; width: 100% }

.urgent {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid rgba(226, 103, 58, .35);
  background: rgba(226, 103, 58, .08);
  border-radius: var(--r-md);
}
.urgent > .icon { color: var(--ember-lt); width: 26px; height: 26px }
.urgent p { flex: 1; font-size: 13.5px }
.urgent p strong { display: block }
.urgent > a { font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ember-lt); padding: 10px 0 }
.urgent > a:hover { text-decoration: underline }

/* --- Devis / étapes -------------------------------------------------- */
.estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px }
.estimate p { font-size: 15px }
.estimate p + p { margin-top: 16px }
.estimate h2 { margin-bottom: 24px }
.estimate .btn { margin-top: 30px }
.steps { list-style: none; padding: 0; margin: 0 }
.steps li { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line-2) }
.steps li:first-child { padding-top: 0 }
.steps > li > span { font-family: var(--serif); font-style: italic; color: var(--ember-lt); font-size: 26px; line-height: 1 }
.steps h3 { margin-bottom: 8px; font-size: 17px }
.steps p { font-size: 13.5px }

/* =====================================================================
   Questionnaire de projet — panneau clair posé sur le canvas sombre
   ===================================================================== */
.quiz-section { background: var(--paper); color: var(--ink); padding: 92px 0 }
.quiz-section p { color: #5d635f }
/* --paper est la couleur du texte sur fond sombre : sur ce panneau clair,
   le gras doit repasser en encre, sinon il disparaît. */
.quiz-section strong { color: var(--ink) }
.quiz-section .eyebrow { color: var(--clay-dk) }
.quiz-section h2 { color: var(--ink) }
.quiz-section h2 .say { color: var(--clay-dk) }
.quiz-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 64px; align-items: start }
.quiz-intro p { font-size: 15px }
.quiz-intro p + p { margin-top: 15px }
.quiz-intro h2 { margin-bottom: 22px }
.quiz-assure { margin-top: 26px; padding: 18px 20px; border-left: 3px solid var(--clay-dk); background: #ece7dc; border-radius: 0 14px 14px 0 }
.quiz-assure p { font-size: 12.5px; line-height: 1.7; color: #4f544f }

.quiz-card {
  background: var(--paper-2);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  padding: 30px 32px 32px;
  box-shadow: 0 24px 60px rgba(12, 16, 15, .12);
}
.quiz-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px }
.quiz-track { flex: 1; height: 5px; background: #e6e0d4; border-radius: var(--r-pill); overflow: hidden }
.quiz-fill { display: block; height: 100%; width: 0; background: var(--clay-dk); border-radius: var(--r-pill); transition: width .3s ease }
.quiz-count { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: #6d726c; white-space: nowrap }

.quiz-step > legend, .quiz-legend { font-size: clamp(22px, 2.3vw, 29px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; color: var(--ink); padding: 0; margin-bottom: 6px }
.quiz-hint { font-size: 13px; color: #6d726c; margin-bottom: 22px }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.opts.opts-3 { grid-template-columns: repeat(3, 1fr) }
.opt { position: relative; display: block; cursor: pointer }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0 }
.opt-body {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 13px 16px;
  border: 1px solid var(--line-lt);
  border-radius: 16px;
  background: #fbf8f2;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color .15s, background .15s, transform .15s;
}
.opt-body .icon { width: 22px; height: 22px; color: var(--clay-dk); flex: none }
.opt:hover .opt-body { border-color: #c9bda7; transform: translateY(-2px) }
.opt input:checked ~ .opt-body { border-color: var(--clay-dk); background: #f6e9df; box-shadow: inset 0 0 0 1px var(--clay-dk) }
.opt input:focus-visible ~ .opt-body { outline: 3px solid var(--clay-dk); outline-offset: 3px }
.opt-body small { display: block; font-weight: 400; font-size: 11.5px; color: #6d726c; margin-top: 2px }

.field { margin-bottom: 16px }
.field label, .field > span.lab { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: #4f544f; margin-bottom: 7px }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 52px;
  border: 1px solid var(--line-lt);
  border-radius: 14px;
  background: #fbf8f2;
  font-size: 15px;
  color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6 }
.field input::placeholder, .field textarea::placeholder { color: #9aa09a }
.field input:focus, .field textarea:focus { outline: 3px solid var(--clay-dk); outline-offset: 2px; border-color: var(--clay-dk) }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.field-note { font-size: 11.5px; color: #6d726c; margin-top: -6px; margin-bottom: 16px; line-height: 1.6 }
.field-error { display: block; font-size: 12.5px; font-weight: 600; color: #a3281a; margin-top: 8px }

.quiz-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-lt) }
.quiz-nav .spacer { margin-left: auto }
.btn-clay { background: var(--clay-dk); color: #fff8f2 }
.btn-clay:hover { background: #8d3917; transform: translateY(-2px) }
.btn-plain { background: transparent; border-color: var(--line-lt); color: #4f544f }
.btn-plain:hover { border-color: #b6a993; color: var(--ink) }

.quiz-urgent { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #f6e9df; border: 1px solid #e0c6b2 }
.quiz-urgent .icon { color: var(--clay-dk); flex: none }
.quiz-urgent p { font-size: 13px; color: #4f544f; flex: 1 }
.quiz-urgent a { font-weight: 600; color: var(--clay-dk); white-space: nowrap; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.quiz-urgent a:hover { text-decoration: underline }

/* Récapitulatif */
.recap { margin: 0 0 22px; border-top: 1px solid var(--line-lt) }
.recap div { display: flex; gap: 18px; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line-lt) }
.recap dt { font-size: 12.5px; color: #6d726c; flex: none }
.recap dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; color: var(--ink) }
.send-actions { display: grid; gap: 10px }
.send-actions .btn { width: 100% }
.btn-wa { background: #1fa855; color: #06240f }
.btn-wa:hover { background: #24c063; transform: translateY(-2px) }
.send-secondary { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px }
.btn-tiny { border: 1px solid var(--line-lt); background: transparent; color: #4f544f; border-radius: var(--r-pill); min-height: 44px; padding: 10px 18px; font-size: 13px; cursor: pointer }
.btn-tiny:hover { border-color: #b6a993; color: var(--ink) }
.copy-state { font-size: 12.5px; color: var(--clay-dk); font-weight: 600 }

/* --- Secteur --------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center }
.area p { font-size: 15px }
.area p + p { margin-top: 15px }
.area h2 { margin-bottom: 24px }
.area-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2) }
.area-panel > .icon { width: 28px; height: 28px; color: var(--ember-lt); margin-bottom: 14px }
.area-panel h3 { font-size: 22px; margin-bottom: 4px }
.area-panel > p { font-size: 13px }
.area-sub { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-lt); margin: 24px 0 8px }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; list-style: none; padding: 0; margin: 0 }
.area-list li { font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--dim) }
.area-panel .outside { margin-top: 22px; font-size: 12.5px; line-height: 1.7 }

/* --- Réalisations ----------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.work figure { margin: 0 }
.work .squircle { position: relative; display: block; overflow: hidden }
.work .squircle img { width: 100%; aspect-ratio: 1.24; object-fit: cover; transition: transform .5s ease }
.work figure:hover .squircle img { transform: scale(1.05) }
.work .tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 13px; border-radius: var(--r-pill); background: rgba(7, 9, 10, .74); backdrop-filter: blur(6px); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase }
.work figcaption { padding-top: 18px }
.work h3 { font-size: 17px; margin-bottom: 6px }
.work figcaption p { font-size: 13px }
.work-note { font-size: 12px; color: var(--dim-2); margin-top: 24px; line-height: 1.7 }

/* --- Avis ------------------------------------------------------------- */
.reviews { background: var(--ink-2); border-block: 1px solid var(--line) }
.reviews-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.review { display: flex; flex-direction: column; padding: 24px 22px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-md) }
.review .mark { font-family: var(--serif); font-size: 46px; line-height: .8; height: 30px; color: var(--ember) }
.review blockquote { flex: 1; margin: 12px 0 20px }
.review blockquote p { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--paper) }
.review figcaption strong { display: block; font-size: 13px }
.review figcaption span { font-size: 11px; color: var(--dim-2) }
.source-note { font-size: 11.5px; color: var(--dim-2); margin-top: 16px; line-height: 1.7 }

/* --- FAQ -------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px }
.faq h2 { margin-bottom: 20px }
.faq-list { border-top: 1px solid var(--line) }
.faq-list details { border-bottom: 1px solid var(--line) }
.faq-list summary { position: relative; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.5; padding: 24px 44px 24px 0; cursor: pointer; min-height: 64px }
.faq-list summary::-webkit-details-marker { display: none }
.faq-list summary::after { content: '+'; position: absolute; right: 8px; top: 19px; font-size: 26px; font-weight: 400; color: var(--ember-lt) }
.faq-list details[open] summary::after { content: '\2212' }
.faq-list details p { padding: 0 34px 24px 0; font-size: 14px }

/* --- CTA final --------------------------------------------------------- */
.final { position: relative; padding: 96px 0; overflow: hidden }
.final::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -320px;
  width: min(1000px, 120vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(226, 103, 58, .34), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.final-grid { position: relative; display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: center }
.final h2 { margin-bottom: 22px }
.final p { font-size: 15px; max-width: 460px }
.final .small { font-size: 12px; color: var(--dim-2); margin-top: 18px }
.call-block { display: grid; grid-template-columns: 1fr auto; align-items: center; text-decoration: none; padding: 22px 0 24px; border-block: 1px solid var(--line) }
.call-block > span { grid-column: 1 / -1; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 8px }
.call-block strong { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.035em }
.call-block .icon { width: 28px; height: 28px; color: var(--ember-lt) }
.call-block:hover strong { color: var(--ember-lt) }
.final .btn-wa, .final .mail-link { margin-top: 16px }
.mail-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-size: 13.5px; color: var(--dim); text-decoration: none }
.mail-link .icon { width: 17px; height: 17px }
.mail-link:hover { color: var(--paper) }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 52px 0 34px }
.footer-main { display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: 50px; padding-bottom: 34px }
.site-footer address { font-style: normal; font-size: 12.5px; line-height: 1.9; color: var(--dim) }
.site-footer address strong { font-size: 13px }
.site-footer address a { display: inline-block; min-height: 44px; padding-top: 6px; color: var(--ember-lt) }
.footer-links { display: flex; flex-direction: column }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--dim); text-decoration: none }
.footer-links a:hover { color: var(--paper) }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; border-top: 1px solid var(--line-2); padding-top: 22px; font-size: 11.5px }
.footer-bottom p { color: var(--dim-2); margin-right: auto }
.footer-bottom a, .cookie-settings { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); font-size: 11.5px }
.cookie-settings { border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; padding: 0 }

/* --- Widget de contact flottant ---------------------------------------- */
.contact-widget { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 12px }
.widget-toggle { width: 58px; height: 58px; border-radius: 50%; background: var(--ember); color: #10100d; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 8px 26px rgba(0, 0, 0, .5) }
.widget-toggle:hover { background: #f07c4f }
.widget-toggle .icon { width: 25px; height: 25px; stroke-width: 1.8 }
.widget-close { display: none; font-size: 32px; line-height: 1 }
.widget-toggle[aria-expanded=true] .icon { display: none }
.widget-toggle[aria-expanded=true] .widget-close { display: block }
.widget-panel { width: 292px; max-height: calc(100dvh - 130px); overflow-y: auto; padding: 20px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 60px rgba(0, 0, 0, .6) }
.widget-panel > p { font-size: 13px; margin-bottom: 10px }
.widget-panel > p strong { display: block }
.widget-panel > p span { display: block; font-size: 11.5px; color: var(--dim-2) }
.widget-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 10px; font-size: 13.5px; text-decoration: none; border-top: 1px solid var(--line-2); border-radius: 10px }
.widget-item span { margin-left: auto; color: var(--dim-2) }
.widget-item:hover { background: rgba(245, 241, 233, .06) }
.widget-wa .icon { color: #3ddc84 }

/* --- Bandeau de consentement -------------------------------------------- */
.consent { position: fixed; z-index: 110; left: 22px; bottom: 22px; width: min(430px, calc(100vw - 120px)); max-height: calc(100dvh - 110px); overflow: auto; padding: 22px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 60px rgba(0, 0, 0, .6) }
.consent-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px }
.consent-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4 }
.consent-head button { border: 0; background: transparent; color: var(--paper); font-size: 26px; min-width: 44px; min-height: 44px; cursor: pointer; margin: -8px -8px -8px 0 }
.consent p { font-size: 13px; line-height: 1.7 }
.consent > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12.5px; color: var(--ember-lt) }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px }
.consent-actions .btn { min-height: 48px; padding: 12px 16px; font-size: 13.5px }

/* --- Page légale --------------------------------------------------------- */
.legal { max-width: 820px; padding: 72px 0 96px }
.legal h1 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 26px }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; margin: 38px 0 14px }
.legal p, .legal li { font-size: 14.5px; margin-bottom: 14px; color: var(--dim) }
.legal ul { padding-left: 20px }
.legal a { color: var(--ember-lt) }
.legal .callout { padding: 18px 20px; background: var(--ink-2); border-left: 3px solid var(--ember); border-radius: 0 14px 14px 0 }

/* --- Révélation au défilement (désactivée si mouvement réduit) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease }
.reveal.shown { opacity: 1; transform: none }

/* =====================================================================
   Adaptatif
   ===================================================================== */
@media (max-width: 1150px) {
  .container { width: calc(100% - 56px) }
  .hero-grid { gap: 36px }
  .hero-visual { min-height: 460px }
  .hero-chip { width: 126px }
  .hero-chip.chip-a { left: -30px }
  .services-grid { grid-template-columns: 1fr 1fr }
  .about-grid, .estimate-grid, .area-grid, .faq-grid, .final-grid, .quiz-grid { gap: 48px }
  .review-cards { grid-template-columns: 1fr 1fr }
  .review-cards .review:last-child { display: none }
  .site-header nav a { padding: 0 10px; font-size: 12.5px }
}

@media (max-width: 940px) {
  .site-header nav { display: none }
  .frame { border-radius: 26px; margin: 8px }
  .section { padding: 76px 0 }
  .hero { padding: 54px 0 74px }
  .hero-grid { grid-template-columns: 1fr; gap: 46px }
  .hero-visual { min-height: 330px }
  .hero-main { inset: 0 0 24px 0 }
  .hero-chip.chip-a { left: -14px; top: 26px; width: 110px }
  .hero-chip.chip-b { right: -6px; bottom: -6px; width: 110px }
  .trust-grid { grid-template-columns: 1fr }
  .trust-grid > div + div { border-left: 0; border-top: 1px solid var(--line) }
  .about-grid, .estimate-grid, .area-grid, .faq-grid, .final-grid, .quiz-grid, .reviews-grid { grid-template-columns: 1fr; gap: 36px }
  .about-media { max-width: 420px }
  .about-badge { left: 0 }
  .work-grid { grid-template-columns: 1fr 1fr }
  .work-grid figure:last-child { grid-column: 1 / -1 }
  .work-grid figure:last-child .squircle img { aspect-ratio: 2 }
  .footer-main { grid-template-columns: 1fr 1fr }
  .footer-links { display: none }
  .ghost { display: none }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px) }
  html { scroll-padding-top: 96px }
  .frame { border-radius: 20px; margin: 6px }
  .section { padding: 60px 0 }
  .section-head { display: block }
  .section-head > p { margin-top: 18px; max-width: none }
  .site-header { top: 8px; margin-top: 8px; padding-inline: 8px }
  .header-inner { padding: 7px 7px 7px 14px }
  .brand small { display: none }
  .brand strong { font-size: 15px }
  .header-phone { padding: 12px 16px; font-size: 13px; min-height: 44px }
  .header-phone span { display: none }
  .hero { padding: 40px 0 56px }
  .hero-lead { font-size: 15px }
  .hero-actions { gap: 10px }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 280px }
  .hero-chip { width: 96px; border-radius: 20px }
  .hero-chip figcaption { font-size: 8px; padding: 14px 9px 7px }
  .trust-grid > div { padding: 20px 4px }
  .services-grid { grid-template-columns: 1fr }
  .urgent { display: grid; grid-template-columns: 26px 1fr; gap: 10px 14px }
  .urgent > a { grid-column: 2 }
  .work-grid { grid-template-columns: 1fr }
  .work-grid figure:last-child .squircle img { aspect-ratio: 1.24 }
  .review-cards { grid-template-columns: 1fr }
  .review-cards .review:last-child { display: flex }
  .area-list { grid-template-columns: 1fr }
  .area-panel { padding: 24px }
  .quiz-section { padding: 64px 0 }
  .quiz-card { padding: 22px 20px 24px; border-radius: 24px }
  .opts, .opts.opts-3, .field-row { grid-template-columns: 1fr }
  .quiz-nav { flex-wrap: wrap }
  .quiz-nav .btn { flex: 1; min-width: 132px }
  .recap dd { font-size: 13.5px }
  .footer-main { grid-template-columns: 1fr; gap: 26px }
  .site-footer { padding-bottom: 96px }
  .contact-widget { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); pointer-events: none }
  .widget-toggle, .widget-panel { pointer-events: auto }
  .widget-panel { width: min(300px, calc(100vw - 28px)) }
  .consent { left: 12px; right: 12px; width: auto; bottom: 84px; padding: 18px }
  .final { padding: 64px 0 }
  .legal { padding: 52px 0 72px }
}

@media (max-width: 350px) {
  .brand-mark { display: none }
  .hero-chip { width: 84px }
  .call-block strong { font-size: 26px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition: none !important; animation: none !important }
  .reveal { opacity: 1; transform: none }
}
