/* ========================================
   SYNERGAIA - RVS SECTION STYLES
   Couleurs recyclage foncé + Glass panels
   ======================================== */

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

:root {
    --vert-fonce: #1a3a2e;
    --gris-anthracite: #2c3e50;
    --vert-accent: #2ecc71;
    --blanc: #ffffff;
    --glass-blur: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--blanc);
    overflow-x: hidden;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(26, 58, 46, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--blanc);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(46, 204, 113, 0.8);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--vert-accent);
    border-color: var(--vert-accent);
}

/* ===== RVS SECTION ===== */
.rvs-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== VIDEO BACKGROUND ===== */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.bg-video.active {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 46, 0.6),
        rgba(44, 62, 80, 0.5)
    );
}

/* ===== RVS CONTENT ===== */
.rvs-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}

/* ===== GLASS PANELS ===== */
.glass-panel {
    background: rgba(26, 58, 46, 0.3);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 20px 40px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    background: rgba(26, 58, 46, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.2);
}

/* Company Name Panel - 1" x 4" ratio */
.glass-panel.company-name {
    max-width: 600px;
    padding: 30px 60px;
}

.glass-panel.company-name h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blanc);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Slogan Panel */
.glass-panel.slogan {
    max-width: 700px;
    padding: 20px 40px;
}

.glass-panel.slogan p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== CTA BUTTON ===== */
.cta-container {
    margin-top: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--vert-accent);
    color: var(--blanc);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
}

.cta-btn:hover {
    background: #27ae60;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(46, 204, 113, 0.6);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--gris-anthracite);
    color: var(--blanc);
    padding: 80px 20px;
    text-align: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--vert-accent);
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info {
    margin-top: 40px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--vert-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #27ae60;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--vert-fonce);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid var(--vert-accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.web-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.web-credit a {
    color: var(--vert-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.web-credit a:hover {
    color: #27ae60;
    text-decoration: underline;
}

/* ===== COOKIE BANNER (Loi 25) ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 58, 46, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--vert-accent);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-btn.accept {
    background: var(--vert-accent);
    color: var(--blanc);
}

.cookie-btn.accept:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.cookie-btn.info {
    background: transparent;
    color: var(--vert-accent);
    border: 1px solid var(--vert-accent);
}

.cookie-btn.info:hover {
    background: rgba(46, 204, 113, 0.1);
}

/* ===== RESPONSIVE FOOTER & COOKIE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 25px 15px;
    }

    .copyright,
    .web-credit {
        font-size: 0.85rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        max-width: 100%;
    }
}


/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .glass-panel.company-name {
        padding: 20px 30px;
    }

    .glass-panel.slogan {
        padding: 15px 25px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .rvs-section {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .glass-panel {
        padding: 15px 20px;
        margin-bottom: 15px;
    }

    .glass-panel.company-name h1 {
        letter-spacing: 1px;
    }

    .glass-panel.slogan p {
        letter-spacing: 0.5px;
    }
}