:root {
  --ink: #161819;
  --ivory: #f1eee8;
  --paper: #f8f6f1;
  --sand: #e9e4dc;
  --copper: #a9784f;
  --copper-light: #c99a70;
  --slate: #5d6262;
  --line: rgba(22, 24, 25, .16);
  --serif: "Spectral", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --section-title-size: clamp(2rem, calc(4.8vw - .55rem), 4rem);
  --section-copy-size: clamp(.91rem, 1.1vw, 1.08rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; width: 1.1rem; height: 1.1rem; fill: currentColor; }
[hidden] { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h2 { margin-bottom: 1.5rem; font-size: var(--section-title-size); }
h2 em, h1 em { color: var(--copper-light); font-weight: 400; }
h3 { line-height: 1.25; }
p { color: var(--slate); }
::selection { background: var(--copper); color: white; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 1000; padding: .7rem 1rem; background: var(--ivory); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section-shell { width: min(80%, 1440px); margin-inline: auto; }
.section-pad { padding-block: clamp(6rem, 10vw, 10rem); }
section[id], div[id] { scroll-margin-top: 5rem; }
.eyebrow { display: none; }
.eyebrow::before { width: 1.8rem; height: 1px; background: currentColor; content: ""; }
.eyebrow.light { color: var(--copper-light); }
.lead-copy { color: var(--ink); font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.4; }

.button { position: relative; display: inline-flex; min-height: 3.35rem; align-items: center; justify-content: center; gap: .7rem; overflow: hidden; border: 1px solid transparent; padding: .85rem 1.3rem; cursor: pointer; font-size: .68rem; font-weight: 700; letter-spacing: .09em; line-height: 1.3; text-transform: uppercase; transition: border-color .25s, background .25s, color .25s; }
.button::before, .header-cta::before { position: absolute; top: -50%; bottom: -50%; left: -45%; width: 38%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08) 16%, rgba(255,255,255,.48) 50%, rgba(255,255,255,.08) 84%, transparent); content: ""; filter: blur(3px); opacity: 0; pointer-events: none; transform: translateX(0) skewX(-18deg); }
.header-cta::before { will-change: opacity, transform; }
.header-cta > span, .header-cta > svg { will-change: transform; }
.button:hover::before, .button:focus-visible::before, .header-cta:hover::before, .header-cta:focus-visible::before { animation: button-sheen 1.4s var(--ease) both; }
.button-primary { border-color: var(--copper); background: var(--copper); color: white; }
.button-ghost { border-color: rgba(255,255,255,.55); color: white; }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.section-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
@keyframes button-sheen { 0% { opacity: 0; transform: translateX(0) skewX(-18deg); } 18%, 72% { opacity: .8; } 100% { opacity: 0; transform: translateX(430%) skewX(-18deg); } }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; height: 5.6rem; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding-inline: 4vw; border-bottom: 1px solid rgba(255,255,255,.18); color: white; transition: height .3s, background .3s, color .3s, border-color .3s; }
.site-header.scrolled { height: 4.6rem; border-color: var(--line); background: rgba(241,238,232,.96); color: var(--ink); backdrop-filter: blur(12px); }
.header-brand-group { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; font-size: .82rem; font-weight: 700; letter-spacing: .18em; }
.brand-mark { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; }
.profile-switch { position: relative; display: grid; width: 8.2rem; min-height: 2.15rem; grid-template-columns: 62% 38%; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: 0; background: rgba(6,12,15,.22); cursor: pointer; color: rgba(255,255,255,.62); font-size: .5rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.profile-switch::before { position: absolute; top: .15rem; right: 38%; bottom: .15rem; left: .15rem; border-radius: 999px; background: var(--copper); content: ""; transition: right .18s var(--ease), left .18s var(--ease); will-change: right, left; }
.profile-switch[data-profile="professionnel"]::before { right: .15rem; left: 62%; }
.profile-switch span { position: relative; z-index: 1; transition: color .18s; }
.profile-switch[data-profile="particulier"] span:first-child, .profile-switch[data-profile="professionnel"] span:last-child { color: white; }
.site-header.scrolled .profile-switch { border-color: var(--line); background: rgba(22,24,25,.05); }
.site-header.scrolled .profile-switch { color: rgba(22,24,25,.58); }
.site-header.scrolled .profile-switch[data-profile="particulier"] span:first-child, .site-header.scrolled .profile-switch[data-profile="professionnel"] span:last-child { color: white; }
.header-cta { position: relative; display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; gap: .65rem; overflow: hidden; border: 1px solid rgba(255,255,255,.45); padding: .7rem 1rem; background: var(--copper); color: white; font-size: .63rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.header-cta > span, .header-cta > svg { position: relative; z-index: 1; }
.header-label-mobile { display: none; }

.hero { position: relative; display: flex; min-height: 100svh; align-items: center; overflow: hidden; background: #0b1318; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: hero-in 1.6s var(--ease) both; }
.hero-shade { background: linear-gradient(90deg, rgba(4,9,13,.9) 0%, rgba(4,9,13,.58) 47%, rgba(4,9,13,.08) 78%), linear-gradient(0deg, rgba(4,9,13,.72), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(76rem, 80%); margin-left: 10%; padding-block: 9rem 10rem; }
.hero-statement { max-width: 36ch; margin-bottom: .8rem; color: white; font-size: clamp(3.15rem, 5.1vw, 5.65rem); }
.hero-location { margin-bottom: 1rem; color: var(--copper-light); font-family: var(--serif); font-size: clamp(2.5rem, 3.8vw, 4.2rem); font-style: italic; letter-spacing: -.035em; line-height: 1; }
.hero-specialty { position: relative; max-width: 52rem; margin-bottom: 1.6rem; padding-top: 1.2rem; color: rgba(255,255,255,.76); font-size: var(--section-copy-size); line-height: 1.55; }
.hero-specialty::before { position: absolute; top: 0; left: 0; width: 3rem; height: 1px; background: rgba(201,154,112,.8); content: ""; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: .75rem clamp(1.1rem, 2vw, 2.1rem); margin: 0; padding: 0; color: rgba(255,255,255,.8); font-size: .7rem; font-weight: 600; letter-spacing: .03em; list-style: none; }
.hero-assurances li { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.hero-assurances svg { color: var(--copper-light); }
.hero-discover { position: absolute; z-index: 2; bottom: 2.4rem; left: 50%; display: inline-flex; width: 15rem; align-items: center; flex-direction: column; gap: .65rem; color: white; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.hero-discover-wave { width: 6.5rem; height: .625rem; overflow: hidden; }
.hero-discover-wave path { fill: none; stroke: var(--copper-light); stroke-linecap: round; stroke-width: 2; vector-effect: non-scaling-stroke; animation: discover-wave 2.8s linear infinite; }
.hero-separator { position: absolute; right: 0; bottom: -2px; left: 0; z-index: 3; width: 100%; height: clamp(1.5rem, 3vw, 3rem); overflow: visible; color: var(--paper); fill: currentColor; pointer-events: none; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes discover-wave { to { transform: translateX(52px); } }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.profile-transition { position: fixed; inset: -30vh -50vw; z-index: 100; background: var(--ink); pointer-events: none; will-change: transform; }
.profile-transition[data-target-profile="particulier"] { background: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
