/* ============================================================
   WAKASTART — STYLES PARTAGES (tokens, curseur, nav, footer)
   Utilise par toutes les pages du site.
   ============================================================ */
html, body { background-color: #000000; }

/* ─────────────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────────────── */
:root {
  --black:      #000000;
  --black-2:    #0A0A0A;
  --black-3:    #111111;
  --black-4:    #1A1A1A;
  --gold:       #D1BDA1;
  --gold-light: #E8DCC8;
  --gold-dim:   rgba(209,189,161,0.10);
  --gold-line:  rgba(209,189,161,0.20);
  /* alias courts utilises par certaines pages */
  --gold-d:     rgba(209,189,161,0.10);
  --gold-b:     rgba(209,189,161,0.20);
  --gd:         rgba(209,189,161,0.10);
  --gb:         rgba(209,189,161,0.20);
  --white:      #FFFFFF;
  --w70:        rgba(255,255,255,0.70);
  --w45:        rgba(255,255,255,0.45);
  --w20:        rgba(255,255,255,0.20);
  --w08:        rgba(255,255,255,0.08);
  --w04:        rgba(255,255,255,0.04);
  --red:        #C84B4B;
  --red-dim:    rgba(200,75,75,0.12);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
   --fd:         'Bricolage Grotesque', sans-serif;
   --fs:         'Bricolage Grotesque', sans-serif;
   --fb:         'Montserrat', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { text-decoration: none; }

/* ─────────────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────────────── */
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, opacity 0.2s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(209,189,161,0.5);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s, transform 0.08s;
}
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  border-color: var(--gold);
}

/* ─────────────────────────────────────────────────────
   NAV — FLOATING
───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 80px); max-width: 1280px;
  height: 60px;
  display: flex; align-items: center;
  padding: 0 28px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.92);
  border-color: var(--gold-line);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.nav__logo {
  display: flex; align-items: center;
  flex-shrink: 0; margin-right: 36px;
}
.nav__logo img { height: 28px; width: auto; display: block; }

/* Nav items */
.nav__list {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.nav__item { position: relative; }
.nav__btn {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--fb); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2px; color: var(--w45);
  background: none; border: none; cursor: none;
  padding: 7px 13px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__btn:hover, .nav__item.open .nav__btn {
  color: var(--white); background: var(--w08);
}
.nav__chevron {
  width: 12px; height: 12px;
  transition: transform 0.3s var(--ease-out);
}
.nav__item.open .nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.nav__dd {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 210px;
  background: rgba(6,6,6,0.96);
  border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: 14px; padding: 8px;
  opacity: 0; transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  box-shadow: 0 32px 64px rgba(0,0,0,0.7), 0 0 0 0.5px rgba(255,255,255,0.04) inset;
}
.nav__item.open .nav__dd {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: all;
}
.nav__dd-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--w20);
  padding: 6px 10px 4px; display: block;
}
.nav__dd a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--w70);
  transition: background 0.15s, color 0.15s;
}
.nav__dd a:hover { background: var(--w08); color: var(--white); }
.nav__dd a .arr {
  width: 11px; height: 11px; opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav__dd a:hover .arr { opacity: 0.5; transform: translateX(0); }
.nav__dd-sep {
  height: 0.5px; background: var(--w08); margin: 6px 4px;
}
.nav__dd-cta {
  display: flex !important; align-items: center; justify-content: space-between;
  margin-top: 4px !important;
  background: var(--gold-dim) !important; border: 0.5px solid var(--gold-line) !important;
  color: var(--gold) !important; font-weight: 600 !important;
  border-radius: 9px !important;
}
.nav__dd-cta:hover { background: rgba(209,189,161,0.18) !important; }
.nav__dd-cta .arr { opacity: 0.6 !important; transform: translateX(0) !important; }

/* Nav actions */
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__contact {
  font-size: 12px; font-weight: 500; color: var(--w45);
  border: 0.5px solid var(--w20); border-radius: 8px;
  padding: 7px 16px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav__contact:hover { color: var(--white); border-color: var(--w45); background: var(--w08); }
.nav__cta-btn {
  font-family: var(--fd); font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--black); background: var(--gold);
  padding: 8px 20px; border-radius: 9px;
  transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.nav__cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Burger button */
.nav__burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  background: none; border: 0.5px solid var(--w20);
  border-radius: 9px; cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.nav__burger:hover { background: var(--w08); border-color: var(--w45); }
.nav__burger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,6,6,0.98);
  backdrop-filter: blur(20px);
  padding: 96px 24px 40px;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu__inner {
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu__group { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  padding: 0 12px 8px;
}
.mobile-menu a {
  font-family: var(--fd); font-size: 17px; font-weight: 600;
  color: var(--white);
  padding: 12px 12px; border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: var(--w08); color: var(--gold); }
.mobile-menu__contact {
  border: 0.5px solid var(--w20);
  text-align: center;
}
body.menu-open { overflow: hidden; }
/* ─────────────────────────────────────────────────────
   FIL D'ARIANE (identique sur toutes les pages)
───────────────────────────────────────────────────── */
.breadcrumb { padding: 100px 80px 0; max-width: 1280px; margin: 0 auto; }
.breadcrumb-inner {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.6px;
  color: var(--w70);
}
.breadcrumb-inner a { color: var(--gold); transition: color 0.2s, opacity 0.2s; opacity: 0.9; }
.breadcrumb-inner a:hover { color: var(--gold-light); opacity: 1; }
.breadcrumb-inner span { color: var(--w45); }
@media (max-width: 1024px) { .breadcrumb { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 640px) { .breadcrumb { padding: 88px 20px 0; } }

/* ─────────────────────────────────────────────────────
   SECTION LAYOUT
───────────────────────────────────────────────────── */

.s { padding: 100px 80px; }
.s__inner { max-width: 1200px; margin: 0 auto; }
.s--dark { background: var(--black-2); }
.s--darker { background: var(--black-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 0.5px; background: var(--gold); display: block; }

.s__title {
  font-family: var(--fd);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800; line-height: 1.0; letter-spacing: -2px;
  margin-bottom: 20px;
}
.s__title .it { font-family: var(--fd); font-style: normal; font-weight: 800; color: var(--gold); }
.s__lead { font-size: 16px; line-height: 1.75; color: var(--w70); max-width: 580px; }
/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
.footer {
  padding: 72px 80px 40px;
  background: var(--black-2);
  border-top: 0.5px solid var(--w08);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand { }
.footer-logo {
  display: block; margin-bottom: 16px;
}
.footer-logo img { height: 32px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: var(--w45); line-height: 1.65; }
.footer-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--w20); margin-bottom: 18px;
}
.footer-col-title a,
.footer-col-title a:link,
.footer-col-title a:visited,
.footer-col-title a:active {
  color: inherit; text-decoration: none; transition: color 0.2s;
}
.footer-col-title a:hover { color: var(--white); }
.footer-links a:link, .footer-links a:visited, .footer-links a:active { color: var(--w45); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--w45); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--gold-line); border-radius: 8px; color: var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-socials a:hover { background: var(--gold-dim); transform: translateY(-2px); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 20px; padding-top: 10px; justify-content: flex-end; align-items: center;
}
.footer-legal a, .footer-legal a:link, .footer-legal a:visited {
  font-size: 12px; line-height: 22px; color: var(--w45); transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal a.cookie-prefs-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border-radius: 999px; color: var(--gold); transition: color .25s, transform .25s cubic-bezier(.16,1,.3,1); }
.footer-legal a.cookie-prefs-btn:hover { color: #e6d7bf; transform: translateY(-1px); }
.footer-legal a.cookie-prefs-btn svg { width: 16px; height: 16px; display: block; }

.footer-bottom {
  margin-top: 24px;
  padding-top: 32px; border-top: 0.5px solid var(--w08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--w20); }
.footer-copy a, .footer-copy a:link, .footer-copy a:visited { color: var(--gold); }
.footer-copy a:hover { color: var(--white); }
.footer-certifs { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-certif {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 10px; border: 0.5px solid var(--gold-line);
  border-radius: 5px; color: var(--gold); background: var(--gold-dim);
}

/* ─────────────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Horizontal reveal for table */
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ─────────────────────────────────────────────────────
   LINE ANIMATION
───────────────────────────────────────────────────── */
.line-draw {
  width: 0; height: 0.5px; background: var(--gold-line);
  transition: width 1.2s var(--ease-out);
}
.line-draw.visible { width: 100%; }

/* ─────────────────────────────────────────────────────
   RESPONSIVE PARTAGE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto; }
  a, button { cursor: pointer; }

  .nav { width: calc(100% - 32px); padding: 0 16px; height: 56px; }
  .nav__logo { margin-right: 16px; }
  .nav__logo img { height: 24px; }
  .nav__list { display: none; }
  .nav__actions { gap: 8px; }
  .nav__contact { display: none; }
  .nav__cta-btn { padding: 7px 14px; font-size: 12px; }
  .nav__burger { display: flex; }

  .s { padding: 76px 32px; }

  .footer { padding: 64px 32px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .nav { top: 12px; width: calc(100% - 20px); padding: 0 12px; height: 52px; border-radius: 14px; }
  .nav__logo img { height: 22px; }
  .nav__cta-btn { padding: 6px 12px; font-size: 11.5px; }
  .nav__cta-btn svg { width: 10px; height: 10px; }

  .s { padding: 56px 20px; }
  .s__title { font-size: clamp(28px, 8vw, 40px); letter-spacing: -1px; }
  .s__lead { font-size: 15px; }

  .footer { padding: 56px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ─────────────────────────────────────────────────────
   TRANSITION DE PAGE (fondu + leger glissement)
───────────────────────────────────────────────────── */
html.page-enter body {
  opacity: 0;
  transform: translateY(12px);
}
html.page-enter body,
html.page-leave body {
  transition: opacity .32s ease, transform .32s ease;
}
html.page-ready body {
  opacity: 1;
  transform: none;
}
html.page-leave body {
  opacity: 0;
  transform: translateY(-8px);
}
@media (prefers-reduced-motion: reduce) {
  html.page-enter body,
  html.page-leave body { transition: none; opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────────
   BADGES DE CERTIFICATION (derniere section / CTA)
   Design de reference = homepage. Applique automatiquement
   a toutes les pages actuelles et futures.
───────────────────────────────────────────────────── */
.cta-certifs {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.cta-certif {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 5px 12px; border: 0.5px solid rgba(209,189,161,0.20);
  border-radius: 6px; color: #D1BDA1; background: rgba(209,189,161,0.10);
}

/* ─────────────────────────────────────────────────────
   FORMULAIRES : anti-robot + consentement legal
───────────────────────────────────────────────────── */
.wk-captcha {
  margin-top: 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid rgba(209,189,161,0.22);
  border-radius: 10px; background: rgba(209,189,161,0.05);
}
.wk-captcha__label {
  font-size: 12px; letter-spacing: .3px; color: rgba(255,255,255,0.7);
}
.wk-captcha__label b { color: #D1BDA1; font-weight: 700; }
.wk-captcha input {
  width: 90px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
  color: #fff; font-family: inherit; font-size: 13px;
}
.wk-captcha input:focus { outline: none; border-color: #D1BDA1; }
.wk-consent {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
}
.wk-consent input[type="checkbox"] {
  margin-top: 3px; width: 15px; height: 15px; flex-shrink: 0;
  accent-color: #D1BDA1; cursor: pointer;
}
.wk-consent label {
  font-size: 11px; font-style: italic; line-height: 1.6;
  color: rgba(255,255,255,0.5); cursor: pointer;
}
.wk-consent a { color: #D1BDA1; text-decoration: underline; }
.wk-submit[disabled] { opacity: .45; cursor: not-allowed; }

/* Champs obligatoires et états d'erreur des formulaires */
.wk-req { color: #D1BDA1; font-weight: 700; }
.wk-hint {
  margin-top: 4px; font-size: 11px; font-style: italic; line-height: 1.5;
  color: rgba(255,255,255,0.42);
}
.wk-field.is-invalid label { color: #ff8080; }
.wk-field.is-invalid input,
.wk-field.is-invalid select,
.wk-field.is-invalid textarea,
.wk-captcha.is-invalid input {
  border-color: #ff5a5a !important;
  background: rgba(255,90,90,0.07) !important;
  box-shadow: 0 0 0 3px rgba(255,90,90,0.15);
}
.wk-captcha.is-invalid .wk-captcha__label { color: #ff8080; }
