/* ==========================================================================
   . VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #a68a5c;
    --primary-dark: #7a623f;
    --accent: #1f1d18;
    --accent-dark: #2a401f;
    --bg-light: #fdfcf7;
    --bg-sand: #f8f7f0; 
    --text-dark: #2d2a1f;
    --text-muted: #6b6659;
    --white: #ffffff;
    --dark-base: #111111; 
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-sand); 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   . LAYOUT & UTILITAIRES
   ========================================================================== */
main {
    flex: 1 0 auto;
    display: block;
    background-color: var(--bg-sand); 
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { 
    padding: 5rem 0; 
    background-color: var(--bg-sand); 
}

.bg-light { background-color: var(--bg-sand) ; }

.bg-dark, #contact, footer { 
    background-color: var(--dark-base) ; 
    color: #f5f2e9; 
}

.center { text-align: center; }
.mt-5 { margin-top: 3rem; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--text-muted);
}

/* ==========================================================================
   . NAVIGATION
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    background: rgba(248, 247, 240, 0.95); 
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    overflow: hidden;
}

.logo-img { width: 100%; height: 100%; object-fit: cover; }
.logo-brand { display: flex; flex-direction: column; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); line-height: 1; }
.logo-subtext { font-size: 0.75rem; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 500; 
    transition: color 0.3s; 
}
.nav-links a:hover { color: var(--accent); }

.promo-banner {
    background-color: #ffc107;
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   . HERO SECTION 
   ========================================================================== */

   .hero {
    position: relative;
    overflow: hidden;
    background-color: #000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay pour la lisibilité du texte */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

/* --- BASE HERO --- */
.hero {
    position: relative;
    overflow: hidden;
    background-color: #000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* L'overlay sombre pour lire le texte */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

/* --- NAVIGATION PAR POINTS (DOTS) --- */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .hero-dots { bottom: 20px; }
    .dot { width: 10px; height: 10px; }
}

/* ==========================================================================
   . SECTION COMPARATIVE (EXPERTISE GEOMATIQUE)
   ========================================================================== */
.expertise-comparative {
    padding: 5rem 0;
    background-color: var(--bg-sand);
}

.va-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.va-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(166, 138, 92, 0.1); /* Utilisation de --primary avec opacité */
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.va-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.va-intro p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Style de la Table */
.table-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-x: auto; /* Important pour le mobile */
}

.comparatif-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparatif-table thead th {
    padding: 1.5rem;
    border-bottom: 2px solid var(--bg-sand);
    vertical-align: bottom;
}

.comparatif-table thead th small {
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.col-pilot {
    color: var(--text-muted);
    font-weight: 600;
    width: 20%;
    text-align: center;
}

.col-expert {
    color: var(--primary);
    font-weight: 700;
    width: 25%;
    text-align: center;
    background: rgba(248, 247, 240, 0.5);
    border-radius: 8px 8px 0 0;
}

.comparatif-table tbody td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Colonne Expert mise en valeur */
.comparatif-table tbody td:last-child {
    background: rgba(248, 247, 240, 0.5);
    text-align: center;
}

.comparatif-table tbody td:nth-child(2) {
    text-align: center;
}

.check {
    color: #4CAF50; 
    font-weight: bold;
    font-size: 1.2rem;
}

.cross {
    color: #ccc;
    font-size: 1.1rem;
}

.warn {
    color: #d97706; 
    font-weight: 800;
    font-size: 1.2rem;
}

/* ==========================================================================
   . COMPOSANTS & CARTES
   ========================================================================= */

.presentation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.presentation-grid .spec-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: left;
}

@media (max-width: 992px) {
    .presentation-grid {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary { background: var(--primary); color: white; border: none; }
.btn.primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn.secondary { border: 1px solid rgba(245, 242, 233, 0.4); color: white; }
.btn.secondary:hover { background: rgba(245, 242, 233, 0.1); }

.btn-outline { 
    display: inline-block;
    padding: 12px 35px; 
    border: 2px solid var(--accent); 
    color: var(--accent); 
    text-decoration: none; 
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.4s ease; 
}
.btn-outline:hover { background: var(--accent); color: white; }

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(235, 234, 232, 0.2);
    border: 1px solid;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.grid-card, .specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card, .spec-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative; 
    overflow: hidden; 
}

.card:hover, .spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    position: absolute;
    top: 0;         
    right: 0;   
    width: 130px;      
    height: 130px;
    object-fit: cover;
    
    clip-path: ellipse(100% 100% at 100% 0%);
    
    border-top-right-radius: 12px; 
    pointer-events: none; 
    user-select: none;
    opacity: 1;
}

.card-header {
    padding-right: 110px; 
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}


.reveal-content {
    opacity: 1;
    visibility: visible;
}

.feature-item {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--accent);
}

.feature-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    color: #444;
}

.cta-exploration {
    grid-column: 1 / -1; 
}

/* ==========================================================================
   . MÉTHODOLOGIE & SLIDER
   ========================================================================== */
.workflow-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
}

.wf-step {
    flex: 1;
    background: var(--white);
    padding: 2.5rem 1.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.wf-step ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.wf-step ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wf-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--bg-sand);
    z-index: 10;
}

.wf-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    opacity: 0.4;
    user-select: none;
}

/* ==========================================================================
   . GALLERIE DE RÉALISATIONS
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px; 
    width: 100%;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: var(--accent); 
}

#lightbox-caption {
    display: none !important;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(30%); 
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(166, 138, 92, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.overlay-content h3 {
    color: var(--white);
    font-size: 0.85rem; 
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}


@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
    }
    .gallery-item {
        height: 120px; 
    }
}

/* ==========================================================================
   . LIGHTBOX 
   ========================================================================== */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(17, 17, 17, 0.95); 
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: all 0.4s ease;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(166, 138, 92, 0.2);
    transform: scale(0.9);
    animation: zoomIn 0.3s forwards ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    min-width: 300px;
}

#lightbox-caption strong {
    display: block;
    color: var(--primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

#lightbox-caption br + text, 
#lightbox-caption {
    color: #d1d1d1;
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 200;
    line-height: 1;
    transition: 0.3s;
    opacity: 0.5;
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox { padding: 20px; }
    #lightbox-caption { width: 90%; bottom: 20px; padding: 15px; }
}

/* ==========================================================================
   . FAQ
   ========================================================================== */

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #1a1a1a;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.2rem 1.2rem;
    line-height: 1.6;
    color: #444;
}


/* ==========================================================================
   . CONTACT & FOOTER (UNIFIÉS)
   ========================================================================== */
#contact {
    display: flow-root;
    padding-bottom: 6rem;
    margin-bottom: 0 ;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
    display: inline-block;
    margin: 2rem 0;
}

.contact-info-row a { color: white; text-decoration: none; border-bottom: 1px solid var(--primary); }

.info-notice {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-notice ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.info-notice li {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.info-notice li strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.regulatory-minimal p { margin-bottom: 0; }

footer {
    background-color: var(--dark-base);
    color: var(--text-muted);
    padding: 4rem 0;
    margin-top: 0 ;
    border-top: 1px solid #222;
    width: 100%;
    flex-shrink: 0;
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
    gap: 20px; 
}

.footer-links a { color: var(--text-muted); text-decoration: none; margin-left: 15px; }
.footer-links a:hover { color: var(--primary); }

.direct-email-notice {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9em;
    color: var(--text-muted);
    line-height: 1.4;
}

.direct-email-notice a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent; 
}

.direct-email-notice a:hover,
.direct-email-notice a:focus {
    color: var(--primary-dark);        
    border-bottom: 1px solid var(--primary);
}

/* ==========================================================================
   FORMULAIRES - Contact
   ========================================================================== */

#contact form {
    max-width: 600px;        
    margin: 2rem auto 0;
}

#contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(166, 138, 92, 0.3); 
    border-radius: 8px;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

#contact input:focus,
#contact textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(166, 138, 92, 0.15); 
}

#contact textarea {
    min-height: 140px;
    resize: vertical;
}

#contact button.btn.primary {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#contact button.btn.primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 98, 63, 0.2);
}

#contact button.btn.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--primary-dark);
    transform: none;
}

#form-message {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.4s ease;
}

#form-message.success {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#form-message.error {
    background: rgba(244, 67, 54, 0.12);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ==========================================================================
   . RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .grid-card, .presentation-grid, .specs-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none !important; 
    }

    .hero h1 { 
        font-size: 1.8rem !important; 
        padding: 0 10px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .workflow-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3.5rem !important; 
        margin-top: 4rem !important;
    }

    .workflow-container .wf-step {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 450px !important;
        min-height: 250px !important; 
        padding: 3rem 1.5rem 2rem !important;
        margin: 0 auto !important;
        flex: none !important;
        background: var(--white) !important;
    }

    .workflow-container .wf-arrow {
        display: none !important;
    }

    .wf-step ul {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin-top: 1.5rem !important;
        padding-left: 20px !important;
    }

    .wf-step h3 {
        font-size: 1.1rem !important;
        margin-top: 0.5rem !important;
    }

    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-links {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .footer-links a {
        margin: 0 !important;
    }

    .contact-card {
        padding: 1.5rem !important;
        width: 100% !important;
    }
    .table-wrapper {
        padding: 1rem;
        margin: 0 -10px; 
    }
    .comparatif-table thead th {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    .comparatif-table tbody td {
        padding: 1rem 0.5rem;
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   . REALISATIONS
   ========================================================================== */

.leaflet-popup-content-wrapper {
    background-color: var(--bg-sand);
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    padding: 5px;
    border: 1px solid rgba(166, 138, 92, 0.1);
}

.leaflet-popup-tip {
    background: var(--bg-sand);
}

.popup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 5px 0 12px 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px; 
}

.popup-carousel { 
    position: relative; 
    width: 250px; 
    height: 180px; 
    background: var(--white); 
    overflow: hidden;
    border-radius: 8px; 
}

.popup-img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; 
    z-index: 1;
}

.popup-img.active { 
    opacity: 1;
    z-index: 2; 
}

.btn-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    background: rgba(166, 138, 92, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); 
    color: var(--white); 
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; 
    width: 32px; 
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 50%; 
    font-size: 16px;
}

.btn-nav:hover { 
    background: rgba(166, 138, 92, 0.9);
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 4px 10px rgba(166, 138, 92, 0.3);
}

.btn-prev { left: 10px; }
.btn-next { right: 10px; }
