/* ===== VARIABLES CSS ===== */
:root {
    --green: #2E7D32;
    --green-dark: #1B5E20;
    --orange: #FF6B35;
    --orange-dark: #e05a2d;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RÉINITIALISATION GLOBALE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== BARRRE DE RECHERCHE ===== */
.search-container {
    text-align: center;
    margin-top: 5px;
}

.search-box {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid var(--green-dark);
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box:focus {
    border-color: var(--orange);
}

.search-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: var(--orange-dark);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: var(--orange);
}

/* ===== HEADER ===== */
header {
    background: var(--green-dark);
    color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--orange);
}

.slogan {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ===== MENU BURGER ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO CONTACT ===== */
.hero-contact {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
    background:
                url('../images/Image_6257.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 94, 32, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-contact h1 {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-contact h2 {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
    margin-top: 1rem;
}

/* ===== SECTION HEADER GÉNÉRIQUE ===== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: var(--orange);
    margin: 0 auto 2.5rem;
    border-radius: 2px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* ===== COORDONNÉES ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.2rem;
}

.info-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.3rem;
    display: block;
}

.info-value {
    font-size: 1.05rem;
    color: var(--gray-900);
}

.info-value a {
    color: var(--green);
    text-decoration: none;
    transition: var(--transition);
}

.info-value a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.info-note {
    font-style: italic;
    color: var(--gray-600);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.map-placeholder {
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-caption {
    padding: 1rem;
    text-align: center;
    font-style: italic;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== FORMULAIRE ===== */
.contact-form {
    display: flex;
    align-items: flex-start;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: 100%;
    transition: var(--transition);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-800);
}

.form-group label span {
    color: var(--red);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

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

/* ===== BIO CEO ===== */
.bio-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.bio-image {
    text-align: center;
}

.bio-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.bio-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.bio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bio-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.bio-title {
    color: var(--orange);
    font-weight: 600;
    font-size: 1.2rem;
}

.bio-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange);
}

.bio-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.bio-signature {
    font-style: italic;
    text-align: right;
    margin-top: 1.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== CTA FINAL ===== */
.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.cta-content i {
    font-size: 3.5rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    display: block;
}

.cta-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BOUTONS ===== */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 42px;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
    background: var(--green);
    color: var(--white);
    border: 2px solid var(--green);
    width: 100%;
}

.btn-secondary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
    padding: 16px 50px;
    font-size: 1.3rem;
    border-radius: 50px;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp i {
    margin-right: 12px;
    font-size: 1.6rem;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-contact h1 { font-size: 3rem; }
    .hero-contact h2 { font-size: 1.6rem; }
    .section-header h2 { font-size: 2.2rem; }
    .contact-grid,
    .bio-grid { grid-template-columns: 1fr; }
    .bio-image img { width: 250px; height: 250px; }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul.show {
        max-height: 300px;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .hero-contact {
        height: 80vh;
    }
    
    .hero-contact h1 { font-size: 2.5rem; }
    .hero-contact h2 { font-size: 1.4rem; }
    
    .search-box { width: 250px; }
    
    .info-card,
    .form-card,
    .bio-content { padding: 2rem; }
    
    .bio-header h3 { font-size: 1.8rem; }
    .bio-title { font-size: 1.1rem; }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-contact {
        height: 70vh;
    }
    
    .hero-contact h1 { font-size: 2.2rem; }
    .hero-contact h2 { font-size: 1.3rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    
    .search-box { width: 100%; max-width: 280px; margin: 0 auto 1rem; }
    .search-button { width: 100%; max-width: 280px; margin: 0 auto; display: block; }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        width: 100%;
        padding: 14px;
        font-size: 1.1rem;
    }
    
    .btn-whatsapp {
        font-size: 1.2rem;
        padding: 16px;
    }
    
    .btn-whatsapp i { font-size: 1.4rem; margin-right: 10px; }
    
    .bio-image img { width: 220px; height: 220px; }
    
    .cta-content i { font-size: 2.8rem; }
    .cta-content h3 { font-size: 1.8rem; }
    .cta-content p { font-size: 1.1rem; }
}