/*
Theme Name: Autocolor Blocks
Theme URI: https://autocolorshop.com/
Author: Autocolor
Description: Thème WordPress Autocolor (peintures, produits, cabines 3D). Toutes les pages sont modifiables avec l'éditeur de blocs.
Version: 2.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: autocolor-blocks
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ac-bg: #0a0a0a;
  --ac-card: #141414;
  --ac-card-2: #1b1b1b;
  --ac-text: #f5f5f5;
  --ac-muted: #a3a3a3;
  --ac-border: rgba(255,255,255,.1);
  --ac-gradient: linear-gradient(90deg,#e33429,#f7941d,#f5d90a,#8cc63f,#00a99d,#2b5cab,#9e1f63);
  --ac-gradient-soft: linear-gradient(90deg,#e33429,#f7941d,#f5d90a,#8cc63f,#00a99d,#2b5cab,#9e1f63,#e33429);
  --ac-header-h: 82px;
  --ac-display: "Barlow Condensed","Arial Narrow",sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ac-bg); color: var(--ac-text); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-template-part { margin-block: 0; }
.wp-block-post-content > * { margin-block: 0 !important; }
.ac-hero .wp-block-cover__inner-container { position: static; width: 100%; }
.ac-hero .wp-block-cover__inner-container > * { position: relative; z-index: 2; }
[id] { scroll-margin-top: calc(var(--ac-header-h) + 20px); }
#details { scroll-margin-top: calc(var(--ac-header-h) + 70px); }
h1,h2,h3,h4 { font-family: var(--ac-display); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.ac-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.ac-wrap > * + * { margin-top: 18px; }
.ac-section { padding-block: 96px; }
.ac-section--alt { background: rgba(255,255,255,.035); border-block: 1px solid var(--ac-border); }
.ac-kicker { display: flex; align-items: center; gap: 14px; color: var(--ac-muted); font-size: 13px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.ac-kicker:before { width: 40px; height: 4px; flex: none; border-radius: 4px; background: var(--ac-gradient); content: ""; }
.ac-title { font-family: var(--ac-display); font-weight: 800; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.ac-section .ac-title, .ac-title--h2 { font-size: clamp(34px, 4.4vw, 52px); }
.ac-muted { color: var(--ac-muted); }
.ac-lead { color: var(--ac-muted); font-size: 18px; line-height: 1.7; max-width: 720px; }

/* ---------- Boutons ---------- */
.ac-button .wp-block-button__link,
.ac-button-outline .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 15px 28px; text-transform: uppercase; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, background-position .6s ease, border-color .3s ease; }
.ac-button .wp-block-button__link { border: 0; background: var(--ac-gradient-soft); background-size: 200% 100%; color: #fff; }
.ac-button .wp-block-button__link:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(255,255,255,.2); }
.ac-button-outline .wp-block-button__link { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
.ac-button-outline .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.wp-block-buttons { gap: 14px; margin-top: 28px; }

/* ---------- En-tête ---------- */
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; }
.ac-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ac-border); background: rgba(10,10,10,.92); backdrop-filter: blur(14px); transition: background .25s ease, box-shadow .25s ease; }
.ac-header.is-scrolled { background: rgba(8,8,8,.98); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.ac-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--ac-header-h); }
.ac-header .wp-block-image { margin: 0; flex: none; }
.ac-header .wp-block-image img { display: block; width: min(205px, 40vw); height: auto; }
.ac-header .wp-block-navigation { font-size: 14px; font-weight: 600; }
.ac-header .wp-block-navigation a { position: relative; color: var(--ac-text); text-decoration: none; }
.ac-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > a:after { position: absolute; right: 0; bottom: -6px; left: 0; height: 2px; border-radius: 4px; background: var(--ac-gradient); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.ac-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > a:hover:after { transform: scaleX(1); transform-origin: left; }
.ac-header .wp-block-navigation__submenu-container { min-width: 250px; padding: 8px; border: 1px solid var(--ac-border) !important; border-radius: 14px; background: #101010 !important; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ac-header .wp-block-navigation .wp-block-navigation__submenu-container, .ac-header .wp-block-navigation .wp-block-navigation__submenu-container a, .ac-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--ac-text) !important; }
.ac-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { color: #fff !important; }
.ac-header .wp-block-navigation__submenu-container .wp-block-navigation-item a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.ac-header .wp-block-navigation__submenu-container .wp-block-navigation-item a:hover { background: rgba(255,255,255,.07); }
.ac-header .wp-block-navigation__responsive-container.is-menu-open { background-color: #0a0a0a !important; padding: 24px 24px 40px; font-size: 20px; }
.ac-header .is-menu-open .wp-block-navigation__responsive-container-content, .ac-header .is-menu-open .wp-block-navigation__container, .ac-header .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.ac-header .is-menu-open .wp-block-navigation__responsive-container-content { gap: 8px; }
.ac-header:has(.is-menu-open) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ac-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none; padding: 0 0 0 12px; }
.ac-header .wp-block-navigation__responsive-container.is-menu-open, .ac-header .wp-block-navigation__responsive-container.is-menu-open a, .ac-header .wp-block-navigation__responsive-container-close { color: var(--ac-text) !important; }
.ac-header .wp-block-navigation__responsive-container-open { color: var(--ac-text); }
.ac-header-cta .wp-block-button__link { padding: 11px 20px; font-size: 12px; }

/* ---------- Hero accueil ---------- */
.ac-hero { min-height: 100vh; display: flex; align-items: center; background-position: center; background-size: cover; position: relative; }
.ac-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.ac-hero-video.is-playing { opacity: 1; }
@media (min-width: 1100px) { .ac-hero { padding-bottom: 110px; } }
.ac-hero .wp-block-cover__background { z-index: 1; }
.ac-hero:after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; height: 160px; background: linear-gradient(to top, #0a0a0a, transparent); content: ""; pointer-events: none; }
.ac-hero-sound { position: absolute; right: 24px; bottom: 24px; z-index: 5; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; font: 700 11px Inter, sans-serif; letter-spacing: .08em; padding: 10px 16px; text-transform: uppercase; backdrop-filter: blur(6px); transition: border-color .2s ease; }
.ac-hero-watch { display: none; position: absolute; bottom: 24px; left: 24px; z-index: 5; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; font: 700 11px Inter, sans-serif; letter-spacing: .08em; padding: 10px 16px; text-transform: uppercase; backdrop-filter: blur(6px); transition: border-color .2s ease; }
.ac-hero-sound:hover { border-color: rgba(255,255,255,.6); }
.ac-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg,rgba(10,10,10,.85) 0%,rgba(10,10,10,.5) 50%,rgba(10,10,10,.1) 100%) !important; }
.ac-hero { background-color: #0a0a0a; }
.ac-hero.has-video .wp-block-cover__image-background { opacity: 0; }
@media (min-width: 1100px) {
  /* La vidéo remplit tout le hero ; sa hauteur suit le format 16:9 pour ne presque rien couper */
  .ac-hero { min-height: min(56.25vw, 100vh) !important; }
  .ac-hero .wp-block-cover__background { background: linear-gradient(90deg,rgba(10,10,10,.62) 0%,rgba(10,10,10,.3) 38%,transparent 70%) !important; }
}
.ac-hero h1 { max-width: 860px; font-size: clamp(46px, 8vw, 92px); margin-top: 22px; }
.ac-hero .ac-kicker { color: #e5e5e5; }
.ac-hero p.ac-hero-text { max-width: 600px; margin-top: 24px; color: #d4d4d4; font-size: 19px; line-height: 1.7; }

/* ---------- Défilement indicateur ---------- */
.ac-hero .wp-block-cover__inner-container > .ac-scrollhint, .ac-scrollhint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); text-align: center; margin: 0 !important; }
.ac-scrollhint a { display: block; color: var(--ac-muted); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.ac-scrollhint a:after { display: block; width: 1px; height: 32px; margin: 12px auto 0; background: linear-gradient(to bottom, #e5e5e5 0 12px, rgba(255,255,255,.2) 12px); content: ""; animation: ac-hint 2s ease-in-out infinite; }
@keyframes ac-hint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .45; } }

/* ---------- Marques (défilement) ---------- */
.ac-brandstrip { border-block: 1px solid var(--ac-border); background: rgba(255,255,255,.035); padding-block: 56px; }
.ac-brandstrip .ac-kicker { justify-content: center; }
.ac-brandstrip .ac-kicker:before { display: none; }
.ac-marquee { position: relative; margin-top: 32px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.ac-marquee-track { display: flex; width: max-content; gap: 24px; padding-inline: 12px; animation: ac-marquee 45s linear infinite; }
.ac-marquee:hover .ac-marquee-track { animation-play-state: paused; }
.ac-marquee-track > * { flex: none; margin: 0 !important; }
@keyframes ac-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ac-brandlogo { display: grid; place-items: center; width: 240px; height: 120px; padding: 16px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #fff; }
.ac-brandlogo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.wp-block-image.ac-brandlogo { margin: 0; }

/* ---------- Deux colonnes ---------- */
.ac-split.wp-block-columns { align-items: center; gap: 64px; margin: 0; }
.ac-split .wp-block-column > * + * { margin-top: 18px; }
.ac-split h2 { font-size: clamp(34px, 4.4vw, 50px); }
.ac-img-round img { display: block; width: 100%; border-radius: 24px; object-fit: cover; }
.ac-img-43 img { aspect-ratio: 4 / 3; }
.ac-img-round { margin: 0; }
.ac-img-shadow img { box-shadow: 0 30px 60px rgba(0,0,0,.4); }

/* ---------- Slider (À propos) ---------- */
.ac-slider { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 10; background: #1b1b1b; }
.ac-slider > .wp-block-image { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform .7s ease; }
.ac-slider > .wp-block-image.is-active { opacity: 1; transform: none; }
.ac-slider > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ac-slider > .wp-block-image:first-child { opacity: 1; transform: none; }
.ac-slider.is-ready > .wp-block-image:first-child:not(.is-active) { opacity: 0; transform: scale(1.04); }
.ac-slider-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ac-slider-thumb { width: 86px; height: 58px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #111; cursor: pointer; opacity: .68; transition: border-color .25s ease, opacity .25s ease, transform .25s ease; }
.ac-slider-thumb:hover { opacity: 1; transform: translateY(-2px); }
.ac-slider-thumb.is-active { border-color: #fff; opacity: 1; }
.ac-slider-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grilles de cartes image ---------- */
.ac-grid-3, .ac-grid-5 { display: grid; gap: 22px; margin-top: 40px; }
.ac-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ac-grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.ac-grid-3 > *, .ac-grid-5 > * { margin: 0 !important; }
.ac-imgcard { position: relative; overflow: hidden; border: 1px solid var(--ac-border); border-radius: 18px; background: var(--ac-card); transition: transform .45s ease, border-color .3s ease, box-shadow .3s ease; }
.ac-imgcard:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.ac-imgcard .wp-block-image { margin: 0; }
.ac-imgcard .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.ac-grid-5 .ac-imgcard .wp-block-image img { aspect-ratio: 1 / 1; }
.ac-imgcard:hover .wp-block-image img { transform: scale(1.07); }
.ac-imgcard-body { position: absolute; inset: auto 0 0; padding: 22px 18px 16px; background: linear-gradient(to top, rgba(0,0,0,.82), transparent); }
.ac-imgcard-body h3 { font-size: 22px; color: #fff; }
.ac-imgcard-body h3 a { text-decoration: none; }
.ac-imgcard-body h3 a:after { position: absolute; inset: 0; content: ""; }
.ac-imgcard-body .ac-more { margin-top: 4px; color: #d4d4d4; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ac-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ac-section-head > * { margin: 0 !important; }
.ac-pill-link a { display: inline-flex; border: 1px solid var(--ac-border); border-radius: 999px; padding: 9px 18px; color: var(--ac-muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: all .3s ease; }
.ac-pill-link a:hover { border-color: rgba(255,255,255,.45); color: #fff; }

/* ---------- Environnement ---------- */
.ac-iconlist { list-style: none; margin: 28px 0 0; padding: 0; }
.ac-iconlist li { position: relative; padding: 4px 0 4px 58px; min-height: 44px; display: flex; align-items: center; color: #e5e5e5; margin-top: 18px; }
.ac-iconlist li:before { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--ac-border); border-radius: 12px; background: #1b1b1b; content: ""; }
.ac-iconlist li:after { position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ac-gradient); content: ""; }

/* ---------- Photos de produits du magasin ---------- */
.ac-photogrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.ac-photogrid .ac-prod .wp-block-image { display: flex; align-items: center; justify-content: center; height: 280px; padding: 12px; box-sizing: border-box; background: #fff; }
.ac-photogrid .ac-prod .wp-block-image img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.ac-photogrid .ac-prod:hover .wp-block-image img { transform: none; }
.ac-photogrid .ac-prod-body h3 { font-size: 18px; line-height: 1.15; }

/* ---------- Nouveautés (IVAT Coatings) ---------- */
.ac-ivat-filters .ac-filters { margin-bottom: 12px; }
.ac-ivat-filters input[type=search] { box-sizing: border-box; width: 100%; max-width: 420px; margin-top: 4px; border: 1px solid var(--ac-border); border-radius: 999px; background: var(--ac-card); color: #fff; font: 400 14px Inter, sans-serif; padding: 12px 18px; outline: none; }
.ac-ivat-filters input[type=search]:focus { border-color: rgba(255,255,255,.5); }
.ac-ivat-count { margin: 18px 0 16px; color: var(--ac-muted); font-size: 14px; }
.ac-ivat-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.ac-ivat-grid .ac-prod .wp-block-image { height: auto; aspect-ratio: 1 / 1; padding: 0; background: #eef0f0; }
.ac-ivat-grid .ac-prod .wp-block-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.ac-ivat-grid .ac-prod-body h3 { font-size: 18px; line-height: 1.15; }
.ac-ivat-marquee .ac-marquee-track { gap: 20px; animation-duration: 55s; }
.ac-ivat-prod { width: 250px; overflow: hidden; border: 1px solid var(--ac-border); border-radius: 18px; background: #0f0f0f; transition: transform .3s ease, border-color .3s ease; }
.ac-ivat-prod:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.ac-ivat-prod .wp-block-image { margin: 0; background: #eef0f0; }
.ac-ivat-prod .wp-block-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ac-ivat-body { padding: 16px; }
.ac-ivat-body > * { margin: 0; }
.ac-ivat-body > * + * { margin-top: 10px; }
.ac-ivat-cat { display: inline-block; border: 1px solid var(--ac-border); border-radius: 999px; padding: 4px 10px; color: var(--ac-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ac-ivat-body h3 { min-height: 2.6em; font-size: 18px; line-height: 1.15; }
.ac-ivat-body .ac-more, .ac-ivat-body .ac-more a { color: var(--ac-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.ac-ivat-marquee + .wp-block-buttons { margin-top: 28px; }

/* ---------- Promotions ---------- */
.ac-promos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.ac-promos > * { margin: 0 !important; }
.ac-promo { overflow: hidden; border: 1px solid var(--ac-border); border-radius: 18px; background: #0f0f0f; transition: transform .3s ease, border-color .3s ease; }
.ac-promo:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.ac-promo .wp-block-image { margin: 0; }
.ac-promo .wp-block-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ac-promo-body { padding: 20px; }
.ac-promo-body > * + * { margin-top: 8px; }
.ac-promo-body h3 { font-size: 24px; }
.ac-promo-range { color: var(--ac-muted); font-size: 13px; }
.ac-price { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ac-border); padding-bottom: 12px; margin-top: 14px !important; font-family: var(--ac-display); font-size: 34px; font-weight: 800; line-height: 1; }
.ac-price small { color: var(--ac-muted); font-family: Inter, sans-serif; font-size: 12px; font-weight: 600; }
.ac-discounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px !important; }
.ac-discounts > p { margin: 0 !important; border: 1px solid var(--ac-border); border-radius: 10px; background: var(--ac-card); padding: 8px 10px; font-family: var(--ac-display); font-size: 19px; font-weight: 800; line-height: 1.1; }
.ac-discounts small { display: block; color: var(--ac-muted); font-family: Inter, sans-serif; font-size: 10px; font-weight: 500; }

/* ---------- Contact ---------- */
.ac-contact-grid.wp-block-columns { align-items: center; gap: 56px; }
.ac-contactrow { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.ac-contactrow:before { flex: none; width: 44px; height: 44px; border: 1px solid var(--ac-border); border-radius: 12px; background: #1b1b1b center / 20px no-repeat; content: ""; }
.ac-contactrow:has(a[href*="maps"]):before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ac-contactrow:has(a[href^="tel"]):before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ac-contactrow:has(a[href^="mailto"]):before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.ac-contactrow a { text-decoration: none; transition: color .2s ease; }
.ac-contactrow a:hover { color: #fff; text-decoration: underline; }
.ac-infobox { margin-top: 28px; border: 1px solid var(--ac-border); border-radius: 18px; background: rgba(20,20,20,.7); padding: 20px; }
.ac-infobox h3 { font-size: 16px; letter-spacing: .04em; }
.ac-infobox p { margin-top: 8px; color: var(--ac-muted); font-size: 14px; }
.ac-map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 24px; filter: grayscale(1); transition: filter .6s ease; }
.ac-map iframe:hover { filter: none; }

/* ---------- Formulaire de contact ---------- */
.ac-form { margin-top: 56px; border: 1px solid var(--ac-border); border-radius: 24px; background: rgba(20,20,20,.85); padding: 40px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.ac-form h3 { margin-top: 8px; font-size: 36px; }
.ac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.ac-form-grid .full { grid-column: 1 / -1; }
.ac-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.ac-form input, .ac-form select, .ac-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: var(--ac-bg); color: var(--ac-text); font: inherit; padding: 13px 16px; outline: none; transition: border-color .2s ease; }
.ac-form input:focus, .ac-form select:focus, .ac-form textarea:focus { border-color: #fff; }
.ac-form textarea { min-height: 140px; resize: vertical; }
.ac-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.ac-form-foot small { max-width: 520px; color: var(--ac-muted); font-size: 12px; }
.ac-form button { border: 0; border-radius: 999px; background: var(--ac-gradient-soft); background-size: 200% 100%; color: #fff; cursor: pointer; font: 700 13px Inter, sans-serif; letter-spacing: .06em; padding: 15px 30px; text-transform: uppercase; transition: background-position .6s ease, transform .3s ease; }
.ac-form button:hover { background-position: 100% 0; transform: translateY(-2px); }
.ac-form .ac-hp { position: absolute; left: -9999px; }
.ac-notice { margin-bottom: 20px; border-radius: 14px; padding: 14px 18px; font-size: 14px; }
.ac-notice--ok { border: 1px solid #2f7d32; background: rgba(76,175,80,.12); }
.ac-notice--err { border: 1px solid #b3261e; background: rgba(244,67,54,.12); }

/* ---------- Pied de page ---------- */
.ac-footer { border-top: 1px solid var(--ac-border); background: var(--ac-card); padding-block: 64px 28px; }
.ac-footer .wp-block-columns { gap: 48px; margin: 0; }
.ac-footer h4 { margin-bottom: 14px; color: var(--ac-muted); font-size: 14px; letter-spacing: .2em; }
.ac-footer a { color: var(--ac-muted); text-decoration: none; transition: color .2s ease; }
.ac-footer a:hover { color: #fff; }
.ac-footer ul { list-style: none; margin: 0; padding: 0; }
.ac-footer li + li { margin-top: 8px; }
.ac-footer .ac-footer-logo img { width: 200px; }
.ac-footer-bottom { margin-top: 40px; border-top: 1px solid var(--ac-border); padding-top: 24px; color: var(--ac-muted); font-size: 13px; text-align: center; }

/* ---------- Pages catégories ---------- */
.ac-chipnav { position: sticky; top: var(--ac-header-h); z-index: 40; border-bottom: 1px solid var(--ac-border); background: rgba(10,10,10,.95); backdrop-filter: blur(12px); padding-block: 12px; }
.ac-chipnav .wp-block-buttons { margin: 0; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ac-chip .wp-block-button__link { border: 1px solid var(--ac-border); border-radius: 999px; background: transparent; color: var(--ac-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 8px 14px; text-transform: uppercase; text-decoration: none; transition: all .2s ease; }
.ac-chip .wp-block-button__link:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-chip.is-current .wp-block-button__link { border-color: #f5f5f5; background: #f5f5f5; color: #0a0a0a; }

.ac-cat-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--ac-border); background: rgba(255,255,255,.025); padding: 72px 0 120px; }
.ac-cat-hero .wp-block-columns { align-items: center; gap: 72px; margin: 0; }
.ac-cat-hero .wp-block-column > * + * { margin-top: 18px; }
.ac-back a { display: inline-flex; color: var(--ac-muted); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.ac-back a:hover { color: #fff; }
.ac-cat-hero h1 { margin-top: 28px !important; font-size: clamp(48px, 7vw, 84px); line-height: .9; font-weight: 800; }
.ac-cat-hero .ac-lead { font-size: 19px; }
.ac-cat-hero h2.ac-mini { margin-top: 20px; color: #f5f5f5; font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.ac-cat-hero .ac-mini + p { margin-top: 8px; color: var(--ac-muted); }
.ac-highlight { border-left: 2px solid #e5e5e5; padding-left: 16px; color: #fff; font-weight: 600; }
.ac-cat-hero-img { margin: 0; }
.ac-cat-hero-img img { display: block; width: 100%; height: auto; border: 1px solid var(--ac-border); border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }

.ac-cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; counter-reset: ac-n; }
.ac-cardgrid > * { margin: 0 !important; }
.ac-infocard { counter-increment: ac-n; border: 1px solid var(--ac-border); border-radius: 18px; background: var(--ac-card); padding: 26px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ac-infocard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.ac-infocard h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.ac-infocard h3:before { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ac-gradient); color: #fff; content: counter(ac-n, decimal-leading-zero); font: 700 12px Inter, sans-serif; letter-spacing: 0; }
.ac-infocard p { margin-top: 16px; color: var(--ac-muted); }
.ac-infocard--highlight { border-color: rgba(255,255,255,.4); }
.ac-checklist { margin: 18px 0 0; padding: 0; list-style: none; }
.ac-checklist li { position: relative; padding-left: 22px; color: var(--ac-muted); font-size: 12.5px; line-height: 1.4; }
.ac-checklist li + li { margin-top: 11px; }
.ac-checklist li:before { position: absolute; left: 0; top: 0; color: #e5e5e5; content: "✓"; font-weight: 700; }
.ac-chiplinks .wp-block-buttons { margin: 18px 0 0; gap: 8px; }
.ac-chiplinks .wp-block-button__link { padding: 8px 16px; }

.ac-brandband { border-top: 1px solid var(--ac-border); background: rgba(255,255,255,.035); padding-block: 48px; }
.ac-brandband .ac-kicker { justify-content: center; }
.ac-brandband .ac-kicker:before { display: none; }
.ac-brandrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.ac-brandrow > * { margin: 0 !important; }
.ac-brandchip { display: grid; place-items: center; min-width: 190px; height: 96px; padding-inline: 24px; border-radius: 18px; background: #fff; color: #111; font-family: var(--ac-display); font-size: 28px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.ac-brandrow .ac-brandlogo { width: 200px; height: 96px; }

.ac-related { border-top: 1px solid var(--ac-border); background: rgba(255,255,255,.035); padding-block: 56px; }
.ac-related .wp-block-buttons { margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.ac-related .wp-block-button__link { padding: 13px 22px; }
.ac-cta-band { border-top: 1px solid var(--ac-border); padding-block: 44px; }
.ac-cta-band .ac-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ac-cta-band .ac-wrap > * { margin: 0 !important; }
.ac-cta-band h2 { font-size: 34px; }
.ac-cta-band .wp-block-buttons { margin: 0; }

/* ---------- Produits (catalogues) ---------- */
.ac-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ac-filters button { border: 1px solid var(--ac-border); border-radius: 999px; background: transparent; color: var(--ac-muted); cursor: pointer; font: 700 12px Inter, sans-serif; letter-spacing: .06em; padding: 9px 16px; text-transform: uppercase; transition: all .2s ease; }
.ac-filters button:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-filters button.is-active { border-color: #f5f5f5; background: #f5f5f5; color: #0a0a0a; }
.ac-prodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ac-prodgrid.is-big { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.ac-prodgrid > * { margin: 0 !important; }
.ac-prod { overflow: hidden; border: 1px solid var(--ac-border); border-radius: 16px; background: var(--ac-card); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ac-prod:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.28); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.ac-prod.is-hidden { display: none; }
.ac-prod .wp-block-image { display: flex; align-items: center; justify-content: center; height: 210px; margin: 0; padding: 16px; box-sizing: border-box; background: #fff; overflow: hidden; }
.ac-prodgrid.is-big .ac-prod .wp-block-image { height: 250px; padding: 24px; }
.ac-prod .wp-block-image img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: transform .5s ease; }
.ac-prod:hover .wp-block-image img { transform: scale(1.05); }
.ac-prod-body { padding: 16px 18px 18px; }
.ac-prod-body > * + * { margin-top: 8px; }
.ac-prod-meta { color: var(--ac-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ac-prod-body h3 { font-size: 22px; }
.ac-prod-body p { color: var(--ac-muted); font-size: 13px; line-height: 1.55; }
.ac-prod-body a { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.ac-prod-body a:hover { text-decoration: underline; }
.ac-effects { border-block: 1px solid var(--ac-border); background: rgba(255,255,255,.035); padding-block: 56px; }
.ac-effects .wp-block-columns { gap: 48px; margin: 0; align-items: center; }
.ac-effects ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ac-effects li { position: relative; border: 1px solid var(--ac-border); border-radius: 12px; background: var(--ac-bg); padding: 14px 16px 14px 44px; margin: 0 !important; line-height: 1.5; }
.ac-effects li:before { position: absolute; left: 16px; top: 14px; color: #e5e5e5; content: "✓"; font-weight: 700; }
.ac-note { margin-top: 24px; color: var(--ac-muted); font-size: 14px; }

/* ---------- Cabines 3D ---------- */
.ac-cabines { margin-top: 0; }
.ac-cab-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; border-bottom: 1px solid var(--ac-border); padding: 16px 24px; }
.ac-cab-brands button { display: flex; align-items: center; justify-content: center; width: 240px; height: 64px; border: 2px solid transparent; border-radius: 16px; background: #fff; cursor: pointer; opacity: .9; padding: 0 20px; transition: all .25s ease; }
.ac-cab-brands button:hover { opacity: 1; }
.ac-cab-brands.has-filter button { opacity: .5; }
.ac-cab-brands button.is-active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.35); opacity: 1; }
.ac-cab-hint { flex-basis: 100%; margin: 0 0 4px; color: var(--ac-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-align: center; }
.ac-cab-brands button:hover { transform: translateY(-2px); }
.ac-cab-brands img { display: block; max-width: 100%; max-height: 40px; object-fit: contain; }
.ac-cab-nav button[hidden] { display: none; }
.ac-cab-brand { margin: 0 0 8px; color: var(--ac-muted); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ac-cab-link { display: inline-flex; margin-top: 18px; margin-left: 10px; border: 1px solid var(--ac-border); border-radius: 999px; color: var(--ac-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 10px 18px; text-decoration: none; text-transform: uppercase; transition: all .2s ease; }
.ac-cab-link:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-cab-nav { position: sticky; top: var(--ac-header-h); z-index: 40; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border-bottom: 1px solid var(--ac-border); background: rgba(10,10,10,.95); backdrop-filter: blur(12px); padding: 12px 24px; }
.ac-cab-nav button { border: 1px solid var(--ac-border); border-radius: 999px; background: transparent; color: var(--ac-muted); cursor: pointer; font: 700 12px Inter, sans-serif; letter-spacing: .06em; padding: 8px 14px; text-transform: uppercase; transition: all .2s ease; }
.ac-cab-nav button:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-cab-nav button.is-active { border-color: #f5f5f5; background: #f5f5f5; color: #0a0a0a; }
.ac-cab-intro { border-bottom: 1px solid var(--ac-border); background: rgba(255,255,255,.025); padding: 56px 0 40px; }
.ac-cab-intro .ac-wrap > * + * { margin-top: 16px; }
.ac-cab-intro h1 { font-size: clamp(44px, 6vw, 72px); line-height: .92; font-weight: 800; }
.ac-cab { display: none; max-width: 1280px; margin: 0 auto; padding: 56px 24px 72px; box-sizing: border-box; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.ac-cab.is-active { display: grid; }
.ac-cab-media { display: flex; flex-direction: column; }
.ac-cab-stage { position: relative; flex: 1; min-height: 400px; overflow: hidden; border: 1px solid var(--ac-border); border-radius: 24px; background: linear-gradient(to bottom, #141414, #0a0a0a); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.ac-cab-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-cab-stage.is-empty > img { opacity: .3; }
.ac-cab-stage model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.ac-cab-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ac-muted); font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.ac-cab-hint { position: absolute; top: 14px; right: 14px; z-index: 3; border: 1px solid var(--ac-border); border-radius: 999px; background: rgba(10,10,10,.7); color: var(--ac-muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; padding: 5px 12px; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ac-cab-caption { position: absolute; inset: auto 0 0; z-index: 3; padding: 64px 18px 16px; background: linear-gradient(to top, rgba(10,10,10,.95), transparent); pointer-events: none; }
.ac-cab-caption small { display: block; color: var(--ac-muted); font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.ac-cab-caption strong { display: block; margin-top: 4px; font-family: var(--ac-display); font-size: 26px; font-weight: 800; text-transform: uppercase; }
.ac-cab-caption span { display: block; margin-top: 4px; color: var(--ac-muted); font-size: 13px; line-height: 1.5; }
.ac-cab-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ac-cab-modes button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ac-border); border-radius: 999px; background: transparent; color: var(--ac-muted); cursor: pointer; font: 700 12px Inter, sans-serif; letter-spacing: .05em; padding: 11px 20px; text-transform: uppercase; transition: all .2s ease; }
.ac-cab-modes button:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-cab-modes button.is-active { border-color: #f5f5f5; background: #f5f5f5; color: #0a0a0a; }
.ac-cab-demo { margin-top: 16px; border: 1px solid var(--ac-border); border-radius: 16px; background: var(--ac-card); padding: 16px; }
.ac-cab-demo[hidden] { display: none; }
.ac-cab-bar { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.ac-cab-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--ac-gradient); }
.ac-cab-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ac-cab-steps button { border: 1px solid var(--ac-border); border-radius: 999px; background: transparent; color: var(--ac-muted); cursor: pointer; font: 700 11px Inter, sans-serif; letter-spacing: .05em; padding: 7px 12px; text-transform: uppercase; transition: all .2s ease; }
.ac-cab-steps button:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.ac-cab-steps button.is-active { border-color: #f5f5f5; background: #f5f5f5; color: #0a0a0a; }
.ac-cab-steps .ac-cab-play { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: #f5f5f5; color: #0a0a0a; font-size: 13px; }
.ac-cab-info h2 { font-size: clamp(32px, 4vw, 40px); line-height: .95; font-weight: 800; }
.ac-cab-sub { margin: 8px 0 0; color: var(--ac-muted); font-size: 16px; line-height: 1.35; }
.ac-cab-desc { margin: 8px 0 0; color: var(--ac-muted); font-size: 13px; line-height: 1.4; }
.ac-cab-info h3 { margin-top: 18px; font-family: Inter, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.ac-cab-info ul { margin: 8px 0 0; padding: 0; list-style: none; }
.ac-cab-info li { position: relative; padding-left: 28px; color: var(--ac-muted); font-size: 14px; line-height: 1.6; }
.ac-cab-info li + li { margin-top: 4px; }
.ac-cab-info li:before { position: absolute; left: 0; top: 0; color: #e5e5e5; content: "✓"; font-weight: 700; }
.ac-cab-info ul.ac-cab-options { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-cab-info ul.ac-cab-options li { margin: 0; border: 1px solid var(--ac-border); border-radius: 999px; padding: 4px 10px; font-size: 11px; }
.ac-cab-info ul.ac-cab-options li:before { display: none; }
.ac-cab-todo { margin-top: 22px; border: 1px dashed var(--ac-border); border-radius: 16px; padding: 18px; color: var(--ac-muted); }
.ac-cab-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; border-radius: 999px; background: var(--ac-gradient-soft); background-size: 200% 100%; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 11px 22px; text-decoration: none; text-transform: uppercase; transition: background-position .6s ease, transform .3s ease; }
.ac-cab-cta:hover { background-position: 100% 0; transform: translateY(-2px); }

/* ---------- Animations d'apparition ---------- */
.ac-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.ac-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 1000px) {
  .ac-grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ac-cardgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ac-cab { grid-template-columns: 1fr; gap: 32px; }
  .ac-cab-stage { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 781px) {
  :root { --ac-header-h: 68px; }
  .ac-wrap { padding-inline: 18px; }
  .ac-section { padding-block: 64px; }
  .ac-split.wp-block-columns, .ac-cat-hero .wp-block-columns, .ac-contact-grid.wp-block-columns { gap: 36px; }
  .ac-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .ac-promos { grid-template-columns: 1fr; }
  .ac-cardgrid { grid-template-columns: 1fr; }
  .ac-grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .ac-imgcard-body h3 { font-size: 18px; }
  .ac-cat-hero { padding: 48px 0 100px; }
  .ac-chipnav .wp-block-buttons { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .ac-cab-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .ac-cab-nav::-webkit-scrollbar { display: none; }
  .ac-chip, .ac-cab-nav button { flex: none; }
  .ac-effects ul { grid-template-columns: 1fr; }
  .ac-form { padding: 24px; }
  .ac-form-grid { grid-template-columns: 1fr; }
  .ac-hero { min-height: 560px; }
  .ac-cab { padding: 36px 18px 56px; }
  .ac-slider { aspect-ratio: 4 / 3; }
  .ac-map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ac-reveal { opacity: 1; transform: none; }
  .ac-marquee-track, .ac-scrollhint a:after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Nouveautés : image de fond de la première section ---------- */
.ac-section:has(.ac-back a[href$="#nouveautes"]) { position: relative; padding-top: 150px; background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 55%, rgba(10,10,10,.3) 100%), linear-gradient(to top, #0a0a0a 0%, transparent 35%), url("assets/images/auto-hero.webp") right center / cover no-repeat; }
.ac-section:has(.ac-back a[href$="#nouveautes"]) .ac-lead { color: #e5e5e5; }

/* ---------- Menu replié sur tablette et mobile ---------- */
@media (max-width: 1099px) {
  .ac-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .ac-header .wp-block-navigation__responsive-container-open { display: flex !important; }
  .ac-scrollhint { display: none; }
  .ac-hero { padding-bottom: 48px; }
}

/* ---------- Hero : voir la vidéo sur tablette et mobile ---------- */
@media (max-width: 999px) {
  .ac-hero-watch { display: inline-flex; }
  .ac-hero .wp-block-cover__background { background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.3) 100%) !important; transition: opacity .5s ease; }
  .ac-hero .wp-block-cover__inner-container { transition: opacity .5s ease; }
  .ac-hero.is-watching .wp-block-cover__background, .ac-hero.is-watching .wp-block-cover__inner-container { opacity: 0 !important; pointer-events: none; }
  .ac-hero.is-watching .ac-hero-video { object-fit: contain; }
}
