/* Variables et resets */
:root {
    --color-bg: #F1F6F9;
    --color-primary: #004E64;
    --color-secondary: #FF6B6B;
    --color-accent: #FFCB05;
    --color-text: #1B1B1E;
    --color-error: #e74c3c;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 12px auto;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation - No JS Burger Menu */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}
.legal-content h2{
    text-align: left !important;

}
.legal-content h2::after{
   margin: 12px 0;
}
nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 78, 100, 0.85), rgba(0, 78, 100, 0.85)), url('./img/vEhP2K.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 15rem 1rem;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: white;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Process Section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-weight: 600;
}

/* Contact Form */
form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: inherit;
    background-color: #f9f9f9;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Form Error Messages */
.form-error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--color-error);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.form-error-message p {
    color: var(--color-error);
    font-weight: 500;
    margin-bottom: 0;
}

.form-error-message ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--color-error);
}

input:invalid, select:invalid, textarea:invalid {
    border-color: var(--color-error);
}

/* Location Section */
.location-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.address-details {
    flex: 1;
}

.map {
    flex: 1;
}

.map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.hours h4 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #e0e0e0;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.thanks{
    padding: 15rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.thanks-content{
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Success Message */
.success-icon {
    width: 80px;
    height: 80px;
    background-color: #2ecc71;
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    /* No JS Responsive Menu */
    .menu-toggle-label {
        display: block;
        font-size: 1.5rem;
        line-height: 0;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    nav ul {
        flex-direction: column;
        padding: 0 1rem;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle:checked ~ nav {
        max-height: 400px;
    }

    /* About */
    .about-content {
        flex-direction: column;
    }

    /* Process */
    .process-steps:before {
        display: none;
    }

    .process-step {
        margin-bottom: 2rem;
    }

    /* Location */
    .location-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .service-card, .testimonial-card {
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 1rem;
    }
} 