/* Styles pour domain - Site d'audit financier */

/* Reset et styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0D1B2A;
    color: #FFFFFF;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: #00F5D4;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: rgba(13, 27, 42, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
}

nav ul li a:hover {
    color: #00F5D4;
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.cta-button {
    background: linear-gradient(to right, #00F5D4, #FF6B6B);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero section */
.hero {
    min-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(13, 27, 42, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #B0B0B0;
    margin-bottom: 2rem;
}

/* Sections générales */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #00F5D4, #FF6B6B);
}

/* Grid pour les cartes */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Style des cartes */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    height: 0;
    padding-bottom: 50%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.card-text {
    color: #B0B0B0;
    margin-bottom: 1.5rem;
}

.card-link {
    margin-top: auto;
    align-self: flex-start;
}

/* About us */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.about-item i {
    font-size: 2.5rem;
    color: #7A5FFF;
    margin-bottom: 1.5rem;
}

/* Why choose us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-us-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.why-us-icon {
    margin-right: 1rem;
    color: #00F5D4;
    font-size: 1.5rem;
}

/* Form section */
.form-section {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 5rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00F5D4;
    box-shadow: 0 0 0 2px rgba(0, 245, 212, 0.25);
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

select.form-control option {
    background-color: #FFFFFF;
    color: #0D1B2A;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    width: 100%;
    margin-top: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #00F5D4;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display:block;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-question label {
    display: block;
    width: 100%;
    cursor: pointer;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #00F5D4;
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.2rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
    content: '-';
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #00F5D4, #FF6B6B);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: #00F5D4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B0B0B0;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    z-index: 9999;
    display: none;
}

.cookie-popup p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
}

.accept-cookies {
    background: linear-gradient(to right, #00F5D4, #FF6B6B);
    color: #FFFFFF;
}

.reject-cookies {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Thank you page */
.thank-you-container {
    text-align: center;
    margin: 8rem auto 5rem;
    padding: 3rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    max-width: 600px;
}

.thank-you-container h2 {
    color: #00F5D4;
    margin-bottom: 1.5rem;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.policy-container h2 {
    margin-bottom: 2rem;
    color: #00F5D4;
}

.policy-container h3 {
    margin: 2rem 0 1rem;
    color: #FF6B6B;
}

.policy-container p {
    margin-bottom: 1.5rem;
}

.policy-container ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
    }

    .burger-menu {
        display: block;
        z-index: 1002;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: #0D1B2A;
        padding: 80px 30px;
        transition: all 0.4s ease;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cards-grid,
    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container,
    .thank-you-container,
    .policy-container {
        padding: 1.5rem;
    }
}

/* Burger Menu Navigation Toggle */
#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ nav {
    right: 0;
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

#menu-toggle:checked ~ .menu-close {
    display: block;
}
