/* ============================================================
   Les Gommiers — styles.css
   Tokens CSS de la charte + styles mobile-first
   ============================================================ */

/* 1. Tokens (charte Les Gommiers) */
:root {
  /* Palette */
  --color-primary:      #C2410C;
  --color-secondary:    #F59E0B;
  --color-accent:       #0D7490;
  --color-bg:           #FFFFFF;
  --color-surface:      #FFF8F0;
  --color-text:         #111827;
  --color-text-muted:   #6B7280;
  --color-success:      #16A34A;
  --color-error:        #DC2626;

  /* Typographies */
  --font-display: "Playfair Display", system-ui, serif;
  --font-body:    "Source Sans 3", system-ui, sans-serif;

  /* Échelle typographique */
  --text-h1:    2.5rem;
  --text-h2:    2rem;
  --text-h3:    1.5rem;
  --text-body:  1rem;
  --text-small: 0.875rem;
  --leading-tight:  1.2;
  --leading-normal: 1.6;

  /* Espacement */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Bordures */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Ombres */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: underline; }
a:hover { color: var(--color-primary); }
a:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* 3. Typographie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-h1)); }
h2 { font-size: clamp(1.5rem, 4vw, var(--text-h2)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--text-h3)); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* 4. Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-16);
}

.section--surface {
  background: var(--color-surface);
}

/* 5. Boutons */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }

/* 6. HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-text);
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.site-header__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-surface);
  line-height: 1.1;
}
.site-header__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-secondary);
}

.nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-6);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-surface);
  text-decoration: none;
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav__link:hover { border-color: var(--color-secondary); color: var(--color-secondary); }

.nav__tel {
  display: none; /* tablet+ */
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  font-size: var(--text-small);
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-surface);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__menu {
  display: none;
  flex-direction: column;
  background: var(--color-text);
  padding: var(--space-4) var(--space-6) var(--space-6);
}
.nav__menu.is-open {
  display: flex;
}
.nav__menu .nav__list {
  flex-direction: column;
  gap: var(--space-4);
}
.nav__menu .nav__link {
  font-size: 1.1rem;
}

/* 7. HERO */
.hero {
  background: var(--color-text);
  min-height: 90svh;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  position: relative;
}

.hero__visual {
  min-height: 280px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Diagonal accent bar */
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, transparent 60%);
  opacity: 0.25;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(160deg, #7c2d12 0%, #c2410c 40%, #0d7490 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
}

.hero__photo-placeholder svg {
  opacity: 0.3;
}

.hero__photo-caption {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-style: italic;
}

.hero__content {
  padding: var(--space-12) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: var(--color-surface);
  margin-bottom: var(--space-4);
}

.hero__tagline em {
  font-style: normal;
  color: var(--color-secondary);
  display: block;
}

.hero__annou {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.hero__desc {
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  line-height: 1.7;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(245,158,11,0.15);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-small);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* 8. SECTION DIVIDERS (SVG waves) */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* 9. HISTOIRE */
.histoire__inner {
  display: grid;
  gap: var(--space-12);
}

.histoire__visual {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  border: 2px dashed rgba(194,65,12,0.25);
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}

.histoire__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 60%);
}

.photo-placeholder {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

.histoire__leaf {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  opacity: 0.12;
}

.histoire__text h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.histoire__text h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-secondary);
  margin-top: var(--space-3);
  border-radius: 2px;
}

.histoire__text .cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: var(--space-4);
}
.histoire__text .cta-link::after { content: '→'; }
.histoire__text .cta-link:hover { color: var(--color-accent); }

/* 10. CUISINE */
.cuisine {
  background: var(--color-text);
  color: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.cuisine::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(194,65,12,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cuisine h2 {
  color: var(--color-secondary);
  margin-bottom: var(--space-8);
}
.cuisine h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-primary);
  margin-top: var(--space-3);
  border-radius: 2px;
}

.cuisine h3 {
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
  margin-top: var(--space-12);
}

.specialites-grid {
  display: grid;
  gap: var(--space-4);
  list-style: none;
}

.specialites-grid li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  transition: background 0.2s;
}
.specialites-grid li:hover {
  background: rgba(194,65,12,0.08);
}

.specialites-grid li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--space-1);
}

.specialites-grid li em {
  font-style: normal;
  color: rgba(255,255,255,0.65);
  font-size: var(--text-small);
}

.cuisine__photo {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(245,158,11,0.3);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  margin-top: var(--space-8);
  gap: var(--space-3);
}

.cuisine__photo .photo-placeholder {
  color: rgba(255,255,255,0.5);
}

.cuisine__tel-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: opacity 0.2s;
}
.tel-btn:hover { opacity: 0.85; color: #fff; }
.tel-btn--secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.tel-btn--secondary:hover { background: var(--color-primary); color: #fff; }

/* 11. ÉVÉNEMENTS */
.evenements__inner {
  display: grid;
  gap: var(--space-12);
}

.evenements h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.evenements h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-secondary);
  margin-top: var(--space-3);
  border-radius: 2px;
}

.evenements__photo {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  border: 2px dashed rgba(194,65,12,0.25);
  gap: var(--space-3);
}

.evenements__list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.evenements__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
}

.evenements__list li::before {
  content: '✦';
  color: var(--color-secondary);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

.evenements__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* 12. CONTACT */
.contact {
  background: var(--color-surface);
}

.contact h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}
.contact h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-secondary);
  margin-top: var(--space-3);
  border-radius: 2px;
}

.contact__grid {
  display: grid;
  gap: var(--space-12);
}

.contact__info dt {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-4);
}
.contact__info dt:first-child { margin-top: 0; }
.contact__info dd {
  margin-left: 0;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.contact__info dd a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}
.contact__info dd a:hover { color: var(--color-primary); text-decoration: underline; }

.horaires-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-3);
  font-size: var(--text-small);
}
.horaires-table th {
  text-align: left;
  background: rgba(194,65,12,0.08);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  color: var(--color-primary);
}
.horaires-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(194,65,12,0.15);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* Formulaire */
.form-contact {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-contact h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: var(--text-small);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13,116,144,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-rgpd {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

.reseaux-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.reseau-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 2px solid currentColor;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.reseau-link--tripadvisor { color: #00aa6c; }
.reseau-link--tripadvisor:hover { background: #00aa6c; color: #fff; }
.reseau-link--facebook { color: #1877f2; }
.reseau-link--facebook:hover { background: #1877f2; color: #fff; }

/* 13. DÉCOUVRIR */
.decouvrir {
  background: var(--color-text);
  color: var(--color-surface);
}

.decouvrir h2 {
  color: var(--color-secondary);
  margin-bottom: var(--space-8);
}
.decouvrir h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-primary);
  margin-top: var(--space-3);
  border-radius: 2px;
}

.decouvrir__inner {
  display: grid;
  gap: var(--space-12);
}

.decouvrir__text p { color: rgba(255,255,255,0.82); }
.decouvrir__text strong { color: var(--color-secondary); font-style: normal; }

.decouvrir__en {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-8);
}
.decouvrir__en h3 {
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  font-size: var(--text-h3);
}
.decouvrir__en p { color: rgba(255,255,255,0.75); }

.decouvrir__photo {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(245,158,11,0.3);
  border-radius: var(--radius-lg);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  gap: var(--space-3);
}
.decouvrir__photo .photo-placeholder { color: rgba(255,255,255,0.5); }

.decouvrir__cta {
  margin-top: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-style: italic;
  color: var(--color-secondary);
}

/* 14. FOOTER */
.site-footer {
  background: #0b0f1a;
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-12);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-8);
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-surface);
  margin-bottom: var(--space-3);
}

.footer-brand p { font-size: var(--text-small); }

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--text-small);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-secondary); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  font-size: var(--text-small);
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-legal a:hover { color: var(--color-secondary); }

/* Analytics placeholder */
/* <!-- CLOUDFLARE WEB ANALYTICS SNIPPET ICI --> */

/* 15. MENTIONS LÉGALES */
.mentions__content {
  max-width: 720px;
  margin-inline: auto;
  padding-block: var(--space-16);
}

.mentions__content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}

.mentions__content h2 {
  color: var(--color-text);
  font-size: var(--text-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid rgba(194,65,12,0.2);
}

.mentions__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: var(--space-8);
}
.mentions__back::before { content: '←'; }
.mentions__back:hover { color: var(--color-primary); }

/* 16. Skip link accessibilité */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 999;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

/* 17. RESPONSIVE — tablette ≥ 640px */
@media (min-width: 640px) {
  .nav__tel { display: inline; }

  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 80svh;
  }
  .hero__visual { min-height: auto; }
  .hero__photo-placeholder { min-height: 100%; }
  .hero__content { padding: var(--space-16) var(--space-12); }

  .histoire__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .evenements__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .decouvrir__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }

  .specialites-grid { grid-template-columns: 1fr 1fr; }
}

/* 18. RESPONSIVE — desktop ≥ 1024px */
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex !important;
    flex-direction: row;
    background: transparent;
    padding: 0;
    align-items: center;
    gap: var(--space-6);
  }
  .nav__menu .nav__list {
    flex-direction: row;
    gap: var(--space-6);
  }
  .nav__menu .nav__link { font-size: var(--text-small); }

  .hero { grid-template-columns: 1fr 1fr; }
  .hero__content { padding: var(--space-16) var(--space-16); }
  .hero__tagline { font-size: 4.5rem; }
  .map-wrap iframe { height: 380px; }
}

/* 19. ANIMATIONS — encapsulées dans prefers-reduced-motion: no-preference
   GPU-friendly : transform + opacity uniquement, pas de width/height/top/left
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* ── Hero : apparition staggerée au chargement de la page ── */
  @keyframes gommiers-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero__eyebrow { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1)  80ms both; }
  .hero__tagline { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both; }
  .hero__annou   { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both; }
  .hero__badge   { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 380ms both; }
  .hero__desc    { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 440ms both; }
  .hero__ctas    { animation: gommiers-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both; }

  /* ── Scroll reveal : état initial masqué + transition entrée ── */
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger cascade grille spécialités */
  .specialites-grid li[data-reveal] {
    transition-delay: calc(var(--stagger-i, 0) * 80ms);
  }

  /* ── CTAs principaux — hover lift + ombre douce ── */
  .btn {
    transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  }
  .btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 65, 12, 0.22);
  }
  .btn--outline:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12);
  }
  .btn--primary:hover {
    box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
  }

  .tel-btn {
    transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s, background 0.2s, color 0.2s;
  }
  .tel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(194, 65, 12, 0.2);
  }

  /* ── Underline animé sur liens CTA texte ── */
  .cta-link {
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: 0 100%;
    padding-bottom: 2px;
    transition: background-size 0.3s ease, color 0.2s;
  }
  .cta-link:hover {
    background-size: 100% 2px;
  }

  /* ── Vagues SVG séparatrices : float idle discret ── */
  @keyframes gommiers-waveFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
  }
  .wave-divider svg {
    animation: gommiers-waveFloat 6s ease-in-out infinite;
  }

  /* ── Carte OSM : fade-in à l'entrée dans le viewport ── */
  .map-wrap {
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .map-wrap.is-revealed {
    opacity: 1;
  }

  /* ── Cartes spécialités : lift hover discret ── */
  .specialites-grid li {
    transition: background 0.2s, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s;
  }
  .specialites-grid li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(194, 65, 12, 0.14);
    background: rgba(194, 65, 12, 0.1);
  }

  /* ── Focus visible : transition offset pour douceur ── */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    transition: outline-offset 0.15s;
  }

}

/* 20. Réduction mouvement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
