/* Newsletter, Portal Publicitário. Mesmo visual da tabela de preços e do mídia kit: branco, navy e laranja nos destaques. */
:root {
  --navy: #152242; --navy-2: #24345f; --orange: #fda006; --white: #fff; --soft: #f4f5f8; --soft-2: #eaecf2; --line: #e4e7ee; --muted: #646d86;
  --display: "Outfit", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --container: 1200px; --pad: clamp(20px, 2.4vw, 28px); --radius: 28px;
  --shadow: 0 1px 2px rgba(21, 34, 66, .04), 0 18px 40px -26px rgba(21, 34, 66, .28);
  --shadow-lg: 0 2px 6px rgba(21, 34, 66, .05), 0 40px 80px -40px rgba(21, 34, 66, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --card: 300px; --card-gap: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.8vw, 64px); }
h2 { font-size: clamp(24px, 2.4vw, 32px); }
h1 em { font-style: normal; color: var(--orange); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 640px; text-wrap: balance; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .25s, opacity .25s; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 14px 28px -16px rgba(21, 34, 66, .8); }
.btn--navy:hover { background: var(--navy-2); }
.btn--soft { background: var(--soft); }
.btn--soft:hover { background: var(--soft-2); }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: #ffb53a; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--sm .ic { width: 16px; height: 16px; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* nav */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav__inner { pointer-events: auto; width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; height: 62px; padding: 0 10px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 2px rgba(21, 34, 66, .05), 0 16px 36px -22px rgba(21, 34, 66, .35); }
.nav__logo img { width: 160px; }
.nav__actions { display: flex; gap: 8px; }

/* hero: centralizado direto no fundo da página */
.hero { padding: clamp(96px, 9vw, 112px) 0 clamp(28px, 3vw, 40px); background: var(--soft); }
.panel { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(36px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(8px, 1vw, 16px); color: var(--navy); }
.panel > * { position: relative; }
.panel h1 { max-width: 880px; color: var(--navy); }
.panel h1 mark { background: none; color: var(--orange); padding: 0; white-space: nowrap; }
.panel .lead { color: var(--muted); max-width: 760px; }
.panel h1 { text-wrap: initial; }
/* título em duas linhas fixas em qualquer tela: a letra acompanha a largura (linha 1 = 14,3x o tamanho) */
.panel .h1-2l { max-width: none; font-size: min(62px, calc((100vw - 48px) / 14.6)); line-height: 1.12; }
.h1-2l > span { display: block; white-space: nowrap; }
.br-m { display: none; }
/* três linhas em qualquer tela (linha mais longa = 11x o tamanho) */
.panel .h1-2l.h1-3l { font-size: min(68px, calc((100vw - 48px) / 11.2)); line-height: 1.1; }
.panel .lead { text-wrap: initial; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 13.5px; font-weight: 600; }
.badge .ic { width: 16px; height: 16px; }

.signup { display: flex; gap: 8px; width: min(100%, 680px); margin-top: 8px; padding: 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-lg); }
.field { flex: 1; min-width: 0; display: flex; }
.field--email { flex: 1.35; }
.field input { width: 100%; height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; background: var(--soft); color: var(--navy); outline: none; transition: border-color .2s, background .2s; }
.field input::placeholder { color: #8e95aa; }
.field input:focus { border-color: var(--navy); }
.field input[aria-invalid="true"] { border-color: #d64545; background: #fff6f6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup__note { font-size: 13.5px; font-weight: 600; color: #c23a3a; }
.signup__note:empty { display: none; }

/* pop-up depois do cadastro */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(21, 34, 66, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: modal-fade .3s var(--ease) both; }
.modal__card { position: relative; width: min(100%, 460px); display: grid; justify-items: center; gap: 14px; text-align: center; padding: 36px 30px 26px; border-radius: 30px; background: var(--white); box-shadow: 0 40px 90px -30px rgba(10, 18, 40, .6); animation: modal-pop .5s var(--ease) both; }
.modal__card:focus { outline: none; }
.modal__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); }
.modal__icon .ic { width: 28px; height: 28px; stroke-width: 2; }
.modal h2 { font-size: 30px; font-weight: 600; }
.modal p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.modal p strong { color: var(--navy); font-weight: 600; word-break: break-word; }
.modal .modal__tip { font-size: 13px; padding: 12px 16px; border-radius: 16px; background: var(--soft); }
.modal__go { width: 100%; margin-top: 6px; }
.modal__bar { width: 100%; height: 4px; border-radius: 4px; background: var(--soft-2); overflow: hidden; }
.modal__bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; animation: modal-bar 8s linear both; }
.modal .modal__count { font-size: 12.5px; }
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes modal-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14px; color: var(--muted); font-weight: 500; }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks .ic { width: 18px; height: 18px; color: var(--navy); }

/* miniaturas reais das matérias que estão na frente para a próxima edição */
.next { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); text-align: left; max-width: 100%; }
.next__faces { display: flex; flex: none; }
.next__faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); background: var(--soft-2); }
.next__faces img + img { margin-left: -12px; }
.next p { display: grid; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.next strong { color: var(--navy); font-weight: 600; }
.next span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* últimas matérias em duas fileiras que correm em sentidos opostos */
.latest { padding: clamp(24px, 3vw, 36px) 0 clamp(64px, 7vw, 96px); overflow: hidden; background: var(--soft); }
.latest__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.latest__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--navy); white-space: nowrap; }
.latest__more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.latest__more:hover .ic { transform: translateX(3px); }
.rail { position: relative; overflow: hidden; padding: 6px 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rail + .rail { margin-top: 4px; }
.rail__track { display: flex; width: max-content; animation: rail-left var(--dur, 60s) linear infinite; }
.rail[data-dir="right"] .rail__track { animation-name: rail-right; }
.rail:hover .rail__track, .rail:focus-within .rail__track { animation-play-state: paused; }
@keyframes rail-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rail-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.post { flex: none; width: var(--card); margin-right: var(--card-gap); display: grid; gap: 12px; align-content: start; padding: 10px 10px 16px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post__img { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--soft-2); }
/* etiqueta igual à do site: cor sólida da editoria, texto branco em maiúsculas, no canto da foto */
.post__tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 5px; background: var(--tag, var(--navy)); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { padding: 0 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.post__title { padding: 0 6px; font: 600 17px/1.3 var(--display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.post--sk .post__meta, .post--sk .post__title { height: 14px; border-radius: 8px; background: var(--soft-2); }
.post--sk .post__title { height: 40px; margin-right: 30px; }

.foot { background: var(--navy); color: #aab3cc; padding-block: 26px; font-size: 13px; }
.foot__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.foot a { color: var(--white); }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .br-d { display: none; }
  .panel .lead { font-size: 14px; }
  /* celular: três linhas e letra maior (linha mais longa = 11,5x o tamanho) */
  .panel .h1-2l { font-weight: 600; font-size: min(40px, calc((100vw - 40px) / 11.8)); line-height: 1.1; }
  .br-m { display: inline; }
  .panel .h1-2l.h1-3l { font-size: min(40px, calc((100vw - 40px) / 11.4)); }
  .panel h1, .panel .lead { text-wrap: balance; }
  :root { --radius: 22px; --card: 248px; --card-gap: 14px; }
  .nav { inset: 10px 0 auto; }
  .nav__inner { height: 54px; padding-left: 18px; }
  .nav__logo img { width: 136px; }
  .btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
  .nav__actions { gap: 6px; }
  .nav__inner { padding-right: 8px; }
  .hero { padding-top: 76px; }
  .hero .container { width: min(100% - 20px, var(--container)); }
  .panel { gap: 18px; padding: 36px 4px 24px; }
  h1 { font-size: clamp(32px, 9vw, 40px); }
  .badge { height: 32px; font-size: 12.5px; padding: 0 14px; }
  .next { padding: 8px 14px 8px 8px; gap: 10px; }
  .next__faces img { width: 32px; height: 32px; }
  .next p { font-size: 12px; }
  .signup { flex-direction: column; border-radius: 26px; padding: 10px; }
  .field input { height: 48px; }
  .btn { height: 48px; font-size: 14.5px; }
  .perks { gap: 6px 12px; font-size: 12.5px; flex-wrap: nowrap; }
  .perks li { gap: 5px; white-space: nowrap; }
  .perks .ic { width: 15px; height: 15px; }
  .post__title { font-size: 15.5px; }
  .modal__card { padding: 30px 22px 22px; gap: 12px; border-radius: 26px; }
  .modal__icon { width: 56px; height: 56px; }
  .modal h2 { font-size: 26px; }
  .modal p { font-size: 14px; }
  .modal .modal__tip { font-size: 12.5px; }
}
@media (max-width: 420px) {
  .nav__logo img { width: 118px; }
  .nav__actions .btn--soft span { display: none; }
  .nav__actions .btn--soft { width: 36px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rail__track { animation: none; padding-inline: var(--pad); }
}
