:root {
    --primary: #3A00FF;
    --secondary: #FF007A;
    --background: #F5F6FA;
    --text: #2C2C2C;
    --accent: #00FFE7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--primary);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 40px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 30px;
    background-color: var(--primary);
    margin-bottom: 5px;
}

.menu-btn span:last-child {
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
#a-propos {
    padding: 5rem 0;
}

/* Services Section */
#services {
    padding: 5rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Benefits Section */
#avantages {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-img {
    height: 180px;
    overflow: hidden;
}

.benefit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-content {
    padding: 1.5rem;
}

.benefit-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* CTA Section */
#cta {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

#cta h2 {
    color: white;
}

/* Form Styles */
.form-container {
    background-color: #658fbd;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 3rem auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    font-size: 0.9rem;
}

/* Testimonials Section */
#temoignages {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-img {
    height: 200px;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 2rem;
    position: relative;
    flex-grow: 1;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card .client {
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
    display: block;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.2;
}

/* FAQ Section */
#faq {
    padding: 5rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

#faq::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(58, 0, 255, 0.05);
    top: -100px;
    left: -150px;
    z-index: 0;
}

#faq::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255, 0, 122, 0.05);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.faq-checkbox {
    display: none;
}

.faq-question {
    padding: 1.8rem 2rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-checkbox:checked + .faq-question::before {
    opacity: 1;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 2rem 1.8rem 2rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: -1px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 1000px;
}

.faq-checkbox:checked + .faq-question {
    background-color: rgba(58, 0, 255, 0.03);
}

.faq-checkbox:checked + .faq-question::after {
    content: '−';
    color: var(--secondary);
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-question::after {
        font-size: 1.5rem;
        min-width: 20px;
        height: 20px;
    }
    
    .faq-answer-content {
        padding: 0 1.2rem 1.2rem;
    }
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--secondary);
    font-size: 1.5rem;
}

.map-container {
    height: 400px;
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 400px;
    z-index: 1001;
    display: none;
}

.cookie-popup p {
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
}

/* Merci Page Styles */
#merci {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background);
}

.merci-content {
    margin: 0 auto;
    background-color: white;
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
}

.merci-content h1 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.merci-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid, .benefits-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ nav {
        max-height: 300px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid, .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .service-card-img, .benefit-img, .testimonial-img {
        height: 180px;
    }
    
    .merci-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .service-card-img, .benefit-img, .testimonial-img {
        height: 150px;
    }
    
    .service-card-content, .benefit-content, .testimonial-content {
        padding: 1.5rem;
    }
    
    .merci-content {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
} 