/*
 * Style principal pour Audit Finance
 * Palette de couleurs :
 * - Tёмный малахит: #0c3c3e
 * - Электрический индиго: #5a1fc1
 * - Ярко-жёлтый акцент: #ffdc00
 * - Мягкий абрикос: #ffe5b4
 * - Теплый графит: #2a2a2a
 */

/* Reset et base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Correction pour l'en-tête fixe */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2a2a2a;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #5a1fc1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0c3c3e;
}

/* Conteneur */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0c3c3e;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ffdc00;
}

h3 {
    font-size: 1.5rem;
    color: #5a1fc1;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Header */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

/* Nouveau style pour le logo texte */
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #0c3c3e;
    text-transform: lowercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #0c3c3e 0%, #5a1fc1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    color: #2a2a2a;
}

.main-nav a:hover {
    background-color: #f5f5f5;
}

.main-nav a.cta-button {
    background-color: #5a1fc1;
    color: #ffffff;
    padding: 8px 15px;
}

.main-nav a.cta-button:hover {
    background-color: #4a16a0;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Main content */
main {
    margin-top: 80px;
}

/* Section styles */
section {
    padding: 60px 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0c3c3e 0%, #5a1fc1 100%);
    color: #ffffff;
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* About section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    margin-bottom: 0.8rem;
}

.value-item p {
    margin-bottom: 0;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Image pour la section services */
.services-image {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
    background-color: #f7f7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-price {
    margin-bottom: 20px;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c3c3e;
    margin-bottom: 5px;
}

.duration {
    font-size: 0.9rem;
    color: #666;
}

.service-cta {
    display: inline-block;
    background-color: #ffdc00;
    color: #0c3c3e;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background-color: #ffd000;
    transform: scale(1.05);
}

/* Steps section */
.steps {
    background-color: #0c3c3e;
    color: #ffffff;
}

.steps h2 {
    color: #ffffff;
}

.steps h2::after {
    background-color: #ffdc00;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Image pour la section processus */
.steps-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ffdc00;
    z-index: 1;
}

.step-item {
    width: 18%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #ffdc00;
    color: #0c3c3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #ffe5b4;
}

/* Testimonials section */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: #ffe5b4;
    position: absolute;
    top: -30px;
    left: -10px;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact section */
.contact {
    background-color: #ffffff;
}

.form-errors {
    background-color: #ffe5e5;
    border-left: 4px solid #ff0000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-errors ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0c3c3e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5a1fc1;
    box-shadow: 0 0 0 2px rgba(90, 31, 193, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #5a1fc1;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #4a16a0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Footer */
.main-footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: #ffdc00;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-about p {
    color: #cccccc;
}

.footer-contact address {
    font-style: normal;
    color: #cccccc;
}

.footer-contact a {
    color: #ffe5b4;
}

.footer-contact a:hover {
    color: #ffdc00;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffdc00;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    font-size: 0.9rem;
}

/* Thank you page */
.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #5a1fc1;
}

.thank-you-content h1 {
    color: #0c3c3e;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #555;
    margin-bottom: 20px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #5a1fc1;
    font-size: 2.5rem;
}

/* Policy pages */
.policy-page {
    padding: 80px 0;
}

.policy-content {
    margin-bottom: 40px;
}

.policy-content h2 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.policy-content h2::after {
    display: none;
}

.policy-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
}

.cta-button-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #5a1fc1;
    border: 2px solid #5a1fc1;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #5a1fc1;
    color: #ffffff;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

/* Responsive styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .steps-timeline {
        flex-direction: column;
    }
    
    .steps-timeline::before {
        top: 0;
        bottom: 0;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
    }
    
    .step-item {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        margin-bottom: 30px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .main-nav li:last-child {
        margin-bottom: 0;
    }
    
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 21px;
        position: relative;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: #2a2a2a;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span {
        top: 9px;
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -9px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        bottom: -9px;
    }
    
    .nav-toggle:checked ~ ul {
        display: flex;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .service-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .checkbox-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-container input[type="checkbox"] {
        margin-bottom: 5px;
    }
} 