/* Template: Éclat Créole — Total look jarry */
@import "./tokens.css";

/* ─── 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);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100dvh;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ─── 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));
}

/* ─── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-accent);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.site-header .logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header .logo-link svg {
  height: 36px;
  width: auto;
}

.site-header .logo-link svg text {
  fill: #FDE68A;
}

/* hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #FDE68A;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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); }

/* off-canvas nav */
.site-nav {
  position: fixed;
  inset: 0 0 0 30%;
  background: var(--color-accent);
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FDE68A;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(253,230,138,0.2);
  transition: color 0.15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
}
.nav-overlay.is-open { display: block; }

/* ─── Desktop nav ───────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none !important; }
  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
  .site-nav a {
    font-size: 0.9rem;
    padding: 0;
    border: none;
    color: #FDE68A;
    opacity: 0.85;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] {
    opacity: 1;
    color: #fff;
  }
}

/* ─── Utility classes ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-intro {
  color: #4B5563;
  max-width: 54ch;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(194,65,12,0.35);
}
.btn-primary:hover {
  background: var(--color-accent);
  box-shadow: 0 6px 18px rgba(124,45,18,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.3);
}

/* ─── Hero section ───────────────────────────────────────────── */
.hero {
  background: var(--color-accent);
  padding: 3rem 0 0;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-content {
  padding-inline: 1.25rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-secondary);
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 44ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-visual {
  width: 100%;
}

.hero-visual .visual-placeholder {
  border-radius: 12px 12px 0 0;
  min-height: 220px;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding-inline: 1.25rem;
  }
  .hero-content {
    flex: 1;
    padding-inline: 0;
  }
  .hero-visual {
    flex: 0 0 46%;
  }
  .hero-visual .visual-placeholder {
    border-radius: 12px;
    min-height: auto;
  }
}

/* ─── Rating badge ───────────────────────────────────────────── */
.rating-strip {
  background: var(--color-secondary);
  padding: 0.75rem 0;
  text-align: center;
}

.rating-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.rating-strip a:hover { opacity: 0.75; }

.stars {
  color: var(--color-primary);
  letter-spacing: 2px;
}

/* ─── Atouts section ──────────────────────────────────────────── */
.atouts {
  padding: 3rem 0;
}

.atouts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .atouts-grid { grid-template-columns: repeat(3, 1fr); }
}

.atout-card {
  background: #FFF7ED;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.atout-card-body {
  padding: 1.25rem;
}

.atout-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.atout-card-body p {
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.55;
}

/* ─── Planity CTA banner ─────────────────────────────────────── */
.planity-cta {
  background: var(--color-primary);
  padding: 2.5rem 0;
  text-align: center;
}

.planity-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.planity-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

/* ─── Services page ──────────────────────────────────────────── */
.page-hero {
  background: var(--color-accent);
  padding: 3rem 0 2.5rem;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 50ch;
}

.services-list {
  padding: 3rem 0;
}

.service-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.service-section:last-child { border-bottom: none; }

.service-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.service-section p {
  color: #4B5563;
  margin-bottom: 1rem;
}

.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.service-items li::before {
  content: "✦";
  color: var(--color-primary);
  font-size: 0.75rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .service-section {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* ─── Reservation page ───────────────────────────────────────── */
.reservation-intro {
  padding: 3rem 0 2rem;
}

.reservation-intro h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.planity-widget-wrap {
  background: #FFF7ED;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  padding: 2rem;
  margin-bottom: 2rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.planity-widget-wrap .planity-icon {
  font-size: 3rem;
}

.planity-widget-wrap p {
  color: #6B7280;
  max-width: 38ch;
}

.planity-widget-wrap .planity-placeholder-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.reservation-phone {
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.reservation-phone p {
  font-size: 0.9rem;
  color: var(--color-accent);
}

.reservation-phone a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-accent);
}
.reservation-phone a:hover { color: var(--color-primary); }

/* ─── À propos ───────────────────────────────────────────────── */
.apropos-body {
  padding: 3rem 0;
}

.apropos-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 2rem 0 0.75rem;
}

.apropos-body h2:first-child { margin-top: 0; }

.apropos-body p {
  color: #374151;
  margin-bottom: 1rem;
  max-width: 65ch;
}

.apropos-visual-wrap {
  margin: 2.5rem 0;
}

/* ─── Contact form ───────────────────────────────────────────── */
.contact-body {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-body { grid-template-columns: 1fr 1fr; }
}

.contact-info h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-detail-item .icon {
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail-item a {
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.15s;
}
.contact-detail-item a:hover { color: var(--color-primary); }

.horaires {
  background: #FFF7ED;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.horaires h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.horaires-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.horaires-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #374151;
}

.horaires-list li span:first-child { font-weight: 600; }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* contact form */
.contact-form-wrap h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-note {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 0.5rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--color-secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-bottom a:hover { color: #fff; }

/* ─── Floating Planity bar (mobile only) ────────────────────── */
.planity-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-primary);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}

.planity-float a {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .planity-float { display: none; }
}

/* add bottom padding to body when float bar is visible */
@media (max-width: 767px) {
  body { padding-bottom: 56px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOTION LAYER — Éclat Créole · WEB-5271
   CSS-first · prefers-reduced-motion safe · no lib
   ═══════════════════════════════════════════════════════════════ */

/* ── Keyframes (top-level, max compat) ──────────────────────── */
@keyframes tlj-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes tlj-float-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@keyframes tlj-underline-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {

  /* ── 1. Hero stagger — load animation ────────────────────── */
  .hero-eyebrow {
    animation: tlj-slide-up 0.5s ease-out both;
  }

  .hero h1 {
    animation: tlj-slide-up 0.6s 0.12s ease-out both;
  }

  .hero-desc {
    animation: tlj-slide-up 0.6s 0.22s ease-out both;
  }

  .hero-ctas {
    animation: tlj-slide-up 0.55s 0.34s ease-out both;
  }

  .hero-visual {
    animation: tlj-slide-up 0.65s 0.18s ease-out both;
  }

  /* ── 2. Floating Planity bar — slide from bottom ──────────── */
  .planity-float {
    animation: tlj-float-in 0.45s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* ── 3. Atout cards — hover lift ─────────────────────────── */
  .atout-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .atout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(194, 65, 12, 0.18);
  }

  /* ── 4. Atout cards — scroll reveal (CSS native, Chromium 115+) ── */
  @supports (animation-timeline: view()) {
    .atout-card {
      animation: tlj-fade-in 0.55s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    /* Disable JS-based hidden state on modern browsers (CSS handles it) */
    .js .atout-card[data-reveal],
    .js .atout-card[data-reveal].is-revealed {
      opacity: unset;
      transform: unset;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
  }

  /* ── 4b. Atout cards — JS-based reveal fallback (older browsers) ── */
  @supports not (animation-timeline: view()) {
    .js .atout-card[data-reveal] {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }

    .js .atout-card[data-reveal].is-revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .js .atout-card[data-reveal]:nth-child(2) { transition-delay: 0.12s; }
    .js .atout-card[data-reveal]:nth-child(3) { transition-delay: 0.24s; }
  }

  /* ── 5. Section titles — underline draw on scroll ─────────── */
  .section-title {
    position: relative;
    display: inline-block;
  }

  .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transform-origin: left center;
    transform: scaleX(0);
  }

  @supports (animation-timeline: view()) {
    .section-title::after {
      animation: tlj-underline-draw 0.5s ease both;
      animation-timeline: view();
      animation-range: entry 10% entry 55%;
    }
  }

  /* ── Focus-visible ring (enhanced) ───────────────────────── */
  .btn:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
  }

} /* end @media (prefers-reduced-motion: no-preference) */

/* ── Supplement WEB-5275 : nav hover + placeholders + fallbacks ─ */
@media (prefers-reduced-motion: no-preference) {

  /* Nav desktop · hover underline draw */
  @media (min-width: 768px) {
    .site-nav a { position: relative; }
    .site-nav a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      height: 2px;
      width: 0;
      background: #fff;
      border-radius: 1px;
      transition: width 0.25s ease;
    }
    .site-nav a:hover::after,
    .site-nav a[aria-current="page"]::after { width: 100%; }
  }

  /* Visual-placeholders · respiration douce */
  @keyframes ec-breathe {
    from { opacity: 0.72; }
    to   { opacity: 1; }
  }
  .visual-placeholder {
    animation: ec-breathe 4s ease-in-out infinite alternate;
  }

  /* Fallback section-title underline pour FF / Safari (joue au chargement) */
  @supports not (animation-timeline: view()) {
    .section-title::after {
      animation: tlj-underline-draw 0.45s 0.3s ease both;
    }
  }

  /* Fallback scroll-reveal data-reveal pour FF / Safari */
  @supports not (animation-timeline: view()) {
    [data-reveal] {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    [data-reveal].is-revealed {
      opacity: 1;
      transform: none;
    }
    .atouts-grid [data-reveal]:nth-child(2) { transition-delay: 0.12s; }
    .atouts-grid [data-reveal]:nth-child(3) { transition-delay: 0.24s; }
  }

}

/* ── Reduced motion safety net ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
}
