:root {
    --accent: #a7622f;
    --bg: #e9e7e2;
    --black: #0b0b0c;
    --white: #f4f2ed;
    --line: rgba(23, 25, 29, .17);
    --border-dark: rgba(255, 255, 255, .14);
    --text-muted-dark: rgba(255, 255, 255, .64);
    --text-muted: #6b6a66;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'DM Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
    --pad: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Header / nav ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--pad);
    color: var(--white);
    mix-blend-mode: difference;
}

.site-header .brand {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.main-nav { display: none; gap: 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .03em; }
.main-nav a { text-decoration: none; opacity: .8; }
.main-nav a:hover { opacity: 1; }

@media (min-width: 900px) {
    .main-nav { display: flex; }
    .nav-toggle { display: none; }
}

.nav-toggle {
    width: 40px; height: 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: none; border: 0; cursor: pointer;
}

.nav-toggle span { width: 22px; height: 2px; background: currentColor; display: block; }

.menu-overlay {
    position: fixed; inset: 0; z-index: 50;
    background: var(--black);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}

.menu-overlay.is-open { opacity: 1; pointer-events: auto; }

.menu-overlay nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.menu-overlay a { color: var(--white); text-decoration: none; font-family: var(--font-mono); font-size: 22px; text-transform: uppercase; }

/* ---------- Section label (eyebrow numerado) ---------- */
.section-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 28px;
}

section { padding: 90px var(--pad); max-width: 1180px; margin: 0 auto; }
section.dark { max-width: none; background: var(--black); color: var(--white); }
section.dark .section-label { opacity: .5; }
section.dark > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* Conteúdo SEMPRE visível por padrão (sem depender de JavaScript rodar,
   de scroll acontecer, ou de capturas de tela de página inteira) — a
   classe .pre-reveal (adicionada só via JS, só em elementos já dentro da
   viewport após o carregamento) é o único gatilho de animação. */
.reveal-on-scroll { transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.pre-reveal { opacity: 0; transform: translateY(16px); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 600; max-width: 720px; margin: 0 0 40px; }
.section-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--black);
    color: var(--white);
    padding: 120px var(--pad) 80px;
    overflow: hidden;
}

/* Vídeo de fundo do topo — exemplo/BYO (veja comentário no index.html).
   Sem o arquivo, o <video> não ocupa espaço nem quebra o layout: o hero
   continua com o fundo --black de sempre por baixo do overlay/gradiente. */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.06), transparent 60%);
    pointer-events: none;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    color: var(--accent);
    margin: 0 0 18px;
}

.hero-title {
    font-size: clamp(48px, 11vw, 130px);
    line-height: .95;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin: 0 0 20px;
}

.hero-tagline { color: var(--text-muted-dark); font-size: clamp(15px, 2vw, 19px); max-width: 560px; margin: 0 0 30px; }

.client-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.hero-scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 1px; height: 46px; background: var(--border-dark); overflow: hidden; }
.hero-scroll-cue span { display: block; width: 100%; height: 40%; background: var(--white); animation: scroll-cue 1.8s infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 340px 1fr; align-items: center; } }

.about-photo img, .about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
}

.about-photo-placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--text-muted-dark); }

.about-copy p { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.5; margin: 0; }

/* ---------- Serviços ---------- */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--border-dark); }
.service-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--border-dark); align-items: baseline; }
.service-list small { font-family: var(--font-mono); color: var(--accent); }
.service-list h3 { margin: 0 0 6px; font-size: 20px; }
.service-list p { margin: 0; color: var(--text-muted-dark); }

/* ---------- Galeria / reel ---------- */
.reel .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.reel .gallery-grid figure { margin: 0; }
.reel .gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.reel .gallery-grid figcaption { font-size: 13px; color: var(--text-muted); margin-top: 6px; text-align: center; }

/* ---------- Status / contadores ---------- */
.stats { max-width: none; background: var(--black); color: var(--white); }
.stats > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.stats .section-label { opacity: .5; }
.stats-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid strong { display: block; font-family: var(--font-mono); font-size: clamp(32px, 5vw, 52px); color: var(--accent); }
.stats-grid p { margin: 6px 0 0; color: var(--text-muted-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Pacotes ---------- */
.pricing-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 26px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card--featured { border-color: var(--accent); box-shadow: 0 18px 40px -20px rgba(0,0,0,.25); }
.plan-badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.pricing-card h3 { margin: 0; font-size: 19px; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plan-price-currency { font-size: 14px; color: var(--text-muted); }
.plan-price-value { font-size: 34px; font-weight: 700; }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pricing-card li { display: flex; gap: 8px; align-items: flex-start; }
.pricing-card li i { color: var(--accent); margin-top: 3px; }
.btn-choose { margin-top: auto; text-align: center; padding: 12px; border-radius: 999px; background: var(--black); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.pricing-card--featured .btn-choose { background: var(--accent); }

/* ---------- Projetos ---------- */
.projects-list { border-top: 1px solid var(--line); }
.project-row {
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    border-top: 0; border-left: 0; border-right: 0;
    text-decoration: none;
    color: inherit;
    background: none;
    font: inherit;
    text-align: left;
    width: 100%;
    cursor: pointer;
}
.project-row small { font-family: var(--font-mono); color: var(--accent); }
.project-row em { display: block; font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.project-row strong { font-size: 20px; font-weight: 600; }
.project-row span { justify-self: end; opacity: .5; }
.project-row:hover span { opacity: 1; }

/* ---------- Depoimentos ---------- */
.testimonials-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 min(340px, 85vw);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.testimonial-card strong { font-size: 14px; }
.testimonial-card span { font-size: 12px; color: var(--text-muted); }

/* ---------- Contato ---------- */
.contact h2 { font-size: clamp(24px, 3vw, 34px); max-width: 620px; margin: 0 0 32px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-list i { color: var(--accent); width: 18px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item summary i { transition: transform .2s ease; color: var(--accent); font-size: 13px; }
.faq-item p { margin: 14px 0 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Finalização ---------- */
.finish {
    max-width: none;
    text-align: center;
    background: var(--accent);
    color: #fff;
    padding: 100px var(--pad);
}

.finish h2 { font-size: clamp(26px, 4vw, 44px); margin: 0 0 26px; }
.finish .client-cta { background: #fff; color: var(--black); }

/* ---------- Botões flutuantes ---------- */
.float-btn {
    position: fixed;
    right: 20px;
    z-index: 45;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}

.float-whatsapp { bottom: 20px; background: #25d366; }
.float-instagram { bottom: 82px; background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 70%, #285AEB); }

/* ---------- Rodapé ---------- */
.site-footer { text-align: center; padding: 40px var(--pad) 60px; color: var(--text-muted); font-size: 13px; }
.footer-credit { margin-top: 8px; }
.footer-credit button {
    background: none; border: 0; padding: 0; margin: 0; font: inherit;
    color: var(--accent); text-decoration: underline; cursor: pointer;
}

/* ---------- Modal genérico (crédito do rodapé / vídeo dos projetos) ---------- */
.dev-modal, .project-modal {
    position: fixed; inset: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
}

.dev-modal.is-open, .project-modal.is-open { opacity: 1; pointer-events: auto; }

.dev-modal-backdrop, .project-modal-backdrop {
    position: absolute; inset: 0; background: rgba(11, 11, 12, .78); cursor: pointer;
}

.dev-modal-card {
    position: relative;
    background: #fff;
    color: var(--black);
    border-radius: 18px;
    padding: 36px 30px;
    max-width: 360px;
    width: 100%;
    text-align: center;
}

.dev-modal-close, .project-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,.06); border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.dev-modal-role { color: var(--text-muted); font-size: 13px; margin: 4px 0 14px; }
.dev-modal-bio { font-size: 14px; margin: 0 0 20px; }
.dev-modal-social { display: flex; justify-content: center; gap: 16px; }
.dev-modal-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; }

.project-modal-card {
    position: relative;
    background: var(--black);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    max-width: 900px;
    width: 100%;
}

.project-modal-card h3 { margin: 0 0 14px; padding-right: 40px; font-size: 18px; }
.project-modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.project-modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Botão de música de fundo (exemplo/BYO) ---------- */
.music-toggle {
    position: fixed;
    left: 20px; bottom: 20px;
    z-index: 45;
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 0;
    background: var(--black);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}

.music-toggle.is-playing { background: var(--accent); }

body.modal-open { overflow: hidden; }

/* ---------- Página de erro (404 etc.) ---------- */
.error-page { max-width: 480px; margin: 160px auto; text-align: center; padding: 0 20px; }
.error-code { font-size: 56px; font-weight: 700; color: var(--accent); }
.error-page h1 { font-family: var(--font-mono); }
