/* Style principal pour domain.com - Audit Financier */
:root {
    --color-primary: #3E0C5D;      /* Violet profond */
    --color-accent: #27F4C7;       /* Turquoise néon */
    --color-secondary: #C7F427;    /* Lime vif */
    --color-text: #EAEAEA;         /* Gris clair */
    --color-button: #FF4F5E;       /* Corail vif */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Raleway', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: var(--transition);
}

a:hover {
    color: var(--color-button);
}

h1, h2, h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-button);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* Header & Navigation */
/* Menu mobile avec CSS seulement */
#menu-toggle-checkbox {
    display: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(62, 12, 93, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 10px var(--color-accent);
}

.logo a {
    color: var(--color-accent);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--color-text);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--color-accent);
    background-color: rgba(39, 244, 199, 0.1);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 0;
    padding-top: 6rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #3E0C5D 0%, #2a0842 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 450px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 50%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    height: 50%;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #2a0842 0%, #3E0C5D 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(39, 244, 199, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(39, 244, 199, 0.2);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #3E0C5D 0%, #2a0842 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: grid;
    grid-template-columns: 50px  1fr;
    gap: 20px;
    align-items: center;
}

.testimonial-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, #2a0842 0%, #3E0C5D 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

input, select, textarea {
    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(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(39, 244, 199, 0.2);
}

select option {
    background-color: white;
    color: #333;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #3E0C5D 0%, #2a0842 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    cursor: pointer;
    display: block;
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    background: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 1rem;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
    content: "−";
}

.faq-toggle:checked + .faq-question {
    background: rgba(39, 244, 199, 0.1);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 20rem;
    padding: 1rem;
}

/* Footer */
footer {
    background-color: #2a0842;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-section h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.contact-icon {
    color: var(--color-accent);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Merci Page */
.merci-container {
    margin: 8rem auto 5rem;
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.policy-container h1 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.policy-container h2 {
    font-size: 1.8rem;
    text-align: left;
    margin: 2rem 0 1rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(42, 8, 66, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 350px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent);
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideIn 0.5s forwards;
}

.cookie-content {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Menu mobile */
    .menu-toggle {
        display: block;
        z-index: 1000;

    }

    /* Cachons le menu par défaut */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(62, 12, 93, 0.98);
        overflow: hidden;
        transition: var(--transition);
        z-index: 999;
        opacity: 0;
    }

    /* Affichons le menu quand la checkbox est cochée */
    #menu-toggle-checkbox:checked ~ header nav {
        height: 100vh;
        opacity: 1;
    }

    /* Style pour le X quand le menu est ouvert */
    #menu-toggle-checkbox:checked ~ header .menu-toggle i::before {
        content: "\f00d";
    }

    /* Style des éléments du menu */
    nav ul {
        gap: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 2rem 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.2rem;
    }
    
    .hero {
        min-height: 500px;
        height: auto;
    }
    
    .service-card, .testimonial-card, .step-card {
        height: auto;
    }
    
    .service-image {
        height: 200px;
    }
}