/* Police Archivo hébergée sur le serveur (licence SIL OFL) */
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(fonts/archivo-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Archivo;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(fonts/archivo-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --paper:#fbfcfd;
  --ink:#1b1f27;
  --steel:#545a66;
  --blue:#0a5fc0;
  --cyan:#07a6e8;
  --line:#dbe2ea;
  --wash:#eef3f9;
  --wrap:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font,Archivo,"Helvetica Neue",Arial,sans-serif);font-size:18px;line-height:1.55;font-stretch:100%}
img{max-width:100%;display:block}
a{color:var(--blue)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
h1,h2,h3{font-stretch:125%;line-height:1.08;margin:0;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,5vw,3.9rem);font-weight:750}
h2{font-size:clamp(1.7rem,3.2vw,2.5rem);font-weight:700}
h3{font-size:1.25rem;font-weight:700}
p{margin:0}

/* En-tête */
.top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:22px}
.top img{width:170px;height:auto}
.top nav{display:flex;gap:26px;font-size:16px}
.top nav a{color:var(--ink);text-decoration:none}
.top nav a:hover{color:var(--blue)}
.btn{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;font-weight:600;padding:14px 24px;border-radius:4px;border:0;font:inherit;font-weight:600;cursor:pointer}
.btn:hover{background:#084c9a}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn.ghost:hover{background:var(--ink);color:#fff}
.top .btn{padding:10px 18px;font-size:16px}

/* Hero */
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding-top:48px;padding-bottom:88px}
.hero p.lead{margin-top:22px;font-size:1.2rem;color:var(--steel);max-width:34ch}
.hero .ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.plan{width:100%;height:auto}
.plan .grid line{stroke:var(--line);stroke-width:1}
.plan .room{fill:none;stroke:var(--ink);stroke-width:1.6}
.plan .floor{fill:var(--wash)}
.plan .eq-top{fill:#d6e6f8;stroke:var(--ink);stroke-width:1.6}
.plan .eq-side{fill:#fff;stroke:var(--ink);stroke-width:1.6}
.plan .eq-side2{fill:#eaf2fb;stroke:var(--ink);stroke-width:1.6}
.plan .dim{stroke:var(--blue);stroke-width:1.2;fill:none}
.plan text{font-family:Archivo,Arial,sans-serif;direction:ltr;font-size:13px;fill:var(--blue);font-weight:600}
.plan .ghost{fill:none;stroke:var(--steel);stroke-width:1.2;stroke-dasharray:5 5}
.plan .draw{stroke-dasharray:1400;stroke-dashoffset:1400;animation:draw 1.8s ease-out forwards}
.plan .later{opacity:0;animation:appear .6s ease-out 1.5s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes appear{to{opacity:1}}
@media (prefers-reduced-motion:reduce){.plan .draw{animation:none;stroke-dashoffset:0}.plan .later{animation:none;opacity:1}}

/* Prestations */
section{padding:88px 0}
.intro{max-width:640px}
.intro p{margin-top:16px;color:var(--steel)}
.poles{margin-top:48px;border-top:1.5px solid var(--ink)}
.pole{display:grid;grid-template-columns:300px 1fr;gap:40px;padding:36px 0;border-bottom:1px solid var(--line)}
.pole h3{color:var(--ink)}
.pole .why{margin-top:10px;font-size:16px;color:var(--steel)}
.pole ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:18px 36px}
.pole li strong{display:block;font-weight:650}
.pole li span{font-size:16px;color:var(--steel)}
.pole.key h3{color:var(--blue)}

/* Pourquoi */
.why-band{background:var(--ink);color:#f3f5f8}
.why-band .cols{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.why-band p{color:#c4cad4;margin-top:18px}
.facts{display:grid;gap:26px;margin:0}
.facts div{border-inline-start:2px solid var(--cyan);padding-inline-start:20px}
.facts dt{font-stretch:125%;font-weight:700;font-size:1.15rem;color:#fff}
.facts dd{margin:4px 0 0;color:#c4cad4;font-size:16px}

/* Méthode */
.steps{counter-reset:s;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:44px;padding:0;list-style:none}
.steps li{counter-increment:s;border-top:1.5px solid var(--ink);padding-top:18px}
.steps li::before{content:counter(s);display:block;font-stretch:125%;font-weight:750;font-size:2rem;color:var(--blue);line-height:1;margin-bottom:12px}
.steps p{font-size:16px;color:var(--steel);margin-top:6px}

/* Contact */
.contact{background:var(--wash)}
.contact .cols{display:grid;grid-template-columns:1fr 1.2fr;gap:64px}
.offer{margin-top:24px;padding:22px 24px;background:#fff;border:1.5px solid var(--blue);border-radius:4px}
.offer strong{display:block;font-stretch:115%;font-size:1.1rem}
.offer p{font-size:16px;color:var(--steel);margin-top:6px}
.coords{margin-top:28px;font-size:16px;color:var(--steel);line-height:1.8}
form{display:grid;gap:18px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
label{display:block;font-size:15px;font-weight:600;margin-bottom:6px}
input,textarea,select{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1.5px solid #b8c2cf;border-radius:4px;background:#fff;color:var(--ink)}
textarea{min-height:150px;resize:vertical}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400;color:var(--steel)}
.consent input{width:auto;margin-top:4px}
.notice{padding:14px 18px;border-radius:4px;font-size:16px}
.notice.ok{background:#e4f4ea;color:#14532d;border:1px solid #9ad3ae}
.notice.err{background:#fdecec;color:#7f1d1d;border:1px solid #f0a9a9}
[hidden]{display:none!important}

footer{padding:36px 0;font-size:14px;color:var(--steel)}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}

@media (max-width:960px){
  .hero,.why-band .cols,.contact .cols{grid-template-columns:1fr;gap:40px}
  .hero{padding-top:24px}
  .pole{grid-template-columns:1fr;gap:20px}
  .steps{grid-template-columns:1fr 1fr}
  .top .main-nav{display:none}
}
@media (max-width:600px){
  body{font-size:17px}
  .pole ul,.row2,.steps{grid-template-columns:1fr}
  section{padding:64px 0}
  .top img{width:130px}
}

/* Sélecteur de langue */
.top-actions{display:flex;align-items:center;gap:14px}
.langs{position:relative}
.langs summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:4px;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
.langs summary::-webkit-details-marker{display:none}
.langs summary:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.langs summary:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.langs ul{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:10;list-style:none;margin:0;padding:6px;min-width:170px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 30px rgba(27,31,39,.12)}
.langs li a{display:block;padding:9px 12px;border-radius:4px;color:var(--ink);text-decoration:none;font-size:16px}
.langs li a:hover{background:var(--wash)}
.langs li a[aria-current="page"]{color:var(--blue);font-weight:650}
.lang-note{margin-top:14px;font-size:15px;color:var(--steel)}

/* Écritures non latines */
:lang(zh) h1,:lang(zh) h2,:lang(zh) h3,:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ar) h1,:lang(ar) h2,:lang(ar) h3{line-height:1.35;letter-spacing:0;font-stretch:100%}
:lang(zh) body,:lang(ja) body{line-height:1.75}
:lang(ar) body{line-height:1.8}
:lang(ru) h1,:lang(ru) h2,:lang(ru) h3{font-stretch:100%}
[dir="rtl"] .hero p.lead{max-width:40ch}

@media (max-width:600px){
  .top-actions .btn{display:none}
}
:lang(zh) h1,:lang(ja) h1,:lang(zh) h2,:lang(ja) h2{word-break:auto-phrase;text-wrap:balance}
:lang(zh) .hero p.lead,:lang(ja) .hero p.lead{max-width:24em}

/* Consentement et anti-robot */
.consent a{color:var(--blue)}
.robot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px 16px;background:#fff;border:1.5px solid #b8c2cf;border-radius:4px}
.robot-check{display:flex;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:600;cursor:pointer}
.robot-check input{width:22px;height:22px;margin:0;accent-color:var(--blue)}
.robot-status{font-size:14px;color:var(--steel)}
.robot[data-state="busy"] .robot-status::before{content:"";display:inline-block;width:12px;height:12px;margin-inline-end:8px;vertical-align:-1px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}
.robot[data-state="ok"]{border-color:#2f8f57}
.robot[data-state="ok"] .robot-status{color:#14532d;font-weight:600}
.robot[data-state="fail"] .robot-status{color:#7f1d1d}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.robot[data-state="busy"] .robot-status::before{animation:none}}

/* Pied de page */
footer a{color:var(--steel)}
footer a:hover{color:var(--blue)}

/* Page mentions légales */
.legal{max-width:760px;padding-top:24px;padding-bottom:88px}
.legal-back{font-size:16px;margin-bottom:28px}
.legal h1{font-size:clamp(1.9rem,4vw,2.8rem)}
.legal-body section{padding:32px 0 0;margin-top:32px;border-top:1px solid var(--line)}
.legal-body h2{font-size:1.35rem;margin-bottom:12px}
.legal-body p{margin-top:10px;color:#2e333d}
.legal-note{margin-top:20px;font-size:15px;color:var(--steel)}

/* Exemples d'intégration : avant / après */
.examples{padding-top:0}
.ba-list{display:grid;gap:56px;margin-top:40px}
.ba{margin:0}
.ba-frame{position:relative;overflow:hidden;border-radius:6px;background:var(--wash);aspect-ratio:1800/1273;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.ba-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ba-before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba-line{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(27,31,39,.25);pointer-events:none}
.ba-handle{position:absolute;top:50%;left:50%;width:48px;height:48px;margin:-24px 0 0 -24px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 4px 16px rgba(27,31,39,.25)}
.ba-tag{position:absolute;top:16px;padding:6px 12px;border-radius:4px;background:rgba(27,31,39,.78);color:#fff;font-size:14px;font-weight:600;pointer-events:none}
.ba-tag-before{left:16px}
.ba-tag-after{right:16px}
.ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none}
.ba-range::-webkit-slider-thumb{-webkit-appearance:none;width:48px;height:100vh}
.ba-range::-moz-range-thumb{width:48px;height:100%;border:0}
.ba-frame:has(.ba-range:focus-visible){outline:3px solid var(--cyan);outline-offset:3px}
.ba figcaption{margin-top:14px;font-size:16px;color:var(--steel);max-width:70ch}
@media (max-width:600px){.ba-tag{top:10px;font-size:13px;padding:4px 9px}.ba-tag-before{left:10px}.ba-tag-after{right:10px}.ba-handle{width:40px;height:40px;margin:-20px 0 0 -20px}}

/* Bandeau de consentement */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(27,31,39,.12)}
.cookie-inner{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}
.cookie-inner p{flex:1 1 420px;font-size:15px;color:#2e333d;margin:0}
.cookie-inner a{color:var(--blue)}
.cookie-actions{display:flex;gap:12px;flex-wrap:wrap}
.cookie-actions .btn{min-width:130px;padding:12px 20px;font-size:16px;text-align:center}
.linklike{background:none;border:0;padding:0;font:inherit;font-size:inherit;color:var(--steel);text-decoration:underline;cursor:pointer}
.linklike:hover{color:var(--blue)}
.linklike:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
@media (max-width:600px){.cookie-actions{width:100%}.cookie-actions .btn{flex:1}}

/* Réalisations : sous-parties, plan → rendu, galerie, agrandissement */
.ex-sub{margin-top:56px;font-size:1.4rem}
.examples .intro + .ex-sub{margin-top:36px}
.ex-intro{margin-top:10px;color:var(--steel);max-width:70ch}
.ba-list{margin-top:24px}
.shots{margin:24px 0 0;min-width:0}
.shots-row{display:flex;gap:20px;align-items:flex-start}
.shots-other{gap:28px}
.shots-other .shots{margin-top:24px}
.shot{min-width:0}
.shot-btn{position:relative;display:block;width:100%;padding:0;border:0;border-radius:6px;overflow:hidden;background:var(--wash);cursor:zoom-in}
.shot-btn img{display:block;width:100%;height:auto;transition:transform .3s ease}
.shot-btn:hover img{transform:scale(1.02)}
.shot-btn:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.shot-label{position:absolute;top:12px;left:12px;padding:5px 11px;border-radius:4px;background:rgba(27,31,39,.78);color:#fff;font-size:13px;font-weight:600}
[dir="rtl"] .shot-label{left:auto;right:12px}
.shots figcaption{margin-top:12px;font-size:16px;color:var(--steel);max-width:70ch}
.credit{display:inline-block;font-size:13px;color:#7a808b}
.zoom{padding:0;border:0;background:transparent;max-width:96vw;max-height:94vh;overflow:visible}
.zoom::backdrop{background:rgba(15,18,24,.86)}
.zoom img{display:block;max-width:96vw;max-height:94vh;width:auto;height:auto;border-radius:4px}
.zoom-close{position:absolute;top:-14px;right:-14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.3)}
.zoom-close:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.shot-btn img{transition:none}}
@media (max-width:760px){
  .shots-row{flex-direction:column}
  .shot,.shots-other .shots{width:100%;flex:none!important}
  .zoom-close{top:8px;right:8px}
}
