@import './tokens.css';

/* ─── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
p  { font-size: var(--text-base); }

/* ─── Layout ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
section { padding: var(--space-16) 0; }

/* ─── Fade-in animation ───────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.fade-in.visible { opacity: 1; transform: none; }

/* Stagger: enfants d'un .fade-in-group avec délais échelonnés */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-group.visible > * { animation: reveal-up .7s cubic-bezier(.2,.7,.2,1) both; }
  .fade-in-group.visible > *:nth-child(1) { animation-delay: 60ms; }
  .fade-in-group.visible > *:nth-child(2) { animation-delay: 140ms; }
  .fade-in-group.visible > *:nth-child(3) { animation-delay: 220ms; }
  .fade-in-group.visible > *:nth-child(4) { animation-delay: 300ms; }
  .fade-in-group.visible > *:nth-child(5) { animation-delay: 380ms; }
  .fade-in-group.visible > *:nth-child(6) { animation-delay: 460ms; }
  .fade-in-group.visible > *:nth-child(n+7) { animation-delay: 540ms; }
}
.fade-in-group { opacity: 0; transition: opacity .3s ease; }
.fade-in-group.visible { opacity: 1; }
@keyframes reveal-up {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}

/* ─── Header / Nav ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.logo-link img { height: 44px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  color: var(--color-white);
  font-size: var(--text-sm);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.82;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--color-secondary);
}

/* Hamburger */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: var(--color-white);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-primary);
  border-top: 1px solid rgba(201,150,60,.3);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--color-white);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: 0.04em;
  font-size: var(--text-base);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: rgba(201,150,60,.12); }
.nav-mobile a[aria-current="page"] { color: var(--color-secondary); }
.nav-mobile a:last-child { border-bottom: none; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,150,60,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 600;
}
.hero h1 { color: var(--color-white); }
.hero-desc {
  font-size: var(--text-lg);
  opacity: 0.82;
  max-width: 540px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-2);
}
.hero-visual { margin-top: var(--space-8); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: filter var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.btn-gold:hover { filter: brightness(1.1); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--color-white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--color-white); }

.btn-navy {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-navy:hover { filter: brightness(1.18); }

/* ─── Section Titles ────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-title .eyebrow {
  margin-bottom: var(--space-3);
  display: block;
}
.section-title h2 { color: var(--color-primary); }
.section-title p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
  margin: var(--space-4) auto 0;
  border-radius: 2px;
}

/* ─── Value Props / Feature Cards ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-secondary);
  border-radius: 0 0 0 var(--radius-lg);
}
.feature-card h3 {
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.feature-card p { color: var(--color-text-muted); }

/* ─── Service Cards ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
.service-card-body {
  padding: var(--space-6);
}
.service-card-body h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.service-card-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.service-card-body ul {
  list-style: disc;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
}
.service-card-body ul li { margin-bottom: var(--space-2); }

/* ─── Dark Banner Section ──────────────────────────────── */
.section-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section-dark h2 { color: var(--color-white); }
.section-dark .eyebrow { color: var(--color-secondary); }
.section-dark p { opacity: 0.82; }

/* ─── CTA Band ─────────────────────────────────────────── */
.cta-band {
  background: var(--color-secondary);
  padding: var(--space-12) 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.cta-band p {
  color: var(--color-primary);
  opacity: 0.85;
  margin-bottom: var(--space-6);
}
.cta-band .btn-navy { box-shadow: var(--shadow); }

/* ─── Stats bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-item .stat-value {
  font-family: var(--font-title);
  font-size: var(--text-4xl);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-2);
}

/* ─── Catalogue page ────────────────────────────────────── */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-16) 0;
  border-bottom: 3px solid var(--color-secondary);
}
.page-hero h1 { color: var(--color-white); margin: var(--space-3) 0; }
.page-hero p { opacity: 0.8; max-width: 560px; }

.category-section { padding: var(--space-12) 0; border-bottom: 1px solid var(--color-border); }
.category-section:last-of-type { border-bottom: none; }

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.category-card:hover { box-shadow: var(--shadow); }
.category-card-body { padding: var(--space-6); }
.category-card-body h3 { color: var(--color-accent); margin-bottom: var(--space-3); }
.category-card-body p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  display: inline-block;
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── À propos ──────────────────────────────────────────── */
.about-lead {
  font-size: var(--text-xl);
  font-family: var(--font-title);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: var(--space-6);
}
.about-body p { margin-bottom: var(--space-4); color: var(--color-text-muted); }
.about-body p:last-child { margin-bottom: 0; }
.about-split {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.value-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-secondary) 15%, var(--color-bg));
  border: 1px solid color-mix(in srgb, var(--color-secondary) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.value-item h4 { font-size: var(--text-lg); color: var(--color-primary); margin-bottom: var(--space-1); }
.value-item p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ─── Saisonnalité ──────────────────────────────────────── */
.season-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.season-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.season-card h4 {
  color: var(--color-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.season-card p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ─── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
.contact-info h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.info-list { display: flex; flex-direction: column; gap: var(--space-4); }
.info-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.info-item .label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.info-item .value { color: var(--color-text); font-weight: 500; }
.info-item a.value { color: var(--color-primary); }
.info-item a.value:hover { color: var(--color-accent); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-6);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

/* ─── Form ──────────────────────────────────────────────── */
.contact-form-wrap h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.6;
}

/* ─── Visual Placeholder ────────────────────────────────── */
.visual-placeholder {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-secondary) 18%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-aspect="4:3"]  { aspect-ratio: 4 / 3;  }
.visual-placeholder[data-aspect="1:1"]  { aspect-ratio: 1 / 1;  }
.visual-placeholder[data-aspect="3:4"]  { aspect-ratio: 3 / 4;  }
.visual-placeholder[data-aspect="21:9"] { aspect-ratio: 21 / 9; }

.visual-placeholder[data-tone="secondary"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-secondary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-primary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="accent"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-accent, var(--color-primary)) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 12%, var(--color-bg)) 60%,
      color-mix(in srgb, var(--color-secondary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="muted"] {
  background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg));
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 3px solid var(--color-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
.footer-brand .logo-link { margin-bottom: var(--space-4); }
.footer-brand p {
  font-size: var(--text-sm);
  opacity: 0.7;
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}
.footer-col ul li { margin-bottom: var(--space-3); }
.footer-col ul li a {
  font-size: var(--text-sm);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-col ul li a:hover { opacity: 1; }
.footer-col address { font-style: normal; font-size: var(--text-sm); opacity: 0.75; line-height: 1.8; }
.footer-col address a { transition: opacity var(--transition); }
.footer-col address a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}
.footer-bottom p {
  font-size: var(--text-xs);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

/* ─── Responsive: Tablet (≥ 640px) ─────────────────────── */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(4, 1fr); }
  .season-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap iframe { height: 320px; }
}

/* ─── Responsive: Desktop (≥ 1024px) ───────────────────── */
@media (min-width: 1024px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }
  .hero-content { flex: 1 1 0; }
  .hero-visual  { flex: 1 1 0; margin-top: 0; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid   { grid-template-columns: repeat(3, 1fr); }

  .about-split {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-16);
  }
  .about-split > * { flex: 1 1 0; }

  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ─── Motion pass — Alma Caribbean (Luxe négociant, variante B) ── */
@media (prefers-reduced-motion: no-preference) {

  /* Hero : entrée séquencée du contenu au premier paint */
  .hero .eyebrow      { animation: reveal-up .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: 80ms; }
  .hero h1            { animation: reveal-up .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: 180ms; }
  .hero-desc          { animation: reveal-up .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: 300ms; }
  .hero-ctas          { animation: reveal-up .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: 420ms; }
  .hero-visual        { animation: reveal-fade 1.1s ease both; animation-delay: 380ms; }

  /* Voile doré du hero : dégradé qui glisse en boucle très lente */
  .hero::before { animation: hero-sheen 22s ease-in-out infinite alternate; }
  @keyframes hero-sheen {
    from { transform: translate3d(0, 0, 0); opacity: 1; }
    to   { transform: translate3d(6%, 3%, 0); opacity: .55; }
  }

  /* Divider or : grandit à la révélation */
  .divider-gold { transform-origin: center; transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1) .1s; }
  .fade-in.visible .divider-gold,
  .fade-in-group.visible .divider-gold,
  section:not(.fade-in) .divider-gold { transform: scaleX(1); }

  /* Feature cards : lift au hover + bandeau or qui pulse discret */
  .feature-card {
    transition:
      transform .28s cubic-bezier(.2,.7,.2,1),
      box-shadow .28s ease,
      border-color .28s ease;
    will-change: transform;
  }
  .feature-card:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--color-secondary) 40%, var(--color-border));
  }
  .feature-card::before { transition: width .28s ease, background .28s ease; }
  .feature-card:hover::before {
    width: 6px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, color-mix(in srgb, var(--color-secondary) 70%, var(--color-accent)) 100%);
  }

  /* Service & category cards : lift + visuel qui glisse */
  .service-card,
  .category-card {
    transition:
      transform .3s cubic-bezier(.2,.7,.2,1),
      box-shadow .3s ease,
      border-color .3s ease;
    will-change: transform;
  }
  .service-card:hover,
  .category-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--color-secondary) 35%, var(--color-border));
  }

  /* Visual placeholder : dégradé qui respire au hover */
  .visual-placeholder {
    background-size: 180% 180%;
    background-position: 0% 50%;
    transition: background-position .9s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  }
  .service-card:hover .visual-placeholder,
  .category-card:hover .visual-placeholder,
  .hero:hover .visual-placeholder { background-position: 100% 50%; }

  /* Nav-links : soulignement or animé (au lieu d'un simple border-color) */
  .nav-links a {
    position: relative;
    border-bottom-color: transparent !important;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
    opacity: 0;
  }
  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after,
  .nav-links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
    opacity: 1;
  }

  /* Boutons : micro-lift + shimmer sur le CTA doré */
  .btn { position: relative; overflow: hidden; }
  .btn:hover { transform: translate3d(0, -1.5px, 0); }
  .btn:active { transform: translate3d(0, 0, 0); transition-duration: 80ms; }
  .btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
    transform: skewX(-18deg);
    transition: left .55s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
  }
  .btn-gold:hover::before { left: 120%; }

  /* Tags (catalogue) : léger lift + fond doré au hover */
  .tag {
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  }
  .tag:hover {
    background: color-mix(in srgb, var(--color-secondary) 25%, var(--color-bg));
    border-color: color-mix(in srgb, var(--color-secondary) 45%, var(--color-border));
    transform: translate3d(0, -1px, 0);
  }

  /* Stats : chiffre qui compte-up-lite via translate+fade à la révélation */
  .stat-item .stat-value {
    display: inline-block;
    animation: reveal-up .9s cubic-bezier(.2,.7,.2,1) both;
  }
  .fade-in-group.visible .stat-item:nth-child(1) .stat-value { animation-delay: 100ms; }
  .fade-in-group.visible .stat-item:nth-child(2) .stat-value { animation-delay: 200ms; }
  .fade-in-group.visible .stat-item:nth-child(3) .stat-value { animation-delay: 300ms; }
  .fade-in-group.visible .stat-item:nth-child(4) .stat-value { animation-delay: 400ms; }

  /* Value items (à-propos) : icône or qui pulse doux au hover */
  .value-item .value-icon {
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease, border-color .3s ease;
  }
  .value-item:hover .value-icon {
    transform: scale(1.08) rotate(-4deg);
    background: color-mix(in srgb, var(--color-secondary) 30%, var(--color-bg));
    border-color: color-mix(in srgb, var(--color-secondary) 55%, transparent);
  }

  /* Season cards : glisse latérale au hover */
  .season-card {
    transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
    border-left: 3px solid transparent;
  }
  .season-card:hover {
    transform: translate3d(4px, 0, 0);
    border-left-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
  }

  /* Formulaire : input focus déjà présent — on lui ajoute un léger lift du label */
  .form-group { position: relative; }
  .form-group label { transition: color .2s ease, transform .2s ease; transform-origin: left center; }
  .form-group:focus-within label { color: var(--color-primary); transform: translate3d(2px, 0, 0); }

  /* Logo : légère mise en avant au hover */
  .logo-link img { transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
  .logo-link:hover img { transform: scale(1.04); filter: drop-shadow(0 2px 6px rgba(201,150,60,.35)); }

  /* Info-item (contact) : icône halo au hover */
  .info-item .info-icon { transition: transform .3s ease, background .3s ease; }
  .info-item:hover .info-icon {
    transform: scale(1.08);
    background: color-mix(in srgb, var(--color-secondary) 20%, var(--color-bg));
  }

  /* Footer links : opacité + micro-lift */
  .footer-col ul li a { display: inline-block; transition: opacity var(--transition), transform var(--transition), color var(--transition); }
  .footer-col ul li a:hover { transform: translate3d(2px, 0, 0); color: var(--color-secondary); }

  @keyframes reveal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ─── Focus-visible universel élégant ────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-secondary) 30%, transparent);
}

/* ─── Garde-fou accessibilité (WCAG 2.3.3) ───────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in,
  .fade-in-group,
  .fade-in-group > *,
  .hero .eyebrow,
  .hero h1,
  .hero-desc,
  .hero-ctas,
  .hero-visual,
  .stat-item .stat-value,
  .divider-gold {
    opacity: 1 !important;
    transform: none !important;
  }
}
