:root {
  --paper: #F6F3EE;
  --paper-2: #EFEAE2;
  --ink: #16181D;
  --ink-soft: #3A3D44;
  --muted: #6A6D73;
  --line: rgba(22, 24, 29, 0.12);
  --accent: #2F6B5A;
  --accent-ink: #1F4D40;
  --gold: #B08D57;
  --night: #121A18;
  --night-2: #1A2421;
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--accent); }
p { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1160px, 100% - 80px); } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn--small { padding: 10px 20px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; position: relative; padding-right: 22px; }
.link-arrow::after { content: "→"; position: absolute; right: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(246, 243, 238, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: var(--ink); }
.brand__name { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); position: relative; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--accent); transition: right .35s var(--ease); }
.nav__menu a:not(.btn):hover::after { right: 0; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px 16px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.06);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__menu .btn { margin-top: 18px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.hero__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__line path {
  fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .35;
  stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.6s var(--ease) .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__inner { position: relative; }
.rise { animation: rise 1.1s var(--ease) both; }
.hero__title.rise { animation-delay: .08s; }
.hero__lead.rise { animation-delay: .2s; }
.hero__cta.rise { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 720px) { .hero__line path { opacity: .18; } }
.hero__title { font-size: clamp(2.6rem, 6.6vw, 5.8rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.04; }
.hero__title span, .hero__title em { display: block; text-wrap: balance; }
.hero__title em { font-weight: 300; }
.hero__lead { max-width: 580px; margin-top: 2.2rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 2.8rem; }

/* Definition */
.definition { border-block: 1px solid var(--line); background: var(--paper-2); }
.definition__inner { padding: 72px 0; display: grid; gap: 18px; max-width: 820px; }
.definition__word { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.definition__phon { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.definition__type { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); margin-left: 6px; }
.definition__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--ink-soft); }
.definition__note { color: var(--muted); max-width: 680px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Sections */
.section { padding: clamp(90px, 12vw, 150px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__lead { margin-top: 1.6rem; color: var(--muted); font-size: 1.08rem; max-width: 620px; }

/* Pillars */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); padding: clamp(32px, 4vw, 48px); display: grid; gap: 16px; align-content: start; }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.pillar p { color: var(--muted); }

/* Dark journey */
.section--dark { background: var(--night); color: #E9E6E0; }
.section--dark em { color: #8CC5B2; }
.section--dark .eyebrow { color: #8CC5B2; }
.section--dark .section__lead { color: #A9AEAB; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.journey__step { position: relative; padding: 0 0 40px 40px; }
.journey__step::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -12px; width: 1px; background: rgba(233, 230, 224, .18); }
.journey__step:last-child::before { display: none; }
.journey__dot { position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #8CC5B2; background: var(--night); }
.journey__step h3 { color: #F4F1EB; margin-bottom: 8px; }
.journey__step p { color: #A9AEAB; font-size: 0.97rem; }
@media (min-width: 960px) {
  .journey { grid-template-columns: repeat(6, 1fr); gap: 28px; }
  .journey__step { padding: 44px 0 0 0; }
  .journey__step::before { left: 13px; right: -28px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .journey__dot { top: 0; }
}

/* Services */
.services { display: grid; gap: 20px; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: #FBF9F5; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
  display: grid; gap: 14px; align-content: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(31, 77, 64, .28); border-color: rgba(47, 107, 90, .35); }
.service__icon { width: 42px; height: 42px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 0.97rem; }

/* Statement */
.statement { padding: clamp(80px, 11vw, 140px) 0; border-block: 1px solid var(--line); background: var(--paper-2); text-align: center; }
.statement__text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.25; letter-spacing: -0.02em; max-width: 960px; margin-inline: auto; }

/* FAQ */
.faq__inner { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__inner { grid-template-columns: 5fr 7fr; gap: 80px; } .faq .section__head { margin-bottom: 0; } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 640px; }

/* Contact */
.contact { padding-top: 0; }
.contact__inner { display: grid; gap: 48px; align-items: center; padding-top: clamp(90px, 12vw, 150px); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 7fr 5fr; gap: 80px; } }
.contact__card { background: var(--night); color: #E9E6E0; border-radius: 24px; padding: clamp(32px, 4vw, 48px); display: grid; gap: 28px; }
.contact__mail { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); text-decoration: none; color: #F4F1EB; border-bottom: 1px solid rgba(140, 197, 178, .5); padding-bottom: 10px; word-break: break-word; }
.contact__mail:hover { color: #8CC5B2; }
.contact__meta { margin: 0; display: grid; gap: 14px; }
.contact__meta dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8CC5B2; }
.contact__meta dd { margin: 2px 0 0; color: #C9CCC8; }
.contact__meta address { font-style: normal; }
.contact__meta a { text-decoration: none; border-bottom: 1px solid rgba(140, 197, 178, .35); }
.contact__meta a:hover { color: #8CC5B2; }
.contact__card .btn { background: var(--paper); color: var(--ink); }
.contact__card .btn:hover { background: #8CC5B2; }

/* Footer */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer__inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 820px) { .footer__inner { grid-template-columns: auto 1fr auto; gap: 48px; } }
.footer__legal a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__legal a:hover { color: var(--accent); }
.brand--footer .brand__name { font-size: 1.4rem; color: var(--ink); }
.brand--footer .brand__mark { width: 26px; height: 26px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__line path { animation: none; stroke-dashoffset: 0; }
  .rise { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Mentions légales */
.legal { padding-top: 150px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 48px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 18px; }
.legal p { color: var(--muted); margin-top: 14px; }
.legal p a, .legal dd a { color: var(--accent); }
.legal__list { margin: 0; border-top: 1px solid var(--line); }
.legal__list div { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .legal__list div { grid-template-columns: 220px 1fr; } }
.legal__list dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.legal__list dd { margin: 0; }
.link-arrow--back { padding: 0 0 0 22px; font-size: .95rem; }
.link-arrow--back::after { content: "←"; right: auto; left: 0; }
.link-arrow--back:hover::after { transform: translateX(-4px); }
