/* ============================================
   SENSCIA COMPTA - Styles principaux
   L'expertise comptable qui a du sens
   ============================================ */

/* ============ VARIABLES ============ */
:root {
    --vert-profond: #1B5E3C;
    --vert-clair: #2D7A50;
    --bleu-nuit: #1A2D4A;
    --bleu-clair: #2A4A6A;
    --creme: #F8F6F1;
    --blanc: #FFFFFF;
    --gris-texte: #333333;
    --gris-subtil: #666666;
    --noir: #0A0A0A;
}

/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--gris-texte);
    background: var(--creme);
    overflow-x: hidden;
}

/* ============ NAVIGATION ============ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav.scrolled .nav-logo {
    color: var(--vert-profond);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--blanc);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav.scrolled .nav-links a {
    color: var(--gris-texte);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vert-profond);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--blanc);
    color: var(--vert-profond);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

nav.scrolled .nav-cta {
    background: var(--vert-profond);
    color: var(--blanc);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 94, 60, 0.3);
}

/* Mobile menu button */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--blanc);
    transition: all 0.3s ease;
}

nav.scrolled .nav-mobile-toggle span {
    background: var(--gris-texte);
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 45, 74, 0.85) 0%, 
        rgba(27, 94, 60, 0.75) 50%,
        rgba(26, 45, 74, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-left {
    flex: 1.2;
    padding: 0 4rem 0 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    width: fit-content;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-badge span {
    color: var(--blanc);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--blanc);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: #7DD3A8;
    position: relative;
}

.hero-baseline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

/* ============ BUTTONS ============ */
.btn-primary {
    background: var(--blanc);
    color: var(--vert-profond);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-primary.btn-green {
    background: var(--vert-profond);
    color: var(--blanc);
}

.btn-primary.btn-green:hover {
    box-shadow: 0 15px 40px rgba(27, 94, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============ HERO RIGHT - QUIZ RSE ============ */
.hero-right {
    flex: 0.8;
    padding: 0 8rem 0 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-card {
    background: var(--blanc);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease 0.5s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--vert-profond), var(--vert-clair));
}

.quiz-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--vert-profond), var(--vert-clair));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(27, 94, 60, 0.3);
}

.quiz-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vert-profond);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.quiz-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--bleu-nuit);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.quiz-description {
    color: var(--gris-subtil);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.quiz-stats {
    display: flex;
	justify-content: center;  /* ← AJOUTER CETTE LIGNE */
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.quiz-stat {
    text-align: center;
}

.quiz-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vert-profond);
}

.quiz-stat-label {
    font-size: 0.75rem;
    color: var(--gris-subtil);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--vert-profond), var(--vert-clair));
    color: var(--blanc);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(27, 94, 60, 0.4);
}

.quiz-btn svg {
    transition: transform 0.3s ease;
}

.quiz-btn:hover svg {
    transform: translateX(5px);
}

/* ============ SECTION COMMON ============ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vert-profond);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--bleu-nuit);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gris-subtil);
    line-height: 1.7;
}

/* ============ SERVICES SECTION ============ */
.services {
    padding: 8rem 8rem;
    background: var(--blanc);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--creme);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vert-profond), var(--bleu-nuit));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(27, 94, 60, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--blanc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--bleu-nuit);
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.service-card:hover .service-title {
    color: var(--blanc);
}

.service-description {
    color: var(--gris-subtil);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.85);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vert-profond);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--blanc);
}

/* ============ APPROCHE SECTION ============ */
.approche {
    padding: 8rem;
    background: var(--creme);
}

.approche-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.approche-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--bleu-nuit);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.approche-content p {
    color: var(--gris-subtil);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.approche-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.approche-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--gris-texte);
}

.approche-list li::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--vert-profond);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.approche-visual {
    position: relative;
}

.approche-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--vert-profond), var(--bleu-nuit));
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.approche-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.approche-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--blanc);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
}

.approche-stat {
    text-align: center;
}

.approche-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vert-profond);
}

.approche-stat-label {
    font-size: 0.85rem;
    color: var(--gris-subtil);
}

/* ============ VICTORIA SECTION ============ */
.victoria {
    padding: 8rem;
    background: var(--bleu-nuit);
    color: var(--blanc);
}

.victoria-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.victoria-photo {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, var(--vert-profond), var(--vert-clair));
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.victoria-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.victoria-photo::after {
    content: 'VG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.2);
}

.victoria-photo.has-image::after {
    display: none;
}

.victoria-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.victoria-role {
    color: #7DD3A8;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.victoria-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.victoria-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--blanc);
    border-left: 3px solid var(--vert-profond);
    padding-left: 2rem;
    margin: 2.5rem 0;
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 6rem 8rem;
    background: linear-gradient(135deg, var(--vert-profond), var(--vert-clair));
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--blanc);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-btn-primary {
    background: var(--blanc);
    color: var(--vert-profond);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--blanc);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blanc);
}

/* ============ FOOTER ============ */
footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 5rem 8rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--vert-profond);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--blanc);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--blanc);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 2rem;
}

.footer-legal a:hover {
    color: var(--blanc);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

/* Animation classes for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .hero-left {
        padding: 0 3rem 0 4rem;
    }
    .hero-right {
        padding: 0 4rem 0 3rem;
    }
    .services, .approche, .victoria, .cta-section, footer {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    nav {
        padding: 1rem 2rem;
    }
    .nav-links {
        display: none;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .hero-content {
        flex-direction: column;
        padding-top: 100px;
    }
    .hero-left, .hero-right {
        padding: 2rem;
        flex: none;
        width: 100%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .quiz-card {
        max-width: 100%;
    }
    .approche-container, .victoria-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .approche-stats {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 2rem;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services, .approche, .victoria, .cta-section, footer {
        padding: 4rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal {
        display: flex;
        gap: 1rem;
    }
    .footer-legal a {
        margin-left: 0;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .quiz-stats {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-baseline {
        font-size: 1.2rem;
    }
    .quiz-card {
        padding: 2rem;
    }
    .quiz-title {
        font-size: 1.5rem;
    }
}
