@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');
@import './tokens.css';

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 3vw, 1.35rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); opacity: 1; }

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-secondary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== Header & Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 2px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
header > nav {
  padding: 0.75rem 1.25rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-list {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.15s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--color-secondary); }
.nav-cta {
  background: var(--color-secondary) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.5rem 1.1rem !important;
}
.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  background: var(--color-bg);
  border-bottom: 2px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { padding: 0.5rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.nav-mobile ul li { border-bottom: 1px solid #f0f0f0; }
.nav-mobile ul a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}
.mobile-cta {
  display: block;
  background: var(--color-secondary);
  color: #fff !important;
  text-align: center;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0.75rem 1.25rem 1rem;
  border-radius: 8px;
}

/* ===== Hero ===== */
.hero {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 0;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.badge-highlight { color: var(--color-accent); font-weight: 800; }

/* ===== Sections ===== */
.section { padding: 3.5rem 0; }
.section-alt { background: #f7f7f8; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: #555; max-width: 620px; margin: 0 auto; }
.section-lead {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(63,63,70,0.1); transform: translateY(-3px); }
.card-icon {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--color-secondary) 12%, var(--color-bg));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: #444; }
.card-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #333;
}
.card-features li::before {
  content: "✓";
  color: var(--color-secondary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--color-secondary);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.92; margin-bottom: 1.75rem; font-size: 1.05rem; }

/* ===== Aides ===== */
.aides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.aide-item {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.aide-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.aide-item p { font-size: 0.9rem; color: #555; margin: 0; }

/* ===== Atouts ===== */
.atouts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.atout { display: flex; align-items: flex-start; gap: 1rem; }
.atout-icon {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.atout-body h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.atout-body p { font-size: 0.95rem; color: #444; margin: 0; }

/* ===== About ===== */
.about-text { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }
.about-text p { margin-bottom: 1.25rem; }
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
}
.stat-item {
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  flex: 1 1 140px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 0.3rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: color-mix(in srgb, var(--color-secondary) 12%, var(--color-bg));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-body strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.contact-item-body p { margin: 0; font-size: 0.95rem; color: #555; }
.contact-item-body a { color: var(--color-secondary); font-weight: 600; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.rgpd-note { font-size: 0.8rem; color: #777; margin-top: 1rem; line-height: 1.5; }
.map-container { border-radius: 10px; overflow: hidden; margin-top: 1.5rem; }
.map-container iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ===== Page Hero (intérieur) ===== */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; max-width: 640px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: var(--color-accent); }
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; opacity: 0.8; }
.footer-nav h4,
.footer-contact h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-nav ul li { margin-bottom: 0.4rem; }
.footer-nav a { font-size: 0.9rem; opacity: 0.8; transition: opacity 0.15s; }
.footer-nav a:hover { opacity: 1; color: var(--color-accent); }
.footer-tel {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}
.footer-email { font-size: 0.9rem; opacity: 0.8; display: block; margin-bottom: 0.5rem; }
.footer-address { font-size: 0.85rem; opacity: 0.65; line-height: 1.6; font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer-bottom a:hover { color: var(--color-accent); opacity: 1; }

/* ===== Visual Placeholders ===== */
.visual-placeholder {
  display: block;
  width: 100%;
  border-radius: 8px;
  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));
}

/* ===== Breakpoints ===== */
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .aides-grid { grid-template-columns: repeat(2, 1fr); }
  .atouts-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nav-list { display: flex; }
  .nav-hamburger { display: none; }
  .nav-mobile { display: none !important; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; }
  .hero { padding: 5rem 0; }
  .section { padding: 5rem 0; }
}

/* ===== Utils ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   MOTION LAYER — ALPHASOLAR
   Palette soleil/énergie : sheen ambré, révélations douces,
   pulses discrets. Tout est encapsulé sous no-preference.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* --- Scroll reveal (piloté par main.js via .js-reveal) --- */
  .js-reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.7s cubic-bezier(.22,.61,.36,1),
                transform 0.7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  .js-reveal--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .js-reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
  .js-reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
  .js-reveal[data-reveal-delay="3"] { transition-delay: 240ms; }

  /* --- 1. Hero — sheen doré qui traverse doucement le fond ---
     Effet "lumière solaire" très discret, 14s, en boucle. */
  .hero { position: relative; overflow: hidden; isolation: isolate; }
  .hero::before {
    content: "";
    position: absolute;
    inset: -20% -30%;
    background:
      radial-gradient(
        ellipse 45% 55% at 15% 25%,
        rgba(245, 158, 11, 0.22) 0%,
        rgba(245, 158, 11, 0) 60%
      );
    z-index: 0;
    pointer-events: none;
    animation: heroSun 14s ease-in-out infinite alternate;
  }
  .hero > .container { position: relative; z-index: 1; }
  @keyframes heroSun {
    0%   { transform: translate3d(-4%, -2%, 0) scale(1); opacity: 0.85; }
    100% { transform: translate3d(6%, 4%, 0) scale(1.08); opacity: 1; }
  }

  /* --- 2. Hero — H1 et lead qui apparaissent en cascade --- */
  .hero h1 {
    animation: heroFadeUp 0.9s cubic-bezier(.22,.61,.36,1) both;
  }
  .hero-lead {
    animation: heroFadeUp 0.9s cubic-bezier(.22,.61,.36,1) 0.12s both;
  }
  .hero-ctas {
    animation: heroFadeUp 0.9s cubic-bezier(.22,.61,.36,1) 0.24s both;
  }
  .hero .visual-placeholder {
    animation: heroFadeUp 0.9s cubic-bezier(.22,.61,.36,1) 0.36s both;
  }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  /* Highlight 70% : pulsation ambrée discrète */
  .badge-highlight {
    position: relative;
    background: linear-gradient(120deg, var(--color-accent) 0%, #FFD680 50%, var(--color-accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: badgeShine 5.5s ease-in-out infinite;
  }
  @keyframes badgeShine {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }

  /* --- 3. Cartes services — lift plus vivant + accent orange --- */
  .card {
    position: relative;
    transition: box-shadow 0.35s ease,
                transform 0.35s cubic-bezier(.22,.61,.36,1),
                border-color 0.35s ease;
  }
  .card::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
    border-radius: 2px;
  }
  .card:hover,
  .card:focus-within {
    border-color: color-mix(in srgb, var(--color-secondary) 45%, #e5e7eb);
    box-shadow: 0 14px 34px rgba(217, 119, 6, 0.14),
                0 4px 10px rgba(63, 63, 70, 0.06);
    transform: translateY(-5px);
  }
  .card:hover::after,
  .card:focus-within::after {
    transform: scaleX(1);
  }
  .card:hover .card-icon,
  .card:focus-within .card-icon {
    transform: scale(1.08) rotate(-3deg);
    background: color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg));
  }
  .card-icon { transition: transform 0.4s cubic-bezier(.22,.61,.36,1), background 0.35s ease; }

  /* --- 4. Atouts — icône qui prend vie au survol du bloc --- */
  .atout { transition: transform 0.3s ease; }
  .atout:hover { transform: translateX(4px); }
  .atout-icon { transition: transform 0.35s cubic-bezier(.22,.61,.36,1), background 0.35s ease; }
  .atout:hover .atout-icon {
    transform: rotate(-6deg) scale(1.08);
    background: color-mix(in srgb, var(--color-secondary) 18%, var(--color-bg));
  }

  /* --- 5. Stats — apparition + sheen ambré sur le nombre --- */
  .stat-item {
    transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
  }
  .stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(63, 63, 70, 0.22);
  }
  .stat-number {
    background: linear-gradient(120deg, var(--color-accent) 0%, #FFE5A8 50%, var(--color-accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: badgeShine 7s ease-in-out infinite;
  }
  .js-reveal.stat-item.js-reveal--visible .stat-number {
    animation: statPop 0.7s cubic-bezier(.22,.61,.36,1) both, badgeShine 7s ease-in-out 0.7s infinite;
  }
  @keyframes statPop {
    0%   { transform: scale(0.7); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
  }

  /* --- 6. CTA band — pulse solaire sous le titre --- */
  .cta-band { position: relative; overflow: hidden; isolation: isolate; }
  .cta-band::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 620px;
    height: 620px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 62%);
    z-index: 0;
    pointer-events: none;
    animation: ctaPulse 6s ease-in-out infinite;
  }
  .cta-band > .container { position: relative; z-index: 1; }
  @keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
  }

  /* --- 7. Nav — soulignement animé --- */
  .nav-list a { position: relative; }
  .nav-list a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s cubic-bezier(.22,.61,.36,1);
    border-radius: 2px;
  }
  .nav-list a:not(.nav-cta):hover::after,
  .nav-list a:not(.nav-cta):focus-visible::after,
  .nav-list a[aria-current="page"]:not(.nav-cta)::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
  .nav-cta { transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease; }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
  }

  /* --- 8. Boutons primaires — sheen ambré sur hover --- */
  .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.28) 45%,
      rgba(255, 255, 255, 0.28) 55%,
      transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.55s cubic-bezier(.22,.61,.36,1);
    z-index: -1;
  }
  .btn-primary:hover::before,
  .btn-primary:focus-visible::before { transform: translateX(120%); }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
    opacity: 1;
  }

  /* --- Focus visible élégant — halo ambré offset --- */
  a:focus-visible,
  button:focus-visible,
  .btn:focus-visible,
  .form-group input:focus-visible,
  .form-group select:focus-visible,
  .form-group textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 6px;
  }

  /* --- Visual placeholders — gradient qui glisse au survol --- */
  .visual-placeholder {
    background-size: 180% 180%;
    background-position: 0% 0%;
    transition: background-position 0.9s ease, transform 0.35s ease, box-shadow 0.35s ease;
  }
  .visual-placeholder:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(63, 63, 70, 0.1);
  }

  /* --- Footer links — glissement doré --- */
  .footer-nav a { transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease; }
  .footer-nav a:hover { transform: translateX(3px); }
}

/* ============================================================
   REDUCED MOTION — désactivation totale (WCAG 2.3.3)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js-reveal { opacity: 1 !important; transform: none !important; }
}
