/* Style général pour le site d'audit financier domain */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0E1A2B;
    --accent-gold: #F9A826;
    --accent-turquoise: #00D1B2;
    --text-white: #FFFFFF;
    --text-light: #D1D5DB;
    --header-bg: #0A1522;
    --footer-bg: #0A1522;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-white);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-turquoise), var(--accent-gold));
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, var(--accent-turquoise), var(--accent-gold));
    color: var(--text-white);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-white);
}

/* Header */
header {
    background-color: var(--header-bg);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(249, 168, 38, 0.1);
}

/* Burger Menu pour mobile */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        z-index: 101;
    }

    .menu-icon span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--text-white);
        margin: 6px 0;
        transition: 0.4s;
    }

    .menu-checkbox:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .menu-checkbox:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        background-color: var(--header-bg);
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding-top: 80px;
        gap: 30px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
    }
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Hero Section */
.hero {
    margin-top: 4rem;
    height: 100vh;
    background: linear-gradient(rgba(14, 26, 43, 0.8), rgba(14, 26, 43, 0.9)), url('img/St29Y.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    margin: 0 auto;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: rgba(10, 21, 34, 0.8);
    padding: 80px 0;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-text {
    flex: 1;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(10, 21, 34, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Benefits Section */
.benefits {
    background-color: rgba(10, 21, 34, 0.8);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-turquoise);
    margin-bottom: 20px;
}

.benefit-item h3 {
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(10, 21, 34, 0.8);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: rgba(10, 21, 34, 0.8);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    position: relative;
    padding: 15px 15px 15px 0;
    cursor: pointer;
    font-weight: bold;
    display: block;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding-bottom: 15px;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: '-';
}

/* Contact Form */
.contact {
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(10, 21, 34, 0.8);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-turquoise);
}

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='white' 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 10px center;
    padding-right: 30px;
}

select.form-control option {
    background-color: #FFFFFF;
    color: #333;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-group label a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-turquoise), var(--accent-gold));
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-gold);
}

.footer-description p {
    color: var(--text-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 21, 34, 0.95);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    margin-right: 20px;
    color: var(--text-light);
}

.cookie-buttons button {
    margin-left: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 120px auto 60px;
    background-color: rgba(10, 21, 34, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-gold);
}

.policy-container h2 {
    margin: 30px 0 15px;
    color: var(--accent-turquoise);
}

.policy-container p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-light);
}

.policy-container ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    text-align: center;
    background-color: rgba(10, 21, 34, 0.8);
    padding: 60px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8rem auto 5rem;
    max-width: 600px;
}

.thanks-container h1 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.thanks-container p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-img, .about-text {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-content {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
}
