/* Main CSS Style for Audit Website */
:root {
    /* Color Variables */
    --primary-color: #2C2F5E; /* Deep indigo */
    --secondary-color: #FFDC8A; /* Warm gold */
    --accent-color: #D0F0EC; /* Mint turquoise */
    --dark-bg: #1A1C2C; /* Dark background */
    --white: #FFFFFF; /* Contrasting text */
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #555;
    --box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-bg);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

input, select, button, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 8px rgba(44,47,94,0.3);
}

.btn-primary:hover {
    background-color: #3c4085;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44,47,94,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 15px;
    border-radius: var(--border-radius);
    max-width: 90%;
    width: 400px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-popup p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-popup button {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.cookie-popup button:hover {
    background-color: #f5c45c;
}

/* Header and Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.4s ease;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-bg);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(208, 240, 236, 0.3) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    top: -20px;
    right: 20px;
    z-index: 0;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
}

.about-list {
    list-style: none;
    margin: 20px 0;
}

.about-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-list i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-tabs {
    margin-top: 30px;
}

.tabs-nav {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-panel {
    display: none;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tab-panel.active {
    display: flex;
}

.tab-content {
    flex: 1;
    padding: 30px;
}

.tab-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tab-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-content li {
    margin-bottom: 10px;
}

.tab-image {
    flex: 1;
    max-width: 50%;
    object-fit: cover;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
}

.form-section .section-header h2 {
    color: var(--white);
}

.form-section .section-header p {
    color: var(--accent-color);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary-color);
    border-radius: calc(var(--border-radius) + 5px);
    pointer-events: none;
}

.audit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.checkbox-group {
    display: block;
    width: 100%;
    grid-column: 1 / -1;
}

.form-group:nth-child(1),
.form-group:nth-child(2),
.form-group:nth-child(3),
.form-group:last-child {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

/* Style spécifique pour le sélecteur */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' 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 15px center;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 220, 138, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.form-errors {
    background-color: rgba(255, 87, 87, 0.2);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid #ff5757;
}

.form-errors ul {
    list-style-type: none;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 5px;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* For WebKit browsers */
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    cursor: pointer;
}

.faq-question a.faq-toggle-link {
    padding: 20px;
    background-color: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.faq-question a.faq-toggle-link:hover {
    background-color: var(--medium-gray);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
}

.faq-question a.faq-toggle-link h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex: 1;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    gap: 30px;
}

.contact-info {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary-color);
    border-radius: calc(var(--border-radius) + 5px);
    pointer-events: none;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-details {
    margin: 30px 0;
}

.contact-hours h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-map {
    flex: 1;
    height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: var(--border-radius);
    display: block;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info .logo {
    margin-bottom: 20px;
}

.footer-info .logo a {
    color: var(--white);
}

.footer-info .description {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact h3,
.footer-legal h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-legal ul {
    list-style: none;
    margin: 0;
}

.footer-legal li {
    margin-bottom: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 30px;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .main-nav.active {
        height: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav li {
        margin: 0;
        padding: 10px 30px;
    }
    
    .about-grid,
    .tab-panel.active {
        flex-direction: column;
    }
    
    .about-image,
    .tab-image {
        max-width: 100%;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        flex: 0 0 calc(100% - 20px);
    }
    
    .contact-map {
        height: 350px;
    }
    
    .contact-map iframe {
        min-height: 350px;
    }
    
    .form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .audit-form {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Icons */
.icon-check::before {
    content: '✓';
}

.icon-security::before {
    content: '🔒';
}

.icon-growth::before {
    content: '📈';
}

.icon-compliance::before {
    content: '📋';
}

.icon-trust::before {
    content: '🤝';
}

.icon-location::before {
    content: '📍';
}

.icon-phone::before {
    content: '📞';
}

.icon-email::before {
    content: '✉️';
}

/* Legal Pages Styles */
.legal-page {
    padding: 160px 0 80px;
    background-color: var(--light-gray);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--dark-gray);
    font-style: italic;
}

.legal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    position: relative;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 10px;
}

.legal-section p {
    margin-bottom: 15px;
}

.legal-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 5px;
}

.legal-footer {
    text-align: center;
}

address {
    font-style: normal;
}

address p {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 140px 0 60px;
    }
    
    .legal-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 120px 0 40px;
    }
    
    .legal-content {
        padding: 20px;
    }
} 