/* ============================================================
   Wander — site ombrelle, VERSION 2 (registre éditorial).
   Titres en serif haute lisibilité (Fraunces), corps en Inter.
   Charte héraldique conservée : bordeaux (écu), parchemin, or.
   Direction : maison parisienne, sombre et premium.
   ============================================================ */

:root {
  --wine:       #7a1d2c;   /* bordeaux de l'écu — primaire */
  --wine-dk:    #5c1320;
  --wine-deep:  #2a0a11;   /* fonds sombres, héros, footer */
  --wine-night: #1d070c;

  --cream:      #f6f2e9;   /* parchemin — fond clair */
  --cream-2:    #efe8d8;
  --sand:       #e9e0cd;
  --line:       #ddd2bd;

  --ink:        #241016;
  --muted:      #6a5a59;

  --gold:       #c2a566;
  --gold-lt:    #d8c089;
  --gold-dk:    #a3854a;

  --white:      #ffffff;

  --container:  1180px;
  --display: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow:     0 30px 70px -34px rgba(20, 6, 10, 0.55);
  --shadow-sm:  0 14px 36px -22px rgba(20, 6, 10, 0.5);
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--wine-dk); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  font-optical-sizing: auto;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--wine-deep); color: #efe1d8; }

.section-head { max-width: 720px; margin: 0 0 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 18px 0 20px; color: var(--ink); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1.16rem; line-height: 1.65; }
.section-dark .section-head p { color: #d6bfc4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: var(--gold);
}
.section-head.center .eyebrow { justify-content: center; }
.section-dark .eyebrow { color: var(--gold-lt); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: var(--white); }
.btn-primary:hover { background: var(--wine-dk); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--wine-deep); }
.btn-gold:hover { background: var(--gold-lt); color: var(--wine-deep); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.42); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--wine); }
.btn-outline:hover { background: var(--wine); border-color: var(--wine); color: var(--white); }
.btn-sm { padding: 11px 20px; font-size: 0.76rem; }
.btn-block { width: 100%; }

/* lien fléché */
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.84rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--wine);
}
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(42, 10, 17, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: rgba(194, 165, 102, .28);
}
.header-inner { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.brand-text {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: 0.16em; line-height: 1; color: #fff;
}

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.86); font-weight: 500; font-size: 0.94rem; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 6px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.34); border-radius: 2px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  padding: 7px 12px; font-family: var(--sans); font-weight: 600; font-size: 0.76rem; letter-spacing: .08em; color: rgba(255,255,255,.8);
}
.lang-switch button.is-active { background: var(--gold); color: var(--wine-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 80px;
  background:
    radial-gradient(1100px 620px at 78% 16%, rgba(194,165,102,.20), transparent 60%),
    radial-gradient(900px 700px at 12% 90%, rgba(122,29,44,.40), transparent 62%),
    linear-gradient(160deg, #34101a 0%, var(--wine-deep) 46%, var(--wine-night) 100%);
  color: #f4e8e2;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 4px 4px; opacity: .5;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; width: 100%; }
.hero-copy .eyebrow { color: var(--gold-lt); }
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  margin: 22px 0 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.04;
}
.hero-copy h1 em { font-style: italic; color: var(--gold-lt); }
.hero-copy .lead { font-size: 1.22rem; color: #e3cdd1; max-width: 540px; line-height: 1.62; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 0; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 46px;
  border-top: 1px solid rgba(194,165,102,.32);
}
.hero-points li {
  flex: 1; min-width: 150px; padding: 18px 22px 0 0;
  font-family: var(--display); font-style: italic; font-size: 1.04rem; color: #f0dde1;
}
.hero-points li::before {
  content: ""; display: block; width: 22px; height: 2px; background: var(--gold); margin-bottom: 12px;
}

.hero-figure { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; }
.hero-glow {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,165,102,.34), rgba(122,29,44,.12) 52%, transparent 70%);
  filter: blur(8px); animation: pulse 7s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
.hero-crest {
  position: relative; max-height: 520px; width: auto;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.55));
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Bandeau de chiffres ---------- */
.statband { background: var(--wine-night); color: var(--cream); border-bottom: 1px solid rgba(194,165,102,.2); }
.statband-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband-item { text-align: center; padding: 40px 18px; border-right: 1px solid rgba(194,165,102,.16); }
.statband-item:last-child { border-right: 0; }
.statband-value {
  display: block; font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 2.3rem; line-height: 1; color: var(--gold-lt);
}
.statband-label { display: block; font-size: 0.74rem; letter-spacing: .14em; text-transform: uppercase; color: #b89aa0; margin-top: 12px; }

/* ---------- Activités : grandes bandes alternées ---------- */
.activity {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 78px 0; border-bottom: 1px solid var(--line);
}
.activity:last-child { border-bottom: 0; }
.activity-figure {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 340px; border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(460px 320px at 50% 40%, rgba(194,165,102,.20), transparent 70%),
    linear-gradient(155deg, #3a121c, var(--wine-deep));
  border: 1px solid rgba(194,165,102,.22);
}
.activity-figure img { max-height: 248px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.activity-index {
  position: absolute; top: 18px; left: 22px;
  font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold-lt);
}
.activity.reverse .activity-figure { order: 2; }
.activity-tag {
  display: inline-block; font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wine);
  border: 1px solid var(--gold); padding: 5px 14px; border-radius: 100px; margin-bottom: 18px;
}
.activity-tag.tag-soon { color: var(--gold-dk); border-color: var(--gold-dk); }
.activity h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; color: var(--ink); }
.activity-desc { color: var(--muted); margin-bottom: 24px; font-size: 1.08rem; line-height: 1.66; max-width: 520px; }
.activity-points { display: grid; gap: 11px; margin-bottom: 30px; }
.activity-points li { position: relative; padding-left: 26px; font-size: 0.98rem; color: var(--ink); }
.activity-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 8px;
  border-left: 2px solid var(--gold-dk); border-bottom: 2px solid var(--gold-dk);
  transform: rotate(-45deg);
}

/* ---------- Fil rouge ---------- */
.thread-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.thread-item { padding: 8px 30px; border-left: 1px solid var(--line); }
.thread-item:first-child { border-left: 0; padding-left: 0; }
.thread-icon { font-size: 1.6rem; margin-bottom: 16px; display: block; }
.thread-item h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--ink); }
.thread-item p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Section blason ---------- */
.crest-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: center; }
.crest-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.crest-glow {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,165,102,.28), rgba(122,29,44,.10) 54%, transparent 72%);
  filter: blur(8px);
}
.crest-img { position: relative; max-height: 460px; width: auto; filter: drop-shadow(0 22px 40px rgba(0,0,0,.55)); }
.crest-copy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); margin: 16px 0 18px; font-style: italic; }
.crest-copy .lead { color: #e6c8ce; font-size: 1.16rem; margin-bottom: 32px; line-height: 1.6; }
.crest-list { display: grid; gap: 22px; }
.crest-list li { display: grid; gap: 5px; padding-left: 22px; border-left: 1px solid var(--gold); }
.crest-list strong { font-family: var(--display); font-weight: 600; font-size: 1.16rem; color: #fff; }
.crest-list span { color: #d6bcc1; font-size: 0.98rem; }

/* ---------- La maison ---------- */
.house-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { padding: 34px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; position: relative; }
.feature-num { font-family: var(--display); font-style: italic; font-size: 2.2rem; color: var(--gold-dk); display: block; margin-bottom: 14px; }
.feature h3 { font-size: 1.32rem; margin-bottom: 12px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 0.99rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 18px 0 18px; color: var(--ink); }
.contact-copy .lead { color: var(--muted); font-size: 1.14rem; line-height: 1.62; }
.contact-points { margin: 28px 0; display: grid; gap: 12px; }
.contact-points li { position: relative; padding-left: 28px; font-weight: 500; color: var(--ink); }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dk); font-weight: 700; }
.contact-direct { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct p { font-size: 0.92rem; color: var(--muted); }
.contact-mail { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.34rem; color: var(--wine); }

/* ---------- Formulaire ---------- */
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 36px; box-shadow: var(--shadow-sm); }
.form-intro { font-size: 0.98rem; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 0.98rem; background: var(--cream); color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); background: #fff; box-shadow: 0 0 0 3px rgba(122,29,44,.1); }
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin: 8px 0 20px; cursor: pointer; }
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--wine); }
.form-required { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-night); color: #d6bcc1; padding: 70px 0 38px; border-top: 1px solid rgba(194,165,102,.26); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.6fr; gap: 40px; }
.footer-wordmark { font-family: var(--display); font-weight: 600; font-size: 1.8rem; letter-spacing: .14em; color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 0.95rem; max-width: 290px; color: #bf969d; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav-title { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 4px; }
.footer-nav a { color: #d6bcc1; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal p { font-size: 0.86rem; margin-bottom: 9px; color: #bf969d; line-height: 1.55; }
.footer-copy { color: #93686f; }
.footer-copy a { color: #bf969d; }
.footer-copy a:hover { color: #fff; }

/* ---------- Apparition au scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .hero-figure { order: -1; min-height: 320px; }
  .hero-crest { max-height: 380px; }
  .hero { min-height: auto; }
  .activity { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .activity.reverse .activity-figure { order: 0; }
  .activity-figure { min-height: 260px; order: -1; }
  .crest-grid { grid-template-columns: 1fr; gap: 40px; }
  .crest-visual { order: -1; min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .house-grid { grid-template-columns: 1fr; gap: 20px; }
  .thread-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .thread-item { padding: 8px 26px; }
  .thread-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .statband-inner { grid-template-columns: repeat(2, 1fr); }
  .statband-item:nth-child(2) { border-right: 0; }
  .statband-item:nth-child(1), .statband-item:nth-child(2) { border-bottom: 1px solid rgba(194,165,102,.16); }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .main-nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(42,10,17,.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(194,165,102,.28); padding: 22px 28px; gap: 18px; margin: 0;
  }
  .main-nav.is-open a { color: #fff; }
  .hero-points { flex-direction: column; }
  .hero-points li { padding: 18px 0 0; }
  .form-row { grid-template-columns: 1fr; }
  .thread-grid { grid-template-columns: 1fr; }
  .thread-item { border-left: 0; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, [data-reveal] { transition: none !important; animation: none !important; transform: none !important; opacity: 1 !important; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
