/* Polices auto-hébergées (remplace l'appel à Google Fonts : les visiteurs
   n'envoient plus leur IP à Google à chaque chargement de page). Un fichier
   par famille et par sous-ensemble de caractères (latin / latin étendu,
   pour couvrir les accents français), partagé par les 3 graisses utilisées. */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141419;
    --bg-card-hover: #1e1e26;
    --text-light: #ffffff;
    --text-muted: #a0a0ab;
    --accent-orange: #ff9f1c;
    --accent-purple: #9d4edd;
    --accent-pink: #ff007f;
    --gradient-primary: linear-gradient(135deg, #ff9f1c 0%, #ff007f 50%, #9d4edd 100%);
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a, button, select, input, textarea, .service-card, .pack-card {
    cursor: pointer;
}

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

/* Focus clavier cohérent avec l'identité visuelle (remplace le contour bleu
   par défaut du navigateur) sur les éléments interactifs, y compris ceux
   rendus focusables en JS (cartes et photos cliquables). */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.service-card:focus-visible, .pack-photo-frame img:focus-visible, .location-pack-photo img:focus-visible,
.split-visual img:focus-visible, .sf-photo-item img:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

/* NAVIGATION MOBILE & DESKTOP */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 18px 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-container img:hover {
    transform: scale(1.05);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    z-index: 1100;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu.open .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.open .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #0f0f14;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1050;
    padding: 40px;
}

nav.open {
    right: 0;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
    background: rgba(255,255,255,0.02);
}

/* MAIN VIEW */
.app-view {
    display: block;
}

.app-view.hidden {
    display: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 6% 60px;
    background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.12), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 159, 28, 0.08), transparent 50%);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

.hero-logo-large {
    width: 85%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.location-tag-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 159, 28, 0.08);
    border: 1px solid rgba(255, 159, 28, 0.25);
    color: var(--accent-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn-primary, .btn-secondary, .btn-submit {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-primary:active, .btn-secondary:active, .service-card:active, .pack-card:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* SECTIONS GÉNÉRALES */
.section {
    padding: 70px 6%;
}

/* "Nos savoir-faire" (#prestations) et "Contact" se sentaient tassées :
   un peu plus de respiration verticale que les autres sections
   (valeurs répétées et augmentées sur PC, voir media query 768px). */
#prestations, #contact {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Photo en fond, très fondue (même traitement que .hero::before). */
#prestations {
    position: relative;
}

#prestations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/ar-savoir.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
}

.section-contact {
    background: rgba(20, 20, 25, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

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

.section-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GRILLES DE CARTES UNIQUE SUR MOBILE */
.services-grid, .packs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.view-gallery-btn {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition);
}

.service-card:hover .view-gallery-btn {
    color: var(--text-light);
    gap: 10px;
}

/* PACKS COUCHE ACCUEIL */
.packs-container {
    background: rgba(20, 20, 25, 0.5);
}

.see-all-locations {
    text-align: center;
    margin-top: 35px;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pack-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pack-photo-frame {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0d0d11;
    position: relative;
    margin-bottom: 20px;
}

.pack-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pack-card:hover .pack-photo-frame img {
    transform: scale(1.05);
}

.pack-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    padding: 10px;
}

.pack-photo-placeholder i {
    font-size: 1.8rem;
    margin-bottom: 6px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pack-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Sur mobile, une seule vignette de pack est affichée (la 1ʳᵉ) ; les
   suivantes réapparaissent dès le passage en grille 3 colonnes (voir
   media query 768px sur .packs-grid). */
.packs-grid .pack-card:nth-child(n+2) {
    display: none;
}

/* PAGES FILLES */
.subpage-view {
    display: none;
    padding: 90px 6% 60px;
    min-height: 100vh;
    background: var(--bg-dark);
    width: 100%;
}

.subpage-view.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.btn-back-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

/* location.php n'est pas une .subpage-view : son bouton retour n'hérite ni du
   padding-top qui dégage le header fixe ailleurs sur le site (il se
   retrouvait caché derrière, header en position fixed et opaque), ni du
   padding horizontal de 6% utilisé partout ailleurs sur la page (il restait
   collé au bord de l'écran sur PC, contrairement au reste du contenu). */
.location-page-back {
    padding: 90px 6% 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-card);
    padding: 10px 22px 10px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.btn-back i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    font-size: 0.75rem;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 159, 28, 0.35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-back:hover i {
    transform: translateX(-3px);
}

.split-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

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

.split-text h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.split-features {
    list-style: none;
    margin-bottom: 20px;
}

.split-features li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.split-features li i {
    color: var(--accent-pink);
    margin-top: 3px;
}

.split-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16/10;
    background: #0d0d11;
    position: relative;
    width: 100%;
}

.split-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.split-visual-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.15);
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.split-visual-placeholder i {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* FORMULAIRE DE DEVIS */
.devis-container {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contenu texte simple des pages informatives (RGPD, Qui sommes-nous...) */
.prose-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.prose-content h3 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.prose-content p {
    margin-bottom: 20px;
}

.prose-content strong {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 2px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition);
}

/* Le <select> respecte le style sombre ci-dessus une fois fermé, mais son menu
   déroulant est rendu par le système et ignore ce style : sans couleurs
   explicites sur les <option>, Windows l'affiche en blanc sur blanc. */
.form-group select option {
    background: var(--bg-card);
    color: var(--text-light);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.15);
}

/* Anti-spam : invisible pour les humains, laissé accessible aux robots qui remplissent tout */
.honeypot-field {
    display: none !important;
    visibility: hidden;
}

.required-mark {
    color: var(--accent-pink);
}

/* CASE RGPD STYLE */
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-group-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-orange);
    margin-top: 3px;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-group-checkbox label a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.2);
    border-radius: 10px;
    margin-top: 5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
    filter: brightness(1.1);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* NOTIFICATION SUCCESS / ERROR */
.notification {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    text-align: center;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.4s ease-out;
}

.notification.success {
    background: #00b159;
    color: white;
}

.notification.error {
    background: #df1b35;
    color: white;
}

/* CONTACTS */
.contact-section-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card-info {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-card-info:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-orange);
    transition: var(--transition);
}

.contact-card-icon--instagram {
    color: #e1306c;
}

.contact-card-icon--facebook {
    color: #1877f2;
}

.contact-card-info:hover .contact-card-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.06);
}

.contact-card-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

.contact-card-info p, .contact-card-info a {
    color: var(--text-muted);
    font-size: 0.9rem;
    word-break: break-all;
    transition: var(--transition);
}

.contact-card-info:hover p, .contact-card-info:hover a {
    color: var(--text-light);
}

/* MAPBOX */
.map-container-dedicated {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.map-frame-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.map-frame-wrapper iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.map-btn-dedicated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.3;
    transition: var(--transition);
}

.map-btn-dedicated:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-orange);
}

/* FOOTER */
footer {
    position: relative;
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 6% 30px;
}

/* Fin liseré de couleur de marque en haut du footer */
footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links ul a {
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-block;
    padding: 4px 0;
    transition: var(--transition);
}

/* Petit soulignement dégradé façon marque, qui se déploie au survol.
   Ciblé sur ".footer-links ul a" (liens de nav) uniquement : ".social-icon"
   est aussi un <a> de .footer-links mais ne doit pas être soulignée. */
.footer-links ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--accent-orange);
}

.footer-links ul a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1;
    transition: var(--transition);
}

.social-icon i {
    display: block;
    line-height: 1;
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 0, 127, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE IPAD & PC */
@media (min-width: 768px) {
    .section {
        padding: 110px 6%;
    }

    #prestations, #contact {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    header {
        padding: 15px 3% 15px 8%;
        flex-wrap: nowrap;
    }
    .burger-menu { 
        display: none; 
    }
    nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 30px; 
        box-shadow: none;
        padding: 0;
        flex-shrink: 0;
        max-width: none;
    }
    
.nav-link {
        font-size: 0.9rem;
        padding: 6px 0;
        border: none;
        width: auto;
    }
    
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: var(--transition);
        border-radius: 2px;
    }
    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--text-light);
        background: transparent; 
    }
    
    .hero-cta-group { 
        flex-direction: row; 
        justify-content: center; 
    }
    .btn-primary, .btn-secondary { 
        width: auto; 
    }
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    /* Vignettes un peu plus hautes sur PC : jugées trop tassées / peu lisibles. */
    .service-card {
        padding: 35px 28px;
    }
    .packs-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    /* Réaffiche les vignettes 2, 3 et 4, masquées uniquement sur mobile. */
    .packs-grid .pack-card:nth-child(n+2) {
        display: flex;
    }
      .split-row { 
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 50px; 
        align-items: center; 
    }
    .split-row:nth-child(even) .split-text { 
        order: 2; 
    }
    .split-row:nth-child(even) .split-visual { 
        order: 1; 
    }
    .split-visual {
        max-width: 420px;
        margin-left: auto;
        justify-self: end;
    }
    .form-row { 
        flex-direction: row; 
    }
    .contact-section-grid { 
        display: grid;
        grid-template-columns: 1.2fr 1fr; 
        gap: 40px;
    }
    .contact-cards-grid { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 20px;
    }
    .footer-content {
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        gap: 40px;
        text-align: left;
    }
    .footer-brand, .footer-content .footer-links:not(.footer-social) {
        align-items: flex-start;
    }
    .footer-content .footer-links:not(.footer-social) ul {
        align-items: flex-start;
    }
    .footer-content .footer-links:not(.footer-social) ul a::after {
        left: 0;
        transform: none;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

/* ══ GRANDS ÉCRANS (PC 24" et plus) ══ */
@media (min-width: 1440px) {
    .hero-content {
        max-width: 800px;
    }

    .hero-logo-large {
        max-width: 420px;
    }

    .location-tag-top {
        font-size: 0.95rem;
        padding: 10px 20px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-cta-group {
        gap: 20px;
    }

    .btn-primary, .btn-secondary {
        min-width: 260px;
        min-height: 58px;
        font-size: 1.05rem;
        padding: 16px 28px;
    }
    .split-visual {
        max-width: 420px;
        margin-left: auto;
    }
}


/* ══ TRÈS GRANDS ÉCRANS (1920px et +) ══ */
@media (min-width: 1920px) {
    .hero-content {
        max-width: 950px;
    }

    .hero-logo-large {
        max-width: 500px;
    }

    .location-tag-top {
        font-size: 1.05rem;
        padding: 12px 24px;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .btn-primary, .btn-secondary {
        min-width: 290px;
        min-height: 62px;
        font-size: 1.15rem;
        padding: 18px 32px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-desc {
        font-size: 1.05rem;
    }
        .split-visual {
        max-width: 500px;
    }
}

/* ══ PHOTOS GALERIE DANS SUBPAGES SAVOIR-FAIRE ══ */
.sf-photos-block {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 6%;
}

.sf-photos-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

.sf-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sf-photo-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-card);
}

.sf-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.sf-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    gap: 8px;
}

.sf-photo-placeholder i {
    font-size: 1.5rem;
    opacity: 0.4;
}

.sf-photo-placeholder p {
    font-size: 0.7rem;
    opacity: 0.5;
    text-align: center;
    padding: 0 5px;
    word-break: break-all;
}

/* ══ LOCATION PAGE STYLES ══ */
.location-intro {
    text-align: center;
    padding: 15px 6%;
    max-width: 800px;
    margin: 0 auto;
}

.location-categories {
    width: 100%;
}

/* ── Sélecteur de catégorie : un même choix (Sonorisation, Gonflables...),
   deux présentations différentes — barre d'onglets groupés sur PC (repère
   ci-dessous), menu déroulant sur téléphone (voir .category-dropdown). Placé
   dans le flux normal de la page (pas de menu collant), sous le bandeau
   d'introduction en haut de location.php. ── */
.category-tabs {
    display: none;
}

@media (min-width: 768px) {
    /* Sur les écrans PC les plus étroits (~768-900px), les 4 onglets ne
       tiennent pas tous sur une ligne : la barre devient alors défilable
       horizontalement plutôt que de déborder de la page. */
    .category-tabs {
        display: flex;
        width: fit-content;
        max-width: 100%;
        overflow-x: auto;
        gap: 6px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 50px;
        padding: 6px;
        margin: 10px auto 50px;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 22px;
        border-radius: 50px;
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        white-space: nowrap;
        transition: var(--transition);
        cursor: pointer;
    }

    .category-tab:hover {
        color: var(--text-light);
    }

    .category-tab.active {
        background: var(--gradient-primary);
        color: var(--text-light);
        box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
    }

    .category-tab i {
        font-size: 0.95rem;
    }
}

/* ── Menu déroulant (téléphone uniquement) ── */
.category-dropdown {
    position: relative;
    max-width: 440px;
    margin: 10px auto 40px;
    padding: 0 6%;
}

@media (min-width: 768px) {
    .category-dropdown {
        display: none;
    }
}

.category-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: var(--transition);
}

.category-dropdown-toggle:hover {
    border-color: rgba(255, 159, 28, 0.35);
}

.category-dropdown-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-dropdown-toggle-label i {
    color: var(--accent-orange);
}

.category-dropdown-toggle .fa-chevron-down {
    transition: var(--transition);
}

.category-dropdown.open .category-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 6%;
    right: 6%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 8px;
    z-index: 50;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
}

.category-dropdown.open .category-dropdown-menu {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
}

.category-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
    transition: var(--transition);
    cursor: pointer;
}

.category-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.category-dropdown-item.active {
    background: rgba(255, 159, 28, 0.1);
    color: var(--accent-orange);
}

.category-dropdown-item i {
    width: 18px;
    text-align: center;
}

.location-category-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
    padding: 0 6% 20px;
}

.location-category-section.active {
    display: block;
}

/* Grille de packs compacte : plus de colonnes sur grand écran, cartes plus
   petites que celles de l'accueil (catalogue à parcourir rapidement). */
.location-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
}

/* Plus la fenêtre s'agrandit, plus les vignettes ont besoin de respirer :
   sinon la grille se remplit juste de plus de colonnes aussi serrées.
   Largeur plafonnée (au lieu de 1fr) pour une taille de carte prévisible ;
   justify-content centre les colonnes quand il reste de la place inutilisée. */
@media (min-width: 1440px) {
    .location-packs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
        justify-content: center;
        gap: 40px;
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    .location-packs-grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 460px));
        justify-content: center;
        gap: 48px;
        max-width: 1800px;
    }
}

.location-pack-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.location-pack-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.location-pack-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #0d0d11;
    overflow: hidden;
    cursor: pointer;
}

.location-pack-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-pack-card:hover .location-pack-photo img {
    transform: scale(1.05);
}

.location-pack-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.15);
    padding: 10px;
    text-align: center;
}

.location-pack-placeholder i {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-pack-placeholder p {
    font-size: 0.65rem;
    word-break: break-all;
}

.location-pack-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.location-pack-name {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Aperçu de 2 lignes seulement : le texte complet reste consultable dans la
   fenêtre d'agrandissement (clic sur la photo), pas besoin de tout afficher
   sur la carte. */
.location-pack-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sur très grand écran, la règle globale .btn-primary impose un min-width
   pensé pour les gros boutons du hero (voir @media 1440px/1920px plus bas) :
   on le neutralise ici, sinon le bouton dépasse de sa carte et se fait
   couper par l'overflow. */
.location-pack-card .btn-primary {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .sf-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sf-photos-block {
        padding: 0 4%;
    }

    .btn-back {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* ══ LIGHTBOX (agrandissement photos savoir-faire & packs) ══ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.7);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent-pink);
}

.lightbox-image-wrap {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lightbox-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.6);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--gradient-primary);
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

/* Bandeau légende - mode "gallery" (sous-pages savoir-faire) */
.lightbox-caption {
    padding: 14px 24px;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bloc infos + bouton - mode "pack" (photos des packs location) */
.lightbox-pack-info {
    padding: 24px;
    overflow-y: auto;
}

.lightbox-pack-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.lightbox-pack-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.lightbox-pack-select {
    width: 100%;
}

/* Un seul des deux blocs (galerie ou pack) est visible selon le mode */
.lightbox-box.mode-pack .lightbox-nav,
.lightbox-box.mode-pack .lightbox-caption {
    display: none;
}

.lightbox-box.mode-gallery .lightbox-pack-info {
    display: none;
}

@media (max-width: 600px) {
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .lightbox-image {
        max-height: 45vh;
    }
}
