/* 
 * AuditPro Canada - Financial Audit Website
 * Color Palette:
 * - Deep Indigo: #2E2A72
 * - Electric Lime: #D0FF14
 * - Light Sand: #F7E6C4
 * - Coal Gray: #1C1C1C
 * - Violet: #B39DDB
 */

/* Base Styles & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Pour éviter que les titres soient sous l'en-tête */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2E2A72;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #B39DDB;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2E2A72; /* Couleur par défaut pour tous les titres */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #D0FF14;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

section:nth-child(odd) {
    background-color: #FFFFFF;
}

section:nth-child(even) {
    background-color: #F7E6C4;
}

/* Header */
header {
    background-color: #2E2A72;
    color: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    max-height: 40px;
    margin-right: 0.5rem;
}

.nav-toggle-form {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D0FF14;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: #2E2A72;
    color: #FFFFFF;
    padding: 8rem 0 4rem;
    background-image: linear-gradient(rgba(46, 42, 114, 0.9), rgba(46, 42, 114, 0.8)), url('./img/N0mlbT.jpg');
    background-size: cover;
    background-position: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: #FFFFFF; /* Titre blanc sur fond foncé */
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #D0FF14;
    color: #1C1C1C;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FFFFFF;
    color: #2E2A72;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('./img/rhWuT2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-image: linear-gradient(rgba(247, 230, 196, 0.95), rgba(247, 230, 196, 0.95)), url('./img/RUFrBp.jpg');
    background-size: cover;
    background-position: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #2E2A72;
}

.service-card p {
    padding: 0 1.5rem;
}

.service-card .price {
    font-weight: 700;
    color: #2E2A72;
    font-size: 1.2rem;
}

.service-link {
    display: inline-block;
    margin: 1.5rem;
    color: #2E2A72;
    font-weight: 700;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* Features Section */
.why-us {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('./img/VM0Q44.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #2E2A72;
}

/* Testimonials Section */
.testimonials {
    background-image: linear-gradient(rgba(247, 230, 196, 0.95), rgba(247, 230, 196, 0.95)), url('./img/N0mlbT.jpg');
    background-size: cover;
    background-position: center;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.testimonial-text {
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    font-size: 4rem;
    color: #B39DDB;
    opacity: 0.2;
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

/* FAQ Section */
.faq {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('./img/rhWuT2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #2E2A72;
    cursor: pointer;
    position: relative;
    margin-bottom: 0.5rem;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
}

.faq-item p {
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    background-image: linear-gradient(rgba(247, 230, 196, 0.95), rgba(247, 230, 196, 0.95)), url('./img/RUFrBp.jpg');
    background-size: cover;
    background-position: center;
}

.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #2E2A72;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.contact-hours h4 {
    color: #2E2A72;
    margin-bottom: 1rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.submit-button {
    background-color: #D0FF14;
    color: #1C1C1C;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #2E2A72;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #2E2A72;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #D0FF14;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFFFFF;
}

.footer-section ul li a:hover::before {
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup p {
    margin-bottom: 1rem;
}

.cookie-popup-buttons {
    display: flex;
    justify-content: space-between;
}

.cookie-popup-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: #D0FF14;
    color: #1C1C1C;
}

.cookie-accept:hover {
    background-color: #2E2A72;
    color: #FFFFFF;
}

.cookie-decline {
    background-color: #f1f1f1;
    color: #1C1C1C;
}

.cookie-decline:hover {
    background-color: #e0e0e0;
}

/* Page Hero Section */
.page-hero {
    background-color: #2E2A72;
    color: #FFFFFF;
    padding: 8rem 0 4rem;
    text-align: center;
    background-image: linear-gradient(rgba(46, 42, 114, 0.9), rgba(46, 42, 114, 0.8)), url('./img/N0mlbT.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Legal Pages Styling */
.legal-content {
    padding: 4rem 0;
    background-color: #FFFFFF;
    background-image: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url('./img/rhWuT2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-text h2 {
    color: #2E2A72;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: 2px solid #D0FF14;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-text h2::after {
    display: none;
}

.legal-text h3 {
    color: #2E2A72;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: #2E2A72;
    text-decoration: underline;
}

.legal-text a:hover {
    color: #B39DDB;
}

/* Services Page Styling */
.services-detailed {
    padding: 4rem 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url('./img/VM0Q44.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 2;
    min-width: 300px;
}

.service-content h2 {
    color: #2E2A72;
    text-align: left;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.service-content h2::after {
    display: none;
}

.service-content .price {
    font-weight: 700;
    color: #2E2A72;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-top: 1.5rem;
    color: #2E2A72;
    font-size: 1.2rem;
}

.service-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-content ul li {
    margin-bottom: 0.5rem;
}

.service-content .cta-button {
    margin-top: 1.5rem;
}

/* Thanks Page Styling */
.thanks {
    padding: 8rem 0 4rem;
    text-align: center;
    background-color: #F7E6C4;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(247, 230, 196, 0.9), rgba(247, 230, 196, 0.9)), url('./img/RUFrBp.jpg');
    background-size: cover;
    background-position: center;
}

.thanks-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-content svg {
    margin: 0 auto 2rem;
}

.thanks-content h1 {
    color: #2E2A72;
    margin-bottom: 2rem;
}

.thanks-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.thanks-content .cta-button {
    margin-top: 2rem;
    display: inline-block;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle-form {
        display: block;
    }
    
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2E2A72;
        padding: 1rem 0;
        display: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        max-width: 100%;
    }
} 