@font-face { font-family: "Hedvig Letters Serif"; src: url("polices/hedvig.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spline Sans"; src: url("polices/spline.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --nuit: #0C0E12; --ardoise: #161A21; --or: #CA9713; --or-clair: #E3BE62; --or-pale: #F3DA94; --or-fonce: #7D5B0C;
  --glace: #A9C9E6; --bleu: #5F93C6; --profond: #163A63; --porcelaine: #F4F1EB; --givre: #E3EEF7; --encre: #11161D; --gris: #4F5966;
  --titre: "Hedvig Letters Serif", Georgia, serif; --texte: "Spline Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --entete-h: 60px; --marge: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + 8px); }
body { margin: 0; background: var(--nuit); color: #EEF2F6; font: 400 17px/1.55 var(--texte); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; }
blockquote, figure { margin: 0; }
svg { flex: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; }
.conteneur { width: min(100% - 2 * var(--marge), 1200px); margin-inline: auto; }

/* — sur-titres : capitales espacées comme sur son site — */
.surtitre { display: flex; align-items: center; gap: 0.55em; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 14px; }
.surtitre svg { width: 1.25em; height: 1.25em; }
.surtitre-glace { color: var(--glace); }
.surtitre-fonce { color: var(--or-fonce); }
.surtitre-nuit { color: var(--nuit); }
.surtitre-or { color: var(--or-clair); }

/* — en-tête — */
.entete { position: sticky; top: 0; z-index: 40; height: var(--entete-h); background: rgba(12, 14, 18, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(227, 190, 98, 0.18); }
.entete-in { height: 100%; width: min(100% - 2 * var(--marge), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.logo .marque { width: 26px; height: auto; }
.logo-nom { display: flex; flex-direction: column; line-height: 1.05; }
.logo-l1 { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #F4F6F8; }
.logo-l2 { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--or-clair); }
.apercu { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid rgba(238, 242, 246, 0.4); border-radius: 999px; padding: 3px 9px; color: rgba(238, 242, 246, 0.85); white-space: nowrap; }
.menu { display: none; }
.entete-tel { margin-left: auto; display: flex; gap: 8px; }
.pilule { display: none; }
.entete-rond { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--or-clair); color: var(--nuit); }
.entete-rond svg { width: 20px; height: 20px; }

/* — haut de page — */
.haut { position: relative; background:
    radial-gradient(60% 45% at 22% 32%, rgba(111, 166, 218, 0.38), transparent 72%),
    radial-gradient(55% 45% at 85% 70%, rgba(202, 151, 19, 0.16), transparent 70%),
    url("img/givre-nuit.svg") 0 0 / 520px, var(--nuit);
  overflow: hidden; }
.haut::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("img/givre-fort.svg") 0 0 / 360px;
  -webkit-mask-image: radial-gradient(75% 55% at 18% 34%, #000 10%, transparent 75%); mask-image: radial-gradient(75% 55% at 18% 34%, #000 10%, transparent 75%); }
.haut-in { position: relative; width: min(100% - 2 * var(--marge), 1320px); margin-inline: auto; padding: 8px 0 34px; }
.haut-visuel { position: relative; height: clamp(280px, calc(100svh - var(--entete-h) - 67px - 214px), 640px); display: flex; justify-content: flex-end; margin-right: -6px; }
.logo-geant { height: 100%; width: auto; max-width: none; flex: none; overflow: visible; }
.haut-infos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.haut-infos > * { padding: 6px 11px !important; font-size: 0.88rem !important; gap: 6px !important; }
.haut-infos .etat { margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(12, 14, 18, 0.6); border: 1px solid rgba(169, 201, 230, 0.3); font-size: 0.9rem; white-space: nowrap; }
.pastille-note { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(12, 14, 18, 0.78); border: 1px solid rgba(227, 190, 98, 0.35); font-size: 0.9rem; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pastille-note b { font-weight: 700; color: #fff; }
.etoiles { color: var(--or-clair); letter-spacing: 0.06em; }
.haut-texte { margin-top: 10px; }
.haut .surtitre { margin-bottom: 10px; font-size: 0.74rem; letter-spacing: 0.16em; flex-wrap: wrap; gap: 0 0.4em; }
.haut .surtitre span { color: #DCE6EF; }
.haut h1 { font-size: clamp(26px, 7.3vw, 34px); line-height: 1.08; color: #F7F8FA; }
.mot-froid { color: var(--glace); }
.mot-eau { color: var(--or-clair); }
.appels { display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 761px) { .appels { display: grid; } }
@media (max-width: 979px) { .haut .surtitre { display: none; } }
.appel { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; border-radius: 16px; text-decoration: none; color: var(--nuit); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.appel-froid { background: linear-gradient(160deg, #CFE2F3, var(--glace)); }
.appel-eau { background: linear-gradient(160deg, var(--or-pale), var(--or-clair) 55%, #D6A93C); }
.appel-i { width: 22px; height: 22px; }
.appel-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.appel-l { font-weight: 700; font-size: 1.02rem; }
.appel-n { display: none; font-size: 1rem; font-variant-numeric: tabular-nums; }
.appel-a { font-size: 1rem; }
@media (hover: hover) { .appel:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.7); } }
.haut-phrase { margin-top: 10px; color: #D3DCE5; max-width: 34em; }
.etat { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 0.95rem; color: #DCE4EC; }
.etat-point { width: 9px; height: 9px; border-radius: 50%; background: #8A94A0; flex: none; }
.etat.ouvert .etat-point { background: #5FD39A; box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.18); }
.etat-clair { color: var(--encre); }

/* — logo géant : états de départ posés par le script seulement — */
.h-eclat { transform-box: fill-box; transform-origin: center; }

/* — métiers — */
.metiers { position: relative; background: var(--givre); color: var(--encre); }
.metiers-tete { width: min(100% - 2 * var(--marge), 1200px); margin-inline: auto; padding: 56px 0 8px; }
.metiers-tete .surtitre { color: var(--or-fonce); }
.metiers h2 { font-size: clamp(30px, 7.4vw, 52px); line-height: 1.1; max-width: 18em; }
.metier { position: relative; }
.metier-froid { background: url("img/givre-clair.svg") 0 0 / 420px, url("img/givre-bleu.svg") 120px 60px / 300px, radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(180deg, #DCEBF8, #BCD6ED); }
.metier-eau { background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(17, 22, 29, 0.07) calc(25% - 1px) 25%),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(17, 22, 29, 0.07) 119px 120px),
    linear-gradient(180deg, #F8F6F1, var(--porcelaine)); }
.metier-in { width: min(100% - 2 * var(--marge), 560px); margin-inline: auto; padding: 36px 0 52px; display: grid; gap: 18px; }
.etiquette { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.etiquette svg { width: 18px; height: 18px; }
.metier-froid .etiquette { background: var(--profond); color: #E7F1FA; }
.metier-eau .etiquette { background: var(--nuit); color: var(--or-clair); }
.metier h3 { font-size: clamp(25px, 6.4vw, 34px); line-height: 1.16; }
.metier p { color: #2C3540; }
.clim-scene { position: relative; margin-inline: -8px; }
.clim-dessin { display: block; width: 100%; height: auto; }
.souffle { stroke-dasharray: 46 120; stroke-dashoffset: 0; }
.cristal { opacity: 0.9; }
.clim-scene.actif .souffle { animation: souffle 2.6s linear infinite; animation-delay: calc(var(--d) * -1); }
.clim-scene.actif .cristal { animation: cristal 3.4s ease-in-out infinite; animation-delay: calc(var(--d) * -1); transform-box: fill-box; transform-origin: center; }
@keyframes souffle { to { stroke-dashoffset: -166; } }
@keyframes cristal { 0% { transform: translateY(-14px) rotate(0deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px) rotate(60deg); opacity: 0; } }
.metier-photo { width: min(72%, 300px); justify-self: end; margin-top: -4px; border-radius: 160px 160px 18px 18px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(17, 22, 29, 0.55); outline: 1px solid rgba(202, 151, 19, 0.6); outline-offset: 6px; }
.metier-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mot p { font-family: var(--titre); font-size: 1.12rem; line-height: 1.42; }
.mot cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gris); }
.metier .mot { border-left: 3px solid; padding-left: 14px; }
.metier-froid .mot { border-color: var(--bleu); }
.metier-eau .mot { border-color: var(--or); }

/* — boutons — */
.bouton { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-height: 54px; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; width: fit-content; max-width: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
.bouton svg { width: 20px; height: 20px; }
.bouton-num { display: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.bouton-froid { background: var(--profond); color: #F1F6FB; }
.bouton-eau { background: var(--nuit); color: var(--or-pale); }
.bouton-nuit { background: var(--nuit); color: var(--or-pale); }
.bouton-contour { border: 2px solid var(--nuit); color: var(--nuit); }
@media (hover: hover) { .bouton:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.65); } }

/* — réalisations — */
.realisations { background:
    radial-gradient(55% 30% at 85% 4%, rgba(227, 190, 98, 0.16), transparent 70%),
    radial-gradient(60% 25% at 10% 60%, rgba(169, 201, 230, 0.08), transparent 70%),
    url("img/pierre.svg") center top / 1400px auto repeat-y, #16191E;
  padding: 64px 0 72px; }
.realisations h2 { font-size: clamp(30px, 7.4vw, 56px); line-height: 1.1; max-width: 16em; color: #F4F6F8; }
.ouvertures { display: grid; gap: 44px; margin-top: 36px; }
.ouvre { display: grid; gap: 14px; }
.ouvre-cadre { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #1C2129; }
.ouvre-cadre img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.ouvre figcaption { width: min(100% - 2 * var(--marge), 1200px); margin-inline: auto; display: flex; gap: 14px; align-items: baseline; }
.ouvre-n { font-family: var(--titre); font-size: 2.1rem; line-height: 1; color: var(--or-clair); }
.ouvre-txt { font-family: var(--titre); font-size: 1.22rem; line-height: 1.35; color: #E9EEF3; }
.mosaique-titre { margin: 56px 0 18px; font-size: 1.05rem; color: #C9D3DD; }
.mosaique { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
.mosaique li { break-inside: avoid; margin-bottom: 10px; }
.tuile { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; position: relative; }
.tuile img { width: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tuile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(227, 190, 98, 0); transition: box-shadow 0.3s ease; }
@media (hover: hover) { .tuile:hover img { transform: scale(1.05); } .tuile:hover::after { box-shadow: inset 0 0 0 2px var(--or-clair); } }
.visionneuse { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: var(--nuit); color: #EEF2F6; overflow: hidden; }
.visionneuse::backdrop { background: rgba(6, 8, 11, 0.86); }
.visionneuse img { width: 100%; max-height: calc(94vh - 120px); object-fit: contain; background: #000; }
.visionneuse-legende { padding: 12px 16px 0; font-size: 0.95rem; color: #C9D3DD; }
.visionneuse-boutons { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; }
.visionneuse-boutons button { min-height: 50px; min-width: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(227, 190, 98, 0.5); background: none; cursor: pointer; display: grid; place-items: center; }
.visionneuse-boutons svg { width: 22px; height: 22px; }

/* — chantier : l'axe d'or du logo devient le fil des étapes — */
.chantier { background: url("img/marbre.svg") center / cover, linear-gradient(180deg, #FBFAF7, #F1EEE7); color: var(--encre); padding: 64px 0 72px; }
.chantier h2 { font-size: clamp(30px, 7.4vw, 52px); line-height: 1.1; max-width: 17em; }
.etapes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 56px; }
.etape { display: grid; gap: 22px; }
.etape-visuel { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 50px -34px rgba(17, 22, 29, 0.7); }
.etape-visuel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.etape-plan { padding: 18px; background-color: #10151D; background-image: linear-gradient(rgba(95, 147, 198, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 147, 198, 0.13) 1px, transparent 1px); background-size: 22px 22px; }
.plan-3d { display: block; width: 100%; height: auto; }
.p3d { stroke-width: 2; }
.p-mur, .p-sol { stroke: #E3BE62; stroke-width: 2.6; }
.p-joint { stroke: rgba(169, 201, 230, 0.4); stroke-width: 1.1; }
.p-verre { stroke: #A9C9E6; stroke-width: 1.8; fill: rgba(169, 201, 230, 0.14); }
.p-trait { stroke: #F3DA94; stroke-width: 2; }
.p-or { stroke: #E3BE62; stroke-width: 2.4; }
.p-cote { stroke: #A9C9E6; stroke-width: 1.2; }
.etape-n { display: block; font-family: var(--titre); font-size: 3.4rem; line-height: 1; color: var(--or); }
.etape h3 { font-size: clamp(24px, 6vw, 32px); line-height: 1.18; margin-top: 6px; }
.etape p { margin-top: 10px; color: #333C47; }
.etape .mot { margin-top: 16px; padding: 14px 16px; background: rgba(255, 255, 255, 0.75); border-radius: 14px; border-left: 3px solid var(--or); }
.etape .mot p { margin: 0; color: var(--encre); font-size: 1.05rem; }
.bouton-centre { margin: 44px auto 0; display: flex; }

/* — avis : sur le givre bleu nuit, la note en or, une de ses salles de bain avec un avis posé sur du verre dépoli, une phrase en très grand, puis les avis qui glissent au doigt, triés par métier — */
.avis { position: relative; overflow: hidden; background:
    radial-gradient(45% 30% at 12% 10%, rgba(95, 147, 198, 0.45), transparent 70%),
    radial-gradient(40% 28% at 92% 40%, rgba(43, 106, 168, 0.5), transparent 70%),
    radial-gradient(50% 30% at 20% 85%, rgba(31, 78, 134, 0.6), transparent 70%),
    url("img/flocon-filigrane.svg") right -120px top 40px / 520px no-repeat,
    url("img/givre-nuit.svg") 0 0 / 460px,
    linear-gradient(180deg, var(--profond), #0F2947 60%, #0B1F38);
  color: #EEF3F8; padding: 64px 0 72px; }
.avis-scene { display: grid; gap: 34px; }
.avis-note { display: flex; align-items: center; gap: 16px; margin: 6px 0 18px; }
.avis-chiffre { font-family: var(--titre); font-size: clamp(64px, 18vw, 104px); line-height: 0.9; color: var(--or-pale); font-variant-numeric: tabular-nums; }
.avis-detail { display: grid; gap: 4px; font-size: 1rem; color: #D5E1EC; }
.avis-detail .etoiles { font-size: 1.25rem; }
.avis h2 { font-size: clamp(28px, 7vw, 48px); line-height: 1.12; max-width: 17em; }

/* une de ses salles de bain, l'avis posé sur du verre dépoli */
.avis-photo { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(227, 190, 98, 0.25); }
.avis-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.avis-photo-etiquette { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(12, 14, 18, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(227, 190, 98, 0.4); font-size: 0.84rem; font-weight: 600; color: #EEF3F8; }
.avis-photo-etiquette svg { width: 14px; height: 14px; color: var(--or-clair); }
.verre { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 20px 20px 18px; border-radius: 16px; background: linear-gradient(140deg, rgba(22, 58, 99, 0.58), rgba(12, 14, 18, 0.5)); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.verre p { font-family: var(--titre); font-size: clamp(21px, 5.6vw, 29px); line-height: 1.27; color: #fff; }
.verre .verre-nom { margin-top: 12px; font-family: var(--texte); font-size: 0.9rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.04em; color: var(--or-pale); }

/* une phrase en très grand */
.avis-chant p { font-family: var(--titre); font-size: clamp(31px, 8.4vw, 54px); line-height: 1.1; color: #fff; text-wrap: balance; }
.avis-chant em { font-style: normal; color: var(--or-pale); text-decoration: underline 2px var(--or); text-underline-offset: 0.18em; }
.avis-chant figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.06em; color: var(--or-pale); }
.avis-chant figcaption::before { content: ""; width: 34px; height: 1px; background: var(--or-clair); }

/* les autres avis, triés par métier, qui glissent au doigt */
.avis-defile { margin-top: 52px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filtres button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(169, 201, 230, 0.45); background: rgba(12, 14, 18, 0.18); cursor: pointer; font-weight: 600; transition: background-color 0.25s ease, color 0.25s ease; }
.filtres button[aria-pressed="true"] { background: var(--or-clair); border-color: var(--or-clair); color: var(--nuit); }
.mots { --bord: max(var(--marge), (100vw - 1200px) / 2); display: flex; gap: 12px; list-style: none; margin: 0 calc(-1 * var(--bord)); padding: 6px var(--bord) 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bord); scrollbar-width: none; }
.mots::-webkit-scrollbar { display: none; }
.mots:focus-visible { outline-offset: -3px; }
.mots li { flex: none; display: flex; flex-direction: column; gap: 14px; width: min(76vw, 300px); padding: 20px 20px 18px; border-radius: 18px; scroll-snap-align: start; background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(169, 201, 230, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.mots li::before { content: "★★★★★"; font-size: 0.9rem; letter-spacing: 2px; color: var(--or-clair); }
.mots li.mot-large { width: min(84vw, 380px); }
.mots li[hidden] { display: none; }
.mots p { font-size: 1.02rem; line-height: 1.55; color: #EAF1F8; }
.mots li:nth-child(3n + 1) p { font-family: var(--titre); font-size: 1.18rem; line-height: 1.4; }
.mots cite { display: block; margin-top: auto; font-style: normal; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; color: var(--or-pale); }
.defile-bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.defile-compte { font-family: var(--titre); font-size: 1.05rem; color: var(--glace); font-variant-numeric: tabular-nums; }
.defile-compte b { font-weight: 400; font-size: 1.7rem; color: var(--or-pale); }
.defile-fleches { display: none; gap: 10px; }
.fleche-or { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 1px solid var(--or-clair); background: rgba(12, 14, 18, 0.2); color: var(--or-pale); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease; }
.fleche-or svg { width: 20px; height: 20px; }
.fleche-or:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) { .fleche-or:not(:disabled):hover { background: var(--or-clair); color: var(--nuit); } }
@media (min-width: 761px) { .defile-fleches { display: flex; } .mots li { width: 320px; } .mots li.mot-large { width: 400px; } }
.lien-google { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 48px; font-weight: 600; color: var(--or-pale); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lien-google svg { width: 18px; height: 18px; }
.lien-fonce { color: var(--profond); }

/* — demande : l'or plein — */
.demande { background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
    radial-gradient(60% 50% at 85% 20%, rgba(255, 244, 214, 0.5), transparent 70%),
    linear-gradient(135deg, #EBC86E, var(--or) 58%, #B78512);
  color: var(--nuit); padding: 64px 0 72px; }
.demande-in { display: grid; gap: 30px; }
.demande h2 { font-size: clamp(28px, 7vw, 46px); line-height: 1.12; max-width: 16em; }
.sms { align-self: start; padding: 22px 18px 20px; border-radius: 26px; background: var(--nuit); color: #EEF2F6; box-shadow: 0 30px 60px -30px rgba(40, 26, 0, 0.8); }
.sms-a { font-size: 0.92rem; color: #B9C4CF; padding-bottom: 12px; border-bottom: 1px solid rgba(238, 242, 246, 0.12); }
.sms-a b { color: var(--or-pale); }
.sms-bulle { margin: 18px 0 18px auto; width: fit-content; max-width: 92%; padding: 14px 16px; border-radius: 20px 20px 6px 20px; background: linear-gradient(160deg, #CFE2F3, var(--glace)); color: var(--nuit); font-size: 1.02rem; line-height: 1.45; }
.demande-chapo { margin-top: 18px; max-width: 34em; font-size: 1.08rem; }
.demande-duo { display: grid; gap: 18px; }
.demande-duo .sms { align-self: stretch; display: flex; flex-direction: column; }
.demande-duo .sms-boutons { margin-top: auto; }
.sms-num { display: block; margin-top: 14px; font: 400 clamp(32px, 9vw, 44px)/1 var(--titre, inherit); color: var(--or-pale); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sms-boutons { display: grid; gap: 10px; }
.sms-boutons .bouton { width: 100%; }
.sms .bouton-nuit { background: var(--or-clair); color: var(--nuit); }
.sms .bouton-contour { border-color: rgba(238, 242, 246, 0.5); color: #EEF2F6; }

/* — contact : la vitre embuée — */
.contact { background: url("img/buee.svg") 0 0 / 440px, linear-gradient(180deg, #EAF2F8, #DCE8F2); color: var(--encre); padding: 64px 0 72px; }
.contact-in { display: grid; gap: 30px; }
.contact h2 { font-size: clamp(28px, 7vw, 46px); line-height: 1.12; max-width: 16em; }
.adresse { margin-top: 22px; display: grid; gap: 6px; }
.adresse-l { font-family: var(--titre); font-size: 1.4rem; line-height: 1.3; }
.semaine { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, 0.72); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -30px rgba(22, 58, 99, 0.6); }
.semaine-titre { margin-bottom: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--profond); padding-bottom: 10px; }
.semaine th, .semaine td { padding: 13px 18px; text-align: left; border-top: 1px solid rgba(22, 58, 99, 0.1); font-weight: 400; }
.semaine tr:first-child th, .semaine tr:first-child td { border-top: 0; }
.semaine td { text-align: right; font-variant-numeric: tabular-nums; }
.semaine tr.aujourdhui { background: var(--profond); color: #fff; }
.semaine tr.aujourdhui th { font-weight: 700; }
.semaine tr.aujourdhui th::after { content: " · aujourd'hui"; font-weight: 400; color: var(--glace); }
.contact-appels { display: grid; gap: 10px; margin-top: 18px; }
.contact-appels .bouton { width: 100%; }

/* — pied — */
.pied { background: radial-gradient(60% 50% at 50% 0%, rgba(202, 151, 19, 0.16), transparent 70%), url("img/givre-nuit.svg") 0 0 / 520px, var(--nuit); padding: 60px 0 40px; color: #C9D3DD; }
.pied-marque { display: flex; align-items: center; gap: 16px; }
.pied-marque .marque { width: 54px; height: auto; }
.pied-nom { display: flex; flex-direction: column; line-height: 1; }
.pied-nom span:first-child { font-size: clamp(30px, 9.6vw, 84px); font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; color: #F4F6F8; }
.pied-nom span:last-child { margin-top: 8px; font-size: clamp(14px, 3.4vw, 26px); font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; color: var(--or-clair); }
.pied-devise { margin-top: 26px; font-family: var(--titre); font-size: 1.3rem; color: var(--or-pale); }
.pied-infos { margin-top: 24px; display: grid; gap: 6px; }
.pied-infos a { white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.pied-infos b { color: #fff; font-weight: 600; }
.pied-mention { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(238, 242, 246, 0.12); font-size: 0.9rem; color: #97A3AF; }
.pied-mention a { color: var(--or-pale); }

/* — barre d'appel collante (procédé adapté : deux lignes, deux couleurs) — */
.barre-appel { display: none; }
@media (max-width: 760px) {
  :root { --barre-h: 67px; }
  .barre-appel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(12, 14, 18, 0.96); border-top: 1px solid rgba(227, 190, 98, 0.3); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease, visibility 0.25s; }
  .barre-appel a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 10px; border-radius: 999px; font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .barre-appel svg { width: 18px; height: 18px; }
  .ba-froid { background: var(--glace); color: var(--nuit); }
  .ba-eau { background: var(--or-clair); color: var(--nuit); }
  body:has(.barre-appel) { padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px)); }
  html:has(.barre-appel) { scroll-padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom, 0px) + 16px); }
  body:has(:is(input[type=text]):focus) .barre-appel { transform: translateY(105%); visibility: hidden; }
}

/* — écrans bas : le visuel se réduit, jamais le texte — */
@media (max-width: 760px) and (max-height: 700px) {
  .haut h1 { font-size: clamp(25px, 7vw, 28px); }
  .haut-in { padding-top: 6px; }
  .haut-visuel { height: max(260px, calc(100svh - var(--entete-h) - 67px - 196px)); }
  .haut-texte { margin-top: 10px; }
  .appels { margin-top: 14px; }
}

/* — tablette et plus — */
@media (min-width: 420px) {
  .appel-n { display: block; }
  .appel-a { display: none; }
  .bouton-num { display: inline; }
}
@media (min-width: 700px) {
  .mosaique { columns: 3; column-gap: 14px; }
  .mosaique li { margin-bottom: 14px; }
}
@media (min-width: 980px) {
  :root { --entete-h: 72px; --marge: 40px; }
  body { font-size: 18px; }
  .menu { display: flex; gap: 26px; margin-left: 28px; }
  .menu a { font-size: 0.95rem; font-weight: 500; text-decoration: none; color: #D7DEE6; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
  .menu a:hover { color: #fff; border-color: var(--or-clair); }
  .pilule { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
  .pilule svg { width: 16px; height: 16px; }
  .pilule-froid { background: var(--glace); color: var(--nuit); }
  .pilule-eau { background: var(--or-clair); color: var(--nuit); }
  .entete-rond { display: none; }
  .logo .marque { width: 30px; }
  .logo-l1 { font-size: 0.95rem; }

  .haut-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 40px; min-height: calc(100svh - var(--entete-h)); padding: 30px 0 50px; }
  .haut-visuel { order: 2; height: min(calc(100svh - var(--entete-h) - 80px), 760px); min-height: 520px; justify-content: center; margin-right: 0; }
  .haut-infos { margin-top: 22px; }
  .haut-texte { order: 1; margin: 0; }
  .haut .surtitre { font-size: 0.82rem; }
  .haut h1 { font-size: clamp(46px, 4.6vw, 70px); line-height: 1.05; }
  .appels { max-width: 560px; margin-top: 32px; gap: 14px; }
  .appel { min-height: 70px; padding: 10px 18px; border-radius: 20px; }
  .haut-phrase { margin-top: 26px; font-size: 1.05rem; }

  .metiers { background: linear-gradient(90deg, var(--givre) 50%, var(--porcelaine) 50%); }
  .metiers::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--or) 18%, var(--or-clair) 82%, transparent); }
  .metiers-tete { padding: 84px 0 10px; text-align: center; }
  .metiers-tete .surtitre { justify-content: center; }
  .metiers h2 { margin-inline: auto; position: relative; z-index: 1; background: linear-gradient(90deg, var(--givre) 50%, var(--porcelaine) 50%); padding: 0 10px; }
  .metiers-duo { display: grid; grid-template-columns: 1fr 1fr; }
  .metier-in { width: min(100% - 2 * var(--marge), 520px); padding: 40px 0 90px; gap: 22px; }
  .metier-froid .metier-in { margin-right: 56px; margin-left: auto; }
  .metier-eau .metier-in { margin-left: 56px; margin-right: auto; }
  .metier-photo { width: 62%; }

  .realisations { padding: 110px 0 120px; }
  /* deux grandes photos côte à côte, la seconde décalée, puis la baignoire sur toute la largeur */
  .ouvertures { width: min(100% - 2 * var(--marge), 1240px); margin: 70px auto 0; grid-template-columns: 1fr 1fr; gap: 80px 44px; align-items: start; }
  .ouvre { gap: 20px; }
  .ouvre-cadre { aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(227, 190, 98, 0.22); }
  .ouvre:nth-child(2) { margin-top: 140px; }
  .ouvre:nth-child(3) { grid-column: 1 / -1; width: 100%; max-width: 1170px; justify-self: center; margin-top: -60px; }
  .ouvre:nth-child(3) .ouvre-cadre { aspect-ratio: 16 / 9; }
  .ouvre:nth-child(3) .ouvre-cadre img { object-position: 50% 46%; }
  .ouvre figcaption { width: auto; margin: 0; padding: 0; gap: 18px; max-width: 560px; }
  .ouvre-n { font-size: 3.4rem; }
  .ouvre-txt { font-size: 1.45rem; line-height: 1.3; }
  .mosaique-titre { margin-top: 100px; }

  .chantier { padding: 110px 0 120px; }
  .chantier h2 { text-align: center; margin-inline: auto; }
  .chantier .surtitre { justify-content: center; }
  .etapes { margin-top: 80px; gap: 100px; }
  .etape { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .etape:nth-child(even) .etape-visuel { order: 2; }
  .etape-visuel img { aspect-ratio: 5 / 6; }
  .etape-n { font-size: 5rem; }

  .avis { padding: 110px 0 120px; background-size: auto, auto, auto, 760px, 520px, auto; background-position: 0 0, 0 0, 0 0, right -160px top 60px, 0 0, 0 0; }
  .avis-scene { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "tete photo" "chant photo"; gap: 40px 80px; }
  .avis-tete { grid-area: tete; } .avis-photo { grid-area: photo; } .avis-chant { grid-area: chant; align-self: end; padding-bottom: 20px; }
  .avis-note { margin: 10px 0 30px; }
  .avis-chiffre { font-size: 120px; }
  .avis h2 { font-size: 40px; }
  .avis-chant p { font-size: 58px; }
  .verre { left: 22px; right: 22px; bottom: 22px; padding: 26px 26px 22px; }
  .avis-defile { margin-top: 80px; }
  .filtres { margin-bottom: 22px; }

  .demande { padding: 110px 0 120px; }
  .demande-in { grid-template-columns: 1fr; gap: 48px; }
  .demande-duo { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sms { padding: 28px 26px 24px; }

  .contact { padding: 110px 0 120px; }
  .contact-in { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .contact-appels { grid-template-columns: 1fr 1fr; }
  .contact-appels .bouton { padding: 10px 14px; }

  .pied { padding: 100px 0 50px; }
  .pied-marque .marque { width: 96px; }
  .pied-infos { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 50px; }
}

/* — sans animation : tout est déjà là — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* — titre découpé (procédé) — */
.js [data-titre-decoupe]:not(.pret) { visibility: hidden; animation: td-secours 0s linear 3s forwards; }
@keyframes td-secours { to { visibility: visible; } }
[data-titre-decoupe] > div[style*="clip"] { padding-block: 0.14em; margin-block: -0.14em; }
@media (prefers-reduced-motion: reduce) { .js [data-titre-decoupe]:not(.pret) { visibility: visible; animation: none; } }

/* — téléphone étroit : la note et l'ouverture passent sur deux lignes, le visuel laisse la place — */
@media (max-width: 374px) {
  .haut-visuel { height: clamp(260px, calc(100svh - var(--entete-h) - 67px - 238px), 640px); }
}
