/* Styles globaux */
:root {
    --primary-bg: #2B1E5A;
    --accent: #FF6B35;
    --jade: #2BB673;
    --beige: #F4E9D8;
    --white: #FFFFFF;
    --gray: #2E2E2E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-bg);
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #e05a2c;
    transform: translateY(-2px);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(43, 30, 90, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('./img/8a5BE.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 30, 90, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--beige);
    color: var(--gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    color: var(--primary-bg);
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services h2 {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 20px;
    flex-grow: 1;
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--beige);
    color: var(--gray);
}

.testimonials h2 {
    color: var(--primary-bg);
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-bg);
}

/* Steps Section */
.steps h2 {
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 24px;
}

.step-card h3 {
    margin-bottom: 15px;
}

/* Contact Form Section */
.contact {
    background-color: var(--beige);
    color: var(--gray);
}

.contact h2 {
    color: var(--primary-bg);
    margin-bottom: 30px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

select.form-control {
    background-color: #fff;
}

select.form-control option {
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(to right, var(--accent), var(--jade));
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Contact Info Section */
.contact-info {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--accent);
    font-size: 24px;
}

.map-container {
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #1c1442;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookies Popup */
.cookies-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--white);
    color: var(--gray);
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.cookies-popup.show {
    display: block;
    animation: fadeIn 0.5s;
}

.cookies-popup h3 {
    margin-bottom: 10px;
    color: var(--primary-bg);
}

.cookies-popup p {
    margin-bottom: 15px;
}

.cookies-buttons {
    display: flex;
    gap: 10px;
}

.cookies-accept {
    background-color: var(--jade);
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    border-radius: 0 0 5px 5px;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 15px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
}

.faq-checkbox:checked + .faq-question::after {
    content: '-';
}

/* Thank You Page */
.thank-you {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--accent);
}

.thank-you h2 {
    color: var(--accent);
    margin-bottom: 20px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-container h1 {
    color: var(--accent);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--jade);
    margin: 30px 0 15px;
}

.policy-container p, .policy-container ul {
    margin-bottom: 15px;
}

.policy-container ul {
    padding-left: 20px;
}

/* Mobile Menu */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    nav li {
        margin-bottom: 20px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .menu-toggle-label {
        display: block;
        width: 30px;
        height: 21px;
        position: relative;
    }
    
    .menu-toggle-label span,
    .menu-toggle-label span::before,
    .menu-toggle-label span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: var(--white);
        border-radius: 3px;
        transition: 0.3s;
    }
    
    .menu-toggle-label span {
        top: 9px;
    }
    
    .menu-toggle-label span::before {
        content: '';
        top: -9px;
    }
    
    .menu-toggle-label span::after {
        content: '';
        bottom: -9px;
    }
    
    .menu-toggle:checked ~ ul {
        left: 0;
    }
    
    .menu-toggle:checked + .menu-toggle-label span {
        background-color: transparent;
    }
    
    .menu-toggle:checked + .menu-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle:checked + .menu-toggle-label span::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .map-container {
        height: 300px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
