/* ════════════════════════════════════
   CACTO — DESIGN SYSTEM
   Tema Híbrido 70/30 (Dark/Light)
   Inspiração: Kontra (fundo claro hero, cards flutuantes, tipografia bold)
   ════════════════════════════════════ */

:root {
    /* Tema Claro (Hero e seções de respiro) */
    --white: #ffffff;
    --light-bg: #f4f4f2;
    --light-bg-alt: #eceae6;
    --dark-txt: #1a1a1a;
    --dark-txt-dim: #6b6b6b;

    /* Tema Escuro (Seções de impacto) */
    --dark-bg: #0b1a1a;
    --dark-bg-alt: #0f2222;
    --light-txt: #f0ece2;
    --light-txt-dim: #7a9a8a;

    /* Accent */
    --accent: #3d5a3e;
    /* Verde Militar/Navy */

    /* Tipografia */
    --font-display: 'Comfortaa', cursive;
    --font-body: 'Inter', sans-serif;

    /* Escala de Fontes (mínimo 1rem) */
    --fs-base: 1rem;
    /* Marquee */
    --fs-xs: 0.75rem;
    /* Subtitles */
    --fs-sm: 0.875rem;
    /* Body, links, labels */
    --fs-md: 1.1rem;
    /* Corpo com destaque, marquee */
    --fs-lg: 1.3rem;
    /* Logo, card-name */
    --fs-xl: 1.5rem;
    /* Card name bio */
    --fs-2xl: clamp(1.8rem, 3.5vw, 2.8rem);
    /* Section headlines */
    --fs-3xl: clamp(2.4rem, 4.5vw, 3.8rem);
    /* Hero title */

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--light-bg);
    color: var(--dark-txt);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ════════════════════════════════════
   NAVBAR (Sobre fundo claro)
   ════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 20px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease),
        box-shadow 0.4s ease;
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(244, 244, 242, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 28px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.04em;
    color: var(--dark-txt);
}

/* Links */
.nav-links {
    display: flex;
    gap: 2rem;
    padding: 10px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    background: var(--white);
}

.nav-link {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--dark-txt-dim);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--dark-txt);
}

/* CTA */
.nav-cta {
    font-size: var(--fs-base);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    background: var(--dark-txt);
    color: var(--white);
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--dark-txt);
}

.nav-right a {
    color: var(--white) !important;
}

/* ════════════════════════════════════
   HERO (Fundo Claro + Slider Split)
   ════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - 81.5px);
    padding: 140px 48px 80px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
    background: var(--light-bg);
    overflow: hidden;
}

/* Texto à esquerda */
.hero-text {
    position: relative;
    z-index: 10;
    max-width: 520px;
}

.hero-eyebrow {
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 100px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark-txt);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: var(--fs-md);
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-txt-dim);
    margin-bottom: 40px;
    max-width: 420px;
}

/* Botões */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.03em;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
}

.btn-dark {
    background: var(--dark-txt);
    color: var(--white);
    border-color: var(--dark-txt);
}

.btn-dark:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark-txt);
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    border-color: var(--dark-txt);
}

/* ════════════════════════════════════
   SLIDER 3-LAYER (Hero Right Side)
   ════════════════════════════════════ */
.hero-slider {
    position: relative;
    z-index: 5;
}

.selo-nao-ia {
    position: absolute;
    top: 34px;
    right: -42px;
    z-index: 20;
    background: #00ff00;
    color: #4e4e4e;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.slider-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 24px 80px -16px rgba(0, 0, 0, 0.18);
    touch-action: none;
    user-select: none;
    max-height: 70vh;
}

.slider-layer {
    position: absolute;
    inset: 0;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Clip-path controlled by JS */
#layer-solid {
    clip-path: polygon(0 0, 66% 0, 66% 100%, 0 100%);
    z-index: 2;
}

#layer-wireframe {
    clip-path: polygon(0 0, 33% 0, 33% 100%, 0 100%);
    z-index: 3;
}

/* Handles */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    margin-left: -24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
}

#handle-a {
    left: 66%;
}

#handle-b {
    left: 33%;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.handle-knob {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.25s var(--ease);
}

.handle-knob:hover,
.slider-handle:active .handle-knob {
    transform: scale(1.15);
}

.handle-icon {
    font-size: 14px;
    color: var(--dark-txt-dim);
    line-height: 1;
}

/* Layer Labels */
.slider-labels {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.slider-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--white);
    color: var(--dark-txt-dim);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.slider-label.active {
    background: var(--dark-txt);
    color: var(--white);
    border-color: var(--dark-txt);
}

/* ════════════════════════════════════
   MARQUEE (Dark Transition)
   ════════════════════════════════════ */
.marquee-section {
    padding: 28px 0;
    background: var(--dark-bg);
    overflow: hidden;
    border-top: 1px solid rgba(240, 236, 226, 0.06);
    border-bottom: 1px solid rgba(240, 236, 226, 0.06);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--light-txt-dim);
}

.marquee-dot {
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--accent);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ════════════════════════════════════
   SOBRE A CACTO (Light Section — 30%)
   ════════════════════════════════════ */
.sobre-section {
    padding: 120px 48px;
    background: var(--light-bg);
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-label {
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-block;
}

.section-headline {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-txt);
    margin-bottom: 28px;
}

.sobre-body {
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.8;
    color: var(--dark-txt-dim);
    margin-bottom: 16px;
}

.sobre-body strong {
    color: var(--dark-txt);
    font-weight: 600;
}

/* Card Biográfico — Renato Farias */
.sobre-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 0;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    align-items: stretch;
}

.card-photo {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
}

.card-info {
    padding: 32px 32px 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-name {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--dark-txt);
    margin-bottom: 6px;
}

.card-role {
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 12px;
}

.card-bio {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--dark-txt-dim);
}

/* ════════════════════════════════════
   CONTADORES (Light Section)
   ════════════════════════════════════ */
.stats-section {
    padding: 80px 48px 120px;
    background: var(--light-bg);
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 32px 16px;
    white-space: nowrap;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: var(--fs-base);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--dark-txt-dim);
    line-height: 1.5;
    text-transform: uppercase;
}

/* ════════════════════════════════════
   COMO TRABALHAMOS (Dark Section)
   ════════════════════════════════════ */
.processo-section {
    padding: 120px 48px;
    background: var(--dark-bg);
}

.processo-header {
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
}

.processo-header .section-label {
    color: var(--accent);
}

.section-headline.light {
    color: var(--light-txt);
}

.processo-intro {
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--light-txt-dim);
    margin-top: 20px;
}

.processo-intro strong {
    color: var(--light-txt);
    font-weight: 600;
}

/* 6 Cards em Grid Horizontal */
.processo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.processo-card {
    position: relative;
}

.processo-num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: rgba(240, 236, 226, 0.15);
    margin-bottom: 12px;
}

.processo-img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.processo-name {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--light-txt);
    margin-bottom: 6px;
}

.processo-desc {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--light-txt-dim);
}

/* ════════════════════════════════════
   PROJETOS (Light Section)
   ════════════════════════════════════ */
.projetos-section {
    padding: 120px 48px;
    background: var(--light-bg);
}

.projetos-header {
    text-align: center;
    margin-bottom: 64px;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.projeto-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.projeto-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.projeto-card:hover .projeto-thumb {
    transform: scale(1.05);
}

.projeto-card::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") center / 16px no-repeat;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s var(--ease);
}

.projeto-card:hover::before {
    transform: scale(1.1);
}

.projeto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.4s ease;
}

.projeto-card:hover .projeto-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 60%);
}

.projeto-cat {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.projeto-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--white);
}

/* ════════════════════════════════════
   MODAL DE PROJETO
   ════════════════════════════════════ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s var(--ease);
}

.modal-backdrop.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark-txt);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

.modal-info {
    padding: 32px;
}

.modal-cat {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--dark-txt);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--dark-txt-dim);
}

.modal-counter {
    display: block;
    margin-top: 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dark-txt-dim);
}

/* Modal Arrows */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark-txt);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: max(20px, calc(50% - 480px));
}

.modal-next {
    right: max(20px, calc(50% - 480px));
}

/* ════════════════════════════════════
   FOOTER (Estilo AXIOMA)
   ════════════════════════════════════ */
.footer {
    position: relative;
    background: var(--light-bg);
    padding: 20px 48px 0;
    overflow: hidden;
}

.footer-ghost {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(10rem, 20vw, 22rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    width: 100%;
    text-align: center;
    z-index: 0;
}

.footer-ghost::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 50%;
    z-index: 1;
    background: linear-gradient(to top, var(--light-bg) 0%, var(--light-bg) 60%, transparent 100%);
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr auto auto auto;
    gap: 48px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 80px;

}

.footer-heading {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--dark-txt);
    line-height: 1.3;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--dark-txt-dim);
    color: var(--dark-txt);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: var(--light-txt);
}

.social-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.social-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--dark-txt);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--dark-txt);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom span {
    font-size: var(--fs-xs);
    color: var(--dark-txt-dim);
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.powered-by:hover {
    opacity: 1;
}

.powered-by span {
    font-size: 0.7rem;
    color: var(--dark-txt-dim);
    letter-spacing: 0.03em;
}

.powered-logo {
    height: 24px;
    width: auto;
}

.footer-legal a {
    font-size: var(--fs-xs);
    color: var(--dark-txt-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 24px 40px;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero-card {
        display: none;
    }

    /* Sobre */
    .sobre-section {
        padding: 80px 24px;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-card {
        grid-template-columns: 160px 1fr;
    }

    /* Stats */
    .stats-section {
        padding: 60px 24px 80px;
    }

    /* Processo */
    .processo-section {
        padding: 80px 24px;
    }

    .processo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Projetos */
    .projetos-section {
        padding: 80px 24px;
    }

    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer {
        padding: 80px 24px 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 0 20px;
    }

    .hero {
        padding: 90px 20px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .slider-viewport {
        aspect-ratio: 4/5;
        border-radius: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Sobre mobile */
    .sobre-section {
        padding: 60px 20px;
    }

    .sobre-container {
        gap: 32px;
    }

    .sobre-card {
        grid-template-columns: 1fr;
    }

    .card-photo {
        min-height: 220px;
        max-height: 300px;
    }

    .card-info {
        padding: 24px;
    }

    .section-headline {
        font-size: 1.6rem;
    }

    /* Stats mobile */
    .stats-section {
        padding: 40px 20px 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 24px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Marquee mobile */
    .marquee-section {
        padding: 20px 0;
    }

    /* Processo mobile */
    .processo-section {
        padding: 60px 20px;
    }

    .processo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .processo-img {
        aspect-ratio: 16 / 9;
    }

    /* Projetos mobile */
    .projetos-section {
        padding: 60px 20px;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Modal mobile */
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .modal-prev {
        left: 8px;
    }

    .modal-next {
        right: 8px;
    }

    /* Footer mobile */
    .footer {
        padding: 60px 20px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-social {
        flex-direction: row;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px 0;
    }

    .footer-legal {
        gap: 20px;
    }
}