/* ============================================
   Novaaweb — Dark Mode, Asymmetric, Human
   Fonts: Outfit (headings) + Space Grotesk (body)
   ============================================ */

:root {
    --bg: #0b0b0f;
    --bg-offset: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.07);
    --text: #f0f0f0;
    --text-dim: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.35);
    --accent: #6ee7b7;
    --accent-dim: rgba(110, 231, 183, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.section { padding: 120px 40px; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}


/* ============================================
   NAV
   ============================================ */

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    transition: all 0.35s ease;
}

nav.scrolled {
    background: rgba(11, 11, 15, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
}

.brand span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #5dd9a8;
    transform: translateY(-1px);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle svg {
    transition: transform 0.2s;
    width: 10px;
    height: 6px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: var(--bg-offset);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 0.84rem !important;
    color: var(--text-dim) !important;
    transition: all 0.15s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent) !important;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   HERO — full bleed photo
   ============================================ */

.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(11, 11, 15, 0.92) 0%,
        rgba(11, 11, 15, 0.4) 40%,
        rgba(11, 11, 15, 0.25) 70%,
        rgba(11, 11, 15, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 90px;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 680px;
    letter-spacing: -1.5px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 14px;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-fill:hover {
    background: #5dd9a8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(110, 231, 183, 0.2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 28px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full { width: 100%; }


/* ============================================
   INTRO — asymétrique
   ============================================ */

.intro {
    background: var(--bg-offset);
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.intro-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 14px;
}

.intro-visual {
    position: relative;
}

.intro-img {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
}

.intro-stat {
    position: absolute;
    bottom: -24px;
    left: -32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 28px;
}

.stat-big {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ============================================
   SERVICES — layout mixte
   ============================================ */

.services { background: var(--bg); }

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.srv-main {
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.3s;
}

.srv-main:hover { border-color: rgba(110, 231, 183, 0.2); }

.srv-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.srv-item {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s;
}

.srv-item:hover { border-color: rgba(110, 231, 183, 0.2); }

.srv-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.srv-main h3,
.srv-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.srv-main p,
.srv-item p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.65;
}


/* ============================================
   PRICING
   ============================================ */

.pricing { background: var(--bg-offset); }

.pricing-header {
    margin-bottom: 56px;
}

.pricing-intro {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 500px;
    margin-top: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 840px;
}

.pricing-card {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(
        180deg,
        rgba(110, 231, 183, 0.04) 0%,
        var(--bg-card) 50%
    );
    box-shadow: 0 0 50px rgba(110, 231, 183, 0.06);
}

.pricing-top { margin-bottom: 28px; }

.pricing-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.pricing-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 7px 0;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Add-ons */
.addons {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    max-width: 840px;
}

.addons-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.addons-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.addon {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.84rem;
    color: var(--text-dim);
    font-weight: 500;
    transition: all 0.2s;
}

.addon:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ============================================
   PORTFOLIO — asymétrique (1 grand + 2 petits)
   ============================================ */

.portfolio { background: var(--bg); }

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 48px;
}

.folio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.35s ease;
    display: block;
}

.folio-card:hover {
    border-color: rgba(110, 231, 183, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.folio-wide {
    grid-row: span 2;
}

.folio-wide .folio-img {
    height: 320px;
}

.folio-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}

.folio-card:hover .folio-img {
    transform: scale(1.03);
}

.folio-info {
    padding: 24px;
}

.folio-type {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.folio-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 6px 0 8px;
}

.folio-info p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.6;
}

.folio-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s;
}


/* ============================================
   TEAM — horizontal, pas des cards centrées
   ============================================ */

.team { background: var(--bg-offset); }

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.team-text p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 8px;
}

.team-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.member {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.member:hover {
    border-color: rgba(110, 231, 183, 0.2);
}

.member-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(110, 231, 183, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
}

.member-info h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.member-info p {
    color: var(--text-muted);
    font-size: 0.82rem;
}


/* ============================================
   CONTACT
   ============================================ */

.contact { background: var(--bg); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-text p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 8px;
}

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fg label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fg input,
.fg select,
.fg textarea {
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s;
    outline: none;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.fg select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23555' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.fg textarea {
    resize: vertical;
    min-height: 110px;
}


/* ============================================
   FOOTER
   ============================================ */

footer {
    padding: 48px 40px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}


/* ============================================
   SCROLL REVEAL (JS applies .revealed)
   ============================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .section { padding: 80px 28px; }
    nav { padding: 0 28px; }
    .hero-content { padding: 0 28px 70px; }
    footer { padding: 40px 28px; }

    .intro-layout,
    .team-layout,
    .contact-layout { gap: 50px; }

    .hero h1 { font-size: 3.5rem; }
    .section-title { font-size: 2.3rem; }
}

@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
    }
    .nav-links.active .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 4px 0 0 16px;
    }
    .mobile-toggle { display: flex; }

    .section { padding: 60px 20px; }
    footer { padding: 36px 20px; }

    .hero { min-height: 550px; }
    .hero-content { padding: 0 20px 60px; }
    .hero h1 { font-size: 2.6rem; max-width: 100%; }
    .hero-sub { font-size: 1rem; }
    .hero-btns { flex-direction: column; }

    .section-title { font-size: 2rem; }

    .intro-layout,
    .services-layout,
    .pricing-grid,
    .team-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-img { aspect-ratio: 16 / 10; }

    .intro-stat {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-block;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .folio-wide {
        grid-row: span 1;
    }

    .folio-wide .folio-img {
        height: 220px;
    }

    .team-members { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .addons-list { flex-direction: column; }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.7rem; }
    .hero { min-height: 500px; }
}
