/* -------------------------------------------------------------------------- */
/*  NEGODIS DESIGN SYSTEM & MODERN CSS STYLESHEET                             */
/* -------------------------------------------------------------------------- */

:root {
    --navy-dark: #0A192F;
    --navy-medium: #112240;
    --navy-light: #1D3557;
    --gold: #D4AF37;
    --gold-light: #F4E0A5;
    --gold-dark: #AA8B2C;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-light: #E2E8F0;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.08);
    --box-shadow-hover: 0 20px 40px -15px rgba(212, 175, 55, 0.15);
    
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--navy-dark);
    color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: inherit;
}

.bg-dark .section-title {
    color: var(--white);
}

.bg-light .section-title {
    color: var(--navy-dark);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--navy-dark);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 175, 55, 0.2);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.3);
    border-bottom: 1px solid rgba(214, 175, 55, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .nav-logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.main-header.scrolled .nav-item {
    color: rgba(255, 255, 255, 0.9);
}

.main-header.scrolled .nav-item:hover, 
.main-header.scrolled .nav-item.active {
    color: var(--gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding-top: var(--header-height);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(29, 53, 87, 0.9) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.hero-logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    border-radius: 8px;
    border: 2px solid rgba(214, 175, 55, 0.3);
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gray-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-arrow:hover {
    opacity: 1;
    border-color: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Section: Qui Sommes-Nous */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text-content .lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
    padding-left: 1.5rem;
    line-height: 1.7;
}

.about-text-content .body-text {
    font-size: 1.05rem;
    color: var(--text-medium);
}

.about-accent-box {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--gold);
    box-shadow: var(--box-shadow);
}

.about-accent-box::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(214, 175, 55, 0.3);
    border-radius: calc(var(--border-radius) - 5px);
    pointer-events: none;
}

.accent-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.accent-label {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Section: Nos Réalisations */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 50px;
}

.realisation-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(2, 12, 27, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(214, 175, 55, 0.3);
}

.card-icon-wrapper {
    background-color: rgba(10, 25, 47, 0.03);
    color: var(--navy-dark);
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisation-card:hover .card-icon-wrapper {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.card-icon {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.realisations-notice {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 40px;
}

/* Section: Pourquoi Nous Choisir */
.reasons-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.reason-icon-check {
    width: 28px;
    height: 28px;
    background-color: rgba(214, 175, 55, 0.15);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.checkmark {
    width: 14px;
    height: 14px;
}

.reason-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.reason-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Section: Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
}

.info-intro {
    font-size: 1.05rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 175, 55, 0.3);
    color: var(--gold);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 3px;
}

.info-text {
    font-size: 1.05rem;
    color: var(--white);
}

.info-text a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--navy-medium);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(214, 175, 55, 0.1);
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold-light);
}

.form-group input, .form-group textarea {
    padding: 0.85rem 1rem;
    background-color: var(--navy-dark);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(10, 25, 47, 0.5);
    box-shadow: 0 0 0 3px rgba(214, 175, 55, 0.15);
}

.form-feedback {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    text-align: center;
    min-height: 24px;
}

.form-feedback.success {
    color: #10B981;
}

.form-feedback.error {
    color: #EF4444;
}

/* Footer */
.main-footer {
    background-color: #050d18;
    color: var(--text-muted);
    padding: 40px 0;
    border-top: 1px solid rgba(214, 175, 55, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/*  REVEAL ON SCROLL ANIMATIONS                                                */
/* -------------------------------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* -------------------------------------------------------------------------- */
/*  RESPONSIVE / MEDIA QUERIES                                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Navigation Hamburger */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--navy-dark);
        border-left: 1px solid rgba(214, 175, 55, 0.2);
        z-index: 1000;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 100px 2.5rem 40px;
        display: block;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-item {
        font-size: 1.2rem;
    }
    
    /* Hamburger Active State */
    .mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
        transform: rotate(45deg) translate(2px, 1px);
        background-color: var(--gold);
    }
    
    .mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -1px);
        background-color: var(--gold);
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
