/* AlvoSoft — folha única do site. Cores da marca: vermelho #D30021 e grafite #404040 (assets/images/alvo.svg). */
:root {
  --red: #d30021;
  --red-dark: #a8001a;
  --ink: #17181a;
  --ink-2: #222427;
  --graphite: #404040;
  --muted: #62676d;
  --line: #e3e4e6;
  --soft: #f6f5f3;
  --paper: #ffffff;
  --radius: 16px;
  --wrap: 1160px;
  --font: 'Prompt', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(23, 24, 26, .04), 0 12px 32px -12px rgba(23, 24, 26, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.22rem; line-height: 1.25; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
ul { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: .08em; }
.brand img { width: 34px; height: 34px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--red); outline-offset: 3px; }
.nav-btn span, .nav-btn span::before, .nav-btn span::after { content: ''; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-btn span::before { position: absolute; top: -6px; }
.nav-btn span::after { position: absolute; top: 6px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px 20px 18px; box-shadow: var(--shadow); }
.nav-toggle:checked ~ .nav { display: block; }
.nav a { display: block; padding: 13px 0; color: var(--ink); text-decoration: none; font-weight: 400; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--red); }
@media (min-width: 980px) {
  .nav-btn { display: none; }
  .nav { display: flex; align-items: center; position: static; gap: 24px; padding: 0; border: 0; background: none; box-shadow: none; }
  .nav a { padding: 6px 0; border: 0; font-size: .95rem; }
  .nav a.cta { background: var(--red); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 500; }
  .nav a.cta:hover { background: var(--red-dark); color: #fff; }
}

/* Estrutura das seções */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
section.soft { background: var(--soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.18rem; color: var(--graphite); max-width: 44em; }
.head { margin-bottom: 40px; max-width: 46em; }
.head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); color: var(--ink); background: transparent; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Abertura */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 76px 0 0; }
@media (min-width: 900px) { .hero { padding-top: 112px; } }
.hero .rings { position: absolute; right: -180px; top: -120px; width: 640px; height: 640px; opacity: .9; pointer-events: none; }
@media (min-width: 900px) { .hero .rings { right: -120px; top: -90px; width: 780px; height: 780px; } }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 13em; }
.hero h1 span { color: #ff3350; }
.hero .eyebrow { color: #ff5c73; }
.hero .lead { color: #c6c9cd; max-width: 36em; }
.hero .btn { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn.primary { border-color: var(--red); }
.hero .btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.facts { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); margin-top: 88px; } }
.facts li { padding: 26px 18px 30px 0; }
.facts li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 899px) { .facts li:nth-child(3) { padding-left: 0; border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); } }
.facts b { display: block; font-size: clamp(1.9rem, 4.6vw, 2.7rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.facts span { display: block; color: #aeb2b7; font-size: .92rem; line-height: 1.4; margin-top: 8px; }
.facts-note { color: #8d9197; font-size: .82rem; margin: 0; padding: 0 0 26px; }
.facts-note a { color: #c6c9cd; }

/* Grades e cartões */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #d3d5d8; }
.card p { color: var(--muted); font-size: .99rem; }
.card p:last-child { margin-bottom: 0; }
.card .links { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; font-size: .96rem; }
.card .links a { text-decoration: none; }
.card .links a::after { content: ' →'; }
.card .links a:hover { text-decoration: underline; }
.kicker { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; font-weight: 400; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 18px; }

/* Serviços */
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .split .sticky { position: sticky; top: 104px; } }
.pillars { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.pillars li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.pillars li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--red); flex: none; }
.prose { max-width: 46em; }
.prose p { color: var(--graphite); }
.prose h2:not(:first-child) { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* Desafios → solução */
.qa { display: grid; gap: 16px; }
@media (min-width: 900px) { .qa { grid-template-columns: repeat(2, 1fr); } }
.qa article { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 26px 28px; }
.qa h3 { font-weight: 500; font-size: 1.12rem; line-height: 1.4; letter-spacing: 0; }
.qa p { color: var(--muted); margin: 0; }

/* Soluções */
.solution { display: grid; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.solution:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .solution { grid-template-columns: 4fr 8fr; gap: 56px; padding: 52px 0; } }
.solution h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: .3em; }
.solution .tag { color: var(--red); font-weight: 500; margin: 0; }
.solution .desc { color: var(--graphite); font-size: 1.06rem; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
@media (min-width: 680px) { .checks { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; } }
.checks li { position: relative; padding-left: 26px; color: var(--graphite); }
.checks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.solution .links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.main { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.main:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Projetos */
.project { border-top: 4px solid var(--red); }
.project h3 { font-size: 1.3rem; }

/* Clientes */
.logos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; align-items: center; justify-content: center; }
.logos img { width: 100%; filter: grayscale(1); opacity: .82; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Cases */
.case-card { padding: 0; overflow: hidden; }
.case-card > a { display: block; overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .4s; }
.case-card:hover img { transform: scale(1.03); }
.case-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.mini { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { background: var(--soft); border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: var(--graphite); }
.mini b { color: var(--red); font-weight: 600; }

/* Equipe */
.person { align-items: flex-start; }
.person img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 16px; }
.person .role { color: var(--red); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }

/* Contato */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact .rings { position: absolute; left: -260px; bottom: -320px; width: 640px; height: 640px; opacity: .55; pointer-events: none; }
.contact .wrap { position: relative; display: grid; gap: 32px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; } }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #ff5c73; }
.contact p { color: #c6c9cd; }
.contact .box { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; }
.contact .box dl { margin: 0 0 22px; display: grid; gap: 18px; }
.contact .box dt { color: #8d9197; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.contact .box dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 500; }
.contact a { color: #fff; }
.contact .btn { width: 100%; }

/* Rodapé */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot .wrap { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; }
.foot li { margin-bottom: 7px; }
.foot a { color: var(--graphite); text-decoration: none; }
.foot a:hover { color: var(--red); text-decoration: underline; }
.foot .legal { margin-top: 14px; }

/* Páginas de case */
.case-hero { padding: 56px 0 48px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
@media (min-width: 900px) { .case-hero { padding: 80px 0 72px; } }
.case-hero .rings { position: absolute; right: -220px; top: -220px; width: 620px; height: 620px; opacity: .7; pointer-events: none; }
.case-hero .wrap { position: relative; }
.case-hero h1 { color: #fff; font-size: clamp(2rem, 5.4vw, 3.4rem); max-width: 14em; }
.case-hero .lead { color: #c6c9cd; }
.case-hero .eyebrow { color: #ff5c73; }
.crumb { font-size: .88rem; margin-bottom: 26px; color: #8d9197; }
.crumb a { color: #c6c9cd; }
.cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } }
.figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .figure { position: sticky; top: 104px; } }
.figure.tall { max-width: 440px; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stats b { display: block; font-size: clamp(1.35rem, 3.4vw, 1.8rem); font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stats span { display: block; font-weight: 500; margin: 6px 0; line-height: 1.3; }
.stats small { color: var(--muted); font-size: .85rem; line-height: 1.45; display: block; }
.stats.results { margin-top: 32px; }
.stats.results li { border-top: 4px solid var(--red); }
.stats.results b { color: var(--red); font-size: clamp(2rem, 5vw, 2.8rem); }
.stats.results span { font-weight: 400; color: var(--graphite); }
.quote { margin: 0; border-left: 4px solid var(--red); padding: 4px 0 4px 24px; max-width: 46em; }
.quote p { font-size: 1.18rem; color: var(--graphite); }
.quote footer { display: flex; align-items: center; gap: 14px; font-size: .95rem; margin-top: 8px; }
.quote footer img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.quote footer b { display: block; font-weight: 500; }
.quote footer span { color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.timeline { list-style: none; margin: 0 0 32px; padding: 0 0 0 24px; border-left: 2px solid var(--line); max-width: 50em; }
.timeline li { position: relative; padding: 0 0 28px 10px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -32px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 4px solid var(--red); }
.timeline .when { color: var(--red); font-weight: 500; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 8px; }
.timeline p { color: var(--muted); }
.next { display: flex; flex-wrap: wrap; gap: 10px; }

/* Página não encontrada */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Anéis da abertura: discretos no celular, afastados do texto no computador */
@media (max-width: 899px) { .hero .rings { width: 380px; height: 380px; right: -200px; top: -150px; opacity: .55; } .case-hero .rings { width: 340px; height: 340px; right: -190px; top: -170px; opacity: .5; } }
@media (min-width: 900px) { .hero .rings { right: -230px; top: -120px; } }
@media (min-width: 900px) { .hero .rings { top: -230px; } }
@media (max-width: 899px) { .hero .rings { right: -230px; top: -190px; } }
