/* 
* ComptaExpert - Style principal
* Palette de couleurs:
* - Bkg principal: #2DD4BF (bbirquoise)
* - Accents: #F97316 (mandarin)
* - Bkg sections: #E9D5FF (lavande)
* - Texte: #1E293B (graphite)
* - Elements secondaires: #A3E635 (lime)
*/

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
    scroll-padding-top: 10rem; /* Ajout de padding pour le défilement des ancres */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1E293B;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #F97316;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c45600;
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1E293B;
}

h1 {
    font-size: 4rem;
    color: #F97316;
}

h2 {
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 0.4rem;
    background-color: #F97316;
    border-radius: 0.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

section {
    padding: 8rem 0;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #F97316;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #c45600;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: #F97316;
    border: 0.2rem solid #F97316;
}

.btn-outline:hover {
    background-color: #F97316;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 41, 59, 0.9);
    color: #FFFFFF;
    padding: 2rem;
    z-index: 1000;
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-banner.visible {
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: #A3E635;
    text-decoration: underline;
    margin-left: 1rem;
}

/* En-tête */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 18rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #1E293B;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.3rem;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F97316;
    transition: width 0.3s ease;
    border-radius: 0.15rem;
}

.nav-link:hover {
    color: #F97316;
    text-decoration: none;
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 4rem;
    height: 3rem;
    position: relative;
    z-index: 200;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: #1E293B;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0.5rem;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 1.35rem;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 2.2rem;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 1.35rem;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 1.35rem;
}

/* Hero Section */
.hero {
    padding: 16rem 0 8rem;
    background-color: #2DD4BF;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5rem;
    left: 0;
    width: 100%;
    height: 10rem;
    background-color: #FFFFFF;
    border-radius: 100% 100% 0 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
    max-width: 60rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: #E9D5FF;
    position: relative;
    overflow: hidden;
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10rem;
    background-color: #FFFFFF;
    z-index: 1;
}

.services::before {
    top: -5rem;
    border-radius: 0 0 100% 100%;
}

.services::after {
    bottom: -5rem;
    border-radius: 100% 100% 0 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.service-card h3, 
.service-card p {
    padding: 0 2rem;
}

.service-card h3 {
    margin-top: 2rem;
    color: #F97316;
}

.service-card p {
    padding-bottom: 2rem;
}

/* Why Us Section */
.why-us {
    background-color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.feature {
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-0.5rem);
    background-color: #E9D5FF;
}

.feature-icon {
    font-size: 4rem;
    color: #F97316;
    margin-bottom: 2rem;
}

.feature h3 {
    color: #1E293B;
}

/* Key Numbers Section */
.key-numbers {
    background-color: #2DD4BF;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.key-numbers::before,
.key-numbers::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10rem;
    background-color: #FFFFFF;
    z-index: 1;
}

.key-numbers::before {
    top: -5rem;
    border-radius: 0 0 100% 100%;
}

.key-numbers::after {
    bottom: -5rem;
    border-radius: 100% 100% 0 0;
}

.key-numbers h2 {
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.key-numbers h2::after {
    background-color: #FFFFFF;
}

.key-numbers-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.key-numbers-image {
    flex: 1;
    max-width: 50%;
}

.key-numbers-image img {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    border: 3px solid #FFFFFF;
}

.key-numbers-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-0.5rem);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Process Section */
.process {
    background-color: #2DD4BF;
    position: relative;
    overflow: hidden;
}

.process::before,
.process::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10rem;
    background-color: #FFFFFF;
    z-index: 1;
}

.process::before {
    top: -5rem;
    border-radius: 0 0 100% 100%;
}

.process::after {
    bottom: -5rem;
    border-radius: 100% 100% 0 0;
}

.process h2 {
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.process h2::after {
    background-color: #FFFFFF;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.step {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-0.5rem);
}

.step-number {
    width: 6rem;
    height: 6rem;
    background-color: #F97316;
    color: #FFFFFF;
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 8rem;
    height: 8rem;
    border: 0.2rem dashed #F97316;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Testimonials Section */
.testimonials {
    background-color: #FFFFFF;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial {
    background-color: #E9D5FF;
    border-radius: 1rem;
    padding: 3rem;
    position: relative;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-0.5rem);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    color: rgba(249, 115, 22, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: #E9D5FF;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -5rem;
    width: 100%;
    height: 10rem;
    background-color: #FFFFFF;
    border-radius: 0 0 100% 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #F97316;
    font-size: 2.4rem;
}

.contact-form {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    border: 2px solid #2DD4BF;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

input, 
select, 
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1.6rem;
}

input:focus, 
select:focus, 
textarea:focus {
    outline: none;
    border-color: #F97316;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.4rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 16rem 0 8rem;
    background-color: #FFFFFF;
}

.thank-you-content {
    max-width: 70rem;
    margin: 0 auto;
}

.success-icon {
    margin: 3rem auto;
}

.actions {
    margin-top: 4rem;
}

/* Policy Pages */
.policy {
    padding: 16rem 0 8rem;
    background-color: #FFFFFF;
}

.policy h1 {
    text-align: center;
    margin-bottom: 4rem;
}

.policy-content {
    max-width: 90rem;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    margin-top: 4rem;
}

.policy-content h2:first-of-type {
    margin-top: 2rem;
}

.policy-content ul,
.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.policy-content ul li,
.policy-content ol li {
    margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background-color: #1E293B;
    color: #FFFFFF;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-top: 2rem;
    color: #d1d5db;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-contact .contact-item {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: #A3E635;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 0;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media screen and (max-width: 992px) {
    section {
        padding: 6rem 0;
    }
    
    .hero {
        padding: 14rem 0 6rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .container {
        padding: 0 4rem;
    }
    
    .hero .container,
    .about-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-text {
        width: 100%;
    }
    
    .key-numbers-content {
        flex-direction: column;
    }
    
    .key-numbers-image {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .policy-content {
        padding: 3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 12rem 0 5rem;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .nav-menu {
        width: 100%;
        padding: 8rem 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
} 