/* 
* Main CSS Stylesheet
* Theme: Audit Financier
* Colors:
* - Dark purple-blue: #0A0E2A (background)
* - Neon green: #39FF14 (accents, buttons)
* - Sandy beige: #F5E9D3 (block backgrounds)
* - Dusty blue: #A0C4FF (texts)
* - Deep coral: #FF5A5F (interface elements)
* - White: #FFFFFF (contrast)
*/

/* === Reset and Base Styles === */
:root {
    --dark-blue: #0A0E2A;
    --neon-green: #39FF14;
    --sandy-beige: #F5E9D3;
    --dusty-blue: #A0C4FF;
    --deep-coral: #FF5A5F;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dusty-blue);
    background-color: var(--dark-blue);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--dusty-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--neon-green);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--white);
}

h1 {
    font-size: 2.8rem;
    position: relative;
}

h1 span {
    color: var(--neon-green);
}

h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--neon-green);
    left: 0;
    bottom: -10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    animation: scaleIn 1.5s forwards 0.5s;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--neon-green);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 100px 0;
    position: relative;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(57, 255, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* === Header Styles === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 14, 42, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    transition: padding 0.4s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    z-index: 101;
}

.logo a {
    display: block;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.05);
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--neon-green);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 101;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dusty-blue);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* === Button Styles === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--neon-green);
    color: var(--dark-blue);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    box-shadow: 0 0 0 2px var(--neon-green);
    color: var(--neon-green);
}

.btn-secondary {
    background-color: transparent;
    box-shadow: 0 0 0 2px var(--deep-coral);
    color: var(--deep-coral);
}

.btn-secondary:hover {
    background-color: var(--deep-coral);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    box-shadow: 0 0 0 2px var(--dusty-blue);
    color: var(--dusty-blue);
    padding: 8px 20px;
}

.btn-outline:hover {
    background-color: var(--neon-green);
    box-shadow: 0 0 0 2px var(--neon-green);
    color: var(--dark-blue);
}

/* === Hero Section === */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1.2s forwards;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--sandy-beige);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 14, 42, 0.9) 0%, rgba(10, 14, 42, 0.7) 100%), url('../img/7aaRMU.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(57, 255, 20, 0.03) 0, rgba(57, 255, 20, 0.03) 1px, transparent 1px, transparent 50px);
}

.hero .btn {
    animation: pulse 2s infinite;
}

/* === About Section === */
.about {
    background-color: rgba(245, 233, 211, 0.03);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 42, 0.2);
    transition: var(--transition);
}

.about-image:hover::before {
    background-color: rgba(57, 255, 20, 0.1);
}

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.service-card {
    background-color: rgba(245, 233, 211, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    fill: var(--dusty-blue);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    fill: var(--neon-green);
}

.price {
    color: var(--deep-coral);
    font-weight: 600;
    margin: 15px 0;
}

/* === Approach Section === */
.approach {
    background-color: rgba(245, 233, 211, 0.03);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: rgba(160, 196, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    background-color: rgba(160, 196, 255, 0.1);
    transform: translateY(-5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--dark-blue);
    color: var(--neon-green);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--neon-green);
    transition: var(--transition);
}

.step:hover .step-number {
    background-color: var(--neon-green);
    color: var(--dark-blue);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.approach-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* === Testimonials Section === */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(245, 233, 211, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 3rem;
    color: var(--neon-green);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* === Contact Form Section === */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(57, 255, 20, 0.03) 0, rgba(57, 255, 20, 0.03) 1px, transparent 1px, transparent 50px);
    z-index: -1;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(245, 233, 211, 0.05);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(160, 196, 255, 0.3);
    border-radius: 5px;
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form .btn {
    margin-top: 10px;
    width: 100%;
}

/* === Footer Styles === */
.main-footer {
    background-color: rgba(10, 14, 42, 0.8);
    padding: 80px 0 20px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--neon-green);
    left: 0;
    bottom: 0;
}

.contact-info,
.legal-links {
    list-style: none;
}

.contact-info li,
.legal-links li {
    margin-bottom: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 196, 255, 0.2);
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: rgba(10, 14, 42, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    padding: 20px;
    z-index: 999;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(160, 196, 255, 0.2);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.9rem;
}

.cookie-content .btn {
    align-self: flex-end;
}

/* === SVG Favicon === */
.favicon {
    display: none;
}

/* === Policy Pages Styles === */
.policy-content h2 {
    text-align: left;
    margin-top: 30px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.policy-content h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--neon-green);
    left: 0;
    bottom: 0;
    transform: none;
}

.policy-page h1::after {
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: -15px;
}

/* === Media Queries === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
        flex-direction: column;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
        background: var(--neon-green);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
        background: var(--neon-green);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background-color: rgba(10, 14, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 100;
        padding: 80px 40px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        transform: translateX(0);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto 50px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cookie-banner {
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
} 