/* 
 * Styles pour domain - Audit Financier Professionnel
 * Palette: #0C1F2C (fond), #FECC2F (jaune), #FF5F5F (corail), #25A18E (menthe), #FFFFFF (blanc), #D9E2EC (gris clair)
 */

/* Réinitialisation et styles de base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0C1F2C;
    color: #D9E2EC;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #FECC2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF5F5F;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header et navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(12, 31, 44, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #D9E2EC;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FFFFFF;
    background-color: rgba(254, 204, 47, 0.1);
}

/* Menu mobile */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 1001;
}

.menu-icon .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon .bar:nth-child(1) {
    top: 0;
}

.menu-icon .bar:nth-child(2) {
    top: 9px;
}

.menu-icon .bar:nth-child(3) {
    top: 18px;
}

/* Banner */
.banner {
    height: 100vh;
    min-height: 600px;
    background-color: #0C1F2C;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 31, 44, 0.8), rgba(12, 31, 44, 0.9));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #D9E2EC;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    color: #0C1F2C;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 204, 47, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(254, 204, 47, 0.5);
    color: #0C1F2C;
}

/* À propos */
.about {
    background-color: #0e2534;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.advantage-item {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    border-left: 3px solid #FECC2F;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 2rem;
    color: #FECC2F;
    margin-bottom: 15px;
    display: block;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services */
.services {
    background-color: #0C1F2C;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
    color: #FECC2F;
}

.service-card p {
    margin-bottom: 25px;
}

.service-button {
    display: block;
    text-align: center;
    background-color: #25A18E;
    color: #FFFFFF;
    padding: 12px;
    margin: 0 20px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #1f8273;
    color: #FFFFFF;
}

/* Processus */
.process {
    background-color: #0e2534;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    color: #0C1F2C;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin-top: 10px;
    color: #FECC2F;
}

/* Témoignages */
.testimonials {
    background-color: #0C1F2C;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(254, 204, 47, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ */
.faq {
    background-color: #0e2534;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #FECC2F;
}

.faq-toggle:checked ~ .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact */
.contact {
    background-color: #0C1F2C;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info {
    padding: 30px;
    background: linear-gradient(135deg, #25A18E, #1a7164);
    color: #FFFFFF;
}

.contact-info h3 {
    color: #FFFFFF;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #FECC2F;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #FFFFFF;
    text-decoration: underline;
}

.contact-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FFFFFF;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select option {
    background-color: #0C1F2C;
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FECC2F;
    box-shadow: 0 0 0 3px rgba(254, 204, 47, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    border: none;
    border-radius: 4px;
    color: #0C1F2C;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 204, 47, 0.4);
}

/* Footer */
.site-footer {
    background-color: #0a1822;
    color: #D9E2EC;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-info h3::after,
.footer-contact h3::after,
.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #FECC2F;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #D9E2EC;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: #FECC2F;
    color: #0C1F2C;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: #0C1F2C;
    border: 1px solid #25A18E;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    z-index: 1000;
    transition: transform 0.5s ease;
    display: none;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
    display: block;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    color: #0C1F2C;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cookie-button:hover {
    transform: translateY(-3px);
}

/* Page Politique */
.policy-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.policy-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(254, 204, 47, 0.2);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-content h2 {
    text-align: left;
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(254, 204, 47, 0.3);
}

.policy-content h2::after {
    display: none;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.policy-content ul li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #FECC2F;
    font-weight: 600;
}

/* Page de remerciement */
.thank-you-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 0 20px;
}

.thank-you-content {
    max-width: 700px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(254, 204, 47, 0.2);
}

.thank-you-icon {
    font-size: 4rem;
    color: #FECC2F;
    margin-bottom: 20px;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.return-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #FECC2F, #FF5F5F);
    color: #0C1F2C;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.return-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 204, 47, 0.4);
    color: #0C1F2C;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .banner {
        height: auto;
        padding: 100px 0;
    }
    
    .banner h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #0a1822;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .banner p {
        font-size: 1.2rem;
    }
    
    .services-grid,
    .steps,
    .testimonial-slider,
    .advantages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
