/* =============================================================================
   Angel's Voice — site.css
   ============================================================================= */

:root {
    --av-white: #ffffff;
    --av-off-white: #f5ede2;
    --av-ink: #1c1917;
    --av-ink-soft: #44403c;
    --av-muted: #78716c;
    --av-gold: #d4a017;
    --av-gold-light: #f5c842;
    --av-gold-glow: rgba(245, 200, 66, 0.12);
    --av-warm-dark: #292118;
    --av-warm-darker: #1a150f;
    --av-border: rgba(0, 0, 0, 0.07);
    --av-font-body: "Lato", system-ui, sans-serif;
    --av-font-display: "Playfair Display", Georgia, serif;
    --av-space-xs: 0.5rem;
    --av-space-sm: 1rem;
    --av-space-md: 1.5rem;
    --av-space-lg: 2.5rem;
    --av-space-xl: 4rem;
    --av-space-2xl: 6rem;
    --av-radius: 10px;
    --av-radius-lg: 16px;
    --av-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    --av-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --av-header-h: 4.5rem;
    --av-container: min(1100px, 100% - 2rem);
    --av-ease: 0.3s ease;
}

/* =========================================================================
   BASE / ALL PAGES
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--av-off-white);
}

body {
    margin: 0;
    font-family: var(--av-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--av-ink);
    background: var(--av-off-white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; height: auto; }

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding: 0;
}

/* --- Utilities --- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.text-center { text-align: center; }

.container {
    width: var(--av-container);
    margin-inline: auto;
}

.notation {
    color: var(--av-muted);
    font-size: 0.9rem;
}

/* --- Pages internes (auth, compte) --- */
/* Compenser la navbar fixed qui ne prend plus d'espace dans le flux */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 6rem);
    padding: calc(var(--av-header-h) + var(--av-space-lg)) var(--av-space-md) var(--av-space-xl);
}

.auth-card {
    width: 100%;
    max-width: 800px;
    background: var(--av-white);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-xl);
    box-shadow: var(--av-shadow-lg);
}

.auth-card--wide {
    max-width: 800px;
}

.auth-card__header {
    text-align: center;
    margin-bottom: var(--av-space-lg);
}

.auth-card__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: var(--av-space-sm);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2), 0 4px 12px rgba(212, 160, 23, 0.1);
}

.auth-card__title {
    font-family: var(--av-font-display);
    font-size: 1.5rem;
    color: var(--av-ink);
    margin: 0 0 0.3em;
}

.auth-card__sub {
    font-size: 0.88rem;
    color: var(--av-muted);
    margin: 0;
}

.auth-card__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.85rem;
    color: var(--av-gold);
    font-weight: 600;
    margin-top: 0.5em;
    transition: color var(--av-ease);
}

.auth-card__back:hover {
    color: var(--av-gold-light);
}

/* --- Formulaire --- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--av-space-md);
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--av-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-input,
.auth-form .form-control {
    width: 100%;
    padding: 0.7em 0.9em;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--av-radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--av-ink);
    background: #faf8f5;
    transition: border-color var(--av-ease), box-shadow var(--av-ease), background var(--av-ease);
}

.auth-input:focus,
.auth-form .form-control:focus {
    outline: none;
    border-color: var(--av-gold);
    box-shadow: 0 0 0 3px var(--av-gold-glow);
    background: var(--av-white);
}

.auth-input::placeholder {
    color: var(--av-muted);
    opacity: 0.6;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
    padding: 0.8em 1.4em;
    margin-top: 0.5rem;
    border: none;
    border-radius: 999px;
    background: var(--av-gold);
    color: var(--av-white);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--av-ease), transform var(--av-ease), box-shadow var(--av-ease);
}

.auth-btn:hover {
    background: var(--av-gold-light);
    color: var(--av-ink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.25);
}

/* --- Fieldsets & layout --- */
.auth-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 var(--av-space-md);
    display: flex;
    flex-direction: column;
    gap: var(--av-space-md);
}

.auth-fieldset__legend {
    font-family: var(--av-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--av-ink);
    margin-bottom: var(--av-space-md);
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--av-gold-glow);
    width: 100%;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--av-space-md);
}

@media (max-width: 480px) {
    .auth-row { grid-template-columns: 1fr; }
}

.auth-input:disabled,
.auth-form .form-control:disabled {
    background: rgba(0, 0, 0, 0.03);
    color: var(--av-muted);
    cursor: not-allowed;
    border-style: dashed;
}

/* --- Alertes --- */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.75em 1em;
    border-radius: var(--av-radius);
    font-size: 0.88rem;
    margin-bottom: var(--av-space-md);
}

.auth-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-alert--info {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.auth-alert--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.auth-alert a {
    font-weight: 700;
    text-decoration: underline;
}

/* --- Actions compte --- */
.account-action {
    display: flex;
    align-items: center;
    gap: var(--av-space-md);
    padding: var(--av-space-md);
    border: 1.5px solid var(--av-border);
    border-radius: var(--av-radius-lg);
    margin-bottom: var(--av-space-sm);
    text-decoration: none;
    color: var(--av-ink);
    transition: border-color var(--av-ease), box-shadow var(--av-ease), transform var(--av-ease);
}

.account-action:hover {
    border-color: var(--av-gold);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.1);
    transform: translateY(-2px);
    color: var(--av-ink);
}

.account-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--av-gold-glow);
    color: var(--av-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.account-action--admin .account-action__icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.account-action__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    line-height: 1.3;
}

.account-action__text strong {
    font-size: 0.95rem;
}

.account-action__text small {
    font-size: 0.8rem;
    color: var(--av-muted);
}

.account-action__arrow {
    color: var(--av-muted);
    font-size: 0.85rem;
    transition: transform var(--av-ease), color var(--av-ease);
}

.account-action:hover .account-action__arrow {
    transform: translateX(4px);
    color: var(--av-gold);
}

@media (max-width: 480px) {
    .auth-card {
        padding: var(--av-space-lg) var(--av-space-md);
        border-radius: var(--av-radius);
    }
    .auth-card__logo { width: 52px; height: 52px; }
    .auth-card__title { font-size: 1.25rem; }
}

/* =========================================================================
   HOMEPAGE OVERRIDES
   ========================================================================= */
html.page-home {
    background: var(--av-off-white);
}

body.page-home {
    background: var(--av-off-white);
}


/* --- Sections --- */
.section {
    padding: var(--av-space-xl) 0;
    scroll-margin-top: var(--av-header-h);
}

.section--alt {
    background: var(--av-off-white);
}

.section--warm {
    background: var(--av-warm-dark);
    color: var(--av-off-white);
}

.section__title {
    font-family: var(--av-font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin: 0 0 var(--av-space-xs);
    color: var(--av-ink);
}

.section__title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--av-gold);
    margin-top: 0.6rem;
    margin-bottom: var(--av-space-lg);
    border-radius: 2px;
}

.text-center .section__title::after,
.section__title.text-center::after {
    margin-inline: auto;
}

.section__title--light {
    color: var(--av-off-white);
}

.section__title--light::after {
    background: var(--av-gold-light);
}

/* =========================================================================
   HEADER & NAV
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--av-space-md);
    min-height: var(--av-header-h);
    padding: 0.5rem max(1.25rem, (100% - 1100px) / 2);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        min-height 0.45s ease;
}

/* État au scroll — mobile : sans backdrop-filter (sinon le menu plein écran position:fixed
   reste ancré au header). Desktop : flou rétabli dans @media (min-width: 900px). */
.site-header--scrolled {
    background: rgba(26, 21, 15, 0.93);
    border-bottom-color: rgba(212, 160, 23, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.28);
    min-height: calc(var(--av-header-h) - 0.5rem);
}

/* Logo */
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__logo-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(44px, 5.5vw, 56px);
    height: clamp(44px, 5.5vw, 56px);
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(212, 160, 23, 0.35);
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.site-header__logo:hover .site-header__logo-ring {
    border-color: rgba(212, 160, 23, 0.75);
    box-shadow: 0 0 18px rgba(212, 160, 23, 0.22);
    transform: scale(1.04);
}

.site-header__logo-ring img {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
}

.site-header__brand {
    font-family: var(--av-font-display);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--av-white);
    letter-spacing: 0.01em;
    line-height: 1.1;
    transition: color 0.35s ease;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.site-header__logo:hover .site-header__brand {
    color: var(--av-gold-light);
}

/* Hamburger (visible < 900px uniquement) */
.site-nav__toggle-input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}

.site-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 120;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 160, 23, 0.42);
    background: rgba(26, 21, 15, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.site-nav__toggle:hover {
    border-color: rgba(245, 200, 66, 0.65);
    background: rgba(26, 21, 15, 0.62);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 160, 23, 0.12);
}

.site-nav__toggle-input:focus-visible + .site-nav__toggle {
    outline: 2px solid var(--av-gold-light);
    outline-offset: 3px;
}

.site-nav__toggle-input:checked + .site-nav__toggle {
    border-color: rgba(245, 200, 66, 0.85);
    background: rgba(212, 160, 23, 0.14);
    box-shadow:
        0 0 0 1px rgba(245, 200, 66, 0.2),
        0 4px 28px rgba(212, 160, 23, 0.18);
}

.site-nav__toggle-bar,
.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
    display: block;
    height: 2px;
    width: 19px;
    background: linear-gradient(
        90deg,
        rgba(245, 200, 66, 0.95) 0%,
        rgba(255, 255, 255, 0.92) 100%
    );
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background 0.3s ease;
}

.site-nav__toggle-bar { position: relative; }

.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-nav__toggle-bar::before { top: -6px; }
.site-nav__toggle-bar::after  { top: 6px; }

.site-nav__toggle-input:checked ~ .site-nav__toggle .site-nav__toggle-bar {
    background: transparent;
}

.site-nav__toggle-input:checked ~ .site-nav__toggle .site-nav__toggle-bar::before,
.site-nav__toggle-input:checked ~ .site-nav__toggle .site-nav__toggle-bar::after {
    background: var(--av-gold-light);
}

.site-nav__toggle-input:checked ~ .site-nav__toggle .site-nav__toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
}

.site-nav__toggle-input:checked ~ .site-nav__toggle .site-nav__toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Nav panel — mobile : plein écran, palette & typo du site */
.site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: max(2.5rem, env(safe-area-inset-top, 0px)) var(--av-space-md) max(2rem, env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(ellipse 90% 45% at 50% -5%, rgba(212, 160, 23, 0.12) 0%, transparent 58%),
        linear-gradient(165deg, rgba(26, 21, 15, 0.97) 0%, rgba(12, 10, 8, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 115;
}

.site-nav__toggle-input:checked ~ .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Titre du panneau (mobile) */
.site-nav::before {
    content: "Menu";
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(245, 200, 66, 0.55);
    margin-bottom: 0.35rem;
    font-family: var(--av-font-body);
}

.site-nav::after {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--av-gold), transparent);
    border-radius: 2px;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    gap: 0;
}

.site-nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__list li:last-child {
    border-bottom: none;
}

/* Liens mobile : Playfair + zones tactiles larges */
.site-nav__list a {
    position: relative;
    display: block;
    width: 100%;
    padding: 1.05rem 0.75rem;
    color: rgba(255, 252, 248, 0.92);
    font-family: var(--av-font-display);
    font-size: clamp(1.2rem, 4.2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.site-nav__list a::after {
    display: none;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
    color: var(--av-gold-light);
    background: rgba(212, 160, 23, 0.06);
}

.site-nav__list--account {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 160, 23, 0.22);
    max-width: 22rem;
}

.site-nav__list--account li {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.site-nav__list--account a {
    font-family: var(--av-font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.85rem 0.75rem;
}

.site-nav__list--account a:hover,
.site-nav__list--account a:focus-visible {
    color: var(--av-gold-light);
    background: rgba(212, 160, 23, 0.08);
}

.site-nav__list--account a small {
    display: block;
    margin-top: 0.2em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.5);
}

/* Desktop nav — annule le plein écran & la typo « menu mobile » */
@media (min-width: 900px) {
    .site-nav__toggle { display: none; }

    .site-header--scrolled {
        background: rgba(26, 21, 15, 0.88);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .site-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        flex: 1;
        transform: none;
        transition: none;
    }

    .site-nav::before,
    .site-nav::after {
        display: none;
        content: none;
        margin: 0;
    }

    .site-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        width: auto;
        max-width: none;
    }

    .site-nav__list li {
        border-bottom: none;
    }

    .site-nav__list a {
        display: inline-block;
        width: auto;
        padding: 0.45em 1em;
        font-family: var(--av-font-body);
        font-size: 0.87rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-align: left;
        color: rgba(255, 255, 255, 0.82);
        background: transparent;
    }

    .site-nav__list a::after {
        display: block;
        content: "";
        position: absolute;
        bottom: 0.2em;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--av-gold-light);
        transition: width 0.35s ease;
    }

    .site-nav__list a:hover,
    .site-nav__list a:focus-visible {
        color: var(--av-gold-light);
        background: transparent;
    }

    .site-nav__list a:hover::after,
    .site-nav__list a:focus-visible::after {
        width: 100%;
    }

    .site-nav__list--account {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        max-width: none;
        border-left: 1px solid rgba(212, 160, 23, 0.22);
        padding-left: 0.6rem;
        margin-left: 0.6rem;
    }

    .site-nav__list--account a {
        font-size: 0.87rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 0.45em 1em;
        color: rgba(255, 255, 255, 0.82);
    }

    .site-nav__list--account a small {
        display: inline;
        margin-top: 0;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: none;
        font-size: 0.85em;
        color: rgba(255, 255, 255, 0.65);
    }

    /* Sur pages sans hero (header toujours scrollé) les liens restent lisibles */
    .site-header--scrolled .site-nav__list a {
        color: rgba(255, 255, 255, 0.82);
    }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: var(--av-space-xl) 0 var(--av-space-2xl);
    overflow: hidden;
    contain: layout style;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--av-warm-darker) url("../img/bandeau mains.jpg") center 30% / cover no-repeat;
    will-change: transform;
    transition: none;
    overflow: hidden;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 21, 15, 0.82) 0%,
        rgba(26, 21, 15, 0.45) 55%,
        rgba(212, 160, 23, 0.12) 100%
    );
    pointer-events: none;
}

.hero__overlay {
    display: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 38rem;
}

.hero__kicker {
    margin: 0 0 var(--av-space-xs);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.hero__title {
    margin: 0 0 var(--av-space-md);
    font-family: var(--av-font-display);
    font-size: clamp(2.6rem, 8vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    color: var(--av-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.hero__title-accent {
    color: var(--av-gold-light);
}

.hero__lead {
    margin: 0 0 var(--av-space-lg);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 32rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--av-space-lg);
}

.hero__quote {
    margin: 0;
    padding: 0;
    border: none;
}

.hero__quote p {
    margin: 0;
    font-family: var(--av-font-display);
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--av-gold-light);
    opacity: 0.85;
    line-height: 1.5;
}

.hero__scroll {
    display: inline-flex;
    margin-top: var(--av-space-lg);
    width: 34px; height: 34px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: var(--av-white);
    transition: border-color var(--av-ease), transform var(--av-ease);
    animation: av-bounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
    border-color: var(--av-gold-light);
    color: var(--av-gold-light);
}

.hero__scroll-icon {
    display: block;
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

/* =========================================================================
   BOUTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.7em 1.6em;
    font-family: var(--av-font-body);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--av-ease), box-shadow var(--av-ease), background var(--av-ease), color var(--av-ease), border-color var(--av-ease);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn--primary {
    background: var(--av-gold);
    color: var(--av-white);
}

.btn--primary:hover {
    background: var(--av-gold-light);
    color: var(--av-ink);
}

.btn--ghost {
    background: transparent;
    color: var(--av-white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--av-white);
}

/* =========================================================================
   SECTION ÉMOTION
   ========================================================================= */
.section-emotion {
    padding: var(--av-space-2xl) 0;
    background: var(--av-off-white);
    scroll-margin-top: var(--av-header-h);
    overflow: hidden;
}

.emotion__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: var(--av-space-xl);
}

.emotion__photo {
    margin: 0;
    border-radius: var(--av-radius);
    overflow: hidden;
    box-shadow: var(--av-shadow);
    transition: transform 0.3s ease;
    contain: layout style;
}

.emotion__photo:hover {
    transform: scale(1.025);
}

.emotion__photo img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.emotion__photo img:hover {
    transform: scale(1.04);
}

.emotion__photo--wide {
    grid-column: 1 / -1;
}

.emotion__photo--wide img {
    height: 200px;
}

.emotion__quote {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
    padding-top: var(--av-space-xl);
}

.emotion__blockquote {
    margin: 0;
    font-family: var(--av-font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    line-height: 1.85;
    color: var(--av-ink-soft);
    border-left: 3px solid var(--av-gold);
    text-align: left;
    padding-left: var(--av-space-lg);
}

.emotion__blockquote p {
    margin: 0 0 var(--av-space-md);
}

.emotion__blockquote p:last-child {
    margin-bottom: 0;
}

.emotion__blockquote em {
    font-style: normal;
    color: var(--av-gold);
    font-weight: 700;
}

.emotion__blockquote strong {
    color: var(--av-ink);
    font-weight: 700;
}

.emotion__chorales {
    list-style: none;
    padding: 0;
    margin: var(--av-space-sm) 0 var(--av-space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.emotion__chorales li {
    font-weight: 600;
    color: var(--av-ink);
    font-size: 0.92rem;
}

.emotion__chorales li span {
    font-weight: 400;
    color: var(--av-muted);
    font-size: 0.85em;
}

.emotion__chorales li span::before {
    content: " — ";
}

@media (min-width: 768px) {
    .emotion__gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--av-space-sm);
    }

    .emotion__photo img { height: 220px; }

    .emotion__photo--wide {
        grid-column: auto;
    }

    .emotion__photo--wide img { height: 220px; }

    .emotion__photo:nth-child(1) { transform: translateY(8px); }
    .emotion__photo:nth-child(3) { transform: translateY(-6px); }
    .emotion__photo:nth-child(1):hover { transform: translateY(4px) scale(1.025); }
    .emotion__photo:nth-child(3):hover { transform: translateY(-10px) scale(1.025); }
}

/* =========================================================================
   QUI SOMMES NOUS (INFOS)
   ========================================================================= */
.prose {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--av-ink-soft);
}

.prose p {
    margin: 0 0 var(--av-space-md);
}

.prose__lead {
    font-size: 1.12rem;
    font-weight: 400;
    color: var(--av-ink);
    line-height: 1.7;
}

.prose__lead em {
    font-style: normal;
    color: var(--av-gold);
    font-weight: 700;
}

.prose__drop::first-letter {
    float: left;
    font-family: var(--av-font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.85;
    margin-right: 0.1em;
    margin-top: 0.05em;
    color: var(--av-gold);
}

.prose strong {
    color: var(--av-ink);
    font-weight: 700;
}

.section-infos__layout {
    display: grid;
    gap: var(--av-space-xl);
    align-items: start;
}

.section-infos__aside {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-card {
    position: relative;
    display: flex;
    gap: var(--av-space-sm);
    padding: var(--av-space-md);
    background: var(--av-white);
    border-radius: var(--av-radius);
    box-shadow: var(--av-shadow);
    border: 1px solid var(--av-border);
    transition: transform 0.3s ease;
}

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

.info-card__icon {
    margin: 0;
    color: var(--av-gold);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-card__text strong {
    font-size: 0.95rem;
}

.info-card__link {
    display: inline-block;
    margin-top: var(--av-space-xs);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--av-gold);
    text-decoration: none;
    transition: color var(--av-ease);
}

.info-card__link:hover {
    text-decoration: underline;
    color: var(--av-gold-light);
}

@media (min-width: 900px) {
    .section-infos__layout {
        grid-template-columns: 1.4fr 0.7fr;
    }
}

/* =========================================================================
   MÉDIAS (SWIPER)
   ========================================================================= */
.section-medias {
    padding: var(--av-space-2xl) 0 var(--av-space-xl);
    background: var(--av-warm-dark);
    overflow: hidden;
    scroll-margin-top: var(--av-header-h);
}

/* Titre de la section médias adapté au fond sombre */
.section-medias .section__title {
    color: var(--av-off-white);
    text-align: center;
}

.section-medias .section__title::after {
    background: var(--av-gold-light);
}

.carousel-wrap {
    position: relative;
}

.avSwiper {
    overflow: visible;
}

.avSwiper .swiper-wrapper {
    align-items: stretch;
}

.avSwiper .swiper-slide {
    height: auto;
    border-radius: var(--av-radius-lg);
    overflow: hidden;
    box-shadow: var(--av-shadow-lg);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.45;
    transform: scale(0.92);
}

.avSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.avSwiper .swiper-slide-next,
.avSwiper .swiper-slide-prev {
    opacity: 0.65;
    transform: scale(0.95);
}

/* --- Images --- */
.slide-image {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.avSwiper .swiper-slide-active .slide-image:hover {
    transform: scale(1.03);
}

/* --- Vidéo --- */
.slide-video {
    display: block;
    width: 100%;
    height: 500px;
    background: #000;
    object-fit: contain;
}

/* --- Audio --- */
.slide-audio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--av-space-lg);
    width: 100%;
    height: 500px;
    padding: var(--av-space-xl) var(--av-space-lg);
    background:
        radial-gradient(ellipse at 50% 35%, rgba(212, 160, 23, 0.1) 0%, transparent 65%),
        var(--av-warm-dark);
}

.slide-audio__visual {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 200, 66, 0.08);
    border: 2px solid rgba(245, 200, 66, 0.2);
    animation: av-pulse 3s ease-in-out infinite;
}

.slide-audio__visual .fa-music {
    font-size: 2.2rem;
    color: var(--av-gold-light);
}

.slide-audio audio {
    width: min(100%, 360px);
    border-radius: 999px;
}

/* --- Nav sous le carousel --- */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--av-space-md);
    margin-top: var(--av-space-lg);
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(245, 200, 66, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: none;
    transition: border-color var(--av-ease), color var(--av-ease), background var(--av-ease), transform var(--av-ease);
}

.carousel-btn:hover {
    border-color: var(--av-gold-light);
    color: var(--av-gold-light);
    background: rgba(212, 160, 23, 0.1);
    transform: scale(1.08);
}

.carousel-dots {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.carousel-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    width: 8px;
    height: 8px;
    opacity: 1;
    border-radius: 4px;
    transition: width var(--av-ease), background var(--av-ease), opacity var(--av-ease);
}

.carousel-dots .swiper-pagination-bullet-active {
    background: var(--av-gold-light) !important;
    opacity: 1;
    width: 24px;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--av-space-lg);
}

.lightbox--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--av-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: zoom-out;
}

.lightbox--open .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--av-white);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--av-ease), transform var(--av-ease);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@keyframes av-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.06); opacity: 0.85; }
}

/* =========================================================================
   ÉVÉNEMENTS
   ========================================================================= */
.section-events {
    padding: var(--av-space-2xl) 0;
    background: var(--av-off-white);
    scroll-margin-top: var(--av-header-h);
    overflow: hidden;
}

/* --- Timeline dorée --- */
.ev-timeline {
    position: relative;
    padding-top: var(--av-space-sm);
}

.ev-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(212, 160, 23, 0.3) 12%,
        rgba(212, 160, 23, 0.3) 88%,
        transparent
    );
    transform: translateX(-50%);
}

/* --- Moment (rangée pleine largeur, card d'un côté) --- */
.ev-moment {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: var(--av-space-2xl);
}

.ev-moment:last-child {
    margin-bottom: 0;
}

/* Point lumineux sur la timeline */
.ev-moment::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 14px;
    height: 14px;
    background: var(--av-gold-light);
    border: 3px solid var(--av-off-white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow:
        0 0 12px rgba(245, 200, 66, 0.4),
        0 0 24px rgba(245, 200, 66, 0.15);
    z-index: 2;
}

/* Impairs → card à gauche */
.ev-moment:nth-child(odd) .ev-moment__card {
    grid-column: 1;
    margin-right: var(--av-space-xl);
}

/* Pairs → card à droite */
.ev-moment:nth-child(even) .ev-moment__card {
    grid-column: 2;
    margin-left: var(--av-space-xl);
}

/* --- Card --- */
.ev-moment__card {
    background: var(--av-white);
    border-radius: var(--av-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ev-moment__card:hover {
    transform: translateY(-8px);
}

/* --- Image avec glow chaud --- */
.ev-moment__visual {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.ev-moment__visual img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.ev-moment__card:hover .ev-moment__visual img {
    transform: scale(1.05);
}

/* Glow chaud sur l'image */
.ev-moment__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 85%, rgba(212, 160, 23, 0.15) 0%, transparent 55%),
        linear-gradient(to top, rgba(26, 21, 15, 0.08) 0%, transparent 35%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0.7;
}

.ev-moment__card:hover .ev-moment__visual::after {
    opacity: 1;
}

/* --- Corps texte --- */
.ev-moment__body {
    padding: var(--av-space-lg);
}

.ev-moment__date {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 0 var(--av-space-xs);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--av-gold);
    text-transform: capitalize;
}

.ev-moment__title {
    font-family: var(--av-font-display);
    font-size: 1.35rem;
    margin: 0 0 var(--av-space-sm);
    color: var(--av-ink);
    line-height: 1.3;
}

.ev-moment__desc {
    font-size: 0.92rem;
    color: var(--av-ink-soft);
    line-height: 1.75;
}

.ev-moment__sub {
    margin: var(--av-space-sm) 0 0;
    font-size: 0.85rem;
    color: var(--av-muted);
    font-style: italic;
}

/* =========================================================================
   SCROLL REVEAL SYSTEM
   Perf: opacity + transform only → GPU composited, no repaints
   ========================================================================= */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

[data-reveal="left"] {
    transform: translate3d(-60px, 0, 0);
}

[data-reveal="right"] {
    transform: translate3d(60px, 0, 0);
}

[data-reveal="left"].revealed,
[data-reveal="right"].revealed {
    transform: translate3d(0, 0, 0);
}

[data-reveal="scale"] {
    transform: scale3d(0.88, 0.88, 1);
    transform-origin: center;
}

[data-reveal="scale"].revealed {
    transform: scale3d(1, 1, 1);
}

[data-reveal="title"] {
    transform: translate3d(0, 20px, 0);
}

[data-reveal="title"].revealed {
    transform: translate3d(0, 0, 0);
}

[data-reveal-stagger] > [data-reveal-child] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal-stagger].revealed > [data-reveal-child] {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-stagger].revealed > [data-reveal-child]:nth-child(6) { transition-delay: 0.5s; }

.ev-moment:nth-child(2)[data-reveal] { transition-delay: 0.12s; }
.ev-moment:nth-child(3)[data-reveal] { transition-delay: 0.24s; }
.ev-moment:nth-child(4)[data-reveal] { transition-delay: 0.36s; }

/* Hero parallax — GPU only */
.hero__inner {
    transition: none;
    will-change: transform, opacity;
}

/* Barre de progression — GPU-only via scaleX */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--av-gold), var(--av-gold-light));
    z-index: 200;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* content-visibility : le navigateur saute le rendu des sections hors-écran */
.section-emotion,
.section-infos,
.section-medias,
.section-events,
.section-community {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal-stagger] > [data-reveal-child] {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
    .scroll-progress { display: none; }
}

/* --- Mobile : timeline off, stack vertical --- */
@media (max-width: 767px) {
    .ev-timeline::before { display: none; }
    .ev-moment::after { display: none; }

    .ev-moment {
        display: block;
        margin-bottom: var(--av-space-xl);
    }

    .ev-moment:nth-child(odd) .ev-moment__card,
    .ev-moment:nth-child(even) .ev-moment__card {
        margin: 0;
    }

    .ev-moment__visual img { height: 220px; }
    .ev-moment__body { padding: var(--av-space-md); }
}

/* =========================================================================
   COMMUNAUTÉ / FACEBOOK
   ========================================================================= */
.section-community {
    padding: var(--av-space-2xl) 0;
    background: var(--av-off-white);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--av-space-xl);
    align-items: start;
}

@media (min-width: 900px) {
    .community-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Colonne texte --- */
.community-text {
    display: flex;
    flex-direction: column;
    gap: var(--av-space-lg);
}

.community-text__lead {
    font-size: 1.05rem;
    color: var(--av-ink-soft);
    line-height: 1.7;
    margin: 0;
}

/* --- Liens sociaux --- */
.community-socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-social {
    display: flex;
    align-items: center;
    gap: var(--av-space-md);
    padding: 0.85rem var(--av-space-md);
    border: 1.5px solid var(--av-border);
    border-radius: var(--av-radius-lg);
    text-decoration: none;
    color: var(--av-ink);
    background: var(--av-white);
    transition: border-color var(--av-ease), box-shadow var(--av-ease), transform var(--av-ease);
}

.community-social:hover {
    border-color: var(--av-gold);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.1);
    transform: translateY(-2px);
    color: var(--av-ink);
}

.community-social--soon {
    opacity: 0.5;
    pointer-events: none;
}

.community-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--av-white);
}

.community-social__icon--fb { background: #1877f2; }
.community-social__icon--yt { background: #ff0000; }
.community-social__icon--ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.community-social__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.community-social__info strong {
    font-size: 0.92rem;
}

.community-social__info small {
    font-size: 0.78rem;
    color: var(--av-muted);
}

.btn--fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.75em 1.6em;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 999px;
    background: #1877f2;
    color: var(--av-white);
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: background var(--av-ease), transform var(--av-ease), box-shadow var(--av-ease);
}

.btn--fb:hover {
    background: #166fe5;
    color: var(--av-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

/* --- Colonne feed --- */
.community-feed {
    display: flex;
    justify-content: center;
}

.fb-embed__frame {
    background: var(--av-white);
    border-radius: var(--av-radius-lg);
    padding: 1rem;
    box-shadow: var(--av-shadow-lg);
    max-width: 530px;
    width: 100%;
    overflow: hidden;
}

.fb-embed__frame .fb-page,
.fb-embed__frame .fb-page span,
.fb-embed__frame .fb-page iframe {
    width: 100% !important;
}

@media (max-width: 768px) {
    .fb-embed__frame {
        padding: 0.6rem;
        border-radius: var(--av-radius);
    }

    .btn--fb {
        align-self: stretch;
        justify-content: center;
    }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--av-warm-darker);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__main {
    display: grid;
    gap: var(--av-space-xl);
    padding: var(--av-space-xl) 0;
}

.site-footer__title {
    font-family: var(--av-font-display);
    font-size: 1.15rem;
    margin: 0 0 var(--av-space-sm);
    color: var(--av-white);
}

.site-footer__about p {
    margin: 0 0 var(--av-space-sm);
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__contact .site-footer__link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 0 0.5em;
    font-size: 0.88rem;
    color: var(--av-gold-light);
    text-decoration: none;
    transition: color var(--av-ease);
}

.site-footer__contact .site-footer__link:hover {
    color: var(--av-white);
}

.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0;
}

.site-footer__bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--av-space-sm);
    font-size: 0.85rem;
}

.site-footer__bar-inner p { margin: 0; }

.site-footer__bar-inner a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    transition: color var(--av-ease);
}

.site-footer__bar-inner a:hover {
    color: var(--av-gold-light);
}

.site-footer__reserved-link {
    color: var(--av-gold-light) !important;
    font-size: 0.88rem;
}

.site-footer__reserved-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .site-footer__main {
        grid-template-columns: 1.4fr 0.9fr;
    }
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes av-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes av-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.av-animate {
    animation: av-fade-up 0.55s ease-out forwards;
    opacity: 0;
}

.av-animate--hero {
    animation-duration: 0.7s;
}

.av-animate--delay-1 { animation-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================================
   SCROLL ARROW
   ========================================================================= */
.scroll-arrow {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--av-white);
    color: var(--av-ink-soft);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--av-ease), visibility var(--av-ease), transform var(--av-ease), background var(--av-ease), color var(--av-ease);
}

.scroll-arrow--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-arrow:hover {
    background: var(--av-gold);
    color: var(--av-white);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.25);
}

.scroll-arrow i {
    transition: transform 0.3s ease;
}

.scroll-arrow--up i {
    transform: rotate(180deg);
}

/* =========================================================================
   MOBILE — 768px
   ========================================================================= */
@media (max-width: 768px) {
    :root {
        --av-header-h: 3.8rem;
        --av-container: min(100%, 100% - 1.5rem);
    }

    .site-header__brand { display: none; }
    .site-header__logo-ring {
        width: 44px;
        height: 44px;
    }

    .section { padding: var(--av-space-lg) 0; }

    /* Pleine hauteur viewport : 92vh laissait une bande sans image sous le hero */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding-bottom: var(--av-space-xl);
    }

    .hero__kicker { font-size: 0.7rem; letter-spacing: 0.15em; }
    .hero__title { font-size: 2.4rem; }
    .hero__lead { font-size: 0.95rem; }

    .hero__actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8em 1.2em;
    }

    .section-emotion { padding: var(--av-space-xl) 0; }

    .section-emotion .container {
        padding-inline: 1.5rem;
    }

    .emotion__gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .emotion__photo:nth-child(1) {
        grid-column: 1 / -1;
    }

    .emotion__photo:nth-child(1) img {
        height: 200px;
    }

    .emotion__photo:nth-child(2) img,
    .emotion__photo:nth-child(3) img {
        height: 140px;
    }

    .emotion__photo:nth-child(2) {
        transform: translateY(6px);
    }

    .emotion__photo:nth-child(3) {
        transform: translateY(-6px);
    }

    .emotion__photo:nth-child(2):hover {
        transform: translateY(6px) scale(1.025);
    }

    .emotion__photo:nth-child(3):hover {
        transform: translateY(-6px) scale(1.025);
    }

    .emotion__photo--wide {
        grid-column: 1 / -1;
    }

    .emotion__photo--wide img {
        height: 180px;
    }

    .section-infos__layout {
        grid-template-columns: 1fr;
        gap: var(--av-space-lg);
    }

    .info-card {
        padding: var(--av-space-sm);
    }


    .slide-image { height: 320px; }
    .slide-video { height: 320px; }
    .slide-audio { height: 320px; padding: var(--av-space-lg) var(--av-space-md); }
    .slide-audio__visual { width: 70px; height: 70px; }
    .slide-audio__visual .fa-music { font-size: 1.8rem; }

    .carousel-btn { width: 40px; height: 40px; font-size: 0.85rem; }

    /* Footer mobile — UX : centrage, padding généreux, lisibilité */
    .site-footer .container {
        width: 100%;
        padding-inline: 2rem;
        box-sizing: border-box;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: var(--av-space-2xl);
        padding: var(--av-space-2xl) 0 var(--av-space-lg);
        justify-items: center;
        text-align: center;
    }

    .site-footer__about,
    .site-footer__contact {
        max-width: 22rem;
        width: 100%;
    }

    .site-footer__title {
        font-family: var(--av-font-display);
        font-size: 1.125rem;
        font-weight: 700;
        letter-spacing: normal;
        text-transform: none;
        margin: 0 0 var(--av-space-md);
        color: var(--av-white);
    }

    .site-footer__about p {
        font-size: 0.9375rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.88);
        margin: 0;
        text-align: center;
    }

    .site-footer__contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: var(--av-space-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        text-align: center;
    }

    .site-footer__contact .site-footer__title {
        margin-bottom: var(--av-space-sm);
    }

    .site-footer__contact .site-footer__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 0.75rem;
        margin: 0;
        padding: 0.875rem 1rem;
        min-height: 48px;
        font-size: 0.9375rem;
        line-height: 1.5;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--av-gold-light);
    }

    .site-footer__contact .site-footer__link:last-of-type {
        border-bottom: none;
    }

    .site-footer__contact .site-footer__link > i {
        flex-shrink: 0;
        width: 1.125rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.875rem;
    }

    .site-footer__bar {
        margin-top: var(--av-space-xl);
        padding-top: var(--av-space-lg);
        padding-bottom: max(var(--av-space-lg), env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer__bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .site-footer__bar-inner p {
        font-size: 0.8125rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.65);
        margin: 0;
        max-width: 20rem;
    }

    .site-footer__bar-inner a {
        text-transform: none;
        letter-spacing: normal;
        font-weight: 600;
        font-size: 0.875rem;
    }

    .site-footer__reserved-link {
        color: var(--av-gold-light) !important;
    }

}

/* =========================================================================
   MOBILE — 480px (petits écrans)
   ========================================================================= */
@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__lead { font-size: 0.9rem; }
    .hero__quote p { font-size: 0.95rem; }

    .section-emotion .container {
        padding-inline: 1.5rem;
    }

    .emotion__gallery {
        gap: 0.625rem;
    }

    .emotion__photo:nth-child(1) img {
        height: 180px;
    }

    .emotion__photo:nth-child(2) img,
    .emotion__photo:nth-child(3) img {
        height: 120px;
    }

    .emotion__photo--wide img {
        height: 160px;
    }

    .section__title { font-size: 1.35rem; }


    .slide-image { height: 240px; }
    .slide-video { height: 240px; }
    .slide-audio { height: 240px; }

    .carousel-btn { width: 36px; height: 36px; font-size: 0.8rem; }
}

/* =============================================================================
   Compléments UX mobile (n’altèrent pas le layout desktop existant)
   ============================================================================= */

/* Pas de scroll de fond quand le menu plein écran est ouvert — uniquement < 900px (hamburger) */
@media (max-width: 899px) {
    html:has(#nav-toggle:checked) {
        overflow: hidden;
    }
}

/* Encoche / home indicator : décale seulement les éléments fixes si besoin */
.scroll-arrow {
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    right: max(1.5rem, env(safe-area-inset-right, 0px));
}

.lightbox__close {
    top: max(1.5rem, env(safe-area-inset-top, 0px));
    right: max(1.5rem, env(safe-area-inset-right, 0px));
}

.lightbox {
    padding: max(var(--av-space-lg), env(safe-area-inset-top, 0px)) max(var(--av-space-lg), env(safe-area-inset-right, 0px)) max(var(--av-space-lg), env(safe-area-inset-bottom, 0px)) max(var(--av-space-lg), env(safe-area-inset-left, 0px));
}

