/* formulaire.css */
/* Base styles from theme */
:root {
    --primary: #15803d;
    --primary-dark: #0c5a2a;
    --secondary: #f8f9fa;
    --accent: #ffa500;
    --text: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section - Reusing mission page styles */
.home {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content h3 {
    font-size: 4.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.controls {
    position: absolute;
    bottom: 30px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.vid-btn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.vid-btn.active {
    background: var(--primary);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.col-sm {
    flex: 1;
    min-width: 300px;
}

/* Contact Info Section */
.contact_page {
    background: var(--secondary);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact_page h3 {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact_page h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.contact_page p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.info_direct {
    margin: 3rem 0;
}

.info_direct h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info_direct ul {
    list-style: none;
    padding: 0;
}

.info_direct li {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.info_direct li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 2rem;
}

.localisation {
    margin-top: 3rem;
}

.localisation h3 {
    font-size: 2.5rem;
}

.localisation p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.logo-img {
    max-width: 250px;
    display: block;
    margin: 2rem auto 0;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Contact Form Section */
.pop {
    background: var(--secondary);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.formC {
    display: flex;
    flex-direction: column;
}

.formC h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.formC h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.formC label {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.formC input,
.formC select,
.formC textarea {
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}

.formC input:focus,
.formC select:focus,
.formC textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

.formC textarea {
    resize: vertical;
    min-height: 150px;
}

.formC input[type="submit"] {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.formC input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.summary, .interaction {
    margin-top: 3rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .home {
        height: 50vh;
    }
    
    .content h3 {
        font-size: 3.8rem;
    }
    
    .contact_page,
    .pop {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .home {
        height: 40vh;
    }
    
    .content h3 {
        font-size: 3.2rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-sm {
        width: 100%;
    }
    
    .contact_page,
    .pop {
        padding: 2.5rem;
    }
    
    .formC h2 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .home {
        height: 35vh;
    }
    
    .content h3 {
        font-size: 2.8rem;
    }
    
    .contact_page,
    .pop {
        padding: 2rem;
    }
    
    .contact_page h3,
    .formC h2 {
        font-size: 2.5rem;
    }
    
    .contact_page p,
    .info_direct li,
    .localisation p,
    .formC label {
        font-size: 1.6rem;
    }
    
    .logo-img {
        max-width: 200px;
    }
    
    .formC input,
    .formC select,
    .formC textarea {
        font-size: 1.6rem;
        padding: 1.2rem;
    }
    
    .formC input[type="submit"] {
        font-size: 1.8rem;
        padding: 1.2rem;
    }
}