/* Variables de couleurs */
:root {
    /* Palette de couleurs spécifiée */
    --midnight-blue: #0B1E36;
    --solar-gold: #FFCB47;
    --frost-white: #F7F9FB;
    --coral-red: #FF5E5B;
    --emerald-green: #2ECC71;
    
    /* Couleurs fonctionnelles */
    --primary: var(--midnight-blue);
    --secondary: var(--solar-gold);
    --accent: var(--coral-red);
    --background: var(--frost-white);
    --text: var(--primary);
    --success: var(--emerald-green);
    
    /* Typographie */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
    padding-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--frost-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Header & Navigation */
header {
    background-color: var(--primary);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    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 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
}

.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop li {
    margin-left: 30px;
}

.nav-desktop a {
    color: var(--frost-white);
    font-weight: 600;
    position: relative;
}

.nav-desktop a:hover {
    color: var(--secondary);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-mobile {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background-image: linear-gradient(rgba(11, 30, 54, 0.8), rgba(11, 30, 54, 0.8)), url('../img/adBdjY.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    color: var(--frost-white);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--frost-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--frost-white);
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 203, 71, 0.3) 0%, rgba(11, 30, 54, 0.8) 100%);
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--frost-white);
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--frost-white);
    margin-top: 50px;
}

.services h2 {
    color: var(--frost-white);
}

.services-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    min-height: 400px;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--frost-white);
}

/* Audit Types Section */
.audit-types {
    padding: 100px 0;
    background-color: var(--frost-white);
    position: relative;
    z-index: 2;
}

.audit-types-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.audit-type-card {
    flex: 1;
    padding: 40px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.audit-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.audit-type-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.audit-type-card p {
    text-align: center;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--frost-white);
    position: relative;
    z-index: 2;
}

.benefits h2 {
    color: var(--frost-white);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    font-size: 24px;
    color: var(--secondary);
    min-width: 40px;
    text-align: center;
}

.benefit-content h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-content p {
    color: var(--frost-white);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--frost-white);
    position: relative;
    z-index: 2;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

.testimonial-content {
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
}

/* Statistics Section */
.statistics {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--frost-white);
}

.statistics h2 {
    color: var(--frost-white);
}

.statistics-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 1;
    max-width: 250px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.2rem;
    color: var(--frost-white);
}

/* Contact Form Section */
.form {
    padding: 100px 0;
    background-color: var(--frost-white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 203, 71, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
}

.form-btn {
    margin-top: 20px;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--frost-white);
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    max-width: 400px;
}

.footer-info .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-info p {
    color: #aaa;
}

.footer-contact {
    flex: 1;
}

.footer-links {
    flex: 1;
}

.footer-title {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 10px;
    color: var(--secondary);
    min-width: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--frost-white);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-text p {
    margin-bottom: 0;
}

.cookie-buttons {
    flex-shrink: 0;
}

/* Policy Pages */
.policy-page {
    padding: 150px 0 100px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-content h2 {
    margin-top: 40px;
    text-align: left;
}

.policy-content h2::after {
    left: 0;
    transform: none;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    padding: 150px 0 100px;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 20px;
}

.back-home {
    margin-top: 30px;
}
