/* 
 * AuditQuantique - Main Stylesheet
 * Author: AuditQuantique
 * Version: 1.0
 */

/* ----------------- */
/* CSS RESET & BASE */
/* ----------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --indigo: #3A0CA3;
    --coral: #FF6F59;
    --lavender: #EDE7F6;
    --turquoise: #1ECBE1;
    --white: #FFFFFF;
    
    /* Fonts */
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--coral);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--indigo);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    position: relative;
    text-align: center;
}

h2 span {
    color: var(--coral);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: 120px 0;
}

/* ----------------- */
/* COOKIE CONSENT */
/* ----------------- */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--indigo);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.cookie-consent.active {
    display: flex;
}

.cookie-consent p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-consent button {
    background-color: var(--coral);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cookie-consent button:hover {
    background-color: #e05c48;
}

/* ----------------- */
/* HEADER & NAVIGATION */
/* ----------------- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    max-width: 180px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-line {
    height: 3px;
    width: 100%;
    background-color: var(--indigo);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--coral);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    transition: background-color 0.3s ease !important;
}

.nav-cta:hover {
    background-color: #e05c48;
}

.nav-cta::after {
    display: none !important;
}

/* ----------------- */
/* HERO SECTION */
/* ----------------- */
.hero-section {
    background-color: var(--indigo);
    color: var(--white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.hero-content {
    flex: 1;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--coral);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #e05c48;
    color: var(--white);
    transform: translateY(-3px);
}

/* ----------------- */
/* ABOUT SECTION */
/* ----------------- */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-section ul {
    margin-left: var(--space-lg);
    list-style-type: disc;
}

.about-section li {
    margin-bottom: var(--space-sm);
}

/* ----------------- */
/* SERVICES SECTION */
/* ----------------- */
.services-section {
    background-color: var(--lavender);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-radius: 50%;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: var(--indigo);
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-weight: 500;
    color: var(--coral);
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ----------------- */
/* WHY CHOOSE US */
/* ----------------- */
.why-us-section {
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.advantage-item {
    padding: var(--space-lg);
    border-radius: 8px;
    background-color: var(--lavender);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item h3 {
    color: var(--indigo);
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.advantage-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--turquoise);
}

/* ----------------- */
/* TESTIMONIALS */
/* ----------------- */
.testimonials-section {
    background-color: var(--indigo);
    color: var(--white);
}

.testimonials-section h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--space-lg);
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 3px solid var(--turquoise);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--space-md);
}

.testimonial-content h4 {
    color: var(--turquoise);
    margin-bottom: 0.25rem;
}

.company {
    color: var(--lavender);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ----------------- */
/* CONTACT FORM */
/* ----------------- */
.contact-section {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    padding: var(--space-lg);
    background-color: var(--indigo);
    color: var(--white);
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--turquoise);
    color: var(--indigo);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--coral);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--lavender);
    padding: var(--space-lg);
    border-radius: 8px;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--indigo);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: var(--white);
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--turquoise);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.submit-button {
    background-color: var(--coral);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #e05c48;
    transform: translateY(-3px);
}

/* ----------------- */
/* FAQ SECTION */
/* ----------------- */
.faq-section {
    background-color: var(--lavender);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    color: var(--indigo);
    margin-bottom: var(--space-md);
    position: relative;
}

.faq-item p {
    margin-bottom: 0;
}

/* ----------------- */
/* MAP & LOCATION */
/* ----------------- */
.location-section {
    background-color: var(--white);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-details {
    padding: var(--space-lg);
    background-color: var(--lavender);
    border-radius: 8px;
}

.location-details h3 {
    color: var(--indigo);
    margin-bottom: var(--space-lg);
}

/* ----------------- */
/* FOOTER */
/* ----------------- */
.site-footer {
    background-color: var(--indigo);
    color: var(--white);
    padding-top: var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-content h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--turquoise);
}

.footer-content ul {
    margin-bottom: var(--space-lg);
}

.footer-content li {
    margin-bottom: var(--space-sm);
}

.footer-content a {
    color: var(--lavender);
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--turquoise);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    font-size: 0.9rem;
}

.footer-copyright p {
    margin-bottom: 0;
}

/* ----------------- */
/* RESPONSIVE DESIGN */
/* ----------------- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .contact-container,
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text,
    .about-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .testimonials-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--space-sm);
    }
} 