/* Cleanizy — style.css (CSS natif, aucune dépendance)
   Direction : « la vapeur » — le vert d'eau de la marque, la brume blanche, l'encre profonde.
   Motif signature : la goutte du logo et les volutes de vapeur. Thème clair unique. */

@font-face { font-family: "Sora"; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --vapeur: #2F7F77;     /* vert d'eau de la marque */
  --profond: #164A45;
  --brume: #EEF5F3;
  --ecume: #FFFFFF;
  --encre: #12201E;
  --gris: #4E5C5A;
  --aqua: #8FD3C7;       /* accents sur fond sombre */

  --f-titre: "Sora", system-ui, sans-serif;
  --f-texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.0625rem; --t-l: 1.25rem;
  --t-xl: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  --t-xxl: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 6.5rem;
  --r: 12px; --r-l: 24px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-texte); font-size: var(--t-m); line-height: 1.6; color: var(--encre); background: var(--ecume); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vapeur); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.manquant { background: #FFE58A; color: #3A2A00; padding: .1em .35em; border-radius: 4px; font-weight: 600; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.stars { color: #E6A817; letter-spacing: .08em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: var(--t-m); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .15s, box-shadow .2s; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn--main { background: var(--vapeur); color: #fff; box-shadow: 0 6px 16px -6px rgba(47,127,119,.55); }
.btn--main:hover { background: var(--profond); }
.btn--main:active { transform: translateY(2px); }
.btn--line { background: transparent; color: var(--profond); border-color: var(--profond); }
.btn--line:hover { background: var(--profond); color: #fff; }
.btn--text { background: none; border: 0; color: var(--gris); text-decoration: underline; min-height: 44px; padding: 0 .4em; font-weight: 600; font-size: var(--t-s); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.8); backdrop-filter: blur(12px); } }
.top.is-scrolled { border-color: #D7E6E2; }
.top__in { display: flex; align-items: center; gap: var(--s3); min-height: 68px; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; color: var(--profond); min-height: 44px; letter-spacing: -.02em; }
.brand__drop { width: 26px; height: 26px; fill: var(--vapeur); }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-weight: 600; font-size: var(--t-s); text-decoration: none; color: var(--gris); border-radius: 999px; }
.nav a:hover { color: var(--profond); background: var(--brume); }
.top__call { min-height: 44px; padding: .45em 1.1em; font-size: var(--t-s); }

/* ---------- Accueil ---------- */
.hero { position: relative; padding: var(--s6) 0 var(--s7); background: radial-gradient(120% 90% at 85% 10%, #DCEFEA 0%, var(--brume) 45%, var(--ecume) 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.eyebrow { font-weight: 700; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--vapeur); margin-bottom: var(--s2); }
.eyebrow--light { color: var(--aqua); }
h1 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xxl); letter-spacing: -.035em; line-height: 1.02; color: var(--profond); margin-bottom: var(--s3); }
h1 span { display: block; font-weight: 600; font-size: .5em; letter-spacing: -.015em; color: var(--encre); margin-top: .45em; line-height: 1.2; }
.hero__lead { font-size: var(--t-l); line-height: 1.5; max-width: 38ch; margin-bottom: var(--s4); color: #23332F; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.hero__rating { font-weight: 600; font-size: var(--t-s); color: var(--gris); }

/* La vapeur interactive */
.steam { margin: 0; }
.steam__box { position: relative; aspect-ratio: 5 / 4; border-radius: 32px 32px 32px 120px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22,74,69,.55), inset 0 0 0 1px rgba(255,255,255,.4); background: #8FB8B1; touch-action: none; cursor: crosshair; }
.steam__fabric, .steam__dirt { position: absolute; inset: 0; width: 100%; height: 100%; }
.steam__dirt { transition: opacity .8s; }
.steam__dirt.is-gone { opacity: 0; }
.steam__puffs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.puff { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 70%); animation: puff 1s ease-out forwards; }
@keyframes puff { from { transform: scale(.4); opacity: .9; } to { transform: translateY(-50px) scale(2.2); opacity: 0; } }
.steam__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center; padding: var(--s3); background: rgba(22,74,69,.55); color: #fff; font-weight: 600; }
.steam__done[hidden] { display: none; }
.steam__done-t { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); letter-spacing: -.03em; }
@media (prefers-reduced-motion: no-preference) { .steam__done:not([hidden]) { animation: rise .6s ease both; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.steam__cap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; margin-top: var(--s2); font-size: var(--t-s); color: var(--gris); }
.steam__meter { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 99px; background: #D7E6E2; overflow: hidden; }
.steam__meter i { display: block; height: 100%; width: 0; background: var(--vapeur); transition: width .25s; }

/* ---------- Titres ---------- */
.sec-head { margin-bottom: var(--s5); max-width: 680px; }
h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); letter-spacing: -.03em; color: var(--profond); }
.sec-head__p { margin-top: var(--s2); color: var(--gris); }

/* ---------- Services ---------- */
.services { padding: var(--s7) 0; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #D7E6E2; }
.svc__it { display: grid; grid-template-columns: auto 56px 1fr; gap: var(--s3); align-items: start; padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid #D7E6E2; }
.svc__it:nth-child(odd) { border-right: 1px solid #D7E6E2; }
.svc__it:nth-child(even) { padding-left: var(--s4); }
.svc__n { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-s); color: var(--vapeur); padding-top: .3rem; }
.svc__ic { width: 56px; height: 56px; fill: none; stroke: var(--profond); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: var(--brume); border-radius: 18px 18px 18px 6px; padding: 10px; }
.svc h3 { font-family: var(--f-titre); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--profond); margin-bottom: .3rem; }
.svc p { color: var(--gris); margin-bottom: var(--s2); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: var(--t-s); font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: var(--brume); color: var(--profond); }

/* ---------- Méthode ---------- */
.method { position: relative; padding: var(--s7) 0; background: var(--profond); color: #fff; overflow: hidden; }
.method::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(143,211,199,.22), transparent 65%); }
.method h2 { color: #fff; }
.method__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s5); align-items: start; }
.method__lead { margin-top: var(--s3); color: #CFE6E1; font-size: var(--t-l); line-height: 1.5; }
.method__steps { display: grid; gap: var(--s2); counter-reset: m; }
.method__steps li { counter-increment: m; position: relative; padding: var(--s3) var(--s3) var(--s3) 4.2rem; border-radius: var(--r-l); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.method__steps li::before { content: counter(m); position: absolute; left: 1.3rem; top: 1.4rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; background: var(--aqua); color: var(--profond); font-family: var(--f-titre); font-weight: 800; }
.method__steps h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; margin-bottom: .25rem; }
.method__steps p { color: #CFE6E1; }

/* ---------- Avis ---------- */
.reviews { padding: var(--s7) 0; background: var(--brume); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.score { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font-weight: 600; color: var(--gris); }
.score strong { font-family: var(--f-titre); font-weight: 800; font-size: 3rem; color: var(--profond); line-height: 1; }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s3); margin-bottom: var(--s4); }
.quote { margin: 0; background: #fff; border-radius: var(--r-l) var(--r-l) var(--r-l) 6px; padding: var(--s4); box-shadow: 0 18px 40px -28px rgba(22,74,69,.5); }
.quote blockquote { margin: 0 0 var(--s2); font-size: var(--t-l); line-height: 1.5; }
.quote figcaption { font-weight: 700; font-size: var(--t-s); color: var(--vapeur); }

/* ---------- Devis ---------- */
.quote-sec { padding: var(--s7) 0; }
.qb { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.qb__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--s2); }
.qb__tabs button { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid #CFE0DC; background: #fff; font-weight: 700; font-size: var(--t-s); cursor: pointer; color: var(--profond); }
.qb__tabs button[aria-selected="true"] { background: var(--profond); border-color: var(--profond); color: #fff; }
.qb__list { display: grid; gap: .5rem; }
.qb__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .6rem 1rem; border-radius: var(--r); background: var(--brume); }
.qb__row.is-on { background: #DDEFEA; box-shadow: inset 0 0 0 2px var(--vapeur); }
.qb__name { font-weight: 600; }
.step { display: inline-flex; align-items: center; gap: .2rem; background: #fff; border-radius: 999px; padding: 2px; }
.step button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-weight: 800; font-size: 1.15rem; cursor: pointer; color: var(--profond); }
.step button:hover { background: var(--brume); }
.step button:disabled { opacity: .35; cursor: default; background: transparent; }
.step output { min-width: 2.2em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.step input { width: 4.2em; min-height: 40px; border: 0; text-align: center; font-weight: 800; background: transparent; -moz-appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step small { padding-right: .7rem; color: var(--gris); font-weight: 600; }
.qb__form { background: #fff; border-radius: var(--r-l); padding: var(--s4); box-shadow: 0 24px 50px -30px rgba(22,74,69,.55); border: 1px solid #DCEAE6; display: grid; gap: var(--s2); }
.qb__sum { background: var(--brume); border-radius: var(--r); padding: var(--s2) var(--s3); }
.qb__sum h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; color: var(--profond); margin-bottom: .4rem; }
.qb__empty { color: var(--gris); font-size: var(--t-s); }
.qb__lines { display: grid; gap: .25rem; font-weight: 600; }
.qb__lines li { display: flex; gap: .5rem; }
.qb__lines b { color: var(--vapeur); min-width: 2.6em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; font-size: var(--t-s); }
.field abbr { text-decoration: none; color: var(--vapeur); }
.opt { font-weight: 400; color: var(--gris); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1.5px solid #B9CCC8; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--vapeur); box-shadow: 0 0 0 3px rgba(47,127,119,.2); }
.field.is-invalid input { border-color: #B3261E; background: #FFF6F5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qb__send { display: flex; flex-wrap: wrap; gap: .6rem; }
.form__msg { font-weight: 600; font-size: var(--t-s); min-height: 1.2em; }
.form__msg.is-ok { color: #1B6B3A; }
.form__msg.is-err { color: #B3261E; }
.form__rgpd { font-size: var(--t-xs); color: var(--gris); }

/* ---------- Zone ---------- */
.zone { padding: var(--s6) 0; background: linear-gradient(180deg, var(--ecume), var(--brume)); }
.zone__in { text-align: left; }
.zone__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--s3) 0; }
.zone__list li { padding: .55rem 1.1rem; border-radius: 999px 999px 999px 6px; background: var(--vapeur); color: #fff; font-weight: 700; }
.zone p { color: var(--gris); }

/* ---------- Pied de page ---------- */
.foot { background: var(--encre); color: #C9D6D3; padding: var(--s6) 0 var(--s4); font-size: var(--t-s); }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-bottom: var(--s5); }
.foot__name { display: flex; align-items: center; gap: .5rem; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); color: #fff; margin-bottom: .5rem; }
.foot__name svg { width: 24px; height: 24px; fill: var(--aqua); }
.foot__h { font-weight: 700; color: #fff; margin-bottom: .4rem; }
.foot__grid a { display: inline-block; padding-block: .45rem; }
.legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s3); }
.legal details { border-bottom: 1px solid rgba(255,255,255,.12); }
.legal summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: #fff; list-style: none; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.legal details[open] summary::after { transform: rotate(45deg); }
.legal__body { display: grid; gap: var(--s2); padding-bottom: var(--s3); }
.legal__body p + p { margin-top: .4rem; }
.legal h3 { font-size: var(--t-s); color: #fff; margin-bottom: .2rem; }
.foot__copy { margin-top: var(--s3); }
.credit-hcl { margin-top: .4rem; font-size: var(--t-xs); color: #9FB2AE; }
.credit-hcl a { display: inline-block; min-height: 24px; color: #DCE7E5; }

/* ---------- Barre mobile, toast ---------- */
.dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: var(--profond); color: #fff; padding: .7rem 1.2rem; border-radius: 14px; font-weight: 700; font-size: var(--t-s); width: max-content; max-width: min(92vw, 420px); text-align: center; transition: transform .3s, opacity .3s, visibility .3s; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
html:not(.js) .steam__cap .btn--text, html:not(.js) .steam__meter { display: none; }

/* ---------- Tablette ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top__call { margin-left: auto; }
  .hero__grid, .method__grid, .qb { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .top__in { min-height: 62px; }
  .top__call span { display: none; }
  .top__call { width: 46px; padding: 0; }
  .hero { padding: var(--s4) 0 var(--s5); }
  .hero__grid { gap: var(--s4); }
  .hero__lead { font-size: var(--t-m); margin-bottom: var(--s3); }
  .hero__cta .btn { flex: 1 1 100%; }
  .steam__box { border-radius: 24px 24px 24px 72px; }
  .steam__cap { grid-template-columns: minmax(0, 1fr); }
  .steam__cap .btn--text { justify-self: start; }
  .steam__meter { grid-row: auto; }
  .services, .method, .reviews, .quote-sec { padding: var(--s6) 0; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__it, .svc__it:nth-child(even) { grid-template-columns: 48px minmax(0, 1fr); padding: var(--s3) 0; border-right: 0; gap: var(--s2); }
  .svc__n { display: none; }
  .svc__ic { width: 48px; height: 48px; padding: 8px; }
  .quote { padding: var(--s3); }
  .quote blockquote { font-size: var(--t-m); }
  .qb__form { padding: var(--s3) var(--s2); margin-inline: -6px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .qb__send .btn { flex: 1 1 100%; }
  .foot { padding-bottom: calc(var(--s4) + 84px); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; padding: 6px; background: var(--profond); border-radius: 20px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .3s; }
  .dock.is-on { transform: none; }
  html:not(.js) .dock { transform: none; }
  .dock__a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: var(--t-s); }
  .dock__a svg { width: 20px; height: 20px; fill: currentColor; }
  .dock__main { background: var(--vapeur); }
  .toast { bottom: 88px; }
}
.steam__done .btn--main { background: #fff; color: var(--profond); box-shadow: none; }
.steam__done .btn--main:hover { background: var(--brume); }
