/* =====================================================
   TEMPLATE LUXE - THEME STYLESHEET
   ===================================================== */

/* ----- Custom Font ----- */
@font-face {
    font-family: 'TopLuxury';
    src: url('../fonts/topluxury.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ----- Variables CSS ----- */
:root {
    --gold: #C58A45;
    --gold-dark: #8d680d;
    --cream: #F5F1E8;
    --dark: #1A1A1A;
    --dark-gray: #4A4A4A;
    --light-gray: #F8F8F8;
    --white: #FFFFFF;

    --font-serif: 'TopLuxury', 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-serif);
}

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

a:hover {
    color: var(--gold-dark);
}

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

/* ----- Utilities ----- */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.ls-3 {
    letter-spacing: 3px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* ----- Buttons ----- */
.btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 0;
    transition: var(--transition);
    border-width: 2px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-outline-dark {
    border-width: 2px;
    border-radius: 0;
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    transform: translateY(-2px);
}

/* =====================================================
   CUSTOM BREAKPOINT 1320px - Display Utilities

   Pourquoi 1320px ?
   - Container Bootstrap = 1320px de largeur max
   - Menu mobile activé dès qu'on passe sous cette largeur
   - Évite le menu serré entre 992px et 1320px
   ===================================================== */

/* >= 1320px : afficher les éléments desktop */
@media (min-width: 1320px) {
    .d-1320-none {
        display: none !important;
    }

    .d-1320-flex {
        display: flex !important;
    }

    .d-1320-inline-block {
        display: inline-block !important;
    }
}

/* < 1320px : cacher les éléments desktop */
@media (max-width: 1319.98px) {
    .d-1320-flex,
    .d-1320-inline-block {
        display: none !important;
    }
}

/* Navbar Expand 1320 - Comportement du toggler/collapse */
.navbar-expand-1320 .navbar-toggler {
    display: block;
}

.navbar-expand-1320 .navbar-collapse {
    display: none;
}

@media (min-width: 1320px) {
    .navbar-expand-1320 .navbar-toggler {
        display: none;
    }

    .navbar-expand-1320 .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

/* ----- Navigation ----- */
.navbar {
    padding: 10px 0;
    background-color: rgba(26, 26, 26, 0.66);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--white) !important;
    flex-shrink: 0;
}

/* Desktop uniquement */
@media (min-width: 1320px) {
    .navbar-collapse {
        flex-grow: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .navbar-nav {
        margin: 0 !important;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

.navbar-nav .nav-link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 20px !important;
    margin: 0 5px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar .btn-outline-gold {
    text-align: center;
    flex-shrink: 0;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ----- Dropdowns (Sous-menus) ----- */
.dropdown-menu {
    background-color: var(--dark);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    display: none;
}

/* Ouverture au survol (Desktop) */
@media (min-width: 1320px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        margin-top: 0;
        position: absolute !important;
    }
}

.dropdown-item {
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(201, 169, 97, 0.15);
    color: var(--gold);
}

.dropdown-item:active {
    background-color: rgba(201, 169, 97, 0.2);
    color: var(--gold);
}

/* Sous-menus avec hauteur limitée et scrollbar stylisée (Desktop uniquement) */
@media (min-width: 1320px) {
    .dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
    }

    .dropdown-menu::-webkit-scrollbar {
        width: 8px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background: rgba(201, 169, 97, 0.1);
        border-radius: 4px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 4px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: var(--gold-dark);
    }
}

/* Dropdown toggle arrow */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Offcanvas Mobile */
.offcanvas {
    background-color: var(--dark);
    height: 100vh !important;
}

.offcanvas-header {
    background-color: var(--dark);
}

.offcanvas-title {
    font-family: var(--font-serif);
    color: var(--gold);
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.offcanvas-body .nav-link {
    padding: 15px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.offcanvas-body .dropdown-toggle {
    width: 100% !important;
    text-align: left;
}

.offcanvas-body .btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
}

/* Dropdowns dans l'offcanvas mobile */
.offcanvas-body .dropdown-menu {
    background-color: transparent;
    border: none;
    padding-left: 1rem;
    margin: 0;
    position: static !important;
    transform: none !important;
}

.offcanvas-body .dropdown-item {
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-body a.dropdown-item{
    white-space: pre-wrap;
}

.offcanvas-body .dropdown-toggle::after {
    float: right;
    margin-top: 0.4rem;
}

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

/* ----- Hero Simple (Pages d'information) ----- */
.hero-simple {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    padding: 260px 0 100px;
}

.hero-simple > .container {
    position: relative;
    z-index: 2;
}

.hero-simple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
    z-index: 1;
}

.hero-simple-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(201, 169, 97, 0.03) 2px,
            rgba(201, 169, 97, 0.03) 4px
        );
    pointer-events: none;
}

.hero-simple-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-simple-content {
    color: var(--white);
}

.hero-simple-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-simple-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 110%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.stars svg {
    color: var(--gold);
    opacity: 0.9;
}

.hero-divider {
    width: 1px;
    height: 40px;
    background-color: var(--gold);
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
}

.hero-divider:hover {
    transform: translateY(5px);
}

/* ----- Services Section ----- */
.services-section {
    background-color: var(--light-gray);
}

.service-item {
    /* Par défaut : image à gauche, texte à droite */
}

.service-image-col {
    position: relative;
}

/* Décoration marbre - cercle en haut à droite */
.service-image-col::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background-image: url('icone-marbre.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: floatMarble1 6s ease-in-out infinite;
}

/* Décoration marbre - petit cercle en bas à gauche */
.service-image-col::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    background-image: url('icone-marbre.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: floatMarble2 8s ease-in-out infinite;
}

/* Animation flottement pour grand cercle */
@keyframes floatMarble1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Animation flottement pour petit cercle */
@keyframes floatMarble2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

.service-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-image-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.service-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Inversion automatique pour les items pairs (2ème, 4ème, etc.) */
.service-item:nth-child(even) .service-image-col {
    order: 2;
    margin-left: auto;
}

.service-item:nth-child(even) .service-text-col {
    order: 1;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
}

/* ----- Facilities Section ----- */
.facilities-section {
    background-color: var(--white);
}

.facilities-section .row {
    justify-content: center;
}

.facility-card {
    background-color: var(--white);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0;
    height: 100%;
    transition: var(--transition);
}

.facility-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.15);
    transform: translateY(-5px);
}

.facility-icon {
    width: 120px;
    height: 120px;
    aspect-ratio: 1/1;
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.facility-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.facility-card:hover .facility-icon {
    border-color: var(--gold);
    transform: scale(1.05);
}

.facility-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
}

/* ----- Free Text Section ----- */
.free-text-section {
    background-color: var(--cream);
    padding: 100px 0;
}

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

.free-text-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.3;
}

.free-text-body {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.free-text-body p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.free-text-body .lead-paragraph {
    font-size: 20px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Séparateurs décoratifs */
.text-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--gold) 50%,
        transparent
    );
    max-width: 150px;
}

.divider-icon {
    color: var(--gold);
    font-size: 18px;
    line-height: 1;
}

/* ----- Content Section (Pages d'information) ----- */
.content-section {
    background-color: var(--white);
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
}

.content-body h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.content-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-body h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-body p {
    margin-bottom: 1.25rem;
}

.content-body strong {
    font-weight: 600;
    color: var(--dark);
}

.content-body em {
    font-style: italic;
}

.content-body ul,
.content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-body ul li,
.content-body ol li {
    margin-bottom: 0.5rem;
}

.content-body blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--dark-gray);
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content-body table th,
.content-body table td {
    padding: 0.75rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
    text-align: left;
}

.content-body table th {
    background-color: var(--cream);
    font-weight: 600;
    color: var(--dark);
}

.content-body a {
    color: var(--gold);
    text-decoration: underline;
    transition: var(--transition);
}

.content-body a:hover {
    color: var(--gold-dark);
}

/* ----- CTA Section ----- */
.cta-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

/* ----- Contact Section ----- */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark);
    padding: 160px 0 100px;
}

.contact-section > .container {
    position: relative;
    z-index: 2;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(26, 26, 26, 0.85) 100%
    );
    z-index: 1;
}

.contact-content {
    color: var(--white);
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.contact-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.contact-form-wrapper {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.contact-form .form-label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.875rem 1rem;
    border-radius: 0;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.15);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-gold {
    padding: 1rem 2rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .contact-section {
        padding: 120px 0 80px;
    }

    .contact-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem !important;
    }

    .contact-text {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* ----- Archive Section ----- */
.archive-section {
    background-color: var(--light);
    min-height: 60vh;
}

.archive-empty {
    background-color: rgba(26, 26, 26, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.archive-card {
    background-color: var(--white);
    border: 1px solid rgba(201, 169, 97, 0.2);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.archive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.archive-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.archive-card:hover::before {
    opacity: 1;
}

.archive-card-body {
    height: 100%;
}

.archive-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.archive-card-description {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.archive-card-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.archive-card-link:hover {
    color: var(--dark);
    transform: translateX(5px);
}

.archive-card-link i {
    transition: var(--transition);
}

.archive-card:hover .archive-card-link i {
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .archive-card {
        padding: 1.5rem;
    }

    .archive-card-title {
        font-size: 1.25rem;
    }
}

/* ----- Footer ----- */
.footer {
    background-color: var(--dark);
    color: var(--white);
}

.footer h3,
.footer h5 {
    color: var(--white);
    font-family: var(--font-serif);
}

.footer a {
    color: var(--white);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
}

.footer-menu a {
    padding: 0.5rem 1rem;
    display: inline-block;
}

/* ----- Admin Panels (Critical Styles) ----- */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    display: none;
}

.settings-overlay.open {
    display: block;
}

.settings-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.settings-panel.open {
    right: 0;
}

/* ----- Mobile Action Bar ----- */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    display: flex;
    z-index: 1050;
    box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.3);
}

body {
    padding-bottom: 0;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 768px) {
    .mobile-action-bar {
        display: none;
    }
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    gap: 0.25rem;
}

.mobile-action-btn:hover,
.mobile-action-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
}

.mobile-action-btn.accent {
    background: var(--gold);
}

.mobile-action-btn.accent:hover,
.mobile-action-btn.accent:focus {
    background: var(--gold-dark);
}

.mobile-action-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-action-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Modal de rappel */
.modal-rappel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1060;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-rappel.show {
    display: flex;
}

.modal-rappel-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 0;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.modal-rappel h3 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-rappel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-rappel-close:hover {
    color: var(--gold);
}

.modal-rappel .form-control {
    border-radius: 0;
    border: 1px solid rgba(201, 169, 97, 0.2);
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.modal-rappel .form-control:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.15);
}

.modal-rappel .btn {
    width: 100%;
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.modal-rappel .btn:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .service-image-wrapper {
        max-width: 400px;
        margin-bottom: 30px;
    }

    /* Sur mobile, toujours image en haut, texte en bas */
    .service-item .service-image-col {
        order: 1 !important;
        margin-left: 0 !important;
    }

    .service-item .service-text-col {
        order: 2 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    /* Free text section responsive */
    .free-text-section {
        padding: 60px 0;
    }

    .free-text-title {
        font-size: 2.5rem;
    }

    .free-text-body p {
        font-size: 16px;
    }

    .free-text-body .lead-paragraph {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-simple {
        padding: 120px 0 60px;
        min-height: 40vh;
    }

    .hero-simple-title {
        font-size: 2.25rem;
    }

    .hero-simple-subtitle {
        font-size: 1rem;
    }

    .hero-simple-overlay::after {
        width: 60px;
    }

    .content-body {
        font-size: 15px;
    }

    .content-body h2 {
        font-size: 1.75rem;
    }

    .content-body h3 {
        font-size: 1.35rem;
    }

    /* Vidéo hero mobile - optimisation performance */
    .hero-video {
        min-width: 100%;
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .service-image-wrapper {
        max-width: 300px;
    }

    /* Masquer les décorations marbre sur mobile */
    .service-image-col::before,
    .service-image-col::after {
        display: none;
    }

    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    /* Free text section mobile */
    .free-text-section {
        padding: 40px 0;
    }

    .free-text-title {
        font-size: 2rem;
    }

    .free-text-body p {
        font-size: 15px;
    }

    .free-text-body .lead-paragraph {
        font-size: 17px;
    }

    .divider-line {
        max-width: 80px;
    }
}

/* ----- Animations & Effects ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--gold);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--gold);
    color: var(--white);
}

/* =====================================================
   NAVBAR STYLES - Static styles for navigation
   ===================================================== */

/* Tap highlight et états actifs des liens */
a, button, .nav-link, .btn {
    -webkit-tap-highlight-color: color-mix(in srgb, var(--gold) 20%, transparent);
}
li.nav-item{
    width:100%;
}

.nav-link:active {
    background-color: color-mix(in srgb, var(--gold) 10%, transparent) !important;
}

/* Focus et hover des liens de sous-menu */
.dropdown-item:focus,
.dropdown-item:active {
    background-color: color-mix(in srgb, var(--gold) 10%, transparent) !important;
}

.dropdown-item:hover {
    background-color: color-mix(in srgb, var(--gold) 15%, transparent);
}

/* Sous-menus avec hauteur limitée et scrollbar stylisée (PC uniquement) */
@media (min-width: 768px) {
    .dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
    }

    .dropdown-menu::-webkit-scrollbar {
        width: 8px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background: var(--dark);
        border-radius: 0px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 4px;
    }

}
