/* 
 * Domain - Services d'Audit Financier
 * Palette de couleurs unique et moderne
 * Design responsive et accessible
 */

/* ========================================
   VARIABLES CSS ET RESET
   ======================================== */

:root {
    /* Palette de couleurs unique */
    --primary-bg: #0A1A2F;           /* Fond principal - tëmno-sinjy głęboki */
    --accent-coral: #FF6F4C;         /* Accent corail-orange */
    --accent-mint: #34D1BF;          /* Accent menthe froide */
    --text-light: #F5F5F5;           /* Texte clair */
    --gradient-bg: linear-gradient(135deg, #0A1A2F 0%, #142A42 100%);
    
    /* Couleurs secondaires */
    --card-bg: rgba(20, 42, 66, 0.8);
    --border-color: rgba(52, 209, 191, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-bg: rgba(255, 111, 76, 0.1);
    
    /* Typographie */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Espacement */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --element-gap: 2rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-light);
    background: var(--gradient-bg);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ========================================
   COMPOSANTS DE BASE
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn-primary, .btn-secondary, .btn-accept, .btn-decline {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-coral), #FF5722);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 76, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 76, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-mint);
    border: 2px solid var(--accent-mint);
}

.btn-secondary:hover {
    background: var(--accent-mint);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-coral), var(--accent-mint));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-slow);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--accent-mint);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-accept {
    background: var(--accent-coral);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(245, 245, 245, 0.3);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* ========================================
   HEADER ET NAVIGATION
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-mint);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-mint);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition-base);
}

/* ========================================
   SECTIONS PRINCIPALES
   ======================================== */

.main-content {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: var(--section-padding);
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/GBL4bb.jpg') center/cover;
    opacity: 0.05;
    z-index: -1;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: rgba(20, 42, 66, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(245, 245, 245, 0.9);
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    font-weight: 500;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-coral);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 209, 191, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-mint);
    box-shadow: 0 20px 40px rgba(52, 209, 191, 0.2);
}

.service-card.featured {
    border-color: var(--accent-coral);
    background: linear-gradient(135deg, var(--card-bg), rgba(255, 111, 76, 0.1));
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-coral);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-content p {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features span {
    background: rgba(52, 209, 191, 0.2);
    color: var(--accent-mint);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Advantages Section */
.advantages-section {
    padding: var(--section-padding);
    background: rgba(20, 42, 66, 0.3);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    transition: var(--transition-base);
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: var(--accent-mint);
    margin-bottom: 1rem;
}

.advantage-item p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: var(--section-padding);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.step-item:hover {
    border-color: var(--accent-coral);
    transform: translateY(-5px);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-coral), #FF5722);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background: rgba(20, 42, 66, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-5px);
}

.testimonial-content p {
    color: rgba(245, 245, 245, 0.9);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-coral);
    position: absolute;
    top: -10px;
    left: -15px;
    line-height: 1;
}

.testimonial-author strong {
    color: var(--accent-mint);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: rgba(245, 245, 245, 0.7);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: rgba(245, 245, 245, 0.95);
    color: var(--primary-bg);
    font-size: 1rem;
    transition: var(--transition-base);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(52, 209, 191, 0.2);
    background: white;
}

.form-group select option {
    background: white;
    color: var(--primary-bg);
    padding: 0.5rem;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: rgba(245, 245, 245, 0.9);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--accent-mint);
}

.checkbox-label a {
    color: var(--accent-mint);
    text-decoration: underline;
}

/* Location Section */
.location-section {
    padding: var(--section-padding);
    background: rgba(20, 42, 66, 0.3);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.contact-details h3 {
    color: var(--accent-mint);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
    color: rgba(245, 245, 245, 0.9);
    text-decoration: none;
    line-height: 1.5;
}

.contact-details a:hover {
    color: var(--accent-coral);
}

.location-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.location-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 26, 47, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: var(--section-padding);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.success-icon {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-mint), #20B2AA);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

.checkmark {
    width: 30px;
    height: 15px;
    border: 4px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.thank-you-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.main-message {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.next-steps-simple {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 1.5rem;
    background: rgba(52, 209, 191, 0.1);
    border-radius: 10px;
    border: 1px solid var(--accent-mint);
}

.next-steps h2 {
    color: var(--accent-mint);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.step-item p {
    color: rgba(245, 245, 245, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-reminder {
    margin: 2rem 0;
    text-align: center;
}

.contact-reminder p {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    color: var(--accent-coral);
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.thank-you-sidebar .info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-card h3 {
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    color: rgba(245, 245, 245, 0.9);
    font-size: 0.95rem;
}

.quick-contact-section {
    padding: 3rem 0;
    background: rgba(20, 42, 66, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
}

.contact-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-5px);
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-card p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-coral);
}

.contact-label {
    color: var(--accent-mint);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(245, 245, 245, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-section .container,
    .about-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 26, 47, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .advantages-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .thank-you-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LEGAL PAGES STYLES (UNIFIED)
   ======================================== */

.legal-page-section {
    padding: 6rem 0 4rem;
    background: var(--gradient-bg);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.last-updated {
    color: rgba(245, 245, 245, 0.7);
    font-style: italic;
}

.legal-text section {
    margin-bottom: 3rem;
}

.legal-text h2 {
    color: var(--accent-mint);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-coral);
}

.legal-text h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
}

.legal-text p {
    color: rgba(245, 245, 245, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-text ul {
    color: rgba(245, 245, 245, 0.9);
    margin: 1rem 0 1rem 2rem;
    line-height: 1.6;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--accent-coral);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--accent-mint);
}

.legal-text strong {
    color: var(--accent-mint);
}

.legal-actions {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Cookie specific styles */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 26, 47, 0.5);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--accent-mint);
    color: var(--primary-bg);
    font-weight: 600;
}

.cookie-table td {
    color: rgba(245, 245, 245, 0.9);
}

.cookie-table code {
    background: rgba(255, 111, 76, 0.2);
    color: var(--accent-coral);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.cookie-controls {
    background: rgba(52, 209, 191, 0.1);
    border: 1px solid var(--accent-mint);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.cookie-controls h4 {
    color: var(--accent-mint);
    margin-bottom: 1rem;
}

.current-settings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.current-settings p {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .current-settings {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ========================================
   ANIMATIONS ET INTERACTIONS CSS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation au scroll - CSS pur */
.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.service-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* ========================================
   ACCESSIBILITÉ
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus visible pour l'accessibilité */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-coral);
    outline-offset: 2px;
}

/* Contraste élevé pour l'accessibilité */
@media (prefers-contrast: high) {
    :root {
        --text-light: #FFFFFF;
        --border-color: rgba(255, 255, 255, 0.5);
    }
}

/* ========================================
   STATES ET INTERACTIONS
   ======================================== */

.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--accent-coral);
    outline-offset: 3px;
}

input:invalid {
    border-color: #ff4757;
}

input:valid {
    border-color: var(--accent-mint);
}

/* Indicateurs de chargement */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--accent-coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
