/* ============================================================
   ATTELAGE PASSION — thème bleu paon & or
   Surcharge les tokens du design system « Les Écuries du Vieux
   Château » (_ds/evc) pour le site dédié aux mariages.
   Ne contient que ce qui ne peut pas être en style inline :
   variables, @keyframes, états (:hover/::placeholder) et
   comportements responsive.
   ============================================================ */
:root {
  /* ---- Échelle rose (poudré → prune) ---- */
  --rose-900: #0E2A2E;
  --rose-800: #123C42;
  --rose-700: #17555E;
  --rose-600: #1E6B76;
  --rose-500: #26828F;   /* BLEU PAON de marque */
  --rose-400: #5FA6B0;
  --rose-300: #A3CCD2;
  --rose-200: #D2E6E9;
  --rose-100: #ECF4F5;

  /* ---- Neutres ivoire / albâtre ---- */
  --ivory-100: #FDFDFB;
  --ivory-200: #F7F8F5;
  --ivory-300: #EEF1EE;
  --ink-900: #15201F;
  --ink-700: #374545;
  --ink-500: #5F6E6E;
  --ink-400: #8B9797;
  --line-300: #D8E0E0;
  --line-200: #E6ECEC;

  /* ---- Alias sémantiques (surcharge du DS) ---- */
  --brand:           var(--rose-500);
  --brand-strong:    var(--rose-700);
  --brand-deep:      var(--rose-800);
  --accent:          var(--gold-500);
  --accent-strong:   var(--gold-600);
  --accent-ink:      var(--gold-700);

  --bg-page:         var(--ivory-200);
  --bg-alt:          var(--ivory-300);
  --bg-tint:         var(--rose-100);
  --bg-champagne:    var(--gold-100);
  --surface-card:    var(--ivory-100);
  --surface-dark:    var(--rose-800);
  --surface-darkest: var(--rose-900);

  --text-strong:     var(--ink-900);
  --text-body:       var(--ink-700);
  --text-muted:      var(--ink-500);
  --text-faint:      var(--ink-400);
  --text-on-dark:    #EEF6F6;

  --border:          var(--line-300);
  --border-faint:    var(--line-200);
  --focus-ring:      var(--rose-400);

  --shadow-md: 0 10px 28px -10px rgba(14, 42, 46, 0.20);
  --shadow-lg: 0 24px 60px -22px rgba(14, 42, 46, 0.34);
  --shadow-rose: 0 14px 34px -14px rgba(190, 95, 123, 0.45);
}

html { scroll-behavior: smooth; }
body { background: var(--bg-page); overflow-x: hidden; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--rose-600); }
::selection { background: var(--rose-200); color: var(--rose-900); }
input::placeholder, textarea::placeholder { color: var(--text-faint); }

/* ---- Entrée en scène (translation seule : jamais de contenu invisible) ---- */
@keyframes settle { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: settle .7s var(--ease-out) both; }
  .reveal.d1 { animation-delay: .04s; }
  .reveal.d2 { animation-delay: .12s; }
  .reveal.d3 { animation-delay: .22s; }
  .reveal.d4 { animation-delay: .32s; }
}

/* ---- Liens de navigation ---- */
.navlink { position: relative; }
.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
}
.navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); }
.navlink[aria-current="page"] { color: var(--brand-strong); }
.drawerlink:hover { background: var(--rose-100); color: var(--brand-strong); }
.foot-link { color: rgba(248,239,241,.62); display: inline-flex; align-items: center; gap: 9px; line-height: 1.5; }
.foot-link:hover { color: #fff; }
.social-chip:hover { border-color: var(--gold-400) !important; color: #fff !important; transform: translateY(-2px); }

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans);
  font-weight: 600; letter-spacing: var(--ls-button); line-height: 1; border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none; padding: 13px 26px; font-size: 15.5px;
  transition: transform var(--dur) var(--ease-out), background var(--dur), box-shadow var(--dur), color var(--dur); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-gold { background: var(--gold-500); color: var(--rose-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-400); color: var(--rose-900); }
.btn-rose { background: var(--brand); color: #fff; box-shadow: var(--shadow-rose); }
.btn-rose:hover { background: var(--rose-600); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-strong); border: 1.5px solid var(--rose-400); }
.btn-outline:hover { background: var(--rose-100); color: var(--brand-strong); }
.btn-ondark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ondark:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Barre compacte au scroll ---- */
.compactbar { position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: linear-gradient(180deg, rgba(23,85,94,.97) 0%, rgba(14,42,46,.97) 100%);
  backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(246,197,61,.42);
  box-shadow: 0 10px 28px -18px rgba(8,30,34,.7);
  transform: translateY(-100%); opacity: 0; transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.compactbar.show { transform: translateY(0); opacity: 1; }
.compactbar .cb-title { font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem,3.4vw,1.6rem); line-height: 1; color: #fff; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.compactbar .cb-sub { font-family: var(--font-sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); white-space: nowrap; }
.cb-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans);
  font-size: 13.5px; font-weight: 700; letter-spacing: .03em; color: #fff; white-space: nowrap;
  padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(246,197,61,.42);
  transition: background var(--dur), border-color var(--dur); }
.cb-tel:hover { background: rgba(246,197,61,.16); border-color: var(--gold-400); color: #fff; }
.cb-menu { display: inline-flex; align-items: center; gap: 9px; background: transparent; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-pill); padding: 8px 15px;
  color: #fff; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; transition: background var(--dur), border-color var(--dur); }
.cb-menu:hover { background: rgba(255,255,255,.1); border-color: var(--gold-400); }
@media (max-width: 860px) { .cb-tel span { display: none; } .cb-tel { padding: 8px 11px; } }
@media (max-width: 760px) {
  .cb-tel, .compactbar .btn-gold { display: none !important; }
  .cb-menu { border: none; padding: 8px; }
  .cb-menu span { display: none; }
  .compactbar .cb-sub { display: none; }
}

/* ---- Barre de progression de lecture (sous la barre compacte) ---- */
.scrollprog { height: 3px; width: 100%; background: rgba(8,30,34,.45); overflow: hidden; }
.scrollprog-fill { display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 50%, #fff 100%);
  box-shadow: 0 0 10px rgba(246,197,61,.7); transition: width .12s linear; }
@media (prefers-reduced-motion: reduce) { .scrollprog-fill { transition: none; } }

/* ---- Tiroir mobile ---- */
.drawer-root { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer-root.open { pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(14,42,46,.45); opacity: 0; transition: opacity var(--dur); }
.drawer-root.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--surface-card);
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  padding: 26px 24px; overflow-y: auto; }
.drawer-root.open .drawer-panel { transform: translateX(0); }

/* ---- Pastilles de formulaire (radios stylées) ---- */
.pill-wrap { position: relative; display: inline-flex; cursor: pointer; }
.pill-wrap input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 14px;
  font-weight: 500; padding: 10px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  background: transparent; color: var(--text-body); transition: all var(--dur); white-space: nowrap; }
.pill-wrap:hover .pill { border-color: var(--rose-300); }
.pill-wrap input:checked + .pill { border-color: var(--rose-400); background: var(--rose-100); color: var(--rose-700); box-shadow: var(--shadow-sm); }
.pill-wrap input:focus-visible + .pill { outline: 2px solid var(--rose-400); outline-offset: 2px; }

/* ---- Champs de formulaire ---- */
.field { font-family: var(--font-sans); font-size: 15.5px; color: var(--text-strong); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; outline: none;
  width: 100%; box-sizing: border-box; transition: border-color var(--dur), box-shadow var(--dur); }
.field:focus { border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(38,130,143,.16); }
.field-label { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--text-strong); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }

/* ---- Assistant conversationnel (chatbot mariage) ---- */
@keyframes chatPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chatPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(246,197,61,.5); } 50% { box-shadow: 0 0 0 12px rgba(246,197,61,0); } }
.chat-launcher { position: fixed; right: clamp(16px,3vw,28px); bottom: clamp(16px,3vw,28px); z-index: 300;
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold-400); cursor: pointer; padding: 0;
  background: linear-gradient(150deg, var(--rose-600), var(--rose-900)); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; transition: transform var(--dur) var(--ease-out);
  animation: chatPulse 2.8s ease-in-out infinite; }
.chat-launcher:hover { transform: translateY(-3px); }
/* Le lanceur s'efface derrière les surfaces modales (tiroir mobile, visionneuse, fiche voiture) */
body:has(.drawer-root.open) .chat-launcher,
body:has(.drawer-root.open) .chat-teaser,
body:has(.lb-scrim) .chat-launcher,
body:has(.lb-scrim) .chat-teaser,
body:has(.fiche-scrim.open) .chat-launcher,
body:has(.fiche-scrim.open) .chat-teaser { opacity: 0; visibility: hidden; pointer-events: none; }
.chat-teaser { position: fixed; right: calc(clamp(16px,3vw,28px) + 78px); bottom: clamp(28px,3.6vw,40px); z-index: 300;
  max-width: 250px; text-align: left; background: var(--surface-card); border: 1px solid var(--border-faint);
  border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-lg); padding: 11px 14px;
  display: flex; flex-direction: column; gap: 3px; animation: chatPop .32s var(--ease-out) both; }
.chat-panel { position: fixed; right: clamp(16px,3vw,28px); bottom: clamp(16px,3vw,28px); z-index: 301;
  width: min(382px, calc(100vw - 32px)); height: min(576px, calc(100vh - 32px)); display: flex; flex-direction: column;
  background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-faint); overflow: hidden; animation: chatPop .32s var(--ease-out) both; }
@media (max-width: 480px) { .chat-panel { right: 8px; left: 8px; width: auto; bottom: 8px; } }
@media (max-width: 1024px) { .chat-teaser { display: none; } .chat-launcher { width: 52px; height: 52px; } .chat-launcher img { width: 29px; height: 29px; } }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 16px 6px; background: var(--bg-page); }
.chat-body::-webkit-scrollbar { width: 7px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.chat-row { display: flex; margin-bottom: 10px; }
.chat-row.bot { justify-content: flex-start; }
.chat-row.user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; font-family: var(--font-sans); font-size: 14px; line-height: 1.5; padding: 10px 13px; box-shadow: var(--shadow-sm); }
.chat-bubble.bot { border-radius: 4px 14px 14px 14px; background: var(--surface-card); color: var(--text-body); border: 1px solid var(--border-faint); }
.chat-bubble.user { border-radius: 14px 4px 14px 14px; background: var(--rose-700); color: #fff; }
.chat-chip { display: flex; align-items: center; gap: 11px; width: 100%; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text-strong); padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-card);
  transition: all var(--dur) var(--ease-out); }
.chat-chip:hover { background: var(--rose-100); border-color: var(--rose-300); transform: translateX(2px); }
.chat-q { display: block; width: 100%; cursor: pointer; text-align: left; font-family: var(--font-sans); font-size: 13.5px;
  color: var(--text-body); padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-faint);
  background: var(--surface-card); transition: background var(--dur); }
.chat-q:hover { background: var(--rose-100); }
.chat-act { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 12.5px;
  font-weight: 600; padding: 8px 13px; border-radius: var(--radius-pill); cursor: pointer;
  transition: transform var(--dur); border: 1px solid var(--border); background: transparent; color: var(--brand-strong); }
.chat-act:hover { transform: translateY(-2px); color: var(--brand-strong); }
.chat-act.gold { background: var(--accent); color: var(--rose-900); border-color: transparent; }
.chat-act.gold:hover { background: var(--gold-400); color: var(--rose-900); }

/* ---- Cartes qui se soulèvent + pastilles d'icône (animations communes à toutes les pages) ---- */
@media (prefers-reduced-motion: no-preference) {
  .lift, .care-card, .tip-card, .mount-row, .logo-tile {
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
  .lift:hover, .care-card:hover, .tip-card:hover, .mount-row:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
  .ic-badge { transition: transform var(--dur) var(--ease-out), background var(--dur), color var(--dur); }
  .lift:hover .ic-badge, .care-card:hover .ic-badge, .mount-row:hover .ic-badge, .tip-card:hover .ic-badge {
    transform: scale(1.1) rotate(-6deg); background: var(--gold-100); color: var(--gold-700); }
  .logo-tile:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-lg); }
  .logo-tile img { transition: transform var(--dur) var(--ease-out); }
  .logo-tile:hover img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .lift, .care-card, .tip-card, .mount-row, .logo-tile, .ic-badge { transition: none; }
}

/* ---- Sélecteur « Nos 3 univers » ---- */
.nb3-mini { display: none; }
@media (max-width: 680px) { .nb3-pills { display: none !important; } .nb3-mini { display: inline-flex !important; } }

/* ---- Frise des labels qualité (page d'accueil) : médaillons flottants ---- */
@keyframes labFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes labSheen { 0% { transform: translateX(-130%) rotate(18deg); } 55%, 100% { transform: translateX(130%) rotate(18deg); } }
@keyframes labGlow { 0%, 100% { opacity: .18; } 50% { opacity: .42; } }
.lab-card { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; padding: 30px 20px 26px; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-card) 0%, var(--bg-champagne) 100%);
  border: 1px solid var(--gold-300); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.lab-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lab-medal { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 148px; height: 148px; border-radius: 50%; background: #fff; overflow: hidden;
  box-shadow: 0 8px 22px -12px rgba(14,42,46,.35), inset 0 0 0 1px var(--gold-200); }
.lab-medal::after { content: ""; position: absolute; top: -40%; left: 0; width: 42%; height: 180%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.78) 50%, rgba(255,255,255,0) 100%);
  animation: labSheen 5.4s var(--ease-in-out) infinite; }
.lab-medal img { width: 120px; height: 120px; object-fit: contain; display: block; position: relative; z-index: 1; }
.lab-halo { position: absolute; inset: -22px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(246,197,61,.85) 0%, rgba(246,197,61,0) 68%);
  animation: labGlow 5.2s var(--ease-in-out) infinite; }
.lab-wrap { position: relative; display: inline-flex; animation: labFloat 6.2s var(--ease-in-out) infinite; }
.lab-card:nth-child(2) .lab-wrap { animation-delay: .8s; }
.lab-card:nth-child(3) .lab-wrap { animation-delay: 1.6s; }
.lab-card:nth-child(4) .lab-wrap { animation-delay: 2.4s; }
.lab-card:nth-child(2) .lab-medal::after { animation-delay: .7s; }
.lab-card:nth-child(3) .lab-medal::after { animation-delay: 1.4s; }
.lab-card:nth-child(4) .lab-medal::after { animation-delay: 2.1s; }
.lab-card:nth-child(2) .lab-halo { animation-delay: .6s; }
.lab-card:nth-child(3) .lab-halo { animation-delay: 1.2s; }
.lab-card:nth-child(4) .lab-halo { animation-delay: 1.8s; }
.lab-eyebrow { font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-ink); }
.lab-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2;
  color: var(--text-strong); }
.lab-note { font-family: var(--font-sans); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
  .lab-wrap, .lab-medal::after, .lab-halo { animation: none; }
}
@media (max-width: 700px) { .lab-medal { width: 124px; height: 124px; } .lab-medal img { width: 100px; height: 100px; } }

/* ---- Mur de logos défilant (page Nos références) ---- */
.logo-marquee { display: flex; flex-direction: column; gap: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.logo-track { display: flex; width: max-content; animation: logoScroll 38s linear infinite; }
.logo-track.logo-rev { animation-direction: reverse; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; }
.logo-plate { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 84px;
  min-width: 150px; margin: 0 10px; padding: 0 30px; border-radius: var(--radius-md); background: #fff;
  border: 1px solid var(--border-faint); box-shadow: var(--shadow-md); }
.logo-plate .logo-img { width: 150px; height: auto; object-fit: contain; display: block; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
@media (max-width: 700px) { .logo-plate { height: 68px; min-width: 120px; padding: 0 20px; } .logo-plate .logo-img { width: 118px; } }

/* ---- Cartes de l'annuaire clients ---- */
.dir-card { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); }
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--rose-300); }
.dir-card:hover .dir-icon { transform: scale(1.08) rotate(-4deg); background: var(--rose-200); }
.dir-icon { transition: transform var(--dur) var(--ease-out), background var(--dur); }

/* ---- Responsive du masthead ---- */
.mast-nav, .mast-utility-right { display: flex; }
.util-phone-mobile, .burger { display: none; }
/* Frise des 4 labels FFE, à droite du logo — pleine page uniquement */
.mast-labels { display: inline-flex; align-items: flex-end; gap: clamp(8px, 1vw, 14px); flex: none;
  padding: 8px 14px 6px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.4));
  border: 1px solid var(--border-faint); box-shadow: var(--shadow-sm); }
.mast-labels img { height: clamp(58px, 6vw, 84px); width: auto; display: block;
  filter: drop-shadow(0 4px 10px rgba(14,42,46,.14)); transition: transform var(--dur) var(--ease-out); }
.mast-labels img:hover { transform: translateY(-3px); }
@media (max-width: 1180px) { .mast-labels { display: none !important; } }
@media (max-width: 1180px) {
  .mast-nav, .mast-utility-right { display: none !important; }
  .util-eyebrow { display: none; }
  .util-phone-mobile { display: inline-flex !important; }
  .burger { display: inline-flex !important; }
}

/* ---- Héro : fondu enchaîné + panoramique doux ---- */
.hero-slide { position: absolute; top: 0; left: 0; right: 0; bottom: 42px; opacity: 0;
  transition: opacity .8s var(--ease-in-out); will-change: opacity; }
.hero-slide:first-child { opacity: 1; }
.hero-slide.active { opacity: 1; }
.hero-slide.dim { opacity: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: var(--ox, 52%) var(--oy, 50%); }
@keyframes heroPan {
  from { object-position: calc(var(--ox, 52%) - 4%) var(--oy, 50%); }
  to { object-position: calc(var(--ox, 52%) + 4%) var(--oy, 50%); }
}
.hero-slide.active img { animation: heroPan 4.2s linear both; }
@media (max-width: 760px) {
  .hero-slide img, .hero-slide.active img { animation: heroPanM 14s linear infinite alternate; }
  .hero-slide:nth-child(even) img { animation-name: heroPanMRev; }
}
@keyframes heroPanM { from { object-position: 18% var(--oy, 50%); } to { object-position: 82% var(--oy, 50%); } }
@keyframes heroPanMRev { from { object-position: 82% var(--oy, 50%); } to { object-position: 18% var(--oy, 50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide img, .hero-slide.active img { animation: none; }
}
/* ---- Héro : voile et bloc de texte alternés (impaires en haut à gauche, paires en bas à droite) ---- */
.hero-scrim { position: absolute; top: 0; left: 0; right: 0; bottom: 42px; pointer-events: none; z-index: 5;
  transition: background .95s var(--ease-in-out); }
.hero-scrim.tl { background: linear-gradient(148deg, rgba(8,30,34,.84) 0%, rgba(8,30,34,.52) 26%, rgba(8,30,34,.08) 55%, rgba(8,30,34,0) 74%),
  linear-gradient(180deg, rgba(8,30,34,0) 62%, rgba(8,30,34,.34) 100%); }
.hero-scrim.br { background: linear-gradient(328deg, rgba(8,30,34,.84) 0%, rgba(8,30,34,.52) 26%, rgba(8,30,34,.08) 55%, rgba(8,30,34,0) 74%),
  linear-gradient(180deg, rgba(8,30,34,.26) 0%, rgba(8,30,34,0) 34%); }
.hero-scrim.tr { background: linear-gradient(212deg, rgba(8,30,34,.84) 0%, rgba(8,30,34,.52) 26%, rgba(8,30,34,.08) 55%, rgba(8,30,34,0) 74%),
  linear-gradient(180deg, rgba(8,30,34,0) 62%, rgba(8,30,34,.34) 100%); }
.hero-scrim.bl { background: linear-gradient(32deg, rgba(8,30,34,.84) 0%, rgba(8,30,34,.52) 26%, rgba(8,30,34,.08) 55%, rgba(8,30,34,0) 74%),
  linear-gradient(180deg, rgba(8,30,34,.26) 0%, rgba(8,30,34,0) 34%); }
.hero-copy { position: absolute; z-index: 8; display: flex; flex-direction: column;
  gap: clamp(14px,2.2vh,22px); max-width: min(620px, 64%); will-change: opacity, transform; }
.hero-copy.tl { top: 0; left: 0; align-items: flex-start; text-align: left;
  padding: clamp(26px,5vh,54px) clamp(28px,5vw,72px) 0;
  animation: copyFadeL .72s var(--ease-out) both; }
.hero-copy.br { bottom: 42px; right: 0; align-items: flex-end; text-align: right;
  padding: 0 clamp(28px,5vw,72px) clamp(56px,6.4vh,74px) clamp(20px,4vw,40px);
  animation: copyFadeR .72s var(--ease-out) both; }
.hero-copy.tr { top: 0; right: 0; align-items: flex-end; text-align: right;
  padding: clamp(26px,5vh,54px) clamp(28px,5vw,72px) 0 clamp(20px,4vw,40px);
  animation: copyFadeR .72s var(--ease-out) both; }
.hero-copy.bl { bottom: 42px; left: 0; align-items: flex-start; text-align: left;
  padding: 0 clamp(20px,4vw,40px) clamp(56px,6.4vh,74px) clamp(28px,5vw,72px);
  animation: copyFadeL .72s var(--ease-out) both; }
@keyframes copyFadeL {
  from { opacity: 0; transform: translate3d(-22px, 0, 0); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes copyFadeR {
  from { opacity: 0; transform: translate3d(22px, 0, 0); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes copyOutL {
  from { opacity: 1; transform: none; filter: blur(0); }
  to { opacity: 0; transform: translate3d(-14px, 0, 0); filter: blur(3px); }
}
@keyframes copyOutR {
  from { opacity: 1; transform: none; filter: blur(0); }
  to { opacity: 0; transform: translate3d(14px, 0, 0); filter: blur(3px); }
}
.hero-copy.tl.out, .hero-copy.bl.out { animation: copyOutL .46s cubic-bezier(.4,0,.7,1) both; }
.hero-copy.br.out, .hero-copy.tr.out { animation: copyOutR .46s cubic-bezier(.4,0,.7,1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy.tl, .hero-copy.br, .hero-copy.tr, .hero-copy.bl { animation: none; }
}
.hero-copy.br .hero-eyebrow, .hero-copy.tr .hero-eyebrow { flex-direction: row-reverse; }
.hero-copy.br .hero-cta, .hero-copy.tr .hero-cta { justify-content: flex-end; }

.hero-ctrl { position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(56px,6.4vh,74px); z-index: 9;
  display: flex; align-items: center; gap: clamp(10px,1.4vw,18px);
  padding: 7px 10px; border-radius: var(--radius-pill);
  background: rgba(8,30,34,.34); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex: none;
  background: rgba(253,253,251,.14); border: 1px solid rgba(255,255,255,.45); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background var(--dur); }
.hero-arrow:hover { background: rgba(253,253,251,.34); }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; cursor: pointer; padding: 0; border: none;
  background: rgba(255,255,255,.45); transition: background var(--dur), width var(--dur); }
.hero-dot.active { background: var(--gold-400); width: 26px; border-radius: 999px; }
@media (max-width: 700px) { .hero-arrow { width: 36px; height: 36px; } }
@media (max-width: 760px) {
  .hero-copy, .hero-copy.tl, .hero-copy.br, .hero-copy.tr, .hero-copy.bl { top: auto; bottom: 42px; left: 0; right: 0; max-width: 100%;
    align-items: center; text-align: center; padding: 0 clamp(20px,5vw,32px) clamp(96px,14vh,130px); }
  .hero-copy.br .hero-eyebrow, .hero-copy.tr .hero-eyebrow { flex-direction: row; }
  .hero-copy .hero-cta { justify-content: center; }
  .hero-scrim.tl, .hero-scrim.br, .hero-scrim.tr, .hero-scrim.bl { background: linear-gradient(180deg, rgba(8,30,34,.34) 0%, rgba(8,30,34,.05) 34%, rgba(8,30,34,.62) 78%, rgba(8,30,34,.8) 100%); }
  .hero-ctrl { left: 50%; right: auto !important; }
}

/* ---- Bandeau défilant ---- */
.marquee-track { display: flex; white-space: nowrap; will-change: transform; animation: marquee 44s linear infinite; }
.marquee-item { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-on-dark); }
.marquee-sep { flex: none; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-400); margin: 0 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Ruban de galerie + liseuse ---- */
.gal-ribbon { position: relative; overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.gal-track { display: flex; gap: 22px; width: max-content; align-items: center;
  animation: galScroll 78s linear infinite; will-change: transform; }
.gal-ribbon:hover .gal-track { animation-play-state: paused; }
@keyframes galScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gal-track { animation: none; } }
.gal-item { flex: none; width: clamp(250px, 26vw, 360px); border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: zoom-in; box-shadow: var(--shadow-md); border: 1px solid rgba(246,197,61,.4);
  background: var(--rose-100); margin: 0; transition: box-shadow var(--dur); }
.gal-item:nth-child(odd) { height: 300px; transform: translateY(-18px); }
.gal-item:nth-child(even) { height: 356px; transform: translateY(18px); }
.gal-item:nth-child(3n) { height: 330px; transform: translateY(0); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.gal-item:hover { box-shadow: var(--shadow-lg); }
.gal-item:hover img { transform: scale(1.07); }
.gal-loupe { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  background: linear-gradient(180deg, rgba(14,42,46,0) 55%, rgba(14,42,46,.42) 100%); }
.gal-item:hover .gal-loupe { opacity: 1; }
.gal-loupe span { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; background: rgba(253,253,251,.92); color: var(--brand-strong); box-shadow: var(--shadow-md); }

/* ---- Vignettes « toutes traditions » ---- */
.trad-tile { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.trad-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.trad-tile img { transition: transform .7s var(--ease-out); }
.trad-tile:hover img { transform: scale(1.05); }
.trad-tile:hover .gal-loupe { opacity: 1; }

.lb-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(8,30,34,.94); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; }
.lb-stage { position: relative; width: 90vw; height: 84vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn { position: absolute; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(246,197,61,.45);
  background: rgba(14,42,46,.55); color: #fff; cursor: pointer; transition: background var(--dur); }
.lb-btn:hover { background: rgba(14,42,46,.9); }
@media (max-width: 640px) { .lb-btn { width: 44px; height: 44px; } }

/* ---- Colonne défilante verticale (aperçu de prestations) ---- */
.proj-window { position: absolute; inset: 0; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-faint);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.proj-track { display: flex; flex-direction: column; animation: vscroll 30s linear infinite; will-change: transform; }
.proj-window:hover .proj-track { animation-play-state: paused; }
@keyframes vscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .proj-track { animation: none; } }

/* ---- Cartes « nos autres univers » ---- */
.duo-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-xl);
  min-height: clamp(320px, 42vh, 460px); text-decoration: none; box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur), transform var(--dur); }
.duo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.duo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease-out); }
.duo-card:hover .duo-bg { transform: scale(1.07); }
.duo-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,42,46,.10) 0%, rgba(14,42,46,.48) 52%, rgba(14,42,46,.85) 100%); }
.duo-cta svg { transition: transform var(--dur) var(--ease-out); }
.duo-card:hover .duo-cta svg { transform: translateX(6px); }

/* ---- Pastilles de villes ---- */
.prox-chip { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-card);
  box-shadow: var(--shadow-sm); font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  color: var(--rose-800); white-space: nowrap;
  transition: transform .26s var(--ease-out), box-shadow .26s, border-color .26s, color .26s, background .26s; }
.prox-chip:hover { transform: translateY(-3px); color: #fff; background: var(--rose-700);
  border-color: var(--gold-400); box-shadow: 0 12px 26px rgba(14,42,46,.24); }
.prox-chip:hover .prox-chip-ic { color: var(--gold-400); }
.prox-chip-ic { display: inline-flex; color: var(--rose-500); transition: color .26s; }

/* ---- Grilles responsives ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.25rem); }
.footer-grid { display: flex; justify-content: center; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Crédit Web Pixie ---- */
.wp-credit { display: inline-flex; align-items: center; gap: 10px; padding: 12px clamp(14px, 4vw, 26px);
  border-radius: var(--radius-pill); background: var(--gold-400); color: #0E2A2E; font-family: var(--font-sans);
  font-size: clamp(10.5px, 2.9vw, 13.5px); font-weight: 700; letter-spacing: .05em; white-space: nowrap;
  animation: wpGlow 2.6s ease-in-out infinite; transition: transform var(--dur) var(--ease-out), background var(--dur); }
.wp-credit:hover { transform: translateY(-2px); background: var(--gold-300); color: #0E2A2E; }
.wp-chev { flex: none; animation: wpChev 1.6s ease-in-out infinite; }
@keyframes wpGlow { 0%, 100% { box-shadow: 0 6px 18px rgba(240,176,0,.28); } 50% { box-shadow: 0 8px 30px rgba(240,176,0,.55); } }
@keyframes wpChev { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(5px); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .wp-credit, .wp-chev { animation: none; } }

/* ---- Cœurs flottants (ambiance nuptiale, discrète) ---- */
.amb { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.amb-heart { position: absolute; opacity: 0; color: rgba(246,197,61,.34); }
@keyframes ambFloat {
  0% { transform: translate3d(0, 30px, 0) rotate(-14deg) scale(.8); opacity: 0; }
  18% { opacity: .85; } 82% { opacity: .85; }
  100% { transform: translate3d(var(--dx, 0px), -230px, 0) rotate(16deg) scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) { .amb-heart { animation: ambFloat linear infinite; } }


/* ---- Rubans pilotés en JS (flèches de saut rapide) ---- */
.gal-track.js-drive, .proj-track.js-drive { animation: none !important; }
.snav { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer; border: 1px solid var(--accent); background: var(--surface-card);
  color: var(--brand-strong); box-shadow: var(--shadow-sm);
  transition: background .24s var(--ease-out), color .24s, transform .24s var(--ease-out), box-shadow .24s; }
.snav:hover { background: var(--brand-strong); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.snav:active { transform: translateY(0) scale(.94); }
.snav-over { position: absolute; left: 50%; transform: translateX(-50%); z-index: 4; width: 42px; height: 42px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(6px); }
.snav-over:hover { transform: translateX(-50%) translateY(-2px); }
.snav-over:active { transform: translateX(-50%) scale(.94); }
.snav-up { top: 12px; }
.snav-down { bottom: 12px; }


/* ---- Galerie filtrable « Nos voitures » (parité avec louerunecaleche) ---- */
.vf-bar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 38px; }
.vf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vf-label { font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-muted); margin-right: 4px; }
.vchip { font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; padding: 9px 17px;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent;
  color: var(--text-body); cursor: pointer; transition: all var(--dur) var(--ease-out); white-space: nowrap; }
.vchip:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-1px); }
.vchip.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.vseg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-pill);
  overflow: hidden; background: var(--surface-card); }
.vseg button { font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; padding: 7px 14px;
  border: none; background: transparent; color: var(--text-muted); cursor: pointer; transition: all var(--dur); white-space: nowrap; }
.vseg button + button { border-left: 1px solid var(--border); }
.vseg button.on { background: var(--rose-100); color: var(--brand-strong); font-weight: 600; }
.vf-count { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); margin-left: auto; }
.vf-count b { color: var(--text-strong); font-weight: 600; }
.v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .v-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .v-grid { grid-template-columns: 1fr; } }
@keyframes fleetIn { from { transform: translateY(16px) scale(.985); } to { transform: none; } }
.v-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.v-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: no-preference) { .v-anim .v-card { animation: fleetIn .5s var(--ease-out) both; } }
.v-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; font-family: var(--font-display);
  font-style: italic; font-size: 22px; color: var(--text-faint); }
.v-meta { display: flex; align-items: center; gap: 16px; }
.v-meta span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans);
  font-size: 13px; color: var(--text-muted); }
.v-photo-wrap { position: relative; }
.v-see { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px; opacity: 0; transition: opacity var(--dur) var(--ease-out);
  background: linear-gradient(180deg, rgba(14,42,46,0) 40%, rgba(14,42,46,.42) 100%); }
.v-card:hover .v-see { opacity: 1; }
.v-see span { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  color: #fff; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(14,42,46,.55); backdrop-filter: blur(4px); padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(246,197,61,.5); }
.v-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 12.5px;
  font-weight: 600; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--rose-100); color: var(--rose-700); }
.v-badge.gold { background: var(--gold-100); color: var(--gold-700); }

/* ---- Fiche modale d'une voiture ---- */
@keyframes ficheRise { from { transform: translateY(24px); } to { transform: none; } }
.fiche-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(14,42,46,.62);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 28px; }
.fiche-panel { position: relative; background: var(--surface-card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); width: min(960px, 100%); max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; animation: ficheRise .4s var(--ease-out) both; }
.fiche-gallery { background: var(--rose-100); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fiche-main { flex: 1; min-height: 280px; }
.fiche-thumbs { display: flex; gap: 10px; }
.fiche-thumb { flex: 1; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; transition: border-color var(--dur); }
.fiche-thumb.on { border-color: var(--brand); }
.fiche-body { padding: 34px 34px 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.fiche-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(253,253,251,.9); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-strong);
  transition: background var(--dur), transform var(--dur); }
.fiche-close:hover { background: #fff; transform: rotate(90deg); }
@media (max-width: 760px) {
  .fiche-panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .fiche-main { min-height: 220px; }
}


/* ---- Mur de logos défilant (Nos références) ---- */
.logo-marquee { display: flex; flex-direction: column; gap: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.logo-track { display: flex; width: max-content; animation: logoScroll 38s linear infinite; }
.logo-track.logo-rev { animation-direction: reverse; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; }
.logo-plate { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 84px; min-width: 150px;
  margin: 0 10px; padding: 0 30px; border-radius: var(--radius-md); background: #fff;
  border: 1px solid var(--border-faint); box-shadow: var(--shadow-md); }
.logo-plate .logo-img { width: 150px; height: auto; object-fit: contain; display: block; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ---- Annuaire de références ---- */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-feat { background: linear-gradient(155deg, var(--rose-100) 0%, var(--surface-card) 68%) !important;
  border-color: var(--gold-300) !important; box-shadow: 0 14px 34px rgba(23,85,94,.14) !important;
  position: relative; overflow: hidden; }
.dir-feat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold-400) 100%); }
.dir-feat .ic-badge { background: var(--gold-100) !important; color: var(--gold-700) !important; }
.dir-flag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-bottom: 12px;
  padding: 5px 12px; border-radius: var(--radius-pill); background: var(--brand); color: #fff;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }


/* ---- Photo encadrée (Nos références) ---- */
.photo-frame { position: relative; width: min(100%, 900px); margin: 0 auto; padding: 14px;
  background: linear-gradient(140deg, var(--gold-400), var(--rose-300) 48%, var(--gold-300));
  border-radius: 6px; box-shadow: var(--shadow-lg); }
.photo-frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 3px; pointer-events: none; }
.photo-frame img { display: block; width: 100%; height: auto; border-radius: 2px;
  border: 1px solid rgba(14,42,46,.18); }


/* ---- Formulaire de devis : une seule colonne sur mobile ---- */
@media (max-width: 700px) { .devis-form { grid-template-columns: 1fr !important; } }


/* ---- Qui sommes-nous : diaporamas, CV, agréments ---- */
.about-shots { position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 5 / 4; background: var(--rose-100); }
.about-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease-in-out); }
.about-shot.on { opacity: 1; }
.about-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.about-dot { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.65);
  box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: all var(--dur) var(--ease-out); }
.about-dot.on { width: 20px; background: var(--gold-400); }
@media (prefers-reduced-motion: reduce) { .about-shot { transition: none; } }

.pres-grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
@media (max-width: 860px) { .pres-grid { grid-template-columns: 1fr; } .pres-sticky { position: static !important; max-width: 320px; } }
.pres-shot { position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--rose-100); }
.cv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; list-style: none; margin: 0; padding: 0 22px 20px; }
@media (max-width: 700px) { .cv-list { grid-template-columns: 1fr; } }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cred-grid { grid-template-columns: 1fr; } }
.labels-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
@media (max-width: 560px) { .labels-band { grid-template-columns: 1fr; } }
.assoc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .assoc-grid { grid-template-columns: 1fr; } }
.cv-panel { overflow: hidden; transition: max-height var(--dur) var(--ease-out); }


/* ---- Diaporama cliquable (événements privés) ---- */
.slidebox { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid rgba(246,197,61,.35);
  aspect-ratio: 3 / 2; background: var(--rose-100); cursor: zoom-in; }
.slidebox .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease-in-out); }

.slidebox-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246,197,61,.5);
  background: rgba(14,42,46,.5); backdrop-filter: blur(3px); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur); }
.slidebox-nav:hover { background: rgba(14,42,46,.85); }
.slidebox-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 8px; }
.slidebox-dot { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.6);
  box-shadow: 0 1px 3px rgba(0,0,0,.35); cursor: pointer; transition: all var(--dur) var(--ease-out); }
.slidebox-dot.on { width: 22px; background: var(--gold-400); }
@media (prefers-reduced-motion: reduce) { .slidebox .slide-img { transition: none; } }

/* ---- Flotte : filtres et fiches pilotés par classes (contenu en HTML source) ---- */
.v-card.v-hide { display: none !important; }
.fiche-scrim:not(.open) { display: none !important; }
.fiche-shot { display: none; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.fiche-shot.on { display: block; }


/* ---- Menus déroulants de la navigation (Attelage Passion) ---- */
.navgroup { position: relative; display: inline-flex; align-items: center; }
.navgroup > .navlink { cursor: default; display: inline-flex; align-items: center; gap: 5px; }
.navmenu { position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 250px;
  transform: translateX(-50%) translateY(10px); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface-card); border: 1px solid var(--border-faint); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur); }
.navgroup:hover .navmenu, .navgroup:focus-within .navmenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.navmenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.navmenu a { padding: 10px 14px; border-radius: var(--radius-sm); font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; color: var(--text-body); white-space: nowrap; text-align: left;
  transition: background var(--dur), color var(--dur); }
.navmenu a:hover { background: var(--rose-100); color: var(--brand-strong); }
.navmenu a[aria-current="page"] { color: var(--brand-strong); background: var(--rose-100); }

/* ---- Sous-titres de groupe dans le tiroir mobile ---- */
.drawer-group { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-ink); padding: 16px 14px 6px; }

/* ---- Groupes repliables du tiroir mobile ---- */
.dgroup { border-bottom: 1px solid var(--border-faint); }
.dgroup > summary { list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 14px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--text-strong);
  transition: background var(--dur), color var(--dur); }
.dgroup > summary::-webkit-details-marker { display: none; }
.dgroup > summary:hover { background: var(--rose-100); color: var(--brand-strong); }
.dgroup .dchev { flex: none; transition: transform var(--dur) var(--ease-out); }
.dgroup[open] > summary { color: var(--brand-strong); }
.dgroup[open] .dchev { transform: rotate(180deg); }
.dgroup-body { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 10px 10px;
  border-left: 1px solid var(--rose-200); margin-left: 14px; }
.dgroup-body .drawerlink { font-size: 15px; padding: 10px 12px; }

/* ---- Tableau de tarifs ---- */
.tarif-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 15px; }
.tarif-table th, .tarif-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border-faint); }
.tarif-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--bg-champagne); border-bottom: 1px solid var(--border); }
.tarif-table tbody tr:hover { background: var(--rose-100); }
.tarif-table td.num { font-family: var(--font-display); font-size: 21px; color: var(--brand-strong); white-space: nowrap; }
.tarif-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface-card); box-shadow: var(--shadow-sm); }

/* ---- Programme de leçons (accordéon simple en CSS) ---- */
.lecon { border-bottom: 1px solid var(--border-faint); }
.lecon summary { cursor: pointer; list-style: none; padding: 16px 4px; display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--text-strong); }
.lecon summary::-webkit-details-marker { display: none; }
.lecon summary:hover { color: var(--brand-strong); }
.lecon summary .num { font-family: var(--font-display); font-size: 20px; color: var(--accent-ink); min-width: 42px; }
.lecon[open] summary { color: var(--brand-strong); }
.lecon-body { padding: 0 4px 18px 62px; font-family: var(--font-sans); font-size: 15.5px; line-height: 1.75; color: var(--text-body); }
@media (max-width: 560px) { .lecon-body { padding-left: 4px; } }

/* ---- Bandeau de titre compact des pages intérieures ---- */
.page-band-in { padding-right: calc(var(--gutter) + 250px) !important; }
@media (max-width: 1000px) { .page-band-mark { display: none !important; } .page-band-in { padding-right: var(--gutter) !important; } }
@media (max-width: 720px) {
  .page-band { padding: 26px 0 !important; }
  .page-band-in { grid-template-columns: 1fr !important; }
  .page-band h1 { white-space: normal !important; }

  .page-band-lead { padding-left: 0 !important; border-left: none !important; padding-top: 12px; border-top: 1px solid rgba(246,197,61,.45); }
}
@media (max-width: 560px) { .palm-grid article { grid-template-columns: 1fr !important; } .palm-grid figure { min-height: 0 !important; aspect-ratio: 16 / 9; } .palm-grid article > div { border-left: none !important; border-top: 3px solid var(--accent); } }

/* ---- Page Forfaits / Cours ---- */
.tarif-col + .tarif-col:not(.tarif-feat)::before, .tarif-feat + .tarif-col::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(246,197,61,.3); }
@media (max-width: 1100px) { .lecon-phase { grid-template-columns: 1fr !important; } .terrain-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width: 900px) { .tarif-row { grid-template-columns: repeat(2, minmax(0,1fr)) !important; row-gap: 22px !important; } .tarif-col::before { display: none; } .terrain-in { grid-template-columns: 1fr !important; } .lecon-row { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width: 560px) { .tarif-row, .lecon-row { grid-template-columns: 1fr 1fr !important; } .terrain-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 1000px) { .cond-grid { grid-template-columns: 1fr 1fr !important; } } @media (max-width: 560px) { .cond-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 1100px) { .why-grid { display: flex !important; flex-wrap: wrap; justify-content: center; } .why-grid > * { flex: 0 1 calc((100% - 28px) / 3); } } @media (max-width: 860px) { .why-cols { grid-template-columns: 1fr !important; } .why-grid > * { flex-basis: calc((100% - 14px) / 2); } } @media (max-width: 520px) { .why-grid > * { flex-basis: 100%; } }
@media (max-width: 760px) { .galop-intro { grid-template-columns: 1fr !important; } }
@media (max-width: 960px) { .mate-in, .form-in { grid-template-columns: 1fr !important; } .mate-in figure { max-width: 460px; width: 100%; margin: 0 auto !important; } .dip-grid, .cocher-q, .cocher-steps { grid-template-columns: 1fr 1fr !important; row-gap: 20px !important; } .step-line { display: none; } } @media (max-width: 560px) { .mate-atouts { grid-template-columns: 1fr !important; } }
@media (max-width: 1280px) { .mar-specs { grid-template-columns: 1fr !important; } } @media (max-width: 1100px) { .mar-in { grid-template-columns: 1fr !important; } .mar-in figure { max-width: 720px; width: 100%; margin: 0 auto !important; } .mar-specs { grid-template-columns: 1fr 1fr !important; } } @media (max-width: 900px) { .mar-duo { grid-template-columns: 1fr !important; } } @media (max-width: 560px) { .mar-specs { grid-template-columns: 1fr !important; } }
@media (max-width: 900px) { .ip-in { grid-template-columns: 1fr !important; } .sl-thumbs { grid-template-columns: repeat(4, minmax(0,1fr)) !important; } }
@media (max-width: 960px) { .tb-in { grid-template-columns: 1fr !important; } .tb-duo { grid-template-columns: 1fr !important; } .tb-arrow { transform: rotate(90deg); } .tb-refs { display: flex !important; flex-wrap: wrap; justify-content: center; } .tb-refs > * { flex: 0 1 calc((100% - 20px) / 3); } } @media (max-width: 620px) { .tb-refs > * { flex-basis: calc((100% - 10px) / 2); } } @media (max-width: 520px) { .tb-obj { grid-template-columns: 1fr !important; } }
@media (max-width: 860px) { .pn-line, .pn-dot { display: none; } .pn-row { grid-template-columns: 1fr !important; gap: 16px !important; } .pn-row > figure { order: -1; } .pn-solo > div { padding-top: 0 !important; } }
@media (max-width: 860px) { .pn-polo { transform: none !important; } }
@media (max-width: 900px) { .rd-in { grid-template-columns: 1fr !important; } } @media (max-width: 520px) { .rd-pics { grid-template-columns: 1fr !important; } .rd-pics figure { transform: none !important; margin-top: 0 !important; } }
.sj-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sj-grid > .sj-card { flex: 0 1 calc((100% - 54px) / 4); min-width: 0; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.sj-grid > .sj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sj-grid > .v-empty { flex-basis: 100%; }
.sj-card.v-hide { display: none !important; }
@media (max-width: 1100px) { .sj-grid > .sj-card { flex-basis: calc((100% - 36px) / 3); } }
@media (max-width: 820px) { .sj-grid > .sj-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 540px) { .sj-grid > .sj-card { flex-basis: 100%; } }
@media (max-width: 560px) { .heb-label { display: none; } .sl-thumbs { grid-template-columns: repeat(4, minmax(0,1fr)) !important; } }
@media (max-width: 1200px) { .hd-prat .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 560px) { .hd-prat .grid-3 { grid-template-columns: 1fr !important; } }
@media (max-width: 900px) { .hd-top, .hd-prat { grid-template-columns: 1fr !important; } .hd-label { width: 100% !important; max-width: 320px; margin: 0 auto !important; } }
@media (max-width: 860px) { .bt-gift, .bt-tex { grid-template-columns: 1fr !important; } .bt-stub { border-left: none !important; border-top: 2px dashed var(--gold-300); } .bt-stub > span[aria-hidden] { display: none; } }
@media (max-width: 560px) { .bt-ribbon { display: none; } .bt-gift > div:first-of-type { padding-left: 24px !important; } }
@media (max-width: 700px) { .galop-tarif { grid-template-columns: 1fr !important; text-align: center; } .galop-tarif > span:last-child { justify-content: center; } }

/* ---- Barre compacte : menu complet en pleine page ---- */
.cb-nav { display: none; }
@media (min-width: 1181px) {
  .compactbar .cb-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 4px clamp(10px,1vw,18px); min-width: 0; margin-left: auto; }
  .compactbar .cb-nav .navlink { color: #fff !important; font-size: 11px !important; letter-spacing: .05em !important; }
  .compactbar .cb-nav .navlink:hover, .compactbar .cb-nav .navlink[aria-current="page"] { color: var(--gold-300) !important; }
  .compactbar .cb-nav .navlink svg { stroke: var(--gold-400); width: 9px; height: 9px; }
  .compactbar .cb-nav .navgroup > .navlink { gap: 3px; }
  .compactbar .cb-menu { display: none !important; }
  .compactbar .cb-title, .compactbar .cb-sub { display: none !important; }
  .compactbar .navmenu { top: calc(100% + 6px); }
}
@media (min-width: 1441px) { .compactbar .cb-nav .navlink { font-size: 12px !important; letter-spacing: .08em !important; } }
@media (max-width: 900px) { .tb-fig { min-height: 0 !important; aspect-ratio: 3 / 2; } }
/* tiroir : entrée en cascade */
.drawer-panel > div:nth-child(2) > * { transform: translateX(16px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > * { transform: none; opacity: 1; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(1) { transition-delay: 0.080s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(2) { transition-delay: 0.125s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(3) { transition-delay: 0.170s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(4) { transition-delay: 0.215s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(5) { transition-delay: 0.260s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(6) { transition-delay: 0.305s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(7) { transition-delay: 0.350s; }
.drawer-root.open .drawer-panel > div:nth-child(2) > *:nth-child(8) { transition-delay: 0.395s; }
@media (prefers-reduced-motion: reduce) { .drawer-panel > div:nth-child(2) > * { transform: none; opacity: 1; transition: none; } }
.nb3-chev.up { transform: rotate(180deg); }
.compactbar { overflow: visible; }

/* Plan d'accès : routes et noms de lieux uniquement, teinte bleu paon */
.ev-map .leaflet-tile-pane { filter: none; }
.ev-map { font-family: var(--font-sans); }
.ev-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.75); }
.ev-map .leaflet-bar a { color: var(--rose-800); }
.ev-pin { background: none; border: none; }
.ev-pin-dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #F0B000; border: 4px solid #0E2A2E; box-shadow: 0 0 0 0 rgba(240,176,0,.55), 0 4px 12px rgba(14,42,46,.45); animation: evPulse 2.2s ease-out infinite; }
.ev-pin-label { position: absolute; left: 20px; top: -17px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #0E2A2E; border: 1px solid #F0B000; color: #fff; font: 700 13px var(--font-sans); box-shadow: 0 4px 14px rgba(14,42,46,.4); }
@keyframes evPulse { 0% { box-shadow: 0 0 0 0 rgba(240,176,0,.55), 0 4px 12px rgba(14,42,46,.45); } 70%,100% { box-shadow: 0 0 0 20px rgba(240,176,0,0), 0 4px 12px rgba(14,42,46,.45); } }

/* Plan d'accès — repère ocre qui suit la carte */
.ev-map .leaflet-tile-pane { filter: none; }
.ev-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.78); }
.ev-pin { background: none; border: none; }
.ev-pin-dot { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: #F0B000; border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(240,176,0,.6), 0 4px 12px rgba(14,42,46,.5); animation: evPulse 2.2s ease-out infinite; }
.ev-pin-label { position: absolute; left: 22px; top: -19px; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: #F0B000; border: 2px solid #fff; color: #0E2A2E; font: 700 14px var(--font-sans); box-shadow: 0 4px 14px rgba(14,42,46,.45); }
@keyframes evPulse { 0% { box-shadow: 0 0 0 0 rgba(240,176,0,.6), 0 4px 12px rgba(14,42,46,.5); } 70%,100% { box-shadow: 0 0 0 22px rgba(240,176,0,0), 0 4px 12px rgba(14,42,46,.5); } }

/* Plan d'accès — boutons de contrôle */
.ev-map .leaflet-control-zoom { border: none; box-shadow: 0 4px 14px rgba(14,42,46,.3); border-radius: 12px; overflow: hidden; }
.ev-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; font-size: 22px; color: var(--rose-800); background: #fff; border: none; border-bottom: 1px solid #e3ecec; }
.ev-map .leaflet-control-zoom a:hover { background: var(--rose-100); color: var(--rose-700); }
.ev-ctl-box { display: flex; flex-direction: column; gap: 8px; }
.ev-ctl { white-space: nowrap; width: 100%; justify-content: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 1px solid rgba(23,85,94,.18); border-radius: 12px; background: #fff; color: var(--rose-800); font: 600 13px var(--font-sans); cursor: pointer; box-shadow: 0 4px 14px rgba(14,42,46,.28); transition: background .2s, color .2s, transform .2s; }
.ev-ctl:hover { background: var(--rose-100); transform: translateX(2px); }
.ev-ctl.on { background: #0E2A2E; color: #fff; border-color: #F0B000; }
.ev-ctl svg { flex: none; color: var(--accent-ink); }
.ev-ctl.on svg { color: #F0B000; }
.ev-full { position: fixed !important; inset: 0; z-index: 2000; background: #fff; }
.ev-full .ev-map { height: 100vh !important; }
@media (max-width: 640px) { .ev-ctl span { display: none; } .ev-ctl { padding: 9px 10px; } }

/* Maillage : liens de texte */
a.lnk { color: var(--rose-600); font-weight: 600; text-decoration: none; transition: color .2s; }
a.lnk:hover { color: var(--gold-600, #A9760B); text-decoration: none; }
.rel-card { transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
