/* ============================================================
   Wander — site ombrelle (Fleet · Ride · Gourmet)
   Charte héraldique : bordeaux (écu), parchemin, chrome, or.
   Site statique vitrine, bilingue FR / EN.
   ============================================================ */

:root {
  --wine:       #7a1d2c;   /* bordeaux de l'écu — couleur primaire */
  --wine-dk:    #5c1320;
  --wine-deep:  #3f0d16;   /* sections sombres, footer */

  --cream:      #f5f1e6;   /* parchemin — fond clair */
  --sand:       #ece5d5;
  --line:       #ddd3c2;

  --ink:        #2b1419;
  --muted:      #5a4d4e;

  --steel:      #8b969d;
  --steel-dk:   #5f6a70;
  --silver:     #c2cace;
  --silver-lt:  #e6ebee;

  --gold:       #c2a566;
  --gold-dk:    #a98a4a;

  --white:      #ffffff;

  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 20px 54px -26px rgba(63, 13, 22, 0.42);
  --shadow-sm:  0 8px 24px -16px rgba(63, 13, 22, 0.5);

  --container:  1140px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --chrome: linear-gradient(176deg, #eef2f4 0%, #c4ccd1 38%, #828d94 54%, #b3bcc1 66%, #e9eef1 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-dk); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; margin: 0; }
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 24px; }
.container-narrow { max-width: 800px; }
.section { padding: 92px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--wine-deep); color: #efe6dd; }

.section-head { max-width: 730px; margin: 0 0 52px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); margin: 14px 0 18px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head-light h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
}
.section-dark .eyebrow { color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--wine-dk); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--steel); color: var(--ink); }
.btn-ghost:hover { border-color: var(--wine); color: var(--wine); }
.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: 10px 18px; font-size: 0.78rem; }
.btn-lg { padding: 17px 36px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 230, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 0 var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 3px rgba(63,13,22,.25)); }
.brand-text {
  font-family: var(--display); font-weight: 800; font-size: 1.34rem;
  letter-spacing: 0.12em; line-height: 1; color: var(--wine);
}

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.main-nav a:hover { color: var(--wine); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }

.lang-switch { display: inline-flex; border: 1px solid var(--steel); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  padding: 6px 12px; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: .04em; color: var(--steel-dk);
}
.lang-switch button.is-active { background: var(--wine); color: var(--white); }

.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: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  padding: 78px 0 64px;
  background:
    radial-gradient(900px 460px at 82% 6%, rgba(194,165,102,.20), transparent 62%),
    radial-gradient(700px 420px at 88% 30%, rgba(122,29,44,.10), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin: 16px 0 20px;
  font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
}
.hero-copy .lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 500; font-size: 0.95rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 9px;
  border-left: 2.5px solid var(--gold-dk); border-bottom: 2.5px solid var(--gold-dk);
  transform: rotate(-45deg);
}

.hero-figure { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.crest-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,165,102,.30), rgba(122,29,44,.08) 55%, transparent 72%);
  filter: blur(6px);
}
.hero-crest { position: relative; max-height: 480px; width: auto; filter: drop-shadow(0 18px 34px rgba(63,13,22,.35)); }
.hero-crest-svg { position: relative; width: 300px; max-width: 80%; filter: drop-shadow(0 16px 30px rgba(63,13,22,.32)); }

/* ---------- Bandeau de statistiques ---------- */
.statband { background: var(--ink); color: var(--cream); }
.statband-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband-item { text-align: center; padding: 26px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.statband-item:last-child { border-right: 0; }
.statband-value {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 1.7rem; line-height: 1.05;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statband-label { display: block; font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase; color: #c7b3a0; margin-top: 6px; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes génériques ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.card-icon { font-size: 1.7rem; margin-bottom: 14px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Cartes d'activité (Fleet / Ride / Gourmet) ---------- */
.activities-grid { align-items: stretch; }
.activity-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--wine);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity-figure {
  display: flex; align-items: center; justify-content: center;
  padding: 26px 26px 8px;
  background: radial-gradient(420px 220px at 50% 0%, rgba(194,165,102,.16), transparent 70%);
}
.activity-figure img { max-height: 188px; width: auto; filter: drop-shadow(0 10px 20px rgba(63,13,22,.28)); }
.activity-body { padding: 8px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.activity-tag {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--wine);
  background: rgba(122,29,44,.09); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.activity-tag.tag-soon { color: var(--gold-dk); background: rgba(194,165,102,.16); }
.activity-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--ink); }
.activity-desc { color: var(--muted); margin-bottom: 18px; font-size: 0.99rem; }
.activity-points { display: grid; gap: 9px; margin-bottom: 22px; }
.activity-points li { position: relative; padding-left: 24px; font-size: 0.93rem; color: var(--ink); }
.activity-points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 8px;
  border-left: 2.4px solid var(--gold-dk); border-bottom: 2.4px solid var(--gold-dk);
  transform: rotate(-45deg);
}
.activity-body .btn { margin-top: auto; }

/* ---------- Features (la maison) ---------- */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold); }
.feature-num { font-family: var(--display); font-size: 2rem; color: var(--gold-dk); font-weight: 800; display: block; margin-bottom: 10px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--ink); }
.feature p { color: var(--muted); }

/* ---------- Section blason ---------- */
.crest-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.crest-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.crest-glow-dark {
  background: radial-gradient(circle, rgba(194,165,102,.26), rgba(122,29,44,.10) 55%, transparent 72%);
  width: 88%;
}
.crest-img { position: relative; max-height: 420px; width: auto; filter: drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.crest-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 12px 0 16px; font-style: italic; }
.crest-copy .lead { color: #e4c4ca; font-size: 1.12rem; margin-bottom: 26px; }
.crest-list { display: grid; gap: 18px; }
.crest-list li { display: grid; gap: 3px; padding-left: 20px; border-left: 2px solid var(--gold); }
.crest-list strong { font-family: var(--display); font-size: 1.04rem; color: #fff; letter-spacing: .01em; }
.crest-list span { color: #d7b9bf; font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 14px 0 16px; color: var(--ink); }
.contact-copy .lead { color: var(--muted); font-size: 1.1rem; }
.contact-points { margin: 24px 0; display: grid; gap: 10px; }
.contact-points li { position: relative; padding-left: 26px; 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: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-direct p { font-size: 0.92rem; color: var(--muted); }
.contact-mail { font-weight: 600; font-size: 1.1rem; }

/* ---------- Formulaire ---------- */
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold); }
.form-intro { font-size: 0.96rem; color: var(--muted); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 0.98rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--wine); border-color: var(--wine); background: #fff; }
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 6px 0 18px; 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: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: #d7b9bf; padding: 56px 0 34px; border-top: 3px solid var(--gold); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.6fr; gap: 36px; }
.footer-wordmark { font-size: 1.6rem; letter-spacing: .12em; color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 0.94rem; max-width: 280px; color: #c79aa1; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.footer-nav a { color: #d7b9bf; font-size: 0.94rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal p { font-size: 0.86rem; margin-bottom: 8px; color: #c79aa1; }
.footer-copy { color: #9c757c; }
.footer-copy a { color: #c79aa1; }
.footer-copy a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-figure { order: -1; min-height: 300px; }
  .hero-crest { max-height: 360px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .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(255,255,255,.1); }
  .crest-grid { grid-template-columns: 1fr; gap: 36px; }
  .crest-visual { order: -1; min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 64px 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: 74px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; margin: 0;
  }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
