/* Fonts
   - Titles: Cinzel (serif)
   - Body: Inter (sans-serif)
*/

:root {
  --bg: #0a0a0a;              /* Deep black background */
  --surface: #111214;         /* Slightly raised panels */
  --text: #e9ecf1;            /* High-contrast body text */
  --muted: #b8c0cc;           /* Muted text */
  --gold: #c6a15b;            /* Primary accent (warm gold) */
  --gold-strong: #e3c778;     /* Hover/bright gold */
  --line: #1c1d21;            /* Divider color */
  --success: #7dd3a7;
  --danger: #f29ca1;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --bordeaux: #7a1e2b;        /* Deep burgundy for suit icons */
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
/* cursor trail canvas */
.cursor-trail {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 999;
  pointer-events: none;
}

.global-glow {
  position: fixed;
  inset: -20% 0 -10% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1400px 820px at 78% -6%, rgba(198,161,91,.16), transparent 67%),
    radial-gradient(980px 660px at 12% 6%, rgba(227,199,120,.10), transparent 62%),
    radial-gradient(1100px 780px at 50% 118%, rgba(198,161,91,.08), transparent 70%);
  filter: blur(1.6px);
}

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { height: 40px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.brand-name { font-family: Cinzel, serif; font-weight: 600; letter-spacing: .5px; color: var(--text); font-size: 22px; }

.site-nav .nav-toggle {
  display: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-list > li > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-list li { position: relative; }
.nav-list .has-submenu > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { font-size: .8em; opacity: .8; transform: translateY(1px); }
.submenu {
  display: none;
  position: absolute;
  left: 0; top: calc(100%);
  background: rgba(10,10,10,.96);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  min-width: 220px;
  padding: 8px;
  z-index: 200;
}
.submenu a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.submenu a:hover { color: var(--bordeaux); background: rgba(255,255,255,.04); }
.menu-suit { color: var(--bordeaux); font-size: .95em; line-height: 1; transition: color .2s ease, transform .2s ease, text-shadow .2s ease; }
.submenu a:hover .menu-suit { color: var(--gold-strong); transform: translateY(-1px) scale(1.07); text-shadow: 0 0 6px rgba(227,199,120,.35); }
.nav-list .has-submenu:hover .submenu,
.nav-list .has-submenu:focus-within .submenu { display: block; }
.nav-list a .nav-suit { margin-right: 8px; color: var(--bordeaux); -webkit-text-fill-color: var(--bordeaux); font-variant-emoji: text; font-size: .95em; }
.nav-list a[href$="formations.html"] .nav-suit { font-size: .8em; }
.nav-list a .nav-spark { color: var(--gold-strong); -webkit-text-fill-color: var(--gold-strong); text-shadow: 0 0 6px rgba(227,199,120,.4); }
.nav-list > li > a:hover { color: var(--text); border-color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: clamp(560px, 80vh, 800px);
}
.hero-title {
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: .2px;
  background: linear-gradient(180deg, var(--text), #dcdfe6 60%, #a9b2c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Position particles canvas behind the title but above background */
.hero-slogan { position: relative; }
.hero-slogan .hero-particles {
  position: absolute;
  inset: -10% -6% -10% -6%;
  z-index: -1; /* behind the h1 */
  pointer-events: none;
  filter: blur(.2px); /* subtle diffusion */
}
/* Unified simple highlight for both words */
.hero-title .word-spark, .hero-title .word-impossible {
  position: relative;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    radial-gradient(120% 180% at 20% 80%, rgba(198,161,91,.28) 0%, rgba(198,161,91,0) 60%),
    radial-gradient(120% 120% at 80% 20%, rgba(227,199,120,.20) 0%, rgba(227,199,120,0) 55%),
    linear-gradient(180deg, #f1dfa2 0%, #e3c778 50%, #c6a15b 100%);
  background-size: 140% 140%, 150% 150%, 100% 100%;
  background-position: 20% 80%, 80% 20%, 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 8px rgba(227,199,120,.18), 0 0 18px rgba(198,161,91,.16);
  animation: fireFlow 4.5s ease-in-out infinite alternate;
}

@keyframes fireFlow {
  0%   { background-position: 18% 82%, 82% 18%, 50% 50%; text-shadow: 0 0 6px rgba(227,199,120,.16), 0 0 14px rgba(198,161,91,.14); }
  35%  { background-position: 22% 78%, 76% 24%, 50% 50%; text-shadow: 0 0 9px rgba(227,199,120,.22), 0 0 18px rgba(198,161,91,.18); }
  70%  { background-position: 16% 86%, 84% 16%, 50% 50%; text-shadow: 0 0 7px rgba(227,199,120,.18), 0 0 16px rgba(198,161,91,.16); }
  100% { background-position: 24% 74%, 74% 26%, 50% 50%; text-shadow: 0 0 10px rgba(227,199,120,.24), 0 0 20px rgba(198,161,91,.20); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .word-spark, .hero-title .word-impossible {
    animation: none;
    text-shadow: 0 0 8px rgba(227,199,120,.14), 0 0 16px rgba(198,161,91,.12);
  }
}
/* underline glow removed per request */
.hero-sub { color: var(--muted); margin: 0 0 24px 0; font-size: 18px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--gold), var(--gold-strong)); color: #1a1205; border-color: rgba(255,255,255,.08); }
.btn-primary:hover { background: linear-gradient(180deg, var(--gold-strong), #f1dfa2); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-strong); }

.hero-media { display: grid; place-items: center; position: relative; margin-top: 10px;}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -16% -14% -16% -14%;
  background: radial-gradient(400px 400px at 45% 50%, rgba(0,0,0,1), rgba(0,0,0,.85) 58%, transparent 70%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}
.hero-media img {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  height: auto;
  filter: drop-shadow(0 46px 82px rgba(0,0,0,.92)) drop-shadow(0 16px 42px rgba(0,0,0,.85));
}

/* Removed hero-glow; global glow handles ambience site-wide */

/* Sections */
.section { padding: 50px 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.04); }
.section-head { margin-bottom: 28px; }
.presentation .section-head { margin-bottom: 10px; }
.section-title { font-family: Cinzel, serif; font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); margin: 0 0 6px 0; }
.subsection-title { font-family: Cinzel, serif; font-weight: 600; font-size: clamp(16px, 1.6vw, 22px); margin: 28px 0 2px 0; display: inline-flex; align-items: center; gap: 8px; }
.presentation.split .split-col:first-child .subsection-title { margin-top: 8px; }
.subsection-title + p { margin-top: 4px; }
.subsection-title::before { content: attr(data-ico); font-variant-emoji: text; color: var(--bordeaux); -webkit-text-fill-color: var(--bordeaux); font-size: .9em; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.section-sub { color: var(--muted); margin: 0; }
.section-hint { color: var(--muted); margin: 8px 0 0; font-size: 13px; opacity: .85; }

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-strong);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: rgba(227,199,120,.45);
  color: var(--gold);
}
.faq-item summary:hover {
  color: var(--gold-strong);
}
.faq-item p {
  margin: 0;
  padding: 0 18px 16px 18px;
  color: var(--muted);
}
/* Prestations hint: centered and gold */
.prestations .section-hint {
  color: var(--gold-strong);
  text-align: center;
  font-weight: 600;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(227,199,120,.25);
}

/* Suit icon before prestation titles using data-suit */
.section-title[data-suit] { display: inline-flex; align-items: center; gap: 8px; }
.section-title[data-suit]::before {
  content: attr(data-suit);
  display: inline-block;
  font-size: 0.95em;
  color: var(--bordeaux);
  -webkit-text-fill-color: var(--bordeaux);
  font-variant-emoji: text;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}

/* Showreel / Video Showcase */
.showreel-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Texte à gauche, Vidéo plus large à droite */
  gap: 40px;
  align-items: center;
}
.showreel-content {
  text-align: left;
}
.section-head.left-align {
  margin-bottom: 24px;
  text-align: left;
}
.showreel-desc {
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.7;
}
.showreel-cta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.video-showcase-wrapper {
  margin-top: 0; /* Reset margin car on est en grid maintenant */
  display: block;
  position: relative; /* Pour positionner les sparks par rapport au wrapper */
}
.video-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(198,161,91,.2);
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 1; /* Devant les sparks */
}
.video-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0,0,0,.8), 0 0 0 1px rgba(227,199,120,.4);
}
.video-showcase iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative; 
  z-index: 1;
}
.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: #000;
  transition: opacity .4s ease;
}
.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform .6s ease;
}
.video-cover:hover img {
  transform: scale(1.03);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: rgba(10,10,10,0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-strong);
  box-shadow: 0 0 20px rgba(198,161,91,0.3);
  transition: transform .2s ease, background-color .2s ease;
}
.play-btn svg {
  width: 32px; height: 32px;
  margin-left: 4px; /* visual center fix for play triangle */
  display: block;
}
.video-cover:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(198,161,91,0.85);
  color: #000;
}
/* Subtle gold glow behind video */
.video-showcase::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(closest-side, rgba(198,161,91,.12), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.video-sparks {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background-image: 
    /* Originales */
    radial-gradient(2px 2px at 10% 20%, rgba(227,199,120,0.9) 50%, transparent 100%),
    radial-gradient(2px 2px at 90% 80%, rgba(198,161,91,0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 60%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(227,199,120,0.9) 50%, transparent 100%),
    radial-gradient(2.5px 2.5px at 50% 50%, rgba(198,161,91,0.6) 50%, transparent 100%),
    radial-gradient(2px 2px at 80% 10%, rgba(255,255,255,0.8) 50%, transparent 100%),
    /* Nouvelles étincelles ajoutées pour plus de densité */
    radial-gradient(1.5px 1.5px at 5% 40%, rgba(227,199,120,0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 95% 30%, rgba(198,161,91,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.9) 50%, transparent 100%),
    radial-gradient(2px 2px at 85% 95%, rgba(227,199,120,0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 5%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(2px 2px at 55% 95%, rgba(198,161,91,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, rgba(227,199,120,0.9) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 10%, rgba(198,161,91,0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 40% 90%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 98% 50%, rgba(227,199,120,0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 2% 60%, rgba(198,161,91,0.8) 50%, transparent 100%);
  background-size: 100% 100%;
  opacity: 0.8;
  animation: sparkPulse 4s ease-in-out infinite alternate;
}

@keyframes sparkPulse {
  0% { opacity: 0.4; transform: scale(0.98); }
  100% { opacity: 0.8; transform: scale(1.02); }
}

/* Magic Rabbits "Peekaboo" */
.magic-rabbit {
  position: absolute;
  bottom: 20px;
  width: 130px;
  height: auto;
  z-index: 0; /* Derrière la vidéo */
  opacity: 0;
  filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

/* Lapin Blanc (Droite) */
.white-rabbit {
  right: 0;
  transform: translateX(-100%) rotate(0deg);
}
.video-showcase-wrapper:hover .white-rabbit {
  right: -75px;
  transform: translateX(0) rotate(15deg);
  opacity: 1;
}

/* Lapin Noir (Gauche) */
.black-rabbit {
  left: 0;
  width: 130px; /* Plus petit que le blanc (130px) */
  transform: translateX(100%) rotate(0deg) scaleX(-1); /* Retourné */
}
.video-showcase-wrapper:hover .black-rabbit {
  left: -75px; /* Sort un peu moins loin car plus petit */
  transform: translateX(0) rotate(-5deg) scaleX(-1); /* Rotation opposée + miroir maintenu */
  opacity: 1;
  transition-delay: 0.1s;
}

@media (max-width: 1024px) {
  /* On cache les lapins sur mobile/tablette */
  .magic-rabbit { display: none; }
}

@media (max-width: 900px) {
  .showreel-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showreel-content {
    text-align: center;
  }
  .section-head.left-align {
    text-align: center;
  }
  .showreel-cta {
    justify-content: center;
  }
}

.media .media-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; grid-template-areas: "aside phone"; }
.media .media-aside { grid-area: aside; }
.media .phone { grid-area: phone; }
.phone-wrap { position: relative; width: min(275px, 90%); margin-inline: auto; isolation: isolate; }
.phone-wrap::before { content: ""; position: absolute; inset: -150px; background: url('img/FlyingCards.png') center / contain no-repeat; z-index: 0; opacity: .9; filter: drop-shadow(0 18px 36px rgba(0,0,0,.45)); pointer-events: none; margin-right: 15px;}
.phone-bg { position: absolute; z-index: 0; pointer-events: none; width: 180%; height: 120%; left: -114px; top: -60px;}
.phone-bg .phone-particles { position: absolute; inset: 0; width: 100% !important; height: 100% !important; pointer-events: none; filter: blur(.2px); }
.phone { position: relative; width: 100%; aspect-ratio: 10/19.5; border-radius: 34px; padding: 12px; background: linear-gradient(180deg, #0f1013, #0a0b0e); border: 1px solid #15171c; box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 5px 16px rgba(0,0,0,.3); z-index: 1; }
.phone::after { content: ""; position: absolute; inset: 6px; border-radius: 26px; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 38%; height: 14px; background: #0b0c0f; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; border: 1px solid #15171c; border-top: none; z-index: 2; }
.phone-video { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; border-radius: 22px; }

.media-aside { align-self: stretch; display: grid; align-content: center; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px;}
.social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .2s ease, color .2s ease, background-color .2s ease; }
.social:hover { transform: translateY(-1px); border-color: var(--gold); color: var(--gold-strong); background: rgba(255,255,255,.03); }
.social svg { width: 16px; height: 16px; display: block; }
.media-desc { color: var(--muted); margin: 0; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;}
.chip { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid rgba(198,161,91,.45); border-radius: 999px; color: var(--gold-strong); font-size: 12px; background: rgba(198,161,91,.10); }

/* Card suit icons before section titles */
.section-title::before {
  display: inline-block;
  margin-right: 10px;
  font-size: .9em;
  line-height: 1;
  color: var(--bordeaux);
  -webkit-text-fill-color: var(--bordeaux);
  font-variant-emoji: text;
  font-family: Cinzel, "Times New Roman", "Noto Sans Symbols 2", "Noto Sans Symbols", serif;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
  content: "";
}
#presentation .section-title::before { content: "\2660"; } /* ♠ spade */
#prestations .section-title::before { content: "\2663"; }  /* ♣ club */
#showreel .section-title::before { content: "\2666"; }     /* ♦ diamond (reused) */
#contact .section-title::before { content: "\2665"; }      /* ♥ heart */
#media .section-title::before { content: "\2666"; }        /* ♦ diamond */
#avis .section-title::before { content: "\2605"; }         /* ★ star */

.reviews .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.review-card { position: relative; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.review-card::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 16px;
  background: radial-gradient(closest-side, rgba(227,199,120,.18) 0%, rgba(227,199,120,.08) 40%, rgba(198,161,91,0) 70%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
.review-card:hover,
.review-card:focus-within { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.30); }
.review-card:hover::after,
.review-card:focus-within::after { opacity: .35; transform: scale(1); filter: blur(16px); }
.review-card:hover .review-stars,
.review-card:focus-within .review-stars { color: var(--gold-strong); }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bordeaux); border: 1px solid var(--line); overflow: hidden; flex: 0 0 36px; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-avatar { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.review-name { font-weight: 600; }
.review-stars { color: var(--gold-strong); letter-spacing: 1px; }
.review-time { color: var(--muted); font-size: 12px; margin-top: auto; }
.review-text { color: var(--text); margin: 0; }
.review-card .review-text { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-clamped .review-text { -webkit-line-clamp: 5; line-clamp: 5; }
.review-readmore { color: var(--gold-strong); background: transparent; border: none; padding: 0; cursor: pointer; font-weight: 600; }
.review-readmore:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .reviews .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .reviews .reviews-grid { grid-template-columns: 1fr; }
}

.presentation .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.presentation .split-col p:first-child { margin-top: 6px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.highlights li { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
/* Floating images media */
.floating-media { position: relative; min-height: 330px; }
.float-grid { position: relative; width: 100%; height: 100%; }
.float-item { position: absolute; width: 38%; max-width: 260px; border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.55), 0 6px 18px rgba(0,0,0,.35); opacity: .96; object-fit: cover; }
.float-item.i1 { left: 10%; top: -5%; animation: floatY 6s ease-in-out infinite, floatRot 14s linear infinite; z-index: 3; }
.float-item.i2 { right: -2%; top: -9%; animation: floatY 7.5s ease-in-out infinite reverse, floatRot 18s linear infinite reverse; z-index: 2; }
.float-item.i3 { right: 5%; bottom: 10%; animation: floatY 8.5s ease-in-out infinite, floatRot 22s linear infinite; z-index: 1; }

@keyframes floatY { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }
@keyframes floatRot { 0% { filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)); } 50% { filter: drop-shadow(0 18px 38px rgba(0,0,0,.55)); } 100% { filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)); } }
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .presentation .split { grid-template-columns: 1fr; }
  .media .media-inner { grid-template-columns: 1fr; grid-template-areas: "aside" "phone"; }
  /* Hide floating images on tablet */
  .floating-media { display: none !important; min-height: 0; }
  .float-item { display: none !important; }
  /* Compact card CTA on tablet */
  .btn-sm { padding: 7px 10px; font-size: 12.5px; }
  .card-actions { margin-top: 2px; }
  .card-front-content { gap: 8px; }
  /* Prevent overflow: clamp text lines on tablet */
  .card-front .card-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .prestation-media { grid-template-columns: 1fr; }
  .prestation-image { position: relative; top: auto; }
}

@media (max-width: 760px) {
  .site-nav .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; right: 2%; top: 60px; flex-direction: column; background: rgba(10,10,10,.96); border: 1px solid var(--line); border-radius: 12px; padding: 10px; width: min(230px, 92%); display: none; z-index: 300; }
  .nav-list.open { display: flex; }
  .nav-list .has-submenu { width: 100%; }
  .nav-list > li { width: 100%; }
  .nav-list > li > a { width: 100%; padding: 10px 12px; border-radius: 8px; }
  .submenu { position: static; width: 100%; box-shadow: none; border: none; padding: 6px 0 0 0; margin: 0; background: transparent; display: block; }
  .submenu a { width: 100%; padding: 8px 12px 8px 28px; }
  .submenu .menu-suit { width: 16px; text-align: center; margin-left: 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-cta { justify-content: center; }
  .hero-media { margin-top: 50px; }
  .prestation-media { display: flex !important; flex-direction: column; gap: 16px; }
  .prestation-media .text { width: 100%; order: 2; }
  .prestation-image {
    display: block !important;
    position: static !important;
    top: auto !important;
    margin-top: 0;
    max-height: none;
    order: 1;
    align-self: stretch;
  }
  .prestation-image .carousel {
    position: center;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .carousel-dots {
    bottom: 10px;
    padding: 4px 8px;
  }
  .cards { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .phone { width: 100%; }
  /* Hide floating images on mobile */
  .floating-media { display: none !important; min-height: 0; }
  .float-item { display: none !important; }
  /* Compact card content for 2-column layout */
  .card-front { padding: 12px; }
  .card-front::after { inset: 6px; }
  .card-front .card-suit { font-size: 24px !important; }
  .card-front .card-kicker { font-size: 12px !important; }
  .card-front .card-title { font-size: 15px !important; }
  .card-front .card-text { font-size: 12px !important; }
  .card-actions { margin-top: 2px; }
  .btn-sm { padding: 6px 9px; font-size: 12px; }
  .card-link::after { font-size: 1.3em; }
  .card-front-content { gap: 6px; }
  /* Tighter clamp on mobile */
  .card-front .card-text { -webkit-line-clamp: 2; line-clamp: 2; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Playing cards */
.playing-cards { perspective: 1400px; }
.playing-card { background: transparent; border: none; padding: 0; cursor: pointer; border-radius: 14px; position: relative; isolation: isolate; }
.playing-card:focus-visible { outline: 2px solid rgba(227,199,120,.45); outline-offset: 4px; border-radius: 18px; }
.card-inner { display: block; position: relative; width: 100%; aspect-ratio: 3/4.5; transform-style: preserve-3d; transition: transform .25s ease; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--scale, 1)); }
.card-inner { z-index: 1; }
.playing-card:hover { --rx: 6deg; --ry: -6deg; --scale: 1.02; }
.playing-card[aria-pressed="true"] .card-inner { transform: rotateX(var(--rx, 0deg)) rotateY(calc(180deg + var(--ry, 0deg))) scale(var(--scale, 1)); }
.card-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.55), 0 3px 10px rgba(0,0,0,.35); transition: box-shadow .2s ease, border-color .2s ease; }
.playing-card:hover .card-face { box-shadow: 0 18px 44px rgba(0,0,0,.62), 0 6px 16px rgba(0,0,0,.4); }
.card-back { display: grid; place-items: center; background: #f9efef; border: 1px solid var(--line); }
.card-back img { width: 100%; height: 100%; }
.card-front { transform: rotateY(180deg); background: #ffffff; border: 1px solid #e5e7eb; display: grid; place-items: center; padding: 16px; position: absolute; inset: 0; }
.card-front::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(122,30,43,.45); /* bordeaux liseré */
  border-radius: 10px;
  pointer-events: none;
}
.card-front-content { display: grid; gap: 8px; text-align: center; width: 95%; color: #222; min-height: 0; }
.card-front .card-suit { font-size: 30px; color: var(--bordeaux); -webkit-text-fill-color: var(--bordeaux); font-variant-emoji: text; font-family: Cinzel, "Times New Roman", "Noto Sans Symbols 2", "Noto Sans Symbols", serif; }
.card-front .card-kicker { color: var(--bordeaux); font-size: 14px; letter-spacing: .3px; margin-top: -3px; }
.card-front .card-title { font-weight: 700; font-family: Cinzel, serif; color: #16181b; }
.card-front .card-text { color: #4a4f57; font-size: 14px; }
.card-actions { display: flex; justify-content: center; margin-top: 4px; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
/* Bordeaux button style for card CTA */
.card-link { background: var(--bordeaux); color: #fff; border-color: rgba(122,30,43,.6); gap: 0; }
.card-link:hover { background: #8f2634; color: #fff; border-color: rgba(122,30,43,.85); }
.card-link::after { content: "→"; font-weight: 700; font-size: 1.45em; line-height: 1; margin-left: 4px; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(1px); }
.section-cta { margin-top: 25px; display: flex; justify-content: center; }
.section-cta.left { justify-content: flex-start; gap: 15px; }

/* Formation page */
.formation-hero .section-sub { max-width: 860px; }
.formation-hero .section-title[data-suit]::before { font-size: .8em; }
.formation-hero { position: relative; overflow: hidden; isolation: isolate; }
.formation-hero::before {
  content: "";
  position: absolute;
  inset: -8% 0% 0% -4%;
  background: url('img/FlyingCards2.png') center / 85% auto no-repeat;
  opacity: .18;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.45));
  pointer-events: none;
  z-index: 0;
}
.formation-hero > * { position: relative; z-index: 1; }
.formation-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: center; }
.video-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0e0f11; }
.video-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(140% 100% at 90% 10%, rgba(198,161,91,.10), rgba(198,161,91,0) 60%); pointer-events: none; }
.formation-video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.formation-cta { display: grid; gap: 10px; align-content: start; }
.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpi { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow); }
.kpi-num { display: block; font-family: Cinzel, serif; font-weight: 700; font-size: 22px; color: var(--gold-strong); }
.kpi-label { display: block; color: var(--muted); font-size: 12px; }

@media (max-width: 1024px) {
  .formation-intro { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .formation-hero::before { background-size: 680px auto; opacity: .2; transform: rotate(-4deg); }
}
@media (max-width: 760px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .formation-hero::before { background-size: 520px auto; opacity: .24; transform: rotate(-2deg); }
}

/* Golden halo behind card on hover */
.playing-card::after {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 18px;
  background: radial-gradient(closest-side, rgba(227,199,120,.6) 0%, rgba(227,199,120,.35) 40%, rgba(198,161,91,.14) 68%, rgba(198,161,91,0) 88%);
  filter: blur(42px);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, transform, filter;
}
.playing-card:hover::after,
.playing-card:focus-visible::after {
  opacity: 1;
  transform: scale(1.04);
}

/* Contact */
.contact .contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 14px; }
.field input, .field textarea { width: 100%; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--line); background: #0e0f11; color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { border-color: rgba(198,161,91,.45); box-shadow: 0 0 0 3px rgba(198,161,91,.12); }
.form-actions { display: flex; gap: 10px; margin-top: 10px; }
.form-note { color: var(--muted); font-size: 12px; margin: 8px 0 0; }

/* Message field font override (contact form) */
#contact .contact-form textarea[name="message"] { font-family: Cinzel, serif; }
#contact .contact-form textarea[name="message"]::placeholder { font-family: Cinzel, serif; }

/* Allow vertical-only resize on contact textarea */
#contact .contact-form textarea { resize: vertical; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 20px 0; background: #0a0b0d; margin-top: auto; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.back-to-top { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--gold); }
.back-to-top:hover { color: var(--gold-strong); }
.footer-muted { font-size: 0.8rem; opacity: 0.6; }
.footer-muted + .footer-muted { margin-top: 5px; }


/* --- Prestation content styling --- */
.lead {
  font-size: 18.5px;
  color: #f0f2f6;
  line-height: 1.7;
  margin: 0 0 12px 0;
}
.prestation-media { display: grid; gap: clamp(14px, 2.2vw, 28px); align-items: flex-start; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.prestation-media.reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.prestation-media.reverse .text { order: 2; }
.prestation-media.reverse .prestation-image { order: 1; }
.prestation-image {
  position: sticky;
  top: clamp(0px, 6vh, 40px); /* align visuellement avec le titre */
  align-self: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0,0,0,.45), 0 6px 18px rgba(0,0,0,.32);
  max-height: calc(100vh - 140px);
}
.prestation-image::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 85% 10%, rgba(198,161,91,.14), rgba(198,161,91,0) 60%); pointer-events: none; }
.prestation-image img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }
.prestation-image .badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.6);
  color: var(--gold-strong);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}
.prestation-media .text { min-width: 0; }
.callout {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-left: 3px solid var(--bordeaux);
  border-radius: 12px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  margin: 12px 0 16px 0;
  position: relative;
  overflow: hidden;
}
.feature-list {
  list-style: none;
  margin: 12px 0 14px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  opacity: 0;
  animation: popIn .5s ease both;
}
.feature-list li::before {
  content: "✔";
  color: var(--gold-strong);
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
  transition: transform .2s ease, filter .2s ease;
}
.feature-list li:hover::before { transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(227,199,120,.3)); }

/* Learn cards (formation) */
.learn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 12px 0 2px 0; counter-reset: learn; }
.learn-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; box-shadow: 0 14px 36px rgba(0,0,0,.38), 0 4px 12px rgba(0,0,0,.26), inset 0 0 0 1.5px rgba(122,30,43,.45); overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.learn-card::before { content: ""; position: absolute; top: 6px; left: -56px; width: 180px; height: 20px; background: var(--bordeaux); transform: rotate(-42deg); border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.28); pointer-events: none; z-index: 1; }
.learn-card::after { content: ""; position: absolute; inset: -10%; border-radius: 18px; background: radial-gradient(closest-side, rgba(227,199,120,.22) 0%, rgba(227,199,120,.10) 40%, rgba(198,161,91,0) 70%); filter: blur(22px); opacity: 0; transform: scale(.96); transition: opacity .28s ease, transform .28s ease, filter .28s ease; pointer-events: none; mix-blend-mode: screen; z-index: 0; }
.learn-card:hover, .learn-card:focus-within { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 16px 32px rgba(0,0,0,.48), 0 6px 16px rgba(0,0,0,.34); }
.learn-card:hover::after, .learn-card:focus-within::after { opacity: .38; transform: scale(1); filter: blur(18px); }
.learn-card::marker { display: none; }
.learn-card-title { margin: 0; font-weight: 700; font-size: 15px; text-align: center; background: linear-gradient(180deg, var(--gold-strong), #f1dfa2); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; padding-top: 24px; z-index: 2; }
.learn-card-title::before { content: attr(data-ico); position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 18px; color: var(--bordeaux); -webkit-text-fill-color: var(--bordeaux); filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.learn-card::after, .learn-card::before { will-change: transform, opacity, filter; }
.learn-card::selection { background: rgba(227,199,120,.2); }
/* Numbering badge per card (1..3), gold, top-right */
.learn-card-title::after {
  counter-increment: learn;
  content: counter(learn);
  position: absolute;
  top: -6px;
  right: 8px;
  font-weight: 700;
  color: var(--gold-strong);
  -webkit-text-fill-color: var(--gold-strong);
  background: rgba(227,199,120,.10);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  text-shadow: 0 0 6px rgba(227,199,120,.3);
}

@media (max-width: 760px) {
  .learn-cards { grid-template-columns: 1fr; }
}

/* Learn features (bulleted highlights) */
.learn-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.learn-feature { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.learn-feature::after { content: ""; position: absolute; inset: -8%; background: radial-gradient(closest-side, rgba(227,199,120,.18) 0%, rgba(227,199,120,.08) 40%, rgba(198,161,91,0) 70%); filter: blur(18px); opacity: 0; transform: scale(.98); transition: opacity .25s ease, transform .25s ease, filter .25s ease; pointer-events: none; mix-blend-mode: screen; }
.learn-feature:hover::after { opacity: .3; transform: scale(1); filter: blur(16px); }
.learn-feature-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--gold); background: transparent; font-variant-emoji: text; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 6px rgba(227,199,120,.18); }
.learn-feature-title { margin: 0; font-weight: 700; background: linear-gradient(180deg, var(--gold-strong), #f1dfa2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.learn-feature-desc { margin: 2px 0 0 0; color: var(--muted); }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.benefit-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.38), 0 4px 12px rgba(0,0,0,.26);
  display: grid; justify-items: center; align-content: start; gap: 6px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  opacity: 0; animation: popIn .55s cubic-bezier(.2,.65,.2,1) both;
}
.benefit-card::before {
  content: ""; position: absolute; top: 10px; left: 10px; right: 10px; height: 2px;
  background: linear-gradient(90deg, rgba(227,199,120,0), rgba(227,199,120,.45), rgba(227,199,120,0));
  opacity: .6; border-radius: 999px;
}
.benefit-card::after {
  content: ""; position: absolute; inset: -10%; border-radius: 16px;
  background: radial-gradient(closest-side, rgba(227,199,120,.18) 0%, rgba(227,199,120,.08) 40%, rgba(198,161,91,0) 70%);
  filter: blur(18px); opacity: 0; transform: scale(.98);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease; pointer-events: none; mix-blend-mode: screen;
}
.benefit-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 16px 32px rgba(0,0,0,.48), 0 6px 16px rgba(0,0,0,.34); }
.benefit-card:hover::after { opacity: .32; transform: scale(1); filter: blur(16px); }
.benefit-ico {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid rgba(122,30,43,.5); background: rgba(122,30,43,.12);
  font-size: 18px; line-height: 1; color: var(--bordeaux); -webkit-text-fill-color: var(--bordeaux);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 4px 10px rgba(0,0,0,.25);
}
.benefit-title {
  margin: 0; font-weight: 700; text-align: center;
  background: linear-gradient(180deg, var(--gold-strong), #f1dfa2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.benefit-desc { margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; display: none; }
.benefit-card[aria-expanded="true"] { padding: 18px 14px 20px 14px; }
.benefit-card[aria-expanded="true"] .benefit-desc { display: block; }
.benefit-card[aria-expanded="true"] .benefit-ico { transform: scale(1.05); }
/* Staggered reveal */
.benefit-card:nth-child(1) { animation-delay: .05s; }
.benefit-card:nth-child(2) { animation-delay: .10s; }
.benefit-card:nth-child(3) { animation-delay: .15s; }
.benefit-card:nth-child(4) { animation-delay: .20s; }
.benefit-card:nth-child(5) { animation-delay: .25s; }
.benefit-card:nth-child(6) { animation-delay: .30s; }
.benefit-card:nth-child(7) { animation-delay: .35s; }
.benefit-card:nth-child(8) { animation-delay: .40s; }
.benefit-card:nth-child(9) { animation-delay: .45s; }
.benefit-card:nth-child(10) { animation-delay: .50s; }
.benefit-card:nth-child(11) { animation-delay: .55s; }
.benefit-card:nth-child(12) { animation-delay: .60s; }
@media (max-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 760px) {
  .lead { font-size: 16px; }
  .callout { padding: 12px; }
}

/* Reveal animations and micro-interactions */
@keyframes revealUp {
  0% { opacity: 0; transform: translateY(12px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(6px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal { opacity: 0; animation: revealUp .6s cubic-bezier(.2,.65,.2,1) both; }
.delay-1 { animation-delay: .08s !important; }
.delay-2 { animation-delay: .16s !important; }
.delay-3 { animation-delay: .24s !important; }
.delay-4 { animation-delay: .32s !important; }

/* Stagger feature list items */
.feature-list li:nth-child(1) { animation-delay: .05s; }
.feature-list li:nth-child(2) { animation-delay: .10s; }
.feature-list li:nth-child(3) { animation-delay: .15s; }
.feature-list li:nth-child(4) { animation-delay: .20s; }
.feature-list li:nth-child(5) { animation-delay: .25s; }
.feature-list li:nth-child(6) { animation-delay: .30s; }

/* Callout shimmer on hover */
@keyframes shimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  50% { opacity: .22; }
  100% { transform: translateX(120%); opacity: 0; }
}
.callout::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; width: 28%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 100%);
  transform: translateX(-120%);
  pointer-events: none;
}
.callout:hover::after { animation: shimmer 1.4s ease; }

/* Suit icon hover */
.section-title[data-suit] { display: inline-flex; align-items: center; gap: 0px; }
.section-title[data-suit]::before {
  content: attr(data-suit);
  display: inline-block;
  font-size: 0.95em;
  color: var(--bordeaux);
  -webkit-text-fill-color: var(--bordeaux);
  font-variant-emoji: text;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
  transition: transform .25s ease, color .25s ease;
}
.section-title[data-suit]:hover::before { transform: translateY(-1px) rotate(-6deg) scale(1.08); color: var(--gold-strong); }

/* --- Carousel Styling --- */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* keep blur behind the main image */
  background: #050505; /* fallback while the image loads */
  cursor: zoom-in;
}
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: -16%;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.7;
  z-index: 0;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45));
  z-index: 1;
  pointer-events: none;
}
.carousel-slide img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Affiche l'image entière sans couper */
  background: transparent; /* support blur background instead of noir */
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
  font-size: 18px;
}
.carousel-btn:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.dot {
  position: relative;
  width: 80px;
  height: 50px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  opacity: 0.75;
}
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.35));
  transition: opacity 0.2s ease;
}
.dot:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  opacity: 1;
}
.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.65);
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
}
.carousel-progress .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d18bff, #9f5bff);
  box-shadow: 0 0 10px rgba(169,112,255,0.45);
  transform-origin: left center;
}
.dot.active {
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 1px rgba(227,199,120,0.45), 0 6px 18px rgba(0,0,0,0.35);
  opacity: 1;
}

/* Lightbox (zoom) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9999;
}
.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  background: #000;
}
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.lightbox .nav-btn:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(0,0,0,0.75);
  border-color: rgba(255,255,255,0.4);
}
.lightbox .nav-btn.prev { left: 24px; }
.lightbox .nav-btn.next { right: 24px; }
.lightbox-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox-dots .dot {
  width: 64px;
  height: 40px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.24);
  opacity: 0.8;
  cursor: pointer;
}
.lightbox-dots .dot.active {
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 1px rgba(227,199,120,0.6), 0 4px 12px rgba(0,0,0,0.4);
  opacity: 1;
}
