:root {
    /* Palette de couleurs */
    --primary: #1B2A49;    /* Midnight Sapphire */
    --secondary: #FFD447;  /* Citrus Glow */
    --accent: #FF5A5F;     /* Neon Coral */
    --background: #FAFAFA; /* Arctic White */
    --text: #2E2E2E;       /* Onyx Gray */
    --shadow: #C3AED6;     /* Soft lavender shadows */
    
    /* Typographie */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Merriweather', serif;
    
    /* Espacement */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1rem;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* Tous les h2 sont maintenant centrés */

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Containers & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background-color: rgba(195, 174, 214, 0.1); /* Soft lavender background */
}

.text-center {
    text-align: center;
}

/* Dividers */
.section-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    transform: skewY(-2deg);
    transform-origin: top right;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: var(--primary);
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.4);
    color: var(--primary);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(195, 174, 214, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(195, 174, 214, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    transition: height 0.3s ease;
}

.card:hover::before {
    height: 100%;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(195, 174, 214, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 0.5rem;
    height: 2.5rem;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 42, 73, 0.8), rgba(27, 42, 73, 0.9));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(195, 174, 214, 0.3);
    transform: rotate(2deg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
}

.service-image {
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Audit Types Section */
.audit-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Benefits Section */
.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(45deg, rgba(255, 212, 71, 0.1), rgba(255, 90, 95, 0.1));
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    background: linear-gradient(45deg, rgba(255, 212, 71, 0.2), rgba(255, 90, 95, 0.2));
}

.benefit-icon {
    margin-right: 1.5rem;
    font-size: 2rem;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    padding-top: 2rem;
    position: relative;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--secondary);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: var(--accent);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

/* Statistics Section */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.statistic {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(195, 174, 214, 0.2);
}

.statistic-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
}

.statistic-text {
    color: var(--accent);
    font-weight: 600;
}

/* Form Section */
.form-section {
    background: linear-gradient(45deg, rgba(27, 42, 73, 0.95), rgba(27, 42, 73, 0.9));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../img/P1pI37.jpg) center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.form-section .container {
    position: relative;
    z-index: 1;
}

.form-section h2 {
    color: #fff;
}

.form-section h2::after {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 212, 71, 0.1), transparent 70%);
    z-index: -1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--primary);
    color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-input {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    cursor: pointer;
}

.checkbox-label a {
    color: var(--secondary);
}

.checkbox-label a:hover {
    color: var(--accent);
}

.form-button {
    width: 100%;
    padding: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.footer-logo {
    grid-column: span 4;
}

.footer-logo h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    margin-bottom: 2rem;
}

.footer-contact {
    grid-column: span 4;
}

.footer-contact h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--secondary);
}

.footer-links {
    grid-column: span 4;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-nav {
    list-style: none;
}

.footer-nav-item {
    margin-bottom: 0.5rem;
}

.footer-nav-link {
    color: #fff;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 42, 73, 0.95);
    padding: 1.5rem;
    color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    flex: 1;
    margin-right: 2rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
}
