/* 
 * AuditNova - Style principal
 * Palette de couleurs:
 * - Fond saphir foncé: #0B3D91
 * - Accent lavande néon: #B49AE3
 * - Boutons corail vif: #FF5F57
 * - Fond de bloc pêche clair: #FFEEDF
 * - Texte blanc: #FFFFFF
 */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    background-color: #0B3D91;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #FF5F57;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #B49AE3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF5F57;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: rgba(11, 61, 145, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(11, 61, 145, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FF5F57;
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(11, 61, 145, 0.8), rgba(11, 61, 145, 0.9)), url('./img/ntyFTM.jpg') no-repeat center center/cover;
    padding-top: 80px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #FF5F57;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #FF5F57;
}

.cta-button:hover {
    background-color: transparent;
    color: #FF5F57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 95, 87, 0.2);
}

/* About Section */
.about {
    background-color: #FFEEDF;
    color: #0B3D91;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Advantages Section */
.advantages {
    background-color: #0B3D91;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: #FFEEDF;
    color: #0B3D91;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: #0B3D91;
}

.service-button {
    display: inline-block;
    margin: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #FF5F57;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-button:hover {
    background-color: #0B3D91;
    color: #FFFFFF;
}

/* Process Section */
.process {
    background-color: #0B3D91;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #FF5F57;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    background-color: #FFEEDF;
    color: #0B3D91;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: #B49AE3;
    opacity: 0.3;
    line-height: 1;
}

.quote {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #333;
}

.author {
    font-weight: 700;
    color: #0B3D91;
}

/* Order Form Section */
.order-form {
    background-color: #0B3D91;
    padding: 5rem 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0B3D91;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
    border-color: #B49AE3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(180, 154, 227, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: #333;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #FF5F57;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #0B3D91;
}

/* Messages d'erreur du formulaire */
.form-error-message {
    background-color: rgba(255, 95, 87, 0.1);
    border: 1px solid #FF5F57;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-error-message ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.form-error-message p, .form-error-message li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: #FFEEDF;
    color: #0B3D91;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: #071E45;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #B49AE3;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-company-info p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: #FFFFFF;
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.cookie-text {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    flex: 1;
    padding: 0.75rem;
    background-color: #FF5F57;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background-color: #e34d45;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SVG Logo */
.logo-svg {
    fill: #FFFFFF;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: 1 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: #0B3D91;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .hero h1 {
        font-size: 2rem;
    }
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #FFFFFF;
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .menu-toggle span:nth-child(1) {
        top: 0;
    }
    
    .menu-toggle span:nth-child(2) {
        top: 9px;
    }
    
    .menu-toggle span:nth-child(3) {
        top: 18px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .advantage-card, .testimonial {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 