/* GF Solution : charte tirée du logo (encre, orange, jaune, beige). Sobre et aérée : traits fins, beaucoup de blanc. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #191919;
  --paper: #fff;
  --sand: #f7f4ec;
  --stone: #e6e2d6;
  --orange: #f94303;
  --orange-text: #b93200;   /* orange lisible en petit texte sur fond clair */
  --yellow: #fab824;
  --muted: #5a5850;
  --hair: 1px solid var(--stone);
  --r: 16px;
  --shadow: 0 1px 2px rgba(25, 25, 25, .04), 0 14px 34px -18px rgba(25, 25, 25, .22);
  --wrap: 1140px;
  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ---------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 10px 22px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); font: 600 1rem/1.2 var(--body); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--orange-text); border-color: var(--orange-text); }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.link .ic { transition: transform .15s; }
.link:hover .ic, .btn:hover .ic--move { transform: translateX(4px); }

/* ---------- en-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-stuck { border-bottom-color: var(--stone); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 700 1.22rem/1 var(--display); letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.btn--call { min-height: 44px; padding: 8px 18px; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; padding: 0; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 6px 22px 22px; background: #fff; border-bottom: var(--hair); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 4px; font-size: 1.1rem; color: var(--ink); border-radius: 0; border-bottom: var(--hair); }
  .nav a[aria-current] { box-shadow: none; color: var(--orange-text); }
}
@media (max-width: 520px) {
  .btn--call span { display: none; }
  .btn--call { width: 44px; padding: 0; }
  .brand { font-size: 1.12rem; }
}

/* ---------- sections */
.section { padding: clamp(60px, 8.5vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding-top: 0; }
.kicker { font: 600 .82rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 16px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 44em; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 760px; }
.head .kicker { margin: 0; }
.hl { background: linear-gradient(transparent 78%, var(--yellow) 78% 94%, transparent 94%); }
.note { font-size: .93rem; color: var(--muted); }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }

/* ---------- en-tête de page intérieure */
.pagehead { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); }
.pagehead h1 { max-width: 18em; }
.pagehead .lead { margin-top: 20px; }

/* ---------- accueil : ouverture */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__place { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .93rem; color: var(--muted); margin-bottom: 22px; }
.hero__place i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero p.lead { margin-top: 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 36px 0 0; padding: 22px 0 0; list-style: none; font-size: .96rem; color: var(--muted); border-top: var(--hair); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .ic { color: var(--orange); width: .9em; height: .9em; }

.pile { position: relative; aspect-ratio: 1 / .86; }
.pile .shot { position: absolute; margin: 0; }
.pile .shot:nth-of-type(1) { width: 74%; right: 0; top: 0; }
.pile .shot:nth-of-type(2) { width: 80%; left: 0; top: 30%; }
.pile .phone { position: absolute; right: 4%; bottom: 0; width: 22%; }

.shot { margin: 0; border: var(--hair); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: var(--hair); background: #fff; font: 400 .74rem/1 var(--body); color: var(--muted); }
.shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--stone); }
.shot__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; }
.phone { margin: 0; border-radius: 20px; overflow: hidden; background: var(--ink); padding: 4px; box-shadow: var(--shadow); }
.phone img { border-radius: 16px; width: 100%; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .pile { max-width: 540px; margin-inline: auto; width: 100%; }
}

/* ---------- deux portes */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3.4vw, 44px); border: var(--hair); border-radius: var(--r); background: #fff; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.door:hover { box-shadow: var(--shadow); border-color: #d6d1c2; }
.door__q { font-size: .95rem; color: var(--muted); margin: 0; }
.door ul, .ticks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.door li, .ticks li { display: flex; gap: 11px; align-items: baseline; }
.door li .ic, .ticks .ic { color: var(--orange); width: .85em; height: .85em; transform: translateY(.08em); }
.door .link { margin-top: auto; align-self: flex-start; }
.door ul + .link { margin-top: 14px; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* ---------- cartes de réalisations (accueil) */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
.case { display: flex; flex-direction: column; gap: 20px; text-decoration: none; }
.case__vis { padding: 26px 26px 0; background: var(--sand); border-radius: var(--r); overflow: hidden; }
.case__vis .shot { border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: none; transition: transform .3s; }
a.case:hover .shot { transform: translateY(-4px); }
.case__txt { display: flex; flex-direction: column; gap: 8px; }
.case__tag { font-size: .88rem; color: var(--muted); margin: 0; }
.case__txt p { color: var(--muted); margin: 0; }
.case__fact { display: flex; gap: 12px; align-items: baseline; margin-top: 6px !important; padding-top: 14px; border-top: var(--hair); font-size: .95rem; }
.case__fact b { font: 700 1.3rem/1 var(--display); color: var(--ink); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 26px; }
.tiles span { display: grid; place-items: center; aspect-ratio: 1.3; padding: 6px; border: var(--hair); border-radius: 10px; background: #fff; font: 600 .82rem/1.15 var(--body); text-align: center; }
.tiles span:nth-child(2) { box-shadow: inset 0 3px 0 var(--yellow); }
.tiles span:nth-child(7) { box-shadow: inset 0 3px 0 var(--orange); }
.more { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tiles span { font-size: .7rem; } .case__vis { padding: 16px 16px 0; } }

/* ---------- déroulé */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; font: 600 .9rem/1 var(--body); letter-spacing: .08em; color: var(--orange-text); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- grilles de contenu */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols h3 { margin-bottom: 8px; }
.cols p { color: var(--muted); }
.cols > * { padding-top: 20px; border-top: var(--hair); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .head { margin-bottom: 0; }
@media (max-width: 860px) { .cols, .cols--2, .split { grid-template-columns: 1fr; } }

.list { margin: 0; padding: 0; list-style: none; border: var(--hair); border-radius: var(--r); background: #fff; }
.list li { display: flex; gap: 14px; align-items: baseline; padding: 16px 22px; border-bottom: var(--hair); }
.list li:last-child { border-bottom: 0; }
.list .ic { color: var(--orange); width: .85em; height: .85em; transform: translateY(.08em); }
.list small { display: block; color: var(--muted); font-size: .95rem; }

/* ---------- tableau avant / après */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: var(--hair); border-radius: var(--r); overflow: hidden; border-spacing: 0; }
.tablewrap { border: var(--hair); border-radius: var(--r); overflow: hidden; background: #fff; }
.tablewrap table { width: 100%; border-collapse: collapse; }
.tablewrap th, .tablewrap td { padding: 15px 20px; text-align: left; border-bottom: var(--hair); vertical-align: baseline; }
.tablewrap tr:last-child > * { border-bottom: 0; }
.tablewrap thead th { font: 600 .82rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
.tablewrap tbody th { font-weight: 400; color: var(--muted); }
.tablewrap td:last-child { font-weight: 600; }
@media (max-width: 560px) { .tablewrap th, .tablewrap td { padding: 12px 12px; font-size: .95rem; } }

/* ---------- fiches de réalisation (page Réalisations) */
.fiche { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: var(--hair); }
.fiche:nth-of-type(even) .fiche__vis { order: 2; }
.fiche__vis { padding: 28px 28px 0; background: var(--sand); border-radius: var(--r); overflow: hidden; }
.fiche__vis .shot { border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: none; }
.fiche__vis .tiles { padding-bottom: 28px; }
.fiche h2 { margin: 10px 0 16px; }
.fiche p { color: var(--muted); }
.fiche .ticks { margin: 18px 0 24px; }
.fiche dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 24px; font-size: .97rem; }
.fiche dt { color: var(--muted); }
.fiche dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; } .fiche:nth-of-type(even) .fiche__vis { order: 0; } }

/* ---------- tarifs */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border: var(--hair); border-radius: var(--r); background: #fff; }
.price__what { font-size: .95rem; color: var(--muted); margin: 0; }
.price__n { font: 700 2rem/1.1 var(--display); letter-spacing: -.02em; margin: 6px 0 2px; }
.price__n small { font: 400 .95rem/1.3 var(--body); color: var(--muted); letter-spacing: 0; display: block; margin-top: 6px; }
.price .ticks { font-size: .98rem; margin-top: 8px; padding-top: 18px; border-top: var(--hair); }
.yearly { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .prices, .yearly { grid-template-columns: 1fr; } }

/* ---------- démonstration du planning (page Outils) */
.demo { border: var(--hair); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.demo__top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: var(--hair); }
.demo__top b { font: 700 1.05rem/1.2 var(--display); }
.demo__tag { font-size: .8rem; color: var(--muted); border: var(--hair); border-radius: 999px; padding: 4px 10px; }
.demo__now { padding: 24px 22px; display: grid; gap: 4px; }
.demo__now span { font-size: .93rem; color: var(--muted); }
.demo__now strong { font: 700 1.6rem/1.15 var(--display); letter-spacing: -.02em; }
.demo__now em { font-style: normal; color: var(--muted); }
.demo__ctrl { display: grid; gap: 10px; padding: 0 22px 22px; }
.demo__ctrl label { font-size: .93rem; color: var(--muted); display: flex; justify-content: space-between; }
.demo__ctrl output { color: var(--ink); font-weight: 600; }
.demo input[type=range] { width: 100%; accent-color: var(--orange); height: 28px; }
.demo__posts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hair); }
.demo__posts div { padding: 14px 16px; border-right: var(--hair); font-size: .93rem; color: var(--muted); }
.demo__posts div:last-child { border-right: 0; }
.demo__posts b { display: block; color: var(--ink); }
.demo__posts .is-on { background: var(--sand); box-shadow: inset 0 3px 0 var(--orange); }
@media (max-width: 480px) { .demo__posts div { padding: 12px 10px; font-size: .85rem; } }

/* ---------- contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact a.card { display: grid; gap: 6px; padding: 30px 28px; border: var(--hair); border-radius: var(--r); text-decoration: none; background: #fff; transition: box-shadow .2s; }
.contact a.card:hover { box-shadow: var(--shadow); }
.contact .card span { color: var(--muted); font-size: .95rem; }
.contact .card b { font: 700 clamp(1.3rem, 3.4vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* ---------- appel final */
.call { text-align: center; }
.call .lead { margin: 14px auto 0; }
.call__tel { display: inline-block; margin: 26px 0 10px; font: 700 clamp(2.2rem, 7vw, 4.2rem)/1 var(--display); letter-spacing: -.03em; text-decoration: none; border-bottom: 3px solid var(--orange); padding-bottom: 6px; transition: color .15s; }
.call__tel:hover { color: var(--orange-text); }
.call p { color: var(--muted); }

/* ---------- pied de page */
.footer { background: var(--ink); color: #fff; padding: 64px 0 30px; }
.footer a { color: #fff; text-decoration-color: #6b6a64; }
.footer a:hover { text-decoration-color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 58px; margin-bottom: 16px; }
.footer h2 { font: 600 .8rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #a9a69a; margin-bottom: 16px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.footer p { color: #d2cfc4; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid #38372f; font-size: .88rem; }
.footer__legal p { margin: 0; color: #a9a69a; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- apparition au défilement (seulement si le script tourne et si les animations sont acceptées) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- visuels composés : écran + téléphone, portail illustré */
.duo { position: relative; padding-bottom: 0; }
.duo .shot { width: 88%; }
.duo .phone { position: absolute; right: 0; bottom: -1px; width: 25%; border-radius: 18px 18px 0 0; padding-bottom: 0; box-shadow: var(--shadow); }
.duo .phone img { border-radius: 14px 14px 0 0; }
.portail { background: #fff; padding: 18px; display: grid; gap: 14px; }
.portail__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--muted); }
.portail__top b { font: 700 1rem/1 var(--display); color: var(--ink); }
.portail__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.portail__grid div { display: grid; gap: 3px; align-content: start; padding: 12px 12px 14px; border: var(--hair); border-radius: 10px; min-width: 0; }
.portail__grid i { width: 22px; height: 4px; border-radius: 2px; background: var(--stone); margin-bottom: 6px; }
.portail__grid .t1 i { background: var(--orange); } .portail__grid .t2 i { background: var(--yellow); } .portail__grid .t3 i { background: var(--ink); }
.portail__grid b { font-size: .86rem; line-height: 1.2; }
.portail__grid span { font-size: .74rem; line-height: 1.3; color: var(--muted); }
.legende { font-size: .82rem; color: var(--muted); text-align: center; padding: 10px 0 14px; margin: 0; }
@media (max-width: 520px) { .portail { padding: 12px; } .portail__grid { grid-template-columns: repeat(2, 1fr); } }
.case__desc { color: var(--muted); margin: 0; }
.price__then { margin: 0; padding-top: 16px; border-top: var(--hair); font-size: .98rem; }
.price__then b { font: 700 1.15rem/1 var(--display); }
.price .ticks { border-top: 0; padding-top: 0; margin-top: 0; }
.price__n { margin-bottom: 10px; }
.price .price__then { margin-top: auto; }
.fiche__vis.duo { padding-right: 0; }