:root{
  --ink:#0B1B33;--ink-soft:#33465F;--sun:#FF7A59;--sun-dark:#E8623F;
  --sky1:#CFE8FF;--sky2:#EAF5FF;--card:rgba(255,255,255,.72);
  --gap:clamp(1rem,2.5vw,2rem);--sec:clamp(3rem,8vw,7rem);
  --maxw:min(72rem,100% - 2*max(1.25rem,env(safe-area-inset-left),env(safe-area-inset-right)));
}
*{box-sizing:border-box;margin:0}
html{font-size:clamp(100%,.85rem + .4vw,150%);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);line-height:1.6;min-height:100vh;min-height:100dvh;
  background:linear-gradient(160deg,var(--sky1) 0%,var(--sky2) 55%,var(--sky1) 100%) fixed;
  padding-bottom:env(safe-area-inset-bottom);
}
img,svg,video{max-width:100%;height:auto}
h1,h2,h3,p,#mail-text{overflow-wrap:anywhere}
/* nuages */
.sky{position:fixed;inset:0;z-index:-1;overflow:hidden;overflow-x:clip;pointer-events:none}
.cloud{position:absolute;left:0;width:200%;background-repeat:repeat-x;will-change:transform;
  transform:translate3d(0,calc(var(--sy,0px) * var(--p)),0)}
.cloud i{display:block;width:100%;height:100%;background:inherit;background-repeat:repeat-x;
  animation:drift var(--t) linear infinite}
.c1{--p:-.05;top:8%;height:22vh;--t:160s;opacity:.55;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cg fill='white'%3E%3Cellipse cx='120' cy='80' rx='110' ry='28'/%3E%3Cellipse cx='170' cy='60' rx='70' ry='34'/%3E%3Cellipse cx='420' cy='85' rx='130' ry='24'/%3E%3Cellipse cx='460' cy='62' rx='70' ry='30'/%3E%3C/g%3E%3C/svg%3E");background-size:50% 100%}
.c2{--p:-.12;top:38%;height:26vh;--t:110s;opacity:.7;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cg fill='white'%3E%3Cellipse cx='300' cy='85' rx='160' ry='26'/%3E%3Cellipse cx='250' cy='62' rx='80' ry='34'/%3E%3Cellipse cx='350' cy='55' rx='60' ry='28'/%3E%3C/g%3E%3C/svg%3E");background-size:40% 100%}
.c3{--p:-.22;top:66%;height:30vh;--t:70s;opacity:.85;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cg fill='white'%3E%3Cellipse cx='150' cy='88' rx='140' ry='24'/%3E%3Cellipse cx='130' cy='66' rx='70' ry='32'/%3E%3Cellipse cx='440' cy='90' rx='120' ry='22'/%3E%3Cellipse cx='470' cy='70' rx='60' ry='28'/%3E%3C/g%3E%3C/svg%3E");background-size:60% 100%}
@keyframes drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.cloud i{animation:none}.cloud{transform:none}html{scroll-behavior:auto}}

a{color:var(--ink)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.5rem 1rem;z-index:10}
.skip:focus{left:1rem;top:1rem}

header.top{position:sticky;top:0;z-index:5;
  padding-top:env(safe-area-inset-top);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:rgba(234,245,255,.78)}
.bar{width:var(--maxw);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0;flex-wrap:wrap}
.brand{font-weight:800;letter-spacing:.18em;text-decoration:none;font-size:1.1rem}
nav ul{list-style:none;padding:0;display:flex;gap:clamp(.8rem,2vw,1.8rem);flex-wrap:wrap}
nav a{text-decoration:none;font-size:.95rem;padding:.4rem 0;display:inline-block}
nav a:hover{text-decoration:underline}

main{width:var(--maxw);margin:auto}
section{padding:var(--sec) 0 0}
h1{font-size:clamp(2rem,1.2rem + 4.2vw,4.4rem);line-height:1.1;letter-spacing:-.02em;max-width:18ch}
h2{font-size:clamp(1.5rem,1.1rem + 1.8vw,2.4rem);margin-bottom:var(--gap);letter-spacing:-.01em}
h3{font-size:1.1rem;margin-bottom:.3rem}
.hero{padding-top:clamp(3rem,12vw,9rem);min-height:min(80vh,60rem)}
.hero p.lead{font-size:clamp(1.05rem,.9rem + .8vw,1.5rem);max-width:42ch;color:var(--ink-soft);margin:1.5rem 0 2rem}
.btn{display:inline-block;background:var(--sun);color:var(--ink);font-weight:700;text-decoration:none;
  padding:.9em 1.6em;border-radius:999px;box-shadow:0 .4rem 1.2rem rgba(255,122,89,.35);
  transition:transform .2s,background .2s;min-height:2.75rem}
.btn:hover{background:var(--sun-dark);transform:translateY(-2px)}
.grid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.card{background:var(--card);border-radius:1.2rem;padding:clamp(1.1rem,2vw,1.8rem);box-shadow:0 .5rem 2rem rgba(11,27,51,.07)}
.card p{color:var(--ink-soft)}
.steps{list-style:none;padding:0;counter-reset:s;display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.steps li{counter-increment:s;background:var(--card);border-radius:1.2rem;padding:clamp(1.1rem,2vw,1.8rem)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;
  background:var(--sun);font-weight:800;margin-bottom:.8rem}
.price{border:2px solid var(--sun)}
.note{margin-top:var(--gap);font-weight:600}
.badge{display:inline-block;background:var(--sun);color:var(--ink);font-weight:700;font-size:.8rem;padding:.2em .8em;border-radius:999px;margin-bottom:.6rem}
.contact p{max-width:46ch;margin-bottom:1.5rem}

footer{width:var(--maxw);margin:var(--sec) auto 0;padding:1.5rem 0 2rem;border-top:1px solid rgba(11,27,51,.2);
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.9rem}
footer ul{list-style:none;padding:0;display:flex;gap:1.2rem;flex-wrap:wrap}
footer a{display:inline-block;padding:.4rem 0}

/* pages légales */
.legal{padding-top:clamp(2rem,6vw,4rem);max-width:48rem}
.legal h1{font-size:clamp(1.8rem,1.2rem + 2.5vw,3rem);max-width:none;margin-bottom:1.5rem}
.legal h2{font-size:1.3rem;margin:2rem 0 .6rem}
.legal p{margin-bottom:.6rem}
.draft{display:inline-block;background:var(--ink);color:#fff;font-weight:700;padding:.3em .9em;border-radius:.5rem;margin-bottom:1rem}
.legal .back{display:inline-block;margin-bottom:1.5rem;padding:.4rem 0}
