/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #F5F6FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #002E5D;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle-label span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav a:hover {
    color: #FFBC42;
    background-color: rgba(255, 188, 66, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 46, 93, 0.8), rgba(0, 46, 93, 0.8)), url('img/6pCzv.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFBC42, #F38D68);
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 188, 66, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 188, 66, 0.4);
}

/* Sections communes */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #002E5D;
    font-weight: 700;
}

/* About Section */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    background-color: #F5F6FA;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 3rem;
    color: #FFBC42;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #002E5D;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Audit Types Section */
.audit-types {
    background-color: #FFFFFF;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.audit-card {
    background-color: #F5F6FA;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.audit-card:hover {
    transform: translateY(-5px);
}

.audit-image {
    height: 200px;
    overflow: hidden;
}

.audit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audit-content {
    padding: 2rem;
}

.audit-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #002E5D;
}

.audit-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.audit-content ul {
    list-style: none;
    padding: 0;
}

.audit-content li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.audit-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFBC42;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background-color: #F5F6FA;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card:before {
    content:  "";
    font-size: 4rem;
    color: #FFBC42;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #002E5D;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Steps Section */
.steps {
    background-color: #FFFFFF;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFBC42, #F38D68);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #002E5D;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background-color: #F5F6FA;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Contact Form Section */
.contact-form {
    background-color: #FFFFFF;
}

.contact-form-element {
    max-width: 600px;
    margin: 0 auto;
    background-color: #F5F6FA;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #002E5D;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFBC42;
}

.form-group select option {
    background-color: #FFFFFF;
}

.form-checkboxes {
    margin-bottom: 2rem;
}

.checkbox-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #00aeff;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #FFBC42, #F38D68);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 188, 66, 0.3);
}

/* Contact Info Section */
 

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #002E5D;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #002E5D;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FFBC42;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFBC42;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #002E5D;
    color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: #FFBC42;
    color: #002E5D;
}

.cookie-btn.decline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.cookie-btn:hover {
    opacity: 0.8;
}

/* Thanks Section */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    background-color: #F5F6FA;
    margin: 8rem auto 5rem;
    padding: 2rem;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFBC42;
}

.thanks-content h1 {
    color: #002E5D;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thanks-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thanks-content .back-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFBC42, #F38D68);
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.thanks-content .back-button:hover {
    transform: translateY(-2px);
}

/* Policy Pages */
.policy-page {
    min-height: 100vh;
    padding: 8rem 0 5rem;
    background-color: #F5F6FA;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFBC42;
}

.policy-content h1 {
    color: #002E5D;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: #002E5D;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.policy-content h3 {
    color: #002E5D;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.5rem;
}

.policy-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content .back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #FFBC42;
    text-decoration: none;
    font-weight: 600;
}

.policy-content .back-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #002E5D;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 0 2rem;
        gap: 0px;
    }
    
    .nav a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .advantages-grid,
    .audit-grid,
    .testimonials-grid,
    .steps-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .thanks-section {
        height: auto;
    }
    
    .policy-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .advantage-card,
    .audit-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form-element {
        padding: 1.5rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

/* Body overflow control for mobile menu */
body:has(#menu-toggle:checked) {
    overflow: hidden;
}
