/* ============================================================
   LE HAVANE TABAC PRESSE LOTO — Premium Showcase Website
   Color System:
     Primary:    #0f325c (Navy Blue — from logo)
     Gold:       #c9a84c (Warm gold — from logo accents)
     Light:      #f7f4ef (Warm cream)
     Dark:       #1a1a2e (Near-black)
     Accent:     #1a5f8a (Medium blue)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0f325c;
    --primary-dark: #091f3a;
    --primary-light: #1a5f8a;
    --gold: #c9a84c;
    --gold-light: #dfc478;
    --gold-dark: #a8893a;
    --cream: #f7f4ef;
    --cream-dark: #ece6da;
    --white: #ffffff;
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --success: #2d8a4e;
    --danger: #c0392b;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(15,50,92,.08);
    --shadow-md: 0 4px 16px rgba(15,50,92,.1);
    --shadow-lg: 0 8px 32px rgba(15,50,92,.12);
    --shadow-xl: 0 16px 48px rgba(15,50,92,.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- SECTION HEADER ---- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.section-header__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header__title--left { text-align: left; }
.section-header__title--left::after { margin-left: 0; }

.section-header__desc {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}
.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============ NAVBAR — PREMIUM ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
    padding: 20px 0;
}

.navbar--scrolled {
    background: rgba(9,31,58,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo img {
    height: 50px;
    width: auto;
    transition: all var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}
.navbar--scrolled .navbar__logo img { height: 38px; }

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2px;
    background: rgba(255,255,255,.06);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.navbar--scrolled .navbar__menu {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
}

.navbar__link {
    display: block;
    padding: 8px 18px;
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .5px;
    border-radius: 50px;
    transition: all var(--transition);
    position: relative;
}
.navbar__link:hover {
    color: var(--white);
    background: rgba(255,255,255,.1);
}
.navbar__link.active {
    color: var(--primary-dark);
    background: var(--gold);
    font-weight: 600;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.navbar__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active .navbar__toggle-bar:nth-child(2) { opacity: 0; }
.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    overflow: hidden;
}

/* -- Video backgrounds -- */
.hero__video {
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    object-position: top left;
    opacity: 0;
    transition: opacity 2s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    will-change: opacity;
}
.hero__video--active { opacity: 1; }
/* Slow subtle zoom while video plays */
.hero__video--active {
    animation: videoBreath 8s ease-in-out;
}
@keyframes videoBreath {
    0% { transform: scale(1); }
    100% { transform: scale(1.03); }
}

/* -- Mosaic explosion -- */
.hero__mosaic {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
    will-change: opacity;
}
.hero__mosaic.active { opacity: 1; }
.hero__mosaic.fading-out { opacity: 0; transition: opacity 1.8s cubic-bezier(.4,0,.2,1); }

.hero__mosaic-item {
    overflow: hidden;
    transform: scale(0) rotate(-5deg);
    opacity: 0;
    will-change: transform, opacity;
}

.hero__mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mosaic IN: smooth burst from center */
.hero__mosaic.animating-in .hero__mosaic-item {
    animation: mosaicBurstIn 1s cubic-bezier(.22,1,.36,1) forwards;
}

/* Stagger — spiral from center outward */
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(1)  { animation-delay: 0ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(2)  { animation-delay: 80ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(3)  { animation-delay: 160ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(4)  { animation-delay: 240ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(5)  { animation-delay: 60ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(6)  { animation-delay: 140ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(7)  { animation-delay: 220ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(8)  { animation-delay: 300ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(9)  { animation-delay: 120ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(10) { animation-delay: 200ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(11) { animation-delay: 280ms; }
.hero__mosaic.animating-in .hero__mosaic-item:nth-child(12) { animation-delay: 360ms; }

/* Held mosaic: subtle Ken Burns on each tile */
.hero__mosaic.holding .hero__mosaic-item {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}
.hero__mosaic.holding .hero__mosaic-item img {
    animation: mosaicKenBurns 6s ease-in-out infinite alternate;
}

@keyframes mosaicBurstIn {
    0% {
        transform: scale(0) rotate(-5deg);
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    70% {
        transform: scale(1.03) rotate(0.3deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes mosaicKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* -- Overlay stays on top of videos/mosaic -- */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        170deg,
        rgba(9,31,58,.88) 0%,
        rgba(15,50,92,.75) 40%,
        rgba(26,95,138,.65) 100%
    );
    transition: opacity .8s ease;
}
.hero__overlay--dim {
    background: linear-gradient(
        170deg,
        rgba(9,31,58,.6) 0%,
        rgba(15,50,92,.45) 40%,
        rgba(26,95,138,.35) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.25);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(0,0,0,.2);
}

.hero__logo {
    max-width: clamp(260px, 40vw, 400px);
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,.3));
}

.hero__partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero__partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.95);
    border-radius: 12px;
    padding: 8px 16px;
    min-height: 56px;
    transition: all var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.hero__partner-item:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.hero__partner-item--tabac {
    padding: 4px 12px;
    background: transparent;
    box-shadow: none;
}

.hero__partner-logo {
    height: auto;
    display: block;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero__description {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero__stars { display: flex; gap: 3px; color: var(--gold); }

.hero__rating-text {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

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

/* ============ PARTNERS LOGOS BAR ============ */
.partners {
    background: var(--white);
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.partners__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partners__item {
    opacity: .7;
    transition: all var(--transition);
    flex-shrink: 0;
}
.partners__item:hover { opacity: 1; transform: scale(1.05); }

.partners__item img { height: 56px; width: auto; }

/* ============ SERVICES ============ */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(15,50,92,.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(15,50,92,.06), rgba(201,168,76,.08));
    border-radius: 50%;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card__icon--logo {
    background: transparent;
    border-radius: 0;
    width: auto;
    height: 64px;
}
.service-card__icon--logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.service-card:hover .service-card__icon:not(.service-card__icon--logo) {
    background: var(--primary);
    color: var(--gold);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card__text {
    color: var(--gray-600);
    font-size: .9rem;
    line-height: 1.6;
}

/* ============ PRESSE & LIBRAIRIE ============ */
.presse {
    padding: 100px 0;
    background: var(--white);
}

.presse__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.presse__images { position: relative; }

.presse__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.presse__img-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.presse__img-main:hover img { transform: scale(1.03); }

.presse__img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}
.presse__img-secondary img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.presse__content { padding-left: 20px; }

.presse__text {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.presse__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.presse__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-soft);
    font-size: .95rem;
}
.presse__list svg { color: var(--gold); flex-shrink: 0; }

.presse__quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary);
    opacity: .6;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

/* ============ JEUX & LOTERIE ============ */
.jeux {
    padding: 100px 0;
    background: var(--cream);
}

.jeux__single { max-width: 900px; margin: 0 auto; }

.jeux__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.jeux__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.jeux__card--full {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 460px;
}

.jeux__card-img {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #001a4d, #003da5);
}
.jeux__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.jeux__card:hover .jeux__card-img img { transform: scale(1.05); }

.jeux__card-img--portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.jeux__card-img--portrait img {
    width: auto;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.jeux__card-content {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jeux__card-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.jeux__official-logo {
    height: 40px;
    width: auto;
}

.jeux__card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.jeux__card-content p {
    color: var(--gray-600);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.jeux__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.jeux__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-soft);
    font-size: .9rem;
}
.jeux__list svg { color: var(--gold); flex-shrink: 0; }

/* ============ HORAIRES ============ */
.horaires {
    padding: 100px 0;
    background: var(--white);
}

.horaires__layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}

.horaires__intro {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.horaires__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.horaires__table thead th {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    padding: 12px 16px;
    border-bottom: 2px solid var(--primary);
    text-align: left;
}

.horaires__table tbody td {
    padding: 14px 16px;
    font-size: .95rem;
    color: var(--dark-soft);
    border-bottom: 1px solid var(--gray-200);
}

.horaires__table tbody tr:hover { background: rgba(15,50,92,.02); }

.horaires__table tbody td:first-child {
    font-weight: 600;
    color: var(--primary);
}

.horaires__closed {
    color: var(--danger);
    font-weight: 500;
    font-size: .85rem;
}

.horaires__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--gray-500);
    font-size: .85rem;
    font-style: italic;
    margin-top: 16px;
}
.horaires__note svg { flex-shrink: 0; margin-top: 2px; }

.horaires__visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horaires__card-info {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.horaires__card-info:hover {
    border-color: rgba(201,168,76,.2);
    box-shadow: var(--shadow-md);
}

.horaires__card-icon { color: var(--gold); margin-bottom: 12px; }

.horaires__card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.horaires__card-info p {
    color: var(--dark-soft);
    font-size: .95rem;
    margin-bottom: 4px;
}

.horaires__card-detail {
    font-size: .82rem;
    color: var(--gray-500);
}

.horaires__phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary) !important;
}
.horaires__phone:hover { color: var(--gold) !important; }

.horaires__social {
    font-weight: 600;
    color: var(--primary) !important;
}
.horaires__social:hover { color: var(--gold) !important; }

/* ============ GALERIE ============ */
.galerie {
    padding: 100px 0;
    background: var(--primary);
}

.galerie .section-header__tag { color: var(--gold-light); }
.galerie .section-header__title { color: var(--white); }
.galerie .section-header__title::after {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.galerie .section-header__desc { color: rgba(255,255,255,.6); }

.galerie__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.galerie__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.galerie__item--wide { grid-column: span 2; }

.galerie__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.galerie__item:hover img { transform: scale(1.06); }

.galerie__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--white);
    font-size: .88rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
}
.galerie__item:hover .galerie__caption {
    opacity: 1;
    transform: translateY(0);
}

/* ============ CONTACT ============ */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.contact__card-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.contact__logo { height: 52px; width: auto; }

.contact__detail {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.contact__detail:last-child { margin-bottom: 0; }

.contact__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,50,92,.05);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 2px;
}
.contact__detail p {
    font-size: .95rem;
    color: var(--dark-soft);
}

.contact__services-recap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    box-shadow: var(--shadow-md);
}

.contact__services-recap h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact__tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(15,50,92,.05);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition);
}
.contact__tag:hover {
    background: var(--primary);
    color: var(--white);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 520px;
    background: var(--gray-200);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo { height: 48px; width: auto; margin-bottom: 16px; }

.footer__desc {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    color: rgba(255,255,255,.7);
    transition: all var(--transition);
}
.footer__social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.footer__links h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer__links ul { list-style: none; }

.footer__links li {
    margin-bottom: 10px;
    font-size: .88rem;
}

.footer__links a {
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .82rem;
}

.footer__disclaimer {
    margin-top: 8px;
    color: rgba(255,255,255,.4);
    font-size: .75rem;
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform var(--transition);
}
.modal.active .modal__content { transform: translateY(0); }

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}
.modal__close:hover { color: var(--dark); }

.modal__content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.modal__body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 20px 0 8px;
}

.modal__body p {
    color: var(--gray-700);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============ ANIMATIONS ============ */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate="fade-left"] { transform: translateX(32px); }
[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .presse__layout { grid-template-columns: 1fr; gap: 48px; }
    .presse__img-secondary { position: relative; bottom: auto; right: auto; width: 60%; margin-top: -40px; margin-left: auto; }
    .presse__content { padding-left: 0; }
    .jeux__card--full { grid-template-columns: 1fr; }
    .jeux__card-img--portrait { padding: 20px; min-height: 300px; }
    .jeux__card-img--portrait img { max-height: 280px; }
    .horaires__layout { grid-template-columns: 1fr; }
    .contact__layout { grid-template-columns: 1fr; }
    .contact__map { min-height: 400px; }
    .contact__map iframe { min-height: 400px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 28px 28px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0,0,0,.3);
        border-radius: 0;
        border: none;
        backdrop-filter: none;
    }
    .navbar__menu.open { right: 0; }
    .navbar__toggle { display: flex; }
    .navbar__link {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .navbar__link.active {
        background: rgba(201,168,76,.15);
        color: var(--gold);
    }

    .hero__content { padding: 100px 20px 60px; }
    .hero__title { font-size: 3rem; }
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }

    .partners__grid { gap: 24px; }
    .partners__item img { height: 40px; }

    .services__grid { grid-template-columns: 1fr; }

    .galerie__grid { grid-template-columns: 1fr 1fr; }
    .galerie__item--wide { grid-column: span 2; }
    .galerie__caption { opacity: 1; transform: translateY(0); }

    .footer__grid { grid-template-columns: 1fr; }

    .section-header { margin-bottom: 40px; }

    .services, .presse, .jeux, .horaires, .galerie, .contact { padding: 72px 0; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2.4rem; }
    .hero__subtitle { font-size: .95rem; letter-spacing: 2px; }
    .hero__description { font-size: .95rem; }

    .partners__grid { gap: 16px; }
    .partners__item img { height: 32px; }

    .galerie__grid { grid-template-columns: 1fr; }
    .galerie__item--wide { grid-column: span 1; }

    .horaires__table { font-size: .85rem; }
    .horaires__table thead th,
    .horaires__table tbody td { padding: 10px 8px; }

    .contact__card { padding: 24px; }
    .modal__content { padding: 24px; }
}

/* ---- PRINT ---- */
@media print {
    .navbar, .hero__scroll, .back-to-top, .galerie, .modal, .contact__map, .partners { display: none; }
    .hero { min-height: auto; background: none; }
    .hero__overlay { display: none; }
    .hero__content { color: var(--dark); }
    .hero__title, .hero__subtitle { color: var(--primary); }
    .hero__description { color: var(--dark); }
    body { font-size: 12pt; }
}
