/* Variables et reset */
:root {
    --primary: #6F00FF; /* Electric Indigo */
    --accent1: #F64C72; /* French Rose */
    --accent2: #3E00FF; /* Ultramarine Blue */
    --headings: #FFFFFF; /* White */
    --section-bg: #596275; /* Black Coral */
    --text: #DCDCDC; /* Gainsboro */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #121212;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headings);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent1);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent2);
}

section {
    padding: 120px 0 80px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent1);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn:hover {
    box-shadow: 0 5px 15px rgba(246, 76, 114, 0.4);
    color: white;
}

/* Header Styles */
header {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    color: var(--headings);
}

.logo-text {
    color: var(--headings);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
}

.desktop-menu ul li {
    margin-left: 30px;
}

.desktop-menu ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.desktop-menu ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent1);
    transition: var(--transition);
}

.desktop-menu ul li a:hover {
    color: var(--headings);
}

.desktop-menu ul li a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(111, 0, 255, 0.8), rgba(62, 0, 255, 0.8)), url('./img/NYFuAm.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero:before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(111, 0, 255, 0.2) 0%, rgba(62, 0, 255, 0.2) 100%);
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(111, 0, 255, 0.2);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Benefits Section */
.benefits {
    background-color: var(--section-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent1);
    box-shadow: 0 10px 30px rgba(111, 0, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent1);
}

/* Services Section */
.services {
    background-color: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(111, 0, 255, 0.2);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent1);
    margin-top: 15px;
}

/* Process Section */
.process {
    background-color: var(--section-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15%;
    width: 30%;
    height: 2px;
    background-color: var(--accent1);
}

/* Testimonials Section */
.testimonials {
    background-color: #1a1a1a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: #252525;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(111, 0, 255, 0.2);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.9rem;
    color: var(--accent1);
}

/* Contact Form Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a, #252525);
}

.form-container {
    background-color: rgba(25, 25, 25, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(111, 0, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(246, 76, 114, 0.3);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgb(255, 255, 255)1a1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #000000;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23DCDCDC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-text {
    font-size: 0.9rem;
}

.form-submit {
    width: 100%;
}

/* Map Section */
.map {
    background-color: #1a1a1a;
    padding: 40px 0;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #121212;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent1);
}

.contact-info, .legal-links {
    list-style: none;
}

.contact-info li, .legal-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(220, 220, 220, 0.7);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(25, 25, 25, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 20px 0 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
}

.cookie-buttons button {
    margin-right: 10px;
    padding: 8px 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .benefits-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-step:nth-child(2):after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    #menu-toggle {
        display: none;
    }
    
    .mobile-menu-toggle label {
        display: flex;
        flex-direction: column;
        width: 30px;
        cursor: pointer;
    }
    
    .mobile-menu-toggle label span {
        height: 2px;
        width: 100%;
        background-color: var(--text);
        margin-bottom: 5px;
        transition: var(--transition);
    }
    
    .mobile-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #121212;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    #menu-toggle:checked ~ .mobile-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    #menu-toggle:checked ~ label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    #menu-toggle:checked ~ label span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .mobile-menu ul {
        list-style: none;
    }
    
    .mobile-menu ul li {
        margin-bottom: 15px;
    }
    
    .mobile-menu ul li a {
        color: var(--text);
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin: 0 0 15px 0;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .benefits-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
} 

/* Pour corriger le problème des titres qui touchent le header lors de la navigation */
section {
    padding: 120px 0 80px;
}

.policy-page {
    padding: 120px 0 60px;
    background-color: #1a1a1a;
}

/* Centrer le titre "Demandez un audit personnalisé" et la ligne */
.contact h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.contact h2 {
    text-align: center;
} 