/* 
 * Main Stylesheet for domain
 * Color Palette:
 * - Background: #003366 (deep azure)
 * - Accent: #FF6B6B (bright coral)
 * - Headings: #F5F5F5 (smoky white)
 * - Main text: #2A2A2A (graphite)
 * - Form/block background: #D7FFB8 (pastel lime)
 * - Buttons: gradient from #FF6B6B to #003366
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #003366;
    --accent-color: #FF6B6B;
    --heading-color: #F5F5F5;
    --text-color: #2A2A2A;
    --form-bg: #D7FFB8;
    --btn-gradient-start: #FF6B6B;
    --btn-gradient-end: #003366;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* Scroll margin pour les sections avec des ancres */
section[id] {
    scroll-margin-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Header */
header {
    background-color: rgba(0, 51, 102, 0.95);
    position: sticky;
    top: 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: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--heading-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--heading-color);
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: white;
}

.about h2 {
    color: var(--bg-color);
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.about p {
    color: var(--text-color);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Services Section */
.services {
    background-color: var(--form-bg);
}

.services h2 {
    color: var(--bg-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 0 0 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 0 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: var(--bg-color);
    margin-bottom: 15px;
    padding: 0 20px;
}

.service-card p {
    padding: 0 20px;
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits h2 {
    color: var(--bg-color);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    min-width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.benefit-content h3 {
    color: var(--bg-color);
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing {
    background-color: var(--form-bg);
}

.pricing h2 {
    color: var(--bg-color);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background-color: var(--bg-color);
    padding: 20px;
    text-align: center;
}

.pricing-header h3 {
    color: white;
    margin-bottom: 0;
}

.pricing-body {
    padding: 30px;
    text-align: center;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Contact Form Section */
.contact {
    background-color: white;
}

.contact h2 {
    color: var(--bg-color);
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--form-bg);
    padding: 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--bg-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--form-bg);
}

.testimonials h2 {
    color: var(--bg-color);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--bg-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq h2 {
    color: var(--bg-color);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--form-bg);
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
    color: var(--bg-color);
}

.faq-answer {
    padding: 20px;
    background-color: white;
    border: 1px solid var(--form-bg);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-toggle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    color: var(--heading-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}

.footer-section p {
    color: rgba(245, 245, 245, 0.8);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(245, 245, 245, 0.8);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 245, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(245, 245, 245, 0.6);
    font-size: 14px;
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 350px;
    display: none;
}

#cookie-popup p {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Legal Pages */
.legal-page {
    background-color: white;
    padding: 60px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--form-bg);
}

.legal-container h1 {
    color: var(--bg-color);
    margin-bottom: 30px;
    text-align: center;
}

.legal-container h2 {
    color: var(--bg-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-container p {
    margin-bottom: 20px;
}

.legal-container ul, .legal-container ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-container li {
    margin-bottom: 10px;
}

/* Gracias Page */
.thank-you {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    text-align: center;
    background-color: white;
}

.thank-you-content {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 50px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--form-bg);
}

.thank-you-content h1 {
    color: var(--bg-color);
    margin-bottom: 20px;
    font-size: 36px;
}

.thank-you-content p {
    margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-menu-open nav {
        max-height: 300px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .mobile-menu-open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .benefits-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    #cookie-popup {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    
    .hero {
        height: auto;
        padding: 60px 0;
    }
} 