/* Velo Design — Design Gráfico, Identidade Visual e Branding */
/* Minimalismo suíço: branco, preto quase puro, um único acento vermelho */
/* Fontes: Archivo (display), Instrument Sans (texto), Fragment Mono (etiquetas) */

:root {
    --white: #FFFFFF;
    --paper: #F2F2F2;
    --ink: #111111;
    --red: #E63946;
    --gray: #8D99AE;
    --line: #DEDEDE;
    --line-dark: #111111;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.75;
    font-size: 1.02rem;
}

h1, h2, h3 {
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.12; letter-spacing: -0.01em;
}
h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-weight: 700; font-size: 1.9rem; }
h3 { font-weight: 600; font-size: 1.05rem; }
p { color: #3A3A3A; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.accent { color: var(--red); }

/* ---------- Header ---------- */
.main-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--line-dark);
}
.navbar {
    max-width: 1240px; margin: 0 auto; padding: 0.95rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-family: 'Archivo', sans-serif; font-weight: 800;
    font-size: 0.98rem; letter-spacing: 0.14em; text-decoration: none;
}
.logo span { color: var(--red); }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a {
    text-decoration: none; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink);
    transition: color 0.2s ease;
}
.nav-menu a:hover { color: var(--red); }
.nav-cta { border: 1px solid var(--ink); padding: 0.5rem 1rem; }
.nav-cta:hover { background: var(--ink); color: var(--white) !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    max-width: 1240px; margin: 0 auto;
    padding: 10rem 2rem 5rem;
    border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.hero-index {
    font-family: 'Fragment Mono', monospace; font-size: 0.75rem;
    color: var(--red); text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 1.8rem; border-bottom: 1px solid var(--line);
    padding-bottom: 0.8rem;
}
.hero-deck { max-width: 640px; margin: 2rem 0 2.6rem; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 4.5rem; }
.btn {
    display: inline-block; text-decoration: none;
    font-family: 'Archivo', sans-serif; font-weight: 700;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
    padding: 0.95rem 1.9rem;
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--red); }
.btn-text { color: var(--ink); padding: 0; border-bottom: 2px solid var(--red); }
.btn-text:hover { color: var(--red); }
.hero-meta {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-dark);
}
.hero-meta div { border-right: 1px solid var(--line); padding: 1.2rem 1rem 0.4rem; }
.hero-meta div:last-child { border-right: 0; }
.hero-meta dt {
    font-family: 'Fragment Mono', monospace; font-size: 0.68rem;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray);
}
.hero-meta dd { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.05rem; margin-top: 0.2rem; }

/* ---------- Seções com índice lateral ---------- */
.section-index { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2.2rem; }
.section-index .num {
    font-family: 'Fragment Mono', monospace; font-size: 0.85rem; color: var(--red);
}
.section-index .label {
    font-family: 'Archivo', sans-serif; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink);
}

/* Split (estúdio) */
.split {
    max-width: 1240px; margin: 0 auto; padding: 5rem 2rem;
    display: grid; grid-template-columns: 220px 1fr; gap: 3rem;
    border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    border-top: 1px solid var(--line-dark);
}
.split-index { display: flex; flex-direction: column; gap: 0.3rem; }
.split-body h2 { margin-bottom: 1.4rem; }
.split-body p { margin-bottom: 1.15rem; max-width: 680px; }
.split-body p em { color: var(--red); font-style: normal; font-weight: 600; }
.split-figure { margin-top: 2.4rem; }
.split-figure img { border: 1px solid var(--line-dark); }
.split-figure figcaption {
    font-family: 'Fragment Mono', monospace; font-size: 0.7rem;
    color: var(--gray); margin-top: 0.55rem; letter-spacing: 0.04em;
}

/* Serviços */
.services { border-top: 1px solid var(--line-dark); background: var(--paper); }
.services-list { max-width: 1240px; margin: 0 auto; padding: 3.5rem 2rem 0; }
.service-row {
    display: grid; grid-template-columns: 90px 220px 1fr; gap: 2rem;
    padding: 1.9rem 0; border-bottom: 1px solid var(--line-dark); align-items: start;
}
.service-code {
    font-family: 'Fragment Mono', monospace; font-size: 0.78rem; color: var(--red);
}
.service-row h3 { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; }
.service-row p { font-size: 0.95rem; }

/* Trabalhos (tabs) */
.works { max-width: 1240px; margin: 0 auto; padding: 5rem 2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-top: 1px solid var(--line-dark); }
.works-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--line-dark); }
.tab {
    flex: 1 1 auto; background: var(--white); border: 0; cursor: pointer;
    border-right: 1px solid var(--line-dark);
    font-family: 'Fragment Mono', monospace; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.85rem 1rem; color: var(--ink);
    transition: background 0.2s ease, color 0.2s ease;
}
.tab:last-child { border-right: 0; }
.tab:hover { background: var(--paper); }
.tab.active { background: var(--ink); color: var(--white); }
.works-panels { border: 1px solid var(--line-dark); border-top: 0; }
.work-panel { display: none; grid-template-columns: 40% 60%; }
.work-panel.active { display: grid; }
.work-panel figure { border-right: 1px solid var(--line-dark); }
.work-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.work-copy { padding: 2.6rem; }
.work-copy h3 { font-size: 1.3rem; margin-bottom: 1rem; text-transform: uppercase; }
.work-copy p { max-width: 520px; margin-bottom: 1rem; }
.work-result {
    font-family: 'Fragment Mono', monospace; font-size: 0.78rem;
    color: var(--red) !important; border-top: 1px solid var(--line);
    padding-top: 1rem;
}

/* Princípios */
.principles { background: var(--ink); color: var(--white); padding: 5rem 2rem; }
.principles .section-index .label { color: var(--white); }
.principles-list {
    max-width: 1240px; margin: 0 auto; list-style: none;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
    background: rgba(255, 255, 255, 0.18);
}
.principles-list li { background: var(--ink); padding: 1.6rem 1.3rem; }
.principles-list span {
    font-family: 'Fragment Mono', monospace; font-size: 0.8rem;
    color: var(--red); display: block; margin-bottom: 1rem;
}
.principles-list h3 { color: var(--white); font-size: 0.92rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.principles-list p { color: #C9C9C9; font-size: 0.85rem; }

/* Depoimentos */
.quotes { max-width: 1240px; margin: 0 auto; padding: 5rem 2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.quote blockquote {
    font-size: 1rem; border-top: 2px solid var(--ink);
    padding-top: 1.1rem; margin-bottom: 1.3rem;
}
.quote figcaption { display: flex; gap: 0.9rem; align-items: center; }
.quote figcaption img {
    width: 46px; height: 46px; filter: grayscale(1) contrast(1.1);
    border: 1px solid var(--ink); border-radius: 0; object-fit: cover;
}
.quote strong { display: block; font-size: 0.88rem; }
.quote span { font-size: 0.76rem; color: var(--gray); }

/* Contato */
.contact {
    max-width: 1240px; margin: 0 auto; padding: 5rem 2rem;
    border: 1px solid var(--line-dark); border-top: 0;
    text-align: left;
}
.contact h2 { max-width: 560px; margin-bottom: 1.2rem; }
.contact p { max-width: 620px; margin-bottom: 2rem; }
.contact-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.contact-note { font-family: 'Fragment Mono', monospace; font-size: 0.75rem; color: var(--gray); }

/* Autoridade */
.authority { max-width: 1240px; margin: 0 auto; padding: 4rem 2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.authority-links { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.authority-links a {
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    padding: 0.9rem 0; border-bottom: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.authority-links a::after { content: '↗'; font-family: 'Fragment Mono', monospace; color: var(--red); }
.authority-links a:hover { color: var(--red); padding-left: 0.5rem; }

/* Footer */
.main-footer { border-top: 1px solid var(--line-dark); background: var(--white); }
.footer-inner {
    max-width: 1240px; margin: 0 auto; padding: 2.4rem 2rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
    align-items: start;
}
.footer-inner nav { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-inner nav a, .footer-authority a {
    text-decoration: none; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
}
.footer-inner nav a:hover, .footer-authority a:hover { color: var(--red); }
.footer-authority { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-bottom {
    text-align: center; font-family: 'Fragment Mono', monospace;
    font-size: 0.7rem; color: var(--gray);
    padding: 1.1rem; border-top: 1px solid var(--line);
}

/* WhatsApp */
.whatsapp-float {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1100;
    background: var(--ink); color: var(--white); text-decoration: none;
    font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.85rem 1.3rem; border: 1px solid var(--ink);
    box-shadow: 5px 5px 0 var(--red);
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: translate(-2px, -2px); }

/* Grid overlay (main.js) */
.grid-overlay {
    position: fixed; inset: 0; z-index: 900; pointer-events: none;
    display: none; padding: 0 max(2rem, calc((100vw - 1240px) / 2));
}
.grid-overlay.on { display: flex; }
.grid-overlay .col {
    flex: 1; border-left: 1px solid rgba(230, 57, 70, 0.18);
}
.grid-overlay .col:last-child { border-right: 1px solid rgba(230, 57, 70, 0.18); }
.grid-toggle {
    position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 1100;
    background: var(--white); border: 1px solid var(--ink); cursor: pointer;
    font-family: 'Fragment Mono', monospace; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.5rem 0.8rem; color: var(--ink);
}
.grid-toggle:hover { background: var(--paper); }

/* Seções de conteúdo adicionais (infraestrutura da marca + FAQ) */
.quotes.section-new-velo { padding: 4.5rem 2rem; }
.quotes.section-new-velo h2 { font-size: 1.65rem; margin-bottom: 1.8rem; }
.quotes.section-new-velo p { max-width: 760px; margin-bottom: 1.25rem; color: #333333; }
.services.section-new-velo .service-row { grid-template-columns: 90px 1fr; }
.services.section-new-velo .service-row h3 { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.services.section-new-velo .service-row p { color: #333333; }
.services.section-new-velo .services-list { padding-bottom: 3.5rem; }
