/* 
 * AuditVantage - Styles CSS
 * Palette de couleurs:
 * - Primaire: #005B5A (vert marin profond)
 * - Accent: #FFA400 (orange ambrée)
 * - Fond: #F3F3F3
 * - Titres: #1A1A1A
 * - Texte: #404040
 */

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #404040;
    background-color: #F3F3F3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.legal-page h1{
    text-align: center;
}
.legal-section h2{
    text-align: left;
}
.legal-section h2::after{
    margin-left: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
    color: #1A1A1A;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #FFA400;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #005B5A;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFA400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.icon {
    width: 24px;
    height: 24px;
    stroke: #005B5A;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #005B5A;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004446;
    color: #fff;
}

.btn-secondary {
    background-color: #FFA400;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #E59300;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #005B5A;
    border: 2px solid #005B5A;
}

.btn-outline:hover {
    background-color: #005B5A;
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner p {
    margin: 0 20px 0 0;
    flex: 1;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 200px;
}

.logo-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Navigation */
.site-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.site-nav li {
    margin-left: 30px;
}

.site-nav a {
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: #005B5A;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #005B5A, #004446);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #F3F3F3;
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
}

.hero-section h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* À propos Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

/* Services Section */
.services-section {
    background-color: #fff;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card p {
    padding-bottom: 20px;
}

/* Avantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advantage-icon {
    background-color: rgba(0, 91, 90, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Témoignages Section */
.testimonials-section {
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -15px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content p {
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: "";
    font-size: 3rem;
    color: #FFA400;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin: 0;
}

.faq-answer {
    padding: 0 20px 20px;
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(135deg, #F3F3F3, #E6E6E6);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    grid-column: span 1;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #005B5A;
    box-shadow: 0 0 0 2px rgba(0, 91, 90, 0.1);
}

.contact-form button {
    grid-column: span 2;
}

/* Styles des erreurs de formulaire */
.form-errors {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 3px solid #ff5757;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.form-errors p {
    color: #d32f2f;
    margin: 5px 0;
    font-size: 0.9rem;
}

.form-group input.error,
.form-group select.error {
    border-color: #ff5757;
    background-color: rgba(255, 87, 87, 0.05);
}

.form-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.form-success p {
    color: #2e7d32;
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info-container {
    display: flex;
    gap: 40px;
}

.contact-info-details {
    flex: 1;
}

.contact-map {
    flex: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item svg {
    margin-right: 15px;
    min-width: 24px;
}

/* Footer */
.site-footer {
    background: #1A1A1A;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    margin-right: 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.9rem;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
}

.footer-links-column {
    flex: 1;
    padding: 0 15px;
}

.footer-links-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: #FFA400;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-container {
        flex-direction: column;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    .hero-section h1{
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-links-column {
        flex: 1 0 50%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p:first-child {
        margin-bottom: 10px;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 30px);
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.checkbox-group {
        grid-column: span 1;
    }
    
    .contact-form button {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .site-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .site-nav li {
        margin: 0 0 15px 0;
    }
    
    .nav-toggle-label {
        display: block;
        padding: 5px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        width: 24px;
        height: 2px;
        background: #1A1A1A;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    .nav-toggle:checked ~ .site-nav {
        height: auto;
    }
    
    .footer-links-column {
        flex: 1 0 100%;
    }
} 