/* ═══════════════════════════════════════════════════════
   VARIABLES GLOBALES
   Modifier ici pour changer les couleurs sans casser la page
   ═══════════════════════════════════════════════════════ */
:root {
    /* Palette de base */
    --blue:      #2ea8ff;
    --blue-soft: #74caff;
    --gold:      #d6b36a;
    --gray:      #666666;
    --radius:    8px;
    --shadow:    0 24px 70px rgba(0, 0, 0, 0.18);

    /* ── Thème PRO (navy acier froid) ─────────────────── */
    --pro-bg:       #11161c;
    --pro-surface:  #1a222d;
    --pro-accent:   var(--blue);
    --pro-border:   rgba(255, 255, 255, 0.10);
    --pro-card:     rgba(255, 255, 255, 0.055);
    --pro-header:   rgba(17, 22, 28, 0.88);

    /* ── Thème PARTICULIERS (ambre chaud, ambiance atelier) */
    /* Changer --particulier-bg pour tester une autre teinte */
    --particulier-bg:        #251a0e;
    --particulier-surface:   #30221a;
    --particulier-surface-2: #1e1410;
    --particulier-text:      #f5ece0;
    --particulier-text-soft: rgba(238, 218, 186, 0.66);
    --particulier-accent:    var(--gold);
    --particulier-border:    rgba(214, 179, 106, 0.26);
    --particulier-card:      rgba(214, 179, 106, 0.08);
    /* Voile derrière les horaires — ajuster l'opacité si peu lisible */
    --particulier-overlay:   rgba(214, 179, 106, 0.14);
    --particulier-header:    rgba(37, 26, 14, 0.94);

    /* Valeurs de secours si la config PHP n'injecte pas les variables. */
    --overlay-opacity: 0.70;
    --image-duration: 7000ms;
    --transition-speed: 2400ms;
    --slide-count: 4;
}

/* ─── THÈME PRO ─────────────────────────────────────────
   Navy froid, technique, corporate.
   Changer --pro-bg dans :root pour tout modifier d'un coup. */
.theme-pro {
    --page-bg:   var(--pro-bg);
    --surface:   var(--pro-surface);
    --surface-2: #243142;
    --text:      #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --border:    var(--pro-border);
    --header-bg: var(--pro-header);
    --card-bg:   var(--pro-card);
    --accent:    var(--pro-accent);
}

/* ─── THÈME ACCUEIL ──────────────────────────────────────
   Hybride : mêmes bases que Pro, conservé séparément
   pour pouvoir différencier sans toucher au Pro. */
.theme-home {
    --page-bg:   #11161c;
    --surface:   #1a222d;
    --surface-2: #243142;
    --text:      #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --border:    rgba(255, 255, 255, 0.1);
    --header-bg: rgba(17, 22, 28, 0.88);
    --card-bg:   rgba(255, 255, 255, 0.055);
    --accent:    var(--blue);
}

/* ─── THÈME PARTICULIERS ─────────────────────────────────
   Ambre chaud, approchable, "atelier artisanal".
   Changer --particulier-bg dans :root pour tout modifier. */
.theme-perso {
    --page-bg:   var(--particulier-bg);
    --surface:   var(--particulier-surface);
    --surface-2: var(--particulier-surface-2);
    --text:      var(--particulier-text);
    --text-soft: var(--particulier-text-soft);
    --border:    var(--particulier-border);
    --header-bg: var(--particulier-header);
    --card-bg:   var(--particulier-card);
    --accent:    var(--particulier-accent);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    font-optical-sizing: auto;
    background: var(--page-bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Fond visuel optionnel, injecte seulement sur les pages autorisees. */
.site-bg-carousel {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #070b10;
    pointer-events: none;
}

.site-bg-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at 18% 18%, rgba(46, 168, 255, 0.18), transparent 34%),
        radial-gradient(ellipse at 85% 75%, rgba(214, 179, 106, 0.16), transparent 38%),
        linear-gradient(110deg, rgba(4, 7, 12, var(--overlay-opacity)) 0%, rgba(4, 7, 12, 0.58) 48%, rgba(4, 7, 12, 0.82) 100%);
}

.visual-bg-particulier .site-bg-carousel::after {
    background:
        radial-gradient(ellipse at 25% 28%, rgba(214, 179, 106, 0.22), transparent 42%),
        linear-gradient(110deg, rgba(21, 13, 7, var(--overlay-opacity)) 0%, rgba(45, 27, 12, 0.62) 50%, rgba(15, 10, 7, 0.84) 100%);
}

.visual-bg-professionnel .site-bg-carousel::after {
    background:
        radial-gradient(ellipse at 18% 18%, rgba(46, 168, 255, 0.22), transparent 34%),
        linear-gradient(110deg, rgba(4, 8, 14, var(--overlay-opacity)) 0%, rgba(9, 18, 29, 0.66) 48%, rgba(3, 6, 10, 0.86) 100%);
}

.site-bg-slide {
    position: absolute;
    inset: -4vh -4vw;
    z-index: 1;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    animation: bgCarousel calc(var(--image-duration) * var(--slide-count)) ease-in-out infinite;
    will-change: opacity, transform;
}

.site-bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.site-bg-slide:only-child {
    animation: none;
    opacity: 1;
    transform: scale(1.02);
}

.site-bg-carousel.is-js .site-bg-slide {
    animation: none;
    transition: opacity var(--transition-speed) ease-in-out, transform calc(var(--transition-speed) * 2) ease-out;
}

@keyframes bgCarousel {
    0%,
    25% {
        opacity: 1;
        transform: scale(1.015);
    }
    33%,
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-bg-slide,
    .site-bg-slide.is-active {
        animation: none;
    }

    .site-bg-slide:not(:first-child) {
        opacity: 0;
    }

    .site-bg-slide:first-child {
        opacity: 1;
        transform: scale(1.02);
    }

    .logo-futuristic::before,
    .logo-futuristic .logo-lockup-mark,
    .logo-hologram-particulier::before,
    .logo-hologram-particulier .logo-lockup-mark {
        animation: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-x: hidden;
}

.svg-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ─── HEADER ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 6vw;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-logo {
    width: 34px;
    height: 30px;
    --logo-gold-animation: none;
    --logo-blue-animation: none;
    --logo-gray-animation: none;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}

.header-nav a:hover,
.header-nav a.is-active {
    background: rgba(46, 168, 255, 0.12);
    color: var(--text);
}

.social-icon {
    width: 40px;
    padding: 0;
}

.icon {
    width: 18px;
    height: 18px;
    display: block;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    padding: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.menu-toggle:hover {
    background: rgba(46, 168, 255, 0.1);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding: 128px 6vw 80px;
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-home {
    background:
        radial-gradient(ellipse at 18% 20%, rgba(46, 168, 255, 0.16), transparent 36%),
        radial-gradient(ellipse at 80% 72%, rgba(214, 179, 106, 0.13), transparent 38%),
        linear-gradient(145deg, #0f1419 0%, #151e2a 55%, #1e2c3c 100%);
}

.hero-pro {
    background:
        radial-gradient(ellipse at 18% 18%, rgba(46, 168, 255, 0.2), transparent 34%),
        radial-gradient(ellipse at 82% 72%, rgba(214, 179, 106, 0.15), transparent 36%),
        linear-gradient(145deg, #0e1520, #192230);
}

.hero-perso {
    background:
        radial-gradient(ellipse at 26% 30%, rgba(214, 179, 106, 0.38), transparent 52%),
        radial-gradient(ellipse at 80% 75%, rgba(180, 100, 30, 0.15), transparent 44%),
        linear-gradient(145deg, #150f08 0%, #1e1610 55%, #160f09 100%);
}

.has-visual-bg .hero-home,
.has-visual-bg .hero-pro,
.has-visual-bg .hero-perso {
    background: transparent;
}

.has-visual-bg .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.14) 46%, rgba(0, 0, 0, 0.5)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 42%, rgba(0, 0, 0, 0.32));
    pointer-events: none;
}

/* Small hero for contact / mentions pages */
.hero-sm {
    min-height: 38vh;
    grid-template-columns: 1fr;
    padding: 120px 6vw 72px;
    max-width: 760px;
}

.hero-copy,
.hero-logo-panel {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-copy {
    color: var(--text);
}

.theme-home .hero-copy {
    color: #ffffff;
}

.kicker {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(40px, 5.8vw, 88px);
    line-height: 0.97;
    letter-spacing: -2px;
    overflow-wrap: break-word;
}

.hero-sm h1 {
    font-size: clamp(32px, 4.5vw, 60px);
}

.hero-copy p,
.section-title p,
.service-card p,
.panel p,
.location-card p,
.audience-card p,
.logo-panel-note {
    color: var(--text-soft);
    line-height: 1.72;
    font-size: 16px;
}

.hero-copy p {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.65;
}

.hero-sm .hero-copy p {
    font-size: 17px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #061018;
    background: linear-gradient(135deg, var(--blue), var(--blue-soft));
    box-shadow: 0 14px 32px rgba(46, 168, 255, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 22px 52px rgba(46, 168, 255, 0.42);
}

.btn-secondary {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
}

.theme-perso .btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.theme-perso .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
}

.brandline {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    color: var(--text-soft);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brandline::before {
    content: "";
    flex: 0 0 60px;
    height: 2px;
    background: var(--gold);
}

/* ─── HERO LOGO PANEL ────────────────────────────────── */
.hero-logo-panel,
.hero-right-panel {
    justify-self: center;
    width: min(500px, 100%);
    text-align: center;
}

.theme-perso .hero-logo-panel {
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.theme-perso .hero-right-panel {
    position: relative;
}

.theme-perso .hero-right-panel::before {
    content: "";
    position: absolute;
    inset: -28px -34px;
    z-index: 0;
    background:
        radial-gradient(ellipse at 50% 26%, rgba(245, 236, 224, 0.28), rgba(245, 236, 224, 0.11) 34%, transparent 68%);
    pointer-events: none;
}

.theme-perso .hero-right-panel > * {
    position: relative;
    z-index: 1;
}

.theme-home .hero-logo-panel {
    padding: 20px;
    color: #ffffff;
}

.theme-pro .hero-logo-panel {
    padding: 20px;
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 520px);
    margin: 0 auto;
    --logo-gold-animation: none;
    --logo-blue-animation: none;
    --logo-gray-animation: none;
}

.logo-wordmark {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.logo-lockup.is-animated {
    --logo-gold-animation: goldPulse 8s ease-in-out infinite;
    --logo-blue-animation: bluePulse 8s ease-in-out infinite;
    --logo-gray-animation: grayPulse 8s ease-in-out infinite;
}

.logo-futuristic {
    position: relative;
    perspective: 900px;
    transform-style: preserve-3d;
}

.logo-futuristic::before {
    content: "";
    position: absolute;
    inset: -10% 4% 24%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 44%, rgba(46, 168, 255, 0.26), transparent 58%),
        radial-gradient(ellipse at 52% 58%, rgba(214, 179, 106, 0.16), transparent 52%);
    filter: blur(18px);
    opacity: 0.72;
    animation: hologramGlow 9s ease-in-out infinite;
    pointer-events: none;
}

.logo-futuristic .logo-lockup-mark {
    transform-origin: 50% 52%;
    animation: logoHologramTilt 12s ease-in-out infinite;
    filter:
        drop-shadow(0 0 14px rgba(46, 168, 255, 0.26))
        drop-shadow(0 18px 34px rgba(0, 0, 0, 0.32));
}

.logo-futuristic .logo-wordmark {
    text-shadow:
        0 0 16px rgba(46, 168, 255, 0.18),
        0 16px 30px rgba(0, 0, 0, 0.28);
}

.logo-hologram-particulier {
    position: relative;
}

.logo-hologram-particulier::before {
    content: "";
    position: absolute;
    inset: -10% 4% 24%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 44%, rgba(245, 236, 224, 0.28), transparent 58%),
        radial-gradient(ellipse at 52% 58%, rgba(66, 72, 82, 0.18), transparent 52%);
    filter: blur(18px);
    opacity: 0.62;
    animation: particulierLogoAura 9s ease-in-out infinite;
    pointer-events: none;
}

.logo-hologram-particulier .logo-lockup-mark {
    filter:
        drop-shadow(0 0 14px rgba(245, 236, 224, 0.20))
        drop-shadow(0 18px 34px rgba(0, 0, 0, 0.30));
}

.logo-lockup-particulier {
    --logo-graphite: #20262d;
    --logo-gold: var(--logo-graphite);
    --logo-blue: var(--logo-graphite);
    --logo-gray: var(--logo-graphite);
    animation: none;
}

.logo-lockup-particulier .logo-lockup-mark {
    filter:
        drop-shadow(0 1px 1px rgba(255, 255, 255, 0.18))
        drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.logo-lockup-particulier .logo-wordmark {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.18), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.logo-lockup-pro .brand-sub {
    overflow: visible;
    white-space: nowrap;
    font-size: clamp(15px, 2.1vw, 24px);
    letter-spacing: 3px;
}

.logo-lockup-pro .logo-wordmark {
    overflow: visible;
}

.logo-lockup-pro .brand-sub .pro {
    color: var(--gold);
}

.logo-mark {
    width: min(260px, 58vw);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.26));
    animation: logoFloat 7s ease-in-out infinite;
}

.logo-shape {
    transform: none;
}


.brand-main {
    margin-top: 22px;
    color: var(--blue);
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 950;
    letter-spacing: 7px;
    line-height: 1;
}

.brand-sub {
    margin-top: 12px;
    min-height: 38px;
    color: #424852;
    font-size: clamp(17px, 2.4vw, 26px);
    font-weight: 900;
    letter-spacing: 4px;
    position: relative;
    overflow: hidden;
}

.theme-home .brand-sub,
.theme-pro .brand-sub,
.theme-perso .brand-sub {
    color: rgba(255, 255, 255, 0.86);
}

.slogan {
    margin-top: 20px;
    min-height: 28px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
}

.slogan-static {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 1;
}

.switch-line {
    position: absolute;
    inset: 0;
    opacity: 0;
    text-align: center;
    white-space: nowrap;
}

.pro-line {
    animation: showPro 8s ease-in-out infinite;
}

.normal-line {
    animation: showNormal 8s ease-in-out infinite;
}

.info {
    color: var(--blue);
}

.pro {
    color: var(--gold);
}

.normal-info {
    color: #424852;
}

.theme-home .normal-info,
.theme-pro .normal-info,
.theme-perso .normal-info {
    color: rgba(255, 255, 255, 0.86);
}

/* ─── SECTIONS ───────────────────────────────────────── */
.section {
    padding: 100px 6vw;
    background: var(--surface);
    scroll-margin-top: 64px;
}

.has-visual-bg .section {
    background: rgba(12, 17, 24, 0.88);
    backdrop-filter: blur(10px);
}

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

.theme-perso .services-section {
    background: var(--surface-2);
}

.has-visual-bg.theme-perso .section {
    background: rgba(35, 24, 14, 0.88);
}

.has-visual-bg.theme-perso .services-section {
    background: rgba(24, 16, 11, 0.9);
}

.section-title {
    max-width: 800px;
    margin-bottom: 48px;
}

.section-title span,
.panel small,
.audience-card small,
.location-card span {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title h2,
.panel h2,
.location-card h2 {
    margin: 14px 0 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    font-weight: 950;
}

/* ─── SERVICE CARDS ──────────────────────────────────── */
.service-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.audience-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    border-left: 3px solid var(--accent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
}

.audience-card {
    border-left: none;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
}

.theme-home .audience-perso {
    background: #e8f2fa;
    color: #12171c;
    box-shadow: 0 8px 28px rgba(20, 34, 48, 0.06);
}

.theme-perso .service-card {
    border-left-color: var(--gold);
}

.theme-home .audience-pro {
    background: linear-gradient(145deg, #121922, #243142);
    color: #ffffff;
}

.theme-home .audience-pro p,
.dark-panel p,
.light-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.service-card b,
.audience-card h3 {
    display: block;
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

.audience-card h3 {
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -1px;
    margin: 0;
}

.audience-card small {
    margin-bottom: 6px;
}

.audience-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ─── SPLIT PANELS ───────────────────────────────────── */
.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    min-height: 360px;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.dark-panel {
    background: linear-gradient(145deg, #111820, #1f2e40);
    color: #ffffff;
}

.light-panel {
    background: linear-gradient(145deg, #1e2d3e, #16222e);
    color: #ffffff;
}

.soft-panel {
    background: linear-gradient(145deg, #261c12, #32241a);
    color: #f5ece0;
}

.soft-panel small,
.clear-panel small {
    color: var(--gold);
}

.clear-panel {
    background: linear-gradient(145deg, #201810, #2a2016);
    color: #f5ece0;
}

/* ─── LOCATION / FOOTER ──────────────────────────────── */
.location-section {
    background: var(--surface-2);
    scroll-margin-top: 64px;
}

.theme-perso .location-section {
    background: var(--surface-2);
}

.location-card {
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.1);
}

.theme-perso .location-card {
    background: rgba(214, 179, 106, 0.07);
    border-color: rgba(214, 179, 106, 0.2);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.location-hours {
    margin-top: 18px;
}

.location-hours span {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.location-hours p {
    margin: 2px 0;
    color: var(--text-soft);
    font-size: 15px;
}

.location-card h2 {
    font-size: clamp(22px, 3vw, 36px);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 28px 6vw;
    background: #0b0f14;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials a {
    display: inline-flex;
    transition: opacity 0.15s;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.82);
}

/* ─── CONTACT PAGE ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
}

.theme-perso .contact-info-card {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.contact-info-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.15s, border-color 0.15s;
}

.contact-socials a:hover {
    background: rgba(46, 168, 255, 0.1);
    border-color: var(--blue);
}

/* Contact form */
.contact-form-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
}

.theme-perso .contact-form-card {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.contact-form-card h3 {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
}

.theme-perso .form-group input,
.theme-perso .form-group select,
.theme-perso .form-group textarea {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.15);
}

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

.form-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}

.form-notice.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text);
}

.form-notice.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: var(--text);
}

/* ─── MENTIONS LÉGALES ───────────────────────────────── */
.prose {
    max-width: 720px;
    padding: 100px 6vw;
    background: var(--surface);
}

.prose h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 40px 0 12px;
    color: var(--text);
}

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

.prose p,
.prose ul {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.78;
    margin: 0 0 14px;
}

.prose ul {
    padding-left: 22px;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 36px 0;
}

/* ─── HERO DROITE (logo + horaires accueil) ─────────── */
.hero-right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    justify-self: center;
    width: min(500px, 100%);
}

.hero-hours-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 22px;
    backdrop-filter: blur(8px);
}

/* Carte horaires Particuliers — voile ambre, identité propre.
   Ajuster --particulier-overlay dans :root pour changer l'intensité. */
.hero-hours-card--light {
    background: var(--particulier-overlay);
    border-color: var(--particulier-border);
    backdrop-filter: blur(6px);
}

.hero-hours-card--light .hero-hours-label {
    color: var(--gold);
}

.hero-hours-card--light .hero-hours-table td {
    color: var(--particulier-text-soft);
}

.hero-hours-card--light .h-day {
    color: var(--particulier-text);
    font-weight: 800;
}

.hero-hours-card--light .h-closed td {
    opacity: 0.28;
}

.hero-hours-card--light .hero-hours-table tr {
    border-bottom-color: rgba(214, 179, 106, 0.14);
}

.hero-hours-card--light .hero-hours-more {
    color: var(--gold);
    opacity: .85;
}

.hero-hours-card--light .hero-hours-more:hover {
    opacity: 1;
}

.hero-hours-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.hero-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hero-hours-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-hours-table tr:last-child {
    border-bottom: none;
}

.hero-hours-table td {
    padding: 5px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    vertical-align: middle;
}

.h-day {
    font-weight: 700;
    color: #fff;
    width: 42px;
    padding-right: 12px;
}

.h-closed td {
    opacity: 0.35;
}

.hero-hours-more {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: .5px;
    transition: opacity 0.15s;
}

.hero-hours-more:hover {
    opacity: .75;
}

@media (max-width: 980px) {
    .hero-right-panel {
        width: 100%;
    }
}

/* ─── BANNIÈRE VACANCES ──────────────────────────────── */
.vacation-banner {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    z-index: 19;
    background: linear-gradient(135deg, #b45309, #8a3a0a);
    color: #fff;
    padding: 10px 6vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.vacation-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
    flex-wrap: wrap;
}

.vacation-inner svg {
    flex-shrink: 0;
    opacity: .9;
}

.vacation-link {
    margin-left: auto;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    transition: background 0.15s;
}

.vacation-link:hover {
    background: rgba(255,255,255,.15);
}

.has-vacation main {
    padding-top: 48px;
}

@media (max-width: 980px) {
    .vacation-banner {
        top: 64px;
        padding: 9px 18px;
    }

    .has-vacation main {
        padding-top: 70px;
    }

    .vacation-link {
        margin-left: 30px;
    }
}

/* ─── LOCALISATION (carte + adresse + boutons) ────────── */
/* Grille : carte OSM à gauche, infos + boutons à droite */
.location-card {
    display: grid;
    grid-template-areas:
        "map info"
        "map actions";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px 40px;
    align-items: start;
}

.location-map     { grid-area: map; }
.location-info    { grid-area: info; }
.location-actions { grid-area: actions; align-self: end; }

.location-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* Iframe OpenStreetMap
   MAP_LAT / MAP_LON / MAP_DELTA modifiables dans inc/config.php */
.osm-frame {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: var(--radius);
    display: block;
    /* Filtre pour intégrer l'iframe OSM (fond blanc par défaut) dans un thème sombre */
    filter: brightness(0.88) saturate(0.80);
}

.theme-perso .osm-frame {
    /* Teinte chaude sur le fond ambre Particuliers */
    filter: brightness(0.82) saturate(0.72) sepia(0.12);
}

.osm-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-soft);
    text-decoration: underline;
    opacity: .7;
}

.osm-link:hover { opacity: 1; }


/* ─── SAV À DISTANCE ─────────────────────────────────── */
.btn-remote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-remote:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.35);
    color: #fff;
}

.remote-support-cta {
    margin-top: 32px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.remote-support-cta .remote-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.remote-support-cta .remote-text {
    flex: 1;
}

.remote-support-cta .remote-text h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
}

.remote-support-cta .remote-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
}

@media (max-width: 860px) {
    .location-card {
        grid-template-areas: "map" "info" "actions";
        grid-template-columns: 1fr;
    }
    .osm-frame { height: 200px; }
}

/* ─── GALERIE ────────────────────────────────────────── */

/* En-tête compact — remplace le hero surdimensionné */
.gallery-page-header {
    padding: 110px 6vw 40px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(46, 168, 255, 0.12), transparent 40%),
        linear-gradient(145deg, #0f1419 0%, #151e2a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-page-header-inner {
    max-width: 680px;
}

.gallery-title {
    margin: 10px 0 8px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1px;
    color: #fff;
    font-weight: 950;
}

.gallery-intro {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.05);
}

.gallery-item:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Overlay "agrandir" au survol */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

/* ─── LIGHTBOX CAROUSEL ──────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    backdrop-filter: blur(8px);
}

.lightbox[hidden] { display: none; }

.lb-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 160px);
    max-height: 100vh;
    padding: 60px 0 40px;
}

.lb-image {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lb-image.lb-loaded {
    opacity: 1;
}

.lb-info {
    margin-top: 14px;
    text-align: center;
}

.lb-caption {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin: 0 0 6px;
    max-width: 600px;
}

.lb-counter {
    color: rgba(255, 255, 255, 0.38);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    z-index: 101;
}

.lb-close:hover { background: rgba(255, 255, 255, 0.18); }

.lb-nav {
    flex: 0 0 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    margin: 0 12px;
}

.lb-nav:hover { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 640px) {
    .lb-stage { max-width: calc(100vw - 100px); padding: 56px 0 56px; }
    .lb-nav { flex: 0 0 44px; height: 44px; margin: 0 4px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

/* ─── ACTUALITÉS ─────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.news-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
}

.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.news-card-date {
    font-size: 11px;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.news-card-title a {
    color: var(--text);
    text-decoration: none;
}

.news-card-title a:hover {
    color: var(--blue);
}

.news-card-summary {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Article complet */
.article-hero-img {
    width: 100%;
    aspect-ratio: 16 / 6;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 36px;
    display: block;
}

.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-soft);
}

/* ─── LOGO ANIMATIONS ─────────────────────────────────── */
.part-gold {
    fill: var(--logo-gold, var(--gold));
    animation: var(--logo-gold-animation, none);
}

.part-blue {
    fill: var(--logo-blue, var(--blue));
    animation: var(--logo-blue-animation, none);
}

.part-gray {
    fill: var(--logo-gray, var(--gray));
    animation: var(--logo-gray-animation, none);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.01); }
}

@keyframes logoHologramTilt {
    0%, 100% {
        transform: rotateY(-4deg) rotateX(1deg) translateY(0) scale(1);
    }
    50% {
        transform: rotateY(4deg) rotateX(-1.5deg) translateY(-5px) scale(1.012);
    }
}

@keyframes hologramGlow {
    0%, 100% {
        opacity: 0.52;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.78;
        transform: scale(1.04);
    }
}

@keyframes particulierLogoAura {
    0%, 100% {
        opacity: 0.48;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.72;
        transform: scale(1.04);
    }
}

@keyframes showPro {
    0% { opacity: 0; transform: translateY(10px); }
    10%, 45% { opacity: 1; transform: translateY(0); }
    55%, 100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes showNormal {
    0%, 50% { opacity: 0; transform: translateY(10px); }
    60%, 95% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes goldPulse {
    0%, 45%, 100% { fill: var(--gold); }
    55%, 95% { fill: var(--gray); }
}

@keyframes bluePulse {
    0%, 45%, 100% { fill: var(--blue); }
    55%, 95% { fill: var(--gray); }
}

@keyframes grayPulse {
    0%, 100% { fill: var(--gray); }
    50% { fill: #7b8693; }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 980px) {
    .site-header {
        position: sticky;
        padding: 12px 20px;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 42px;
    }

    .header-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--header-bg);
        backdrop-filter: blur(18px);
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-nav a {
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 72px 22px 72px;
    }

    .hero-sm {
        padding: 96px 22px 60px;
    }

    .hero-home {
        background:
            radial-gradient(ellipse at 10% 10%, rgba(46, 168, 255, 0.18), transparent 38%),
            linear-gradient(180deg, #0f1419 0%, #162130 100%);
    }

    .section {
        padding: 72px 22px;
    }

    .prose {
        padding: 72px 22px;
    }

    .service-grid,
    .audience-grid,
    .split-panel,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 660px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero {
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .hero-copy,
    .hero-copy p,
    .hero-logo-panel {
        max-width: min(100%, 340px);
    }

    .header-brand span {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    h1 {
        font-size: 36px;
        line-height: 1.04;
        letter-spacing: -1px;
    }

    .brandline {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 1.6;
    }

    .hero-copy p {
        font-size: 16px;
        overflow-wrap: break-word;
    }

    .brand-main {
        letter-spacing: 3px;
    }

    .brand-sub {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .logo-lockup-pro .brand-sub {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .slogan {
        min-height: 46px;
    }

    .switch-line {
        white-space: normal;
    }

    .panel,
    .location-card,
    .service-card,
    .audience-card,
    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .form-grid2 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT — Layout plein écran gauche/droite
   ═══════════════════════════════════════════════════════════ */

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: calc(100svh - 72px);
}

.contact-side-panel {
    background: var(--surface-raised, rgba(255,255,255,.04));
    border-right: 1px solid var(--border, rgba(255,255,255,.08));
    display: flex;
    align-items: center;
}

.contact-side-inner {
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-side-inner h1 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    margin: 4px 0 0;
}

.contact-side-intro {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0;
}

.contact-side-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.contact-side-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--text-soft);
}

.contact-side-block strong {
    color: var(--text);
    font-weight: 600;
}

.contact-side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}

.contact-side-link:hover { color: var(--accent); }

.contact-side-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-panel {
    display: flex;
    align-items: center;
    padding: 48px clamp(24px, 5vw, 64px);
}

.contact-form-inner {
    width: 100%;
    max-width: 620px;
}

.contact-form-inner h2 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin: 0 0 28px;
}

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

    .contact-side-panel {
        border-right: none;
        border-bottom: 1px solid var(--border, rgba(255,255,255,.08));
        align-items: flex-start;
    }

    .contact-side-inner {
        padding: 32px 24px;
    }

    .contact-form-panel {
        padding: 32px 24px;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════
   OÙ NOUS TROUVER — Layout plein écran carte + panneau
   ═══════════════════════════════════════════════════════════ */

.trouver-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    height: calc(100svh - 72px);
    min-height: 500px;
}

.trouver-map {
    position: relative;
    overflow: hidden;
}

.trouver-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: brightness(.92) saturate(.8) sepia(.12);
}

.trouver-map .osm-link {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 11px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    background: rgba(0,0,0,.45);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.trouver-map .osm-link:hover { color: #fff; }

.trouver-panel {
    background: var(--surface, #1a2030);
    border-left: 1px solid var(--border, rgba(255,255,255,.08));
    overflow-y: auto;
    display: flex;
    align-items: center;
}

.trouver-panel-inner {
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trouver-panel-inner h1 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    margin: 4px 0 0;
    line-height: 1.2;
}

.trouver-address {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
}

.trouver-phone,
.trouver-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}

.trouver-phone:hover,
.trouver-email:hover { color: var(--accent); }

.trouver-email { font-weight: 400; color: var(--text-soft); }

.trouver-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

/* Responsive : carte au-dessus, panneau en-dessous */
@media (max-width: 768px) {
    .trouver-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 55vw auto;
        height: auto;
    }

    .trouver-panel {
        border-left: none;
        border-top: 1px solid var(--border, rgba(255,255,255,.08));
        align-items: flex-start;
    }

    .trouver-panel-inner {
        padding: 32px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════
   GALERIE — Carousel automatique plein largeur
   ═══════════════════════════════════════════════════════════ */

.ac-wrap {
    position: relative;
    width: 100%;
    height: calc(100svh - 72px);
    min-height: 420px;
    overflow: hidden;
    background: #000;
    user-select: none;
}

.ac-track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.ac-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.ac-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dégradé bas pour lisibilité de la légende */
.ac-slide::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
    pointer-events: none;
}

/* ─── Légende ─────────────────────────────────────────────── */
.ac-caption {
    position: absolute;
    bottom: 54px;
    left: 0;
    right: 0;
    padding: 0 clamp(24px, 6vw, 80px);
    display: flex;
    align-items: baseline;
    gap: 16px;
    z-index: 2;
    color: #fff;
}

.ac-caption-num {
    font-size: 12px;
    letter-spacing: .12em;
    opacity: .55;
    white-space: nowrap;
}

.ac-caption-text {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    letter-spacing: .03em;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* ─── Boutons Précédent / Suivant ─────────────────────────── */
.ac-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.40);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s, transform .2s;
}

.ac-btn:hover {
    background: rgba(0,0,0,.65);
    transform: translateY(-50%) scale(1.08);
}

.ac-prev { left: clamp(12px, 3vw, 36px); }
.ac-next { right: clamp(12px, 3vw, 36px); }

/* ─── Points de navigation ────────────────────────────────── */
.ac-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.38);
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}

.ac-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

.ac-dot:hover:not(.is-active) {
    background: rgba(255,255,255,.65);
}

/* ─── Barre de progression ────────────────────────────────── */
.ac-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent, #e0a020);
    z-index: 10;
    border-radius: 0 2px 2px 0;
}

/* ─── Bouton Pause / Play ─────────────────────────────────── */
.ac-playpause {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.38);
    color: rgba(255,255,255,.75);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s, color .2s;
}

.ac-playpause:hover {
    background: rgba(0,0,0,.60);
    color: #fff;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .ac-wrap {
        height: calc(100svh - 60px);
        min-height: 300px;
    }

    .ac-btn {
        width: 38px;
        height: 38px;
    }

    .ac-caption {
        bottom: 46px;
        gap: 10px;
    }
}

/* GALERIE MODERNE */
.gallery-page {
    --gallery-bg: #080c10;
}

.gallery-main {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 18% 8%, rgba(46, 168, 255, 0.12), transparent 34%),
        radial-gradient(ellipse at 86% 34%, rgba(214, 179, 106, 0.10), transparent 30%),
        linear-gradient(180deg, #080c10 0%, #101720 48%, #0a0f14 100%);
    color: #fff;
    overflow: hidden;
}

.gallery-empty {
    min-height: 70vh;
    padding: 150px 6vw 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-soft);
}

.gallery-showcase {
    position: relative;
    min-height: 82svh;
    padding: 112px 6vw 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
    gap: clamp(18px, 3vw, 34px);
    align-items: end;
    isolation: isolate;
}

.gallery-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 5, 8, 0.80), rgba(3, 5, 8, 0.32) 46%, rgba(3, 5, 8, 0.72)),
        linear-gradient(180deg, rgba(3, 5, 8, 0.18), rgba(3, 5, 8, 0.78));
}

.gallery-showcase-bg {
    position: absolute;
    inset: -30px;
    z-index: -2;
    background-position: center;
    background-size: cover;
    filter: blur(22px) saturate(0.9) brightness(0.58);
    transform: scale(1.08);
}

.gallery-featured,
.gallery-tile {
    appearance: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
}

.gallery-featured {
    position: relative;
    width: 100%;
    border-radius: 8px;
    background: #111820;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
    transform: translateZ(0);
}

.gallery-featured img {
    width: 100%;
    height: min(64svh, 680px);
    min-height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease, filter 1.2s ease;
}

.gallery-featured:hover img {
    transform: scale(1.035);
    filter: saturate(1.06);
}

.gallery-featured span,
.gallery-tile span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.gallery-featured::after,
.gallery-tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
    opacity: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
}

.gallery-featured:hover span,
.gallery-featured:hover::after,
.gallery-tile:hover span,
.gallery-tile:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-strip {
    display: grid;
    gap: 12px;
    align-content: end;
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.78;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    animation: galleryFloat 9s ease-in-out infinite;
}

.gallery-strip img:nth-child(2n) {
    animation-delay: -3s;
}

.gallery-wall {
    padding: 28px 6vw 110px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 12px;
    gap: 14px;
}

.gallery-tile {
    position: relative;
    grid-row: span 18;
    border-radius: 8px;
    background: #111820;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.28s ease;
}

.gallery-tile:nth-child(3n + 1) {
    grid-row: span 24;
}

.gallery-tile:nth-child(4n + 2) {
    grid-row: span 15;
}

.gallery-tile.is-large {
    grid-column: span 2;
    grid-row: span 28;
}

.gallery-tile.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.gallery-tile:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.03);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 7vh 5vw;
    background: rgba(4, 7, 10, 0.88);
    backdrop-filter: blur(12px);
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox img {
    max-width: min(1180px, 100%);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 38px 120px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox p {
    position: absolute;
    left: 5vw;
    right: 5vw;
    bottom: 22px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.gallery-lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    cursor: pointer;
}

@keyframes galleryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
    .gallery-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gallery-strip {
        grid-template-columns: repeat(5, 1fr);
    }

    .gallery-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gallery-showcase {
        padding: 96px 18px 28px;
    }

    .gallery-featured img {
        height: 58svh;
        min-height: 300px;
    }

    .gallery-strip {
        display: none;
    }

    .gallery-wall {
        padding: 18px 18px 72px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 10px;
        gap: 10px;
    }

    .gallery-tile,
    .gallery-tile:nth-child(3n + 1),
    .gallery-tile:nth-child(4n + 2) {
        grid-row: span 18;
    }

    .gallery-tile.is-large {
        grid-column: span 2;
        grid-row: span 24;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-strip img,
    .gallery-featured img,
    .gallery-tile,
    .gallery-tile img {
        animation: none;
        transition: none;
    }
}
