/* Styles globaux */
:root {
    --dark-bg: #1C1C1E;
    --mint-accent: #3EE0D0;
    --yellow-accent: #F7E43C;
    --text-primary: #FAFAFA;
    --text-secondary: #A9A9B3;
    --coral-accent: #FF6B6B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--mint-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--yellow-accent);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--mint-accent);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--yellow-accent);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--mint-accent), var(--yellow-accent));
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background-color: rgba(28, 28, 30, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mint-accent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu (Checkbox-based) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 28, 30, 0.7), rgba(28, 28, 30, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    background-color: rgba(28, 28, 30, 0.8);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(62, 224, 208, 0.2);
}

.about-box:hover {
    transform: translateY(-5px);
    border-color: var(--mint-accent);
}

.about-box h3 {
    color: var(--mint-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(62, 224, 208, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--mint-accent);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
}

.card-title {
    color: var(--mint-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: rgba(28, 28, 30, 0.8);
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--yellow-accent);
    margin-bottom: 1rem;
}

.benefit-title {
    color: var(--mint-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

.testimonial-card {
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--mint-accent);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--mint-accent);
    font-weight: 600;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
    background-color: rgba(28, 28, 30, 0.8);
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--yellow-accent);
    color: var(--dark-bg);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-title {
    color: var(--mint-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Form Section */
.form-section {
    padding: 5rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(62, 224, 208, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--mint-accent);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A9A9B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
}

option {
    background-color: white;
    color: var(--dark-bg);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label a {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: rgba(28, 28, 30, 0.8);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(62, 224, 208, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    padding-right: 2.5rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 1rem;
    background-color: rgba(28, 28, 30, 0.95);
}

input[type="checkbox"].faq-toggle {
    display: none;
}

input[type="checkbox"].faq-toggle:checked + .faq-question::after {
    content: '−';
}

input[type="checkbox"].faq-toggle:checked + .faq-question {
    background-color: rgba(62, 224, 208, 0.1);
    color: var(--mint-accent);
}

input[type="checkbox"].faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

/* Footer */
footer {
    background-color: rgb(22 21 23 / 95%);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--mint-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--mint-accent);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(28, 28, 30, 0.95);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

/* Thank you page */
.thank-you {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-container {
    border: 1px solid var(--mint-accent);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    background-color: rgba(62, 224, 208, 0.05);
    max-width: 800px;
    margin: 8rem auto 5rem;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--mint-accent);
    margin-bottom: 2rem;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 8rem auto 5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(62, 224, 208, 0.2);
}

.policy-container h1 {
    color: var(--mint-accent);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    color: var(--yellow-accent);
    margin: 2rem 0 1rem;
}

.policy-container p {
    margin-bottom: 1.5rem;
}

.policy-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-container ul li {
    margin-bottom: 0.5rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
    }
    
    .menu-toggle:checked ~ nav {
        max-height: 500px;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-buttons {
        margin-top: 1rem;
        margin-left: 0;
    }
}
