/* 
 * FinAudit Montréal - Main Stylesheet
 * Colors:
 * - Main Background: #003E44 (deep electric emerald)
 * - Accent 1: #E600C9 (neon lavender)
 * - Accent 2: #F4FF00 (lemon)
 * - Headlines: #FEFAE0 (light beige)
 * - Backgrounds: Gradient from #003E44 to #001F22
 */

/* ===== GLOBAL STYLES ===== */
:root {
    --main-bg: #003E44;
    --dark-bg: #001F22;
    --accent-1: #E600C9;
    --accent-2: #F4FF00;
    --text-light: #FEFAE0;
    --text-dark: #333333;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --gray-dark: #CCCCCC;
    --black: #000000;
    --gradient-bg: linear-gradient(135deg, var(--main-bg), var(--dark-bg));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Ajouter un padding pour éviter que les titres ne soient cachés par l'en-tête fixe */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--main-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-1);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-1);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-1);
}

section {
    padding: 80px 0;
    position: relative;
}

/* Section dividers */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,0 L1200,0 L1200,40 L600,20 L0,40 Z' fill='%23001F22'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

/* ===== BUTTONS ===== */
.cta-button, .submit-button, .btn-back, .cookie-button {
    display: inline-block;
    background: var(--accent-1);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--accent-1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover, .submit-button:hover, .btn-back:hover, .cookie-button:hover {
    background: transparent;
    color: var(--accent-1);
}

.submit-button {
    width: 100%;
    font-size: 1.1rem;
}

.btn-back {
    margin-top: 20px;
    background: var(--text-light);
    color: var(--main-bg);
    border-color: var(--text-light);
}

.btn-back:hover {
    background: transparent;
    color: var(--text-light);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 62, 68, 0.95);
    z-index: 1000;
    padding: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
    flex: 1;
}

.cookie-button {
    padding: 10px 20px;
    margin-top: 10px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--dark-bg);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 200px;
}

.logo svg {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-2);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .active a::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    color: var(--accent-2);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--accent-1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-light);
    text-decoration: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Style pour le bouton de menu lorsqu'il est actif */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background-image: url('../img/Be0RLO.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 68, 0.85);  /* Assombrir l'image de fond */
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    position: relative;
    padding-bottom: 20px;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-1);
}

.hero .cta-button {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--main-bg);
    text-align: center;
}

.about h2 {
    margin-left: auto;
    margin-right: auto;
}

.about h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    text-align: left;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--dark-bg);
    text-align: center;
}

.services h2 {
    margin-left: auto;
    margin-right: auto;
}

.services h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--gradient-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--accent-2);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-1);
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    background: var(--main-bg);
    text-align: center;
}

.advantages h2 {
    margin-left: auto;
    margin-right: auto;
}

.advantages h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background: rgba(0, 31, 34, 0.5);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    color: var(--accent-2);
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: var(--accent-1);
    font-size: 1.4rem;
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--dark-bg);
    text-align: center;
}

.process h2 {
    margin-left: auto;
    margin-right: auto;
}

.process h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    padding: 30px;
    background: rgba(0, 62, 68, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    background: var(--accent-1);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    position: relative;
}

.process-step:not(:last-child) .step-number::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: var(--accent-1);
    top: 50%;
    left: 100%;
}

.process-step h3 {
    color: var(--accent-2);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--main-bg);
    text-align: center;
}

.testimonials h2 {
    margin-left: auto;
    margin-right: auto;
}

.testimonials h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-slider {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background: rgba(0, 31, 34, 0.5);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(230, 0, 201, 0.1);
    font-family: Georgia, serif;
    line-height: 0.8;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--accent-1);
    font-weight: 700;
    text-align: right;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--dark-bg);
    text-align: center;
}

.contact h2 {
    margin-left: auto;
    margin-right: auto;
}

.contact h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(0, 62, 68, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--gray-dark);
    background: var(--white);
    color: var(--text-dark);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-bg);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--accent-2);
    font-size: 1.3rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-light);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-2);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: var(--gray);
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 250, 224, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* ===== THANK YOU PAGE ===== */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-bg);
    padding-top: 100px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin: 30px auto;
}

.back-home {
    margin-top: 40px;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    background: var(--gradient-bg);
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

.legal-content {
    background: rgba(0, 31, 34, 0.5);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.last-updated {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.legal-content h2 {
    color: var(--accent-2);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
    margin-top: 40px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-1);
}

.legal-content h3 {
    color: var(--accent-1);
    text-align: center;
    margin-bottom: 20px;
}

.legal-content ul, 
.legal-content ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.back-to-home {
    text-align: center;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cookies-table th,
.cookies-table td {
    padding: 10px;
    border: 1px solid rgba(254, 250, 224, 0.2);
    text-align: left;
}

.cookies-table th {
    background: rgba(0, 62, 68, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .advantages-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .process-step:not(:last-child) .step-number::after {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* Mobile menu */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--dark-bg);
        display: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .site-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .header-contact {
        display: none;
    }
} 