/* ==========================================================================
   Main de Confiance — « Maison éditoriale » v4
   Charte : rose #C2255C · prune #3B1F2B · rose pâle #FDF2F6
   Titres : Libre Caslon Display (Cormorant affiche mal les accents sous Windows)
   Texte : Jost · Accent : Corinthia (deux fois sur tout le site, pas plus)
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("assets/fonts/jost.woff2") format("woff2"); font-weight: 200 600; font-display: swap; }
@font-face { font-family: "Corinthia"; src: url("assets/fonts/corinthia.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #FBF7F4;
  --paper-2: #F3EBE6;
  --pale: #FDF2F6;
  --ink: #3B1F2B;
  --ink-2: #6E5A63;
  --ink-3: #9C8A92;
  --rose: #C2255C;
  --rose-2: #A51E4E;
  --rose-soft: #F3A6C1;
  --shade: 40, 18, 28;
  --line: rgba(59, 31, 43, .13);
  --line-light: rgba(255, 255, 255, .2);

  --serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Corinthia", cursive;

  --max: 1400px;
  --pad: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; }

/* ---------- Typographie ---------- */
.label { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.label--rose { color: var(--rose); }
.h1 { font-size: clamp(44px, 6vw, 96px); line-height: .98; letter-spacing: -.02em; }
.h2 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.018em; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.accent { color: var(--rose); }
.script { font-family: var(--script); font-weight: 700; font-style: normal; letter-spacing: 0; font-size: 1.22em; line-height: .5; white-space: nowrap; padding-right: .05em; }
.num { font-family: var(--sans); font-weight: 200; letter-spacing: -.05em; font-variant-numeric: lining-nums; }

/* ---------- Logo (version compacte lisible : symbole + MAIN DE + Confiance) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--rose); line-height: 1; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-type { display: flex; flex-direction: column; }
.logo-a { font: 500 9.5px/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; margin: 0 0 1px 2px; }
.logo-b { font: 700 35px/.78 var(--script); letter-spacing: 0; }
.logo--lg .logo-mark { width: 60px; height: 60px; }
.logo--lg { gap: 16px; }
.logo--lg .logo-a { font-size: 12px; margin-bottom: 3px; }
.logo--lg .logo-b { font-size: 50px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --hover: var(--rose);
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 10px 0 26px;
  border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); cursor: pointer; overflow: hidden; isolation: isolate;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; transition: color .4s;
}
.btn[hidden] { display: none; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hover); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn .arr svg { width: 15px; height: 15px; }
.btn--rose { --bg: var(--rose); --hover: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --hover: var(--rose); }
.btn--light .arr { background: var(--pale); color: var(--rose); }
.btn--light:hover { color: #fff; }
.btn--light:hover .arr { background: rgba(255,255,255,.18); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.link > span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link:hover > span, a:hover .link > span { background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link:hover svg, a:hover .link svg { transform: translateX(4px); }
.link--light { color: #fff; }
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.u:hover { background-size: 100% 1px; }

/* ---------- Photos (étalonnées, AVIF/WebP, aperçu flou pendant le chargement) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background-color: var(--paper-2); background-size: cover; background-position: var(--pos, 50% 50%); }
.photo picture { display: contents; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--pos, 50% 50%); transition: transform 1.4s var(--ease), opacity .7s ease; }
.js .photo img:not(.loaded) { opacity: 0; }
a:hover .photo img { transform: scale(calc(var(--z, 1) * 1.04)); }
.r-34 { aspect-ratio: 3 / 4; } .r-45 { aspect-ratio: 4 / 5; } .r-43 { aspect-ratio: 4 / 3; } .r-169 { aspect-ratio: 16 / 9; }

/* ---------- Intro (logo animé, une fois par visite) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--rose); display: grid; place-items: center; transition: transform .9s var(--ease); }
.intro svg { width: 96px; height: 96px; overflow: visible; }
.intro .sq { transform-origin: 50% 50%; transform: scale(.5); opacity: 0; fill: #fff; animation: sqIn .6s var(--ease) forwards; }
.intro .roof { stroke: var(--rose); stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .55s var(--ease) .35s forwards; }
.intro .heart { fill: var(--rose); transform-box: fill-box; transform-origin: 50% 60%; transform: scale(0); animation: beat .55s var(--ease) .7s forwards; }
.intro.out { transform: translateY(-100%); }
@keyframes sqIn { to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes beat { 0% { transform: scale(0); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header); color: var(--ink); transition: transform .5s var(--ease), background-color .4s, border-color .4s, color .4s; border-bottom: 1px solid transparent; }
.header.is-solid { background: rgba(251, 247, 244, .92); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.over .header:not(.is-solid) { color: #fff; }
.over .header:not(.is-solid) .logo { color: #fff; }
.menu-open .header { color: var(--ink) !important; }
.menu-open .header .logo { color: var(--rose) !important; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a { font-size: 15px; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header .btn { height: 46px; padding-left: 22px; font-size: 14px; }
.header .btn .arr { width: 30px; height: 30px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; position: relative; opacity: .9; }
.burger i { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 27px; }
.menu-open .burger i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: calc(var(--header) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; overflow-y: auto; }
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu nav a { display: block; font: 400 clamp(34px, 9vw, 56px)/1.18 var(--serif); letter-spacing: -.015em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--rose); }
.mobile-menu .mm-foot { display: grid; gap: 18px; }
.mobile-menu .mm-foot .btn { justify-content: space-between; }
.mobile-menu .mm-contact { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.menu-open { overflow: hidden; }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .photo[data-reveal] { transform: none; clip-path: inset(8% 0 0 0); transition: opacity 1.2s var(--ease), clip-path 1.4s var(--ease); }
.js .photo[data-reveal].in { clip-path: inset(0); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.in .w > span { transform: none; }
.script .w { vertical-align: baseline; line-height: 1.2; padding: .12em .1em .2em; margin: -.12em -.1em -.2em; }
.js [data-split]:not(.ready) { visibility: hidden; }

/* ---------- Héros (accueil) ---------- */
.hero-wrap { position: relative; }
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { transform: scale(1.08); transition: transform 2.6s var(--ease), opacity .7s ease; }
.hero.in .hero-media img, .static .hero-media img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--shade), .82) 0%, rgba(var(--shade), .58) 30%, rgba(var(--shade), .16) 50%, rgba(var(--shade), 0) 62%),
    linear-gradient(0deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), 0) 38%),
    linear-gradient(180deg, rgba(var(--shade), .4) 0%, rgba(var(--shade), 0) 20%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header) + 48px); padding-bottom: clamp(48px, 6.5vw, 96px); }
.hero .label { color: rgba(255,255,255,.8); }
.hero h1 { font-size: clamp(52px, 6.6vw, 116px); line-height: .96; letter-spacing: -.022em; margin-top: 26px; }
.hero h1 .l { display: block; }
.hero h1 .script { color: var(--rose-soft); }
.hero .lead { color: rgba(255,255,255,.88); margin-top: 30px; max-width: 25em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }

/* Sceau tournant, à cheval entre le héros et la suite */
.seal { position: absolute; right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); bottom: -70px; z-index: 5; width: 140px; height: 140px; border-radius: 50%; background: var(--rose); color: #fff; box-shadow: 0 18px 40px -18px rgba(194, 37, 92, .7); }
.seal svg { width: 100%; height: 100%; }
.seal .ring { transform-origin: 50% 50%; animation: spin 26s linear infinite; }
.seal text { font: 500 11.5px var(--sans); letter-spacing: .28em; fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--rose { background: var(--rose); color: #fff; }
.section--ink .label, .section--rose .label { color: rgba(255,255,255,.66); }
.section--ink .lead, .section--rose .lead { color: rgba(255,255,255,.76); }
.head { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: 20px 48px; margin-bottom: clamp(48px, 6vw, 88px); align-items: start; }
.head .label { padding-top: .9em; }
.head .lead { margin-top: 24px; }

/* Déclaration */
.statement { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: 24px 48px; }
.statement p.big { font: 400 clamp(27px, 3.1vw, 46px)/1.24 var(--serif); letter-spacing: -.01em; }
.statement .foot { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Services (accueil) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.svc-card { display: flex; flex-direction: column; }
.svc-card .photo { margin-bottom: 26px; }
.svc-card .label { margin-bottom: 14px; }
.svc-card h3 { font-size: clamp(30px, 2.7vw, 40px); }
.svc-card p { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 26em; }
.svc-card .link { margin-top: 22px; color: var(--rose); }
.svc-more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 2.4vw, 36px); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc-more a { display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc-more img { width: 34px; height: 34px; }
.svc-more h4 { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.svc-more p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s; }
a:hover .go { background: var(--rose); border-color: var(--rose); color: #fff; }
.go svg { width: 15px; height: 15px; }

/* Bande photo plein écran */
.band { position: relative; height: min(86vh, 820px); min-height: 480px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.band .photo { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .74) 0%, rgba(var(--shade), .18) 55%, rgba(var(--shade), 0) 100%); }
.band .container { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: clamp(42px, 6vw, 98px); line-height: .98; letter-spacing: -.022em; }
.band p { max-width: 24em; color: rgba(255,255,255,.86); }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.fig { padding: 36px 28px 0 0; border-right: 1px solid var(--line-light); }
.fig + .fig { padding-left: 28px; }
.fig:last-child { border-right: 0; }
.fig b { display: block; font-size: clamp(64px, 7.6vw, 120px); line-height: .9; }
.fig b small { font-size: .38em; letter-spacing: 0; margin-left: .06em; }
.fig span { display: block; margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.72); max-width: 15em; }

/* Garanties */
.guar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.guar article { padding: clamp(32px, 3.4vw, 48px) clamp(24px, 3vw, 44px) clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.guar article:not(:nth-child(3n+1)) { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--line); }
.guar img { width: 38px; height: 38px; }
.guar h3 { font-size: clamp(26px, 2.1vw, 32px); margin-top: 28px; }
.guar p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.step { border-top: 1px solid var(--ink); padding-top: 26px; }
.step .num { display: block; font-size: clamp(64px, 6vw, 96px); line-height: .85; color: var(--rose); }
.step h3 { margin-top: 40px; font-size: clamp(26px, 2.1vw, 32px); }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* Deux publics */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.duo a { position: relative; min-height: clamp(460px, 52vw, 680px); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.6vw, 52px); overflow: hidden; isolation: isolate; }
.duo .photo { position: absolute; inset: 0; z-index: -2; }
.duo a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--shade), .84) 0%, rgba(var(--shade), .28) 55%, rgba(var(--shade), .05) 100%); }
.duo .label { color: rgba(255,255,255,.78); }
.duo h3 { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.02; letter-spacing: -.02em; margin-top: 16px; max-width: 11em; }
.duo p { margin-top: 16px; max-width: 26em; color: rgba(255,255,255,.86); }
.duo .link { margin-top: 26px; }

/* Comparatif */
.compare { border-top: 1px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: 1.15fr 1fr 1.2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cmp-head { padding: 18px 0; }
.cmp-row h4 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; }
.cmp-no, .cmp-yes { position: relative; padding-left: 30px; font-size: 16px; }
.cmp-no { color: var(--ink-3); }
.cmp-no::before { content: ""; position: absolute; left: 4px; top: .8em; width: 12px; height: 1.5px; background: var(--ink-3); }
.cmp-yes::before { content: ""; position: absolute; left: 5px; top: .45em; width: 11px; height: 6px; border-left: 1.6px solid var(--rose); border-bottom: 1.6px solid var(--rose); transform: rotate(-45deg); }
.cmp-tag { display: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 40px; gap: 24px; align-items: center; padding: clamp(22px, 2.4vw, 30px) 0; font: 400 clamp(21px, 2vw, 29px)/1.25 var(--serif); letter-spacing: -.005em; transition: color .3s; }
.faq summary:hover { color: var(--rose); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(currentColor, currentColor) center/12px 1.2px no-repeat, linear-gradient(currentColor, currentColor) center/1.2px 12px no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { padding: 0 64px 30px 0; color: var(--ink-2); max-width: 46em; }

/* Pied de page */
.footer { background: var(--ink); color: #fff; padding-top: clamp(88px, 11vw, 150px); overflow: hidden; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line-light); }
.footer-cta h2 { font-size: clamp(46px, 6.6vw, 110px); line-height: .98; letter-spacing: -.022em; }
.footer-cta p { margin-top: 20px; color: rgba(255,255,255,.65); max-width: 30em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px; }
.footer-grid .logo { color: #fff; }
.footer-grid h4 { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-grid li { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 15.5px; }
.footer-grid p { margin-top: 24px; color: rgba(255,255,255,.6); font-size: 15px; max-width: 22em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-block: 26px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-word { font: 700 clamp(80px, 18vw, 280px)/.8 var(--script); color: var(--rose); text-align: center; margin: 8px 0 -.12em; user-select: none; }

/* WhatsApp flottant (ordinateur) */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--rose); color: #fff; font: 500 14.5px/1 var(--sans); box-shadow: 0 14px 34px -12px rgba(194,37,92,.7); transition: transform .4s var(--ease), opacity .4s; }
.wa:hover { transform: translateY(-3px); }
.wa svg { width: 22px; height: 22px; }
.wa.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* Barre d'action (mobile, comme une application) */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 85; display: none; gap: 8px; padding: 7px; border-radius: 999px; background: rgba(251, 247, 244, .94); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(59, 31, 43, .45); transform: translateY(160%); transition: transform .55s var(--ease); }
.dock.on { transform: none; }
.dock .btn { flex: 1; height: 50px; justify-content: space-between; }
.dock .btn .arr { width: 36px; height: 36px; }
.dock-wa { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.dock-wa svg { width: 22px; height: 22px; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding-top: calc(var(--header) + clamp(40px, 7vw, 104px)); padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero-grid.no-photo { grid-template-columns: 1fr; }
.page-hero-grid.no-photo .h1 { max-width: 15em; }
.crumbs { display: flex; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); color: var(--ink-3); }
.crumbs a:hover { color: var(--rose); }
.page-hero .lead { margin-top: clamp(24px, 2.6vw, 36px); }
.page-hero .hero-actions { margin-top: 36px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split--wide { grid-template-columns: 5fr 7fr; }
.sticky-col { position: sticky; top: calc(var(--header) + 40px); }

.rows { border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows > li > .n { font: 300 14px/1.9 var(--sans); color: var(--rose); font-variant-numeric: tabular-nums; }
.rows h4 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; }
.rows p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.section--ink .rows, .section--ink .rows > li { border-color: var(--line-light); }
.section--ink .rows p { color: rgba(255,255,255,.7); }
.section--ink .rows > li > .n { color: var(--rose-soft); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); align-items: center; }
.feature:nth-child(even) .photo { order: 2; }
.feature h2 { margin-top: 18px; }
.feature .lead { margin-top: 22px; }
.ticks { margin-top: 30px; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 11px; height: 6px; border-left: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose); transform: rotate(-45deg); }
.section--ink .ticks, .section--ink .ticks li, .section--rose .ticks, .section--rose .ticks li { border-color: var(--line-light); }
.section--ink .ticks li::before { border-color: var(--rose-soft); }
.section--rose .ticks li::before { border-color: #fff; }
.pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cards3 > * { padding: clamp(32px, 3.4vw, 48px) clamp(24px, 3vw, 44px) clamp(36px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.cards3 > *:not(:nth-child(3n+1)) { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--line); }
.cards3 img { width: 38px; height: 38px; margin-bottom: 14px; }
.cards3 h3 { font-size: clamp(26px, 2.1vw, 32px); }
.cards3 p { color: var(--ink-2); font-size: 16px; }
.cards3 .link { margin-top: auto; padding-top: 10px; color: var(--rose); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.table td { color: var(--ink-2); }
.table td:first-child { font: 400 clamp(21px, 1.9vw, 27px)/1.25 var(--serif); color: var(--ink); width: 32%; }

/* Textes longs (pages légales) */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--rose); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- Formulaires en étapes ---------- */
.wizard { background: #fff; border: 1px solid var(--line); }
.wz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.wz-bar { flex: 1; max-width: 240px; height: 2px; background: var(--paper-2); position: relative; }
.wz-bar i { position: absolute; inset: 0; background: var(--rose); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .6s var(--ease); }
.wz-body { padding: clamp(28px, 4vw, 52px) clamp(22px, 3vw, 40px); }
.wz-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wz-step.on { display: block; animation: wzIn .6s var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateX(20px); } }
.wz-step legend { padding: 0; font: 400 clamp(29px, 2.9vw, 42px)/1.08 var(--serif); letter-spacing: -.015em; margin-bottom: 10px; }
.wz-step .hint { color: var(--ink-2); margin-bottom: 28px; }
.wz-sub { margin: 28px 0 14px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span { display: flex; flex-direction: column; gap: 10px; height: 100%; border: 1px solid var(--line); padding: 18px; transition: border-color .3s, background-color .3s; font-size: 15.5px; }
.choice span img { width: 28px; height: 28px; }
.choice small { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.choice input:checked + span { border-color: var(--rose); background: var(--pale); box-shadow: inset 0 0 0 1px var(--rose); }
.choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choices--compact .choice span { padding: 14px 16px; flex-direction: row; align-items: center; }
.choices--days { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font-size: 16px; transition: border-color .3s, background-color .3s; }
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--rose); background: #fff; }
.field .err { display: none; color: var(--rose); font-size: 14px; margin-top: 8px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--rose); }
.choices.invalid .choice span { border-color: rgba(194,37,92,.5); }
.wz-error { display: none; color: var(--rose); margin-top: 18px; font-size: 15px; }
.wz-error.on { display: block; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(22px, 3vw, 40px); border-top: 1px solid var(--line); background: var(--paper); }
.wz-back { background: none; border: 0; cursor: pointer; color: var(--ink-2); padding: 10px 0; font-size: 15px; }
.wz-back:hover { color: var(--rose); }
.wz-back[hidden] { visibility: hidden; display: block; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 22px; white-space: pre-wrap; font-size: 15.5px; line-height: 1.7; }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ---------- Transitions entre pages, parallaxe (navigateurs récents) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .js .band .photo img { animation: bandPan linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes bandPan { from { transform: translateY(-7%) scale(1.15); } to { transform: translateY(7%) scale(1.15); } }

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .w > span { transform: none; }
  .intro { display: none; }
}
.static .hero { min-height: 900px; }
.static .band { height: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(2) { border-right: 0; }
  .fig:nth-child(3) { padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 28px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header: 72px; }
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-b { font-size: 31px; }
  .head, .statement, .split, .split--wide, .page-hero-grid, .feature { grid-template-columns: 1fr; }
  .head .label { padding-top: 0; }
  .feature:nth-child(even) .photo { order: 0; }
  .sticky-col { position: static; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid .svc-card:last-child { grid-column: 1 / -1; }
  .svc-grid .svc-card:last-child .photo { aspect-ratio: 16 / 10; }
  .svc-more { grid-template-columns: 1fr; }
  .guar, .cards3 { grid-template-columns: 1fr 1fr; }
  .guar article, .cards3 > * { padding-left: 0 !important; border-left: 0 !important; padding-right: 24px; }
  .guar article:nth-child(even), .cards3 > *:nth-child(even) { padding-left: 24px !important; border-left: 1px solid var(--line) !important; }
  .duo { grid-template-columns: 1fr; }
  .wa { display: none; }
  .dock { display: flex; }
  .footer { padding-bottom: 84px; }

  /* Héros mobile : photo en haut, texte sur fond prune en dessous */
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 66svh; min-height: 420px; max-height: 640px; }
  .hero-media img { object-position: var(--pos-m, 56% 30%); transform-origin: var(--pos-m, 56% 30%); }
  .hero-shade { height: 66svh; min-height: 420px; max-height: 640px; background: linear-gradient(180deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), 0) 24%, rgba(var(--shade), 0) 62%, var(--ink) 100%); }
  .hero-content { margin-top: -84px; padding-top: 0; padding-bottom: 56px; }
  .hero h1 .l { display: inline; }
  .seal { display: none; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .cmp-tag { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  .cmp-yes .cmp-tag { color: var(--rose); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid, .guar, .cards3, .steps, .figures, .footer-grid, .fields { grid-template-columns: 1fr; }
  .svc-grid .svc-card:last-child .photo { aspect-ratio: 3 / 4; }
  .guar article, .cards3 > * { padding: 28px 0 !important; border-left: 0 !important; }
  .fig, .fig + .fig { padding-left: 0; border-right: 0; }
  .fig:nth-child(n+2) { border-top: 1px solid var(--line-light); margin-top: 28px; }
  .faq .ans { padding-right: 0; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .choices { grid-template-columns: 1fr 1fr; }
  .choice span { padding: 14px; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table thead { display: none; }
  .table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; width: auto !important; }
}
