/* 
   Domain - Style principal
   Couleurs:
   - Fond principal: #F3F8F2 (claire-olive)
   - Accent: #FAAE3D (orange-chaleureux)
   - Texte: #2C2C2C
   - Fond secondaire: #F9F9F9
   - Éléments d'interface: #6B9D8D (menthe profond)
   - Lignes/séparateurs: #DDE8E3
*/

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #2C2C2C;
    background-color: #F3F8F2;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #6B9D8D;
    transition: color 0.3s ease;
}

a:hover {
    color: #FAAE3D;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FAAE3D;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FAAE3D;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #6B9D8D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2C2C2C;
}

.logo span {
    color: #FAAE3D;
}

.nav-desktop {
    display: flex;
}

.nav-desktop a {
    margin-left: 25px;
    font-weight: 500;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #2C2C2C;
    cursor: pointer;
}

.nav-mobile {
    display: none;
}

/* Hero section */
.hero {
    padding: 160px 0 80px;
    background-color: #F3F8F2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About section */
.about {
    background-color: #F9F9F9;
}

/* Services section */
.services .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-top: 1rem;
    color: #6B9D8D;
}

.service-icon {
    margin-bottom: 20px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits section */
.benefits {
    background-color: #F9F9F9;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.benefit-icon {
    background-color: #FAAE3D;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Testimonials section */
.testimonials {
    background-color: #F3F8F2;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.1;
    color: #FAAE3D;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    color: #6B9D8D;
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ section */
.faq {
    background-color: #F9F9F9;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-toggle:before {
    transform: rotate(90deg);
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle:before, .faq-toggle:after {
    content: '';
    position: absolute;
    background-color: #6B9D8D;
    transition: all 0.3s ease;
}

.faq-toggle:before {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.faq-toggle:after {
    width: 20px;
    height: 2px;
    left: 0;
    top: 9px;
}

/* CTA Section */
.cta {
    background-color: #6B9D8D;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
}

.cta h2:after {
    background-color: white;
}

.cta .btn {
    background-color: #FAAE3D;
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Form section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDE8E3;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #6B9D8D;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input {
    margin-right: 8px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin: 3px 10px 0 0;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 60px 0 30px;
}

.footer a {
    color: #DDE8E3;
}

.footer a:hover {
    color: #FAAE3D;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #FAAE3D;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: #FAAE3D;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    max-width: 400px;
    width: 90%;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup .btn {
    width: 100%;
}

/* Policy Pages */
.policy-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 30px auto;
    max-width: 900px;
}

.policy-content h2 {
    margin-top: 40px;
}

.policy-content h3 {
    margin-top: 30px;
    color: #6B9D8D;
}

.policy-content ul, .policy-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    color: #6B9D8D;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Mobile Navigation PHP-based */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    z-index: 2000;
    padding: 50px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #DDE8E3;
    font-weight: 500;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .service-card {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .benefit-item, .service-card, .testimonial-card {
        min-width: 100%;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .header-container {
        padding: 10px 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 25px;
    }
}
