/* =========================================================================
   PubliHora — Sistema visual (newsroom media-kit)
   Paleta: laranja Primeira Hora (#FF8001) / grafite / papel
   Tipos:  Archivo (display) · Newsreader (editorial) · Inter (UI)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #14161a;
  --ink-2:      #202227;
  --ink-3:      #30333a;
  --paper:      #ffffff;
  --paper-2:    #f6f5f2;   /* seção alternada, cinza quente discreto */
  --paper-3:    #eeece7;
  --line:       #e6e4df;   /* hairline */
  --line-2:     #d7d4cd;
  --gray:       #63676e;   /* texto secundário */
  --gray-2:     #8b9098;
  --red:        #ff8001;   /* LARANJA Primeira Hora — accent principal (#FF8001) */
  --red-deep:   #e06f00;
  --red-tint:   #fff2e2;

  /* Sistema de cores extraído do Primeira Hora (aliases oficiais) */
  --ph-primary:   #ff8001;
  --ph-secondary: #121316;
  --ph-accent:    #e06f00;
  --ph-dark:      #121316;
  --ph-surface:   #f6f5f2;
  --ph-light:     #ffffff;
  --ph-white:     #ffffff;
  --ph-text:      #14161a;
  --ph-muted:     #63676e;
  --ph-border:    #e6e4df;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-serif:   "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(22,24,29,.06), 0 10px 30px rgba(22,24,29,.07);
  --shadow-lg: 0 24px 60px rgba(22,24,29,.16);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Escala vertical de seções (consistência de respiro) */
  --space-section-desktop: 96px;
  --space-section-tablet:  72px;
  --space-section-mobile:  56px;

  /* Largura a partir da qual o menu vira hambúrguer (evita menu espremido) */
  --nav-break: 1180px;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-section-mobile), 8vw, var(--space-section-desktop)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--gray { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #eceef2; }
.section--dark p { color: #b7bcc6; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }

/* ---------- Signature: kicker + dateline ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-ui); font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  padding: .34em .6em .34em .55em;
  background: var(--red-tint);
  border-left: 3px solid var(--red);
  border-radius: 0 2px 2px 0;
}
.section--dark .kicker { background: rgba(255,128,1,.16); color: #ffb066; }
.kicker--sm { font-size: .62rem; letter-spacing: .14em; padding: .25em .5em; }
.dateline {
  font-family: var(--font-ui); font-weight: 600; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gray);
  display: inline-flex; align-items: center; gap: .6em;
}
.dateline::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section--dark .dateline { color: var(--gray-2); }

/* ---------- Section heading block ---------- */
.head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: .7rem 0 .6rem; }
.head p { color: var(--gray); font-size: 1.06rem; margin: 0; }
.section--dark .head p { color: #b7bcc6; }
.head--center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-ui); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; line-height: 1;
  padding: .95em 1.4em; border: 1.5px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,128,1,.28); }
.btn--dark  { --btn-bg: var(--ink); }
.btn--dark:hover { box-shadow: 0 10px 22px rgba(22,24,29,.28); background: var(--ink-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.section--dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--wa::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.3); }
.btn--lg { font-size: 1rem; padding: 1.1em 1.7em; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.textlink { color: var(--red); font-weight: 600; border-bottom: 1px solid rgba(255,128,1,.35); transition: border-color .15s; }
.textlink:hover { border-color: var(--red); }
.section--dark .textlink { color: #ffb066; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(22,24,29,.06); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 1.75rem); height: 82px; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(.7rem, 1.4vw, 1.35rem); list-style: none; }
.nav li { white-space: nowrap; }
.nav a { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1; font-size: .93rem; font-weight: 500; color: var(--ink-2); position: relative; padding: .3em 0; }
.nav a:hover { color: var(--red); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red); transition: width .2s var(--ease); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.lang-switch { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--gray); border: 1px solid var(--line-2); border-radius: 20px; padding: .35em .7em; }
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Brand wordmark (logo em HTML/CSS) ---------- */
.brand { display: inline-flex; flex-direction: column; line-height: 1; gap: .18rem; }
.brand-mark {
  font-family: var(--font-display); font-weight: 900; font-size: 1.78rem;
  letter-spacing: -.03em; color: var(--ink); display: inline-flex; align-items: center;
}
.brand-mark b { color: var(--red); font-weight: 900; }
.brand-mark::before { content: ""; width: 13px; height: 13px; background: var(--red); border-radius: 3px; margin-right: .55rem; align-self: center; box-shadow: 0 0 0 3px var(--red-tint); }
.brand-sub { font-family: var(--font-ui); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-left: 1.85rem; margin-top: .05rem; }
.site-header.is-scrolled .brand-sub { color: var(--gray); }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-sub { color: var(--gray-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 88% 0%, #fdeaea 0%, rgba(253,234,234,0) 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); margin: 1rem 0 1.1rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-family: var(--font-serif); font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin-bottom: 1.6rem; }
.hero-actions { margin-bottom: 1.3rem; }
.hero-note { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--gray); }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--red); }
.hero-portal-link { display: inline-block; margin-top: .3rem; }

/* Mockup do portal (moldura CSS + imagem JPG dentro) */
.device-stack { position: relative; }
.browser {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .8rem; background: #f2f1ee; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcdc7; }
.browser-bar span { margin-left: .6rem; font-size: .68rem; color: var(--gray); font-family: var(--font-ui); letter-spacing: .02em; }
.browser img { width: 100%; display: block; }
.phone {
  position: absolute; right: -8px; bottom: -26px; width: 34%; min-width: 132px;
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 5px solid var(--ink); box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; display: block; }
.device-stamp {
  position: absolute; left: -14px; top: 22px; z-index: 3;
  background: var(--red); color: #fff; font-family: var(--font-ui);
  font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  padding: .5em .8em; border-radius: 3px; box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

/* ---------- Solutions ticker ---------- */
.ticker { background: var(--ink); color: #fff; border-block: 1px solid var(--ink-3); }
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; padding: 1.05rem 0; }
.ticker-item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: #e7e9ee; }
.ticker-item::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

/* ---------- Feature / why grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split > *, .hero-grid > *, .grid > *, .steps > *, .examples-grid > *, .form-grid > * { min-width: 0; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { font-size: 1.18rem; margin: .8rem 0 .5rem; }
.card p { color: var(--gray); font-size: .96rem; margin: 0; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.section--dark .card p { color: #aeb4be; }
.card-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--red); }

/* ---------- Service cards (com imagem) ---------- */
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-3); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-media .kicker { position: absolute; left: .8rem; top: .8rem; z-index: 2; }
.service-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.service-body p { color: var(--gray); font-size: .96rem; flex: 1; }
.service-body .service-cta { margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
.service-card:hover .service-cta { gap: .7rem; }

/* ---------- Editorias (chips que linkam pro portal) ---------- */
.editorias { display: flex; flex-wrap: wrap; gap: .7rem; }
.editoria {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6em 1em; border: 1px solid var(--line-2); border-radius: 40px;
  font-weight: 600; font-size: .92rem; color: var(--ink-2);
  transition: all .18s var(--ease); background: var(--paper);
}
.editoria::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.editoria:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 1.6rem 1.2rem; border-top: 3px solid var(--line); }
.step.is-active, .step:hover { border-top-color: var(--red); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--red); display: block; margin-bottom: .5rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ---------- Examples ---------- */
.examples-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(3, 1fr); }
.example-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.example-thumb { display: block; aspect-ratio: 16/10.5; overflow: hidden; background: var(--ink); }
.example-thumb img { width: 100%; height: 100%; object-fit: cover; }
.example-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.example-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.example-snippet { font-size: .84rem; color: var(--gray); line-height: 1.4; }
.example-cta { margin-top: auto; font-family: var(--font-ui); font-weight: 700; font-size: .82rem; color: var(--red); letter-spacing: .01em; }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-btn { padding: .5em 1em; border: 1px solid var(--line-2); border-radius: 30px; background: #fff; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.filter-btn.is-active, .filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Benefícios do portal (frase contínua + marcador) ---------- */
.portal-benefits { list-style: none; margin: 1.3rem 0 0; padding: 0; }
.portal-benefits li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.portal-benefits li:last-child { border-bottom: 0; }
.portal-benefits p { margin: 0; line-height: 1.55; color: var(--ink-2); }
.portal-benefits strong { font-family: var(--font-display); font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.benefit-marker { flex: 0 0 auto; width: 8px; height: 8px; margin-top: .58em; border-radius: 2px; background: var(--red); }

/* ---------- Audience ---------- */
.audience { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
.aud-item { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.aud-item::before { content: ""; margin-top: .45em; width: 8px; height: 8px; flex: 0 0 auto; background: var(--red); border-radius: 2px; }
.aud-item b { font-weight: 700; }

/* ---------- Editorial links (SEO content) ---------- */
.editorial-list { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.editorial-link { display: flex; align-items: baseline; gap: 1rem; padding: 1.15rem .4rem; border-bottom: 1px solid var(--line); transition: padding .18s var(--ease); }
.editorial-link:hover { padding-left: 1rem; }
.editorial-link .el-idx { font-family: var(--font-ui); font-weight: 700; font-size: .78rem; color: var(--gray-2); letter-spacing: .04em; flex: 0 0 auto; }
.editorial-link .el-title { font-family: var(--font-serif); font-size: 1.14rem; font-weight: 600; color: var(--ink); }
.editorial-link:hover .el-title { color: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; background: none; border: 0; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.01em; }
.faq-q::after { content: ""; flex: 0 0 auto; width: 13px; height: 13px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: .2rem; }
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 0 1.35rem; color: var(--gray); max-width: 68ch; }
.faq-a-inner p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: #b7bcc6; max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.08rem; }

/* ---------- Briefing form ---------- */
.form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.form-grid { display: grid; gap: 1.1rem 1.4rem; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: .96rem; color: var(--ink);
  padding: .72em .85em; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,128,1,.12); }
/* Etapa 2 do formulário — toggle e painel de detalhes */
.form-advanced-toggle {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem;
  background: none; border: 1.5px dashed var(--line-2); border-radius: var(--radius);
  padding: .7em 1.1em; font-family: var(--font-ui); font-weight: 700; font-size: .88rem;
  color: var(--ink-2); transition: border-color .15s, color .15s, background .15s;
}
.form-advanced-toggle:hover { border-color: var(--red); color: var(--red); background: var(--red-tint); }
.form-advanced-toggle .fa-plus { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.form-advanced-toggle .fa-plus::before,
.form-advanced-toggle .fa-plus::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .2s var(--ease); }
.form-advanced-toggle .fa-plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.form-advanced-toggle .fa-plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.form-advanced-toggle.is-open .fa-plus::after { transform: scaleY(0); }
.form-advanced { margin-top: 1.1rem; }

.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; align-items: center; }
.form-status { font-size: .9rem; font-weight: 600; margin-top: 1rem; min-height: 1.2em; }
.form-status.is-error { color: var(--red-deep); }
.form-status.is-ok { color: #1a7f37; }
.form-hint { font-size: .82rem; color: var(--gray); margin-top: .6rem; }

/* ---------- Prose (blog / legais) ---------- */
.prose { font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.72; color: #26282e; max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 2.2rem 0 .8rem; letter-spacing: -.02em; }
.prose h3 { font-family: var(--font-display); font-size: 1.28rem; margin: 1.8rem 0 .6rem; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--red); border-bottom: 1px solid rgba(255,128,1,.35); }
.prose a:hover { border-color: var(--red); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose blockquote { margin: 1.6rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--red); font-style: italic; color: var(--ink-2); }
.prose .lead { font-size: 1.32rem; line-height: 1.5; color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { font-family: var(--font-ui); font-size: .8rem; color: var(--gray); display: flex; flex-wrap: wrap; gap: .4rem; padding: 1.2rem 0 0; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--line-2); }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { padding: clamp(2rem,5vw,3.5rem) 0 clamp(1.5rem,3vw,2.5rem); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; margin: .8rem 0 .8rem; }
.page-hero .page-lead { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }

/* ---------- Callout / aviso ---------- */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--paper-2); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .96rem; color: var(--ink-2); }
.callout b { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7cbd3; padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--ink-3); }
.footer-col h4 { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { font-size: .92rem; color: #c7cbd3; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: .92rem; color: #9aa0aa; max-width: 34ch; margin: 1rem 0; }
.footer-contact { display: grid; gap: .5rem; margin-top: 1rem; }
.footer-contact a { font-weight: 600; color: #fff; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .82rem; color: #8b909a; }
.footer-legal a:hover { color: #fff; }
.site-credit { margin: .6rem 0 0; font-size: .84rem; color: #9aa0aa; }
.site-credit .dev-link { color: #fff; font-weight: 600; border-bottom: 1px solid var(--red); }
.site-credit .dev-link:hover { color: var(--red); }
.partner-note { font-size: .8rem; color: #8b909a; margin-top: .8rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7em 1.1em; z-index: 200; border-radius: 0 0 4px 0; }
.skip:focus { left: 0; }

/* ---------- Captions (capturas reais) ---------- */
.caption { font-family: var(--font-ui); font-size: .82rem; color: var(--gray); margin-top: .8rem; display: flex; align-items: center; gap: .5rem; }
.caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.section--dark .caption { color: var(--gray-2); }

/* ---------- Hero: overlay de matéria ---------- */
.device-materia { position: absolute; left: -16px; bottom: 30px; width: 40%; min-width: 158px; border-radius: 7px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow-lg); z-index: 2; }
.device-materia img { display: block; width: 100%; }

/* ---------- Composição de capturas (2 imagens) ---------- */
.capture-duo { position: relative; }
.capture-duo .browser + .browser { margin-top: 1rem; }
.capture-mini { position: absolute; right: -14px; bottom: -22px; width: 30%; min-width: 118px; border-radius: 16px; overflow: hidden; border: 5px solid var(--ink); box-shadow: var(--shadow-lg); z-index: 3; }
.capture-mini img { display: block; width: 100%; }

/* ---------- Editorias visuais ---------- */
.editorias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.editoria-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; border: 1px solid var(--line); box-shadow: var(--shadow); }
.editoria-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.editoria-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,19,22,.9) 4%, rgba(18,19,22,.2) 55%, rgba(18,19,22,0) 100%); }
.editoria-card:hover img { transform: scale(1.06); }
.ec-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; z-index: 2; color: #fff; }
.ec-name { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; display: flex; align-items: center; gap: .5rem; letter-spacing: -.01em; }
.ec-name::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }
.ec-desc { font-size: .84rem; color: #dcdfe4; margin-top: .2rem; }

/* ---------- Serviços: anotação sobre a imagem ---------- */
.anno { position: absolute; z-index: 3; right: .7rem; bottom: .7rem; background: var(--red); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: .68rem; letter-spacing: .02em; padding: .4em .65em; border-radius: 3px; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: .4rem; }
.anno::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ---------- Processo com imagem ---------- */
.process-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.process-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--ink-3); }
.steps-list { counter-reset: step; display: grid; gap: 0; }
.step-row { display: flex; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--ink-3); align-items: flex-start; }
.step-row:first-child { border-top: none; }
.step-row::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--red); flex: 0 0 auto; width: 1.9rem; line-height: 1.3; }
.step-row h3 { font-size: 1.06rem; margin-bottom: .15rem; color: #fff; }
.step-row p { font-size: .92rem; color: #aeb4be; margin: 0; }

/* ---------- Públicos: mosaico ---------- */
.publicos-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: .8rem; }
.publicos-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); display: block; min-height: 150px; }
.publicos-mosaic .pm-tall { grid-row: 1 / span 2; }

/* ---------- Agências: imagem principal ---------- */
.agencia-media { position: relative; }
.agencia-media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }
.mods-list { display: grid; gap: .6rem; margin-top: 1.2rem; }
.mod-item { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mod-item b { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.mod-item span { font-size: .88rem; color: var(--gray); }
.mod-item::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 2px; margin-top: .35em; flex: 0 0 auto; }

/* ---------- Blog cards visuais ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bc-media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); }
.bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .bc-media img { transform: scale(1.05); }
.bc-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.bc-title { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; line-height: 1.14; letter-spacing: -.01em; }
.bc-desc { font-size: .9rem; color: var(--gray); flex: 1; }
.bc-more { font-weight: 700; font-size: .84rem; color: var(--red); }

/* ---------- FAQ com composição lateral ---------- */
.faq-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside .browser { margin-bottom: 0; }
.aside-call { margin-top: 1.2rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.aside-call h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.aside-call p { font-size: .9rem; color: var(--gray); margin-bottom: 1rem; }

/* ---------- CTA / formulário em duas colunas ---------- */
.form-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem,4vw,3.2rem); align-items: start; }
.form-visual .browser { border-color: var(--ink-3); }
.form-visual .benefit { display: flex; gap: .6rem; align-items: flex-start; margin: .7rem 0; font-size: .96rem; color: #c7cbd3; }
.form-visual .benefit::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 2px; margin-top: .45em; flex: 0 0 auto; }
.form-contacts { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }

/* ---------- Transparência (aviso integrado) ---------- */
.transparency { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--paper); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.transparency .t-badge { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); white-space: nowrap; padding-top: .1rem; }
.transparency p { margin: 0; font-size: .94rem; color: var(--ink-2); }

/* =========================================================================
   Responsivo
   ========================================================================= */
/* Menu vira hambúrguer ANTES de o desktop ficar espremido (≤1180px).
   Acima disso, todos os itens ficam em uma única linha (white-space:nowrap). */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; order: 3;
    width: 44px; height: 44px; margin-left: .4rem; background: none; border: 1px solid var(--line-2); border-radius: 8px;
  }
  .brand { margin-right: auto; }
  .nav-toggle i { display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .25s var(--ease), opacity .2s; }
  .nav-open .nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle i:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-inner { flex-wrap: wrap; }
  .header-cta { margin-left: .6rem; }
  .site-header { background: rgba(255,255,255,.96); border-color: var(--line); }
  .nav {
    position: fixed; inset: 82px 0 auto 0; margin: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav-open .nav { max-height: 80vh; overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: .95em 0; font-size: 1rem; }
  .nav a::after { display: none; }
  .header-cta .lang-switch { display: inline-flex; }
}

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .device-stack { max-width: 520px; margin: 1.5rem auto 2rem; }
  .split, .hero-grid { gap: 2.2rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }

  .grid--4, .grid--3, .grid--2, .steps, .examples-grid, .audience, .editorial-list, .form-grid, .split, .footer-top { grid-template-columns: 1fr; }
  .footer-top { gap: 1.6rem; }
  .phone { width: 40%; right: -4px; bottom: -18px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .cta-final h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: auto; }
  .hero-actions.btn-row .btn { width: 100%; }
}

@media (max-width: 380px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .brand-sub { display: none; }
}

/* ---------- Responsivo: componentes v2 ---------- */
@media (max-width: 980px) {
  .editorias-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-split, .faq-split, .form-split { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .capture-mini { width: 34%; }
}
@media (max-width: 720px) {
  .editorias-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .publicos-mosaic { grid-template-columns: 1fr 1fr; }
  .device-materia { width: 44%; left: -8px; bottom: 14px; }
  .transparency { grid-template-columns: 1fr; }
  .ec-name { font-size: 1rem; }
}
@media (max-width: 380px) {
  .editorias-grid { grid-template-columns: 1fr; }
}
