/* Base Styles and Variables */
:root {
    --dark-blue: #0B132B;
    --indigo: #1C2541;
    --orange: #FF9F1C;
    --orange-dark: #FF6126;
    --steel-blue: #3A506B;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Empêcher le défilement horizontal */
    width: 100%;
    position: relative;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--white);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange-dark);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.6);
    color: var(--white);
}

/* Header Styles */
header {
    background-color: var(--indigo);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo svg {
    margin-right: 10px;
}

.logo span {
    color: var(--white);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light-gray);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--white);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--indigo) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    padding-right: 20px;
}

.hero-text h1 {
    margin-bottom: 30px;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-text p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--light-gray);
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    background-color: var(--indigo);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 30px;
}

.advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.advantage {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.advantage .icon {
    width: 50px;
    height: 50px;
    background-color: var(--orange);
    border-radius: 50%; /* Assure des icônes parfaitement circulaires */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    min-width: 50px; /* Maintient la largeur fixe pour éviter la déformation */
}

/* Services Section */
.services {
    background-color: var(--dark-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--indigo);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--orange);
}

.service-card p {
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card .btn {
    align-self: center; /* Centre le bouton */
    width: auto; /* Ajuste la largeur au contenu */
    padding: 10px 20px; /* Réduit légèrement le padding */
}

/* Steps Section */
.steps {
    background-color: var(--indigo);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 159, 28, 0.3); /* Ajoute une bordure */
    border-radius: 10px; /* Arrondit les coins */
    background-color: rgba(58, 80, 107, 0.2); /* Fond légèrement plus clair */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--orange);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--orange);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark-blue);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--indigo);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 5rem;
    color: var(--orange);
    position: absolute;
    top: -40px;
    left: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author .author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author .author-info h4 {
    margin-bottom: 5px;
    color: var(--orange);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--steel-blue) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.form-container {
    background-color: rgba(58, 80, 107, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(255, 159, 28, 0.3);
    border: 1px solid rgba(255, 159, 28, 0.2);
    text-align: left; /* Aligne le texte à gauche */
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(27, 38, 65, 0.7);
    border: 1px solid var(--steel-blue);
    border-radius: 5px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 10px rgba(255, 159, 28, 0.3);
}

.checkbox-group {
    margin-top: 20px;
    text-align: left;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    text-align: left;
}

.checkbox-item input {
    margin-right: 10px;
    margin-top: 5px;
    width: auto;
}

.checkbox-item label {
    font-weight: normal;
    line-height: 1.4;
    font-size: 0.9rem;
    text-align: left;
}

/* FAQ Section */
.faq {
    background-color: var(--dark-blue);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--indigo);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--orange);
}

.faq-item.active .faq-question:after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: var(--indigo);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about,
.footer-links,
.footer-legal,
.footer-contact {
    margin-bottom: 20px;
}

footer h3 {
    margin-bottom: 20px;
    color: var(--orange);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(224, 224, 224, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--indigo);
    padding: 20px;
    z-index: 9999;
    display: none;
    justify-content: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 20px 0 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
}

.cookie-buttons button {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 15px;
    font-weight: bold;
}

.cookie-buttons a {
    color: var(--orange);
    text-decoration: underline;
}

/* Policy Pages */
.policy-container {
    background-color: var(--white);
    color: #333;
    padding: 40px;
    border-radius: 10px;
    margin: 150px auto 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 900px;
}

.policy-container h1 {
    color: var(--indigo);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--indigo);
    font-size: 1.8rem;
    text-align: left;
    margin-top: 30px;
}

/* Thank You Page */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-container {
    background-color: var(--indigo);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.thank-you-container h1 {
    color: var(--orange);
    margin-bottom: 30px;
}

.thank-you-container p {
    margin-bottom: 40px;
}

/* Error Message */
.error-message {
    background-color: rgba(255, 97, 38, 0.2);
    border: 1px solid var(--orange-dark);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 540px;
        margin: 0 auto;
    }
    
    .hero-text {
        order: 1;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-image {
        order: 2;
        margin-top: 0;
        width: 80%;
        margin: 0 auto;
    }
    
    .hero-image img {
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--indigo);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        clip-path: circle(0% at top right);
        transition: all 0.4s ease;
    }
    
    nav.active {
        clip-path: circle(150% at top right);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin: 0 0 15px 0;
    }

    .form-container {
        padding: 30px 20px;
    }
} 