/* Mídia27 — Fundadores v5. Redesign visual em light mode: fundo claro, cards
   brancos com sombra suave, botões em pílula, na paleta da marca (laranja e
   terracota como destaque, navy como cor de texto). */

/* Fontes servidas pela própria página (subconjunto latino, fontes variáveis;
   licença em fonts/OFL.txt). As "Fallback" usam a Arial com métricas ajustadas
   à Inter/Sora para o texto não pular quando a fonte final carrega. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto');
  size-adjust: 105.57%;
  ascent-override: 91.76%;
  descent-override: 22.85%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Sora Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial'), local('Liberation Sans'), local('Roboto');
  size-adjust: 106.55%;
  ascent-override: 91.04%;
  descent-override: 27.22%;
  line-gap-override: 0%;
}

:root {
  --navy: #001d33;
  --navy-deep: #faf9f6;
  --navy-mid: #f3efe6;
  --panel: #ffffff;
  --panel-border: rgba(0, 29, 51, 0.10);
  --orange: #ff4103;
  --terracotta: #892004;
  --white: #ffffff;
  --ink-soft: #33475a;
  --ink-mute: #5f7386;
  --shadow-card: 0 1px 2px rgba(0,29,51,.04), 0 10px 30px rgba(0,29,51,.07);
  --font-display: 'Sora', 'Sora Fallback', sans-serif;
  --font-body: 'Inter', 'Inter Fallback', sans-serif;
  --header-h: 72px;
  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: #ff6a35; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; }
p { margin: 0; line-height: 1.6; color: var(--ink-soft); }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; scroll-margin-top: var(--header-h); position: relative; }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.section-title { font-size: 30px; margin-top: 10px; color: var(--navy); }
@media (min-width: 768px) { section { padding: 110px 0; } .section-title { font-size: 42px; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 16px 30px; border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 0 0 rgba(255,65,3,0); transition: box-shadow .2s ease, transform .2s ease; }
.btn-primary:hover { color: var(--white); box-shadow: 0 12px 30px rgba(255,65,3,.35); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(0,29,51,.22); }
.btn-ghost:hover { color: var(--navy); border-color: var(--orange); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(250, 249, 246, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
  display: flex; align-items: center;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header .logo img { height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .anchor-link { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.header-actions .btn { padding: 11px 22px; font-size: 13px; min-height: 44px; }
/* celular: só cabe um botão ao lado do logo — "Ver planos" vira o botão e o
   WhatsApp fica com a barra fixa, o botão flutuante e os CTAs da página */
@media (max-width: 639px) {
  .header-actions .header-wa { display: none; }
  .header-actions .anchor-link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 11px 22px;
    border-radius: 999px; background: var(--orange); color: var(--white);
    font-weight: 700; font-size: 13px;
  }
  .header-actions .anchor-link:hover { color: var(--white); }
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(255,65,3,.4), 0 4px 14px rgba(0,29,51,.18);
}
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float { transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s; }
/* some enquanto a barra do plano principal está na tela (a barra já tem CTA de WhatsApp) */
body.has-plan-bar .whatsapp-float { opacity: 0; transform: scale(.8); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }

/* ---------- Barra fixa do plano principal (< 1.200px) ---------- */
/* escondida por padrão (inclusive sem JS); o js/main.js adiciona .is-visible */
.plan-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--panel-border); box-shadow: 0 -8px 24px rgba(0,29,51,.08);
  transform: translateY(100%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.plan-bar.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
.plan-bar-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 44px; }
.plan-bar-name { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.plan-bar-price { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--navy); }
.plan-bar-price .unit { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-mute); }
.plan-bar-cta { flex-shrink: 0; padding: 12px 18px; font-size: 13px; min-height: 44px; }
@media (min-width: 1200px) { .plan-bar { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .plan-bar, .plan-bar.is-visible, .whatsapp-float, body.has-plan-bar .whatsapp-float { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 80px;
  background:
    radial-gradient(ellipse 900px 600px at 85% -10%, var(--navy-mid) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 100%, rgba(255,65,3,.08) 0%, transparent 55%),
    var(--navy-deep);
  scroll-margin-top: 0;
}
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
/* desktop: texto e foto alinhados ao topo; números numa faixa própria abaixo dos dois */
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "copy photo" "stats stats"; }
  .hero-copy { grid-area: copy; align-self: start; }
  .hero .stat-trio { grid-area: stats; margin-top: 0; }
}
@media (max-width: 979px) { .hero { padding: 40px 0 56px; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.badge {
  background: rgba(255,65,3,.10); border: 1px solid rgba(255,65,3,.35); color: var(--orange);
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  border-radius: 999px; padding: 10px 18px; width: fit-content; display: inline-flex; align-items: center; gap: 9px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); flex-shrink: 0; }
@media (max-width: 420px) {
  .badge { font-size: 10.5px; letter-spacing: .03em; padding: 8px 13px; white-space: nowrap; }
}
.hero .badge { background: transparent; border: 1px dashed rgba(255,65,3,.40); }
.hero h1 { font-size: 38px; color: var(--navy); }
.hero h1 .hl { color: var(--orange); }
@media (min-width: 640px) { .hero h1 { font-size: 52px; } }
.hero .subtitle { font-size: 17px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
/* CTA principal da hero: laranja com volume (luz em cima e embaixo, sombra suave) */
.hero-ctas .btn-primary {
  min-height: 48px; padding: 14px 28px;
  background-color: var(--orange);
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,0) 40%),
    linear-gradient(to top, rgba(255,255,255,.10), rgba(255,255,255,0) 40%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(137,32,4,.28),
    inset 0 4px 8px rgba(255,255,255,.08),
    0 6px 10px -4px rgba(255,65,3,.38),
    0 2px 4px -1px rgba(137,32,4,.18),
    0 1px 1px -.5px rgba(137,32,4,.18);
  transition: box-shadow .2s ease, transform .2s ease;
}
.hero-ctas .btn-primary:hover {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.26), rgba(255,255,255,0) 40%),
    linear-gradient(to top, rgba(255,255,255,.14), rgba(255,255,255,0) 40%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(137,32,4,.28),
    inset 0 4px 8px rgba(255,255,255,.10),
    0 10px 18px -6px rgba(255,65,3,.45),
    0 3px 6px -2px rgba(137,32,4,.20);
}
.hero-ctas .btn-primary:active { transform: scale(.99); transition-duration: 30ms; }
.hero-ctas .btn-primary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* CTA secundário da hero: link com sublinhado pontilhado */
.hero-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--navy);
  background-image: radial-gradient(circle, rgba(255,65,3,.75) 1px, transparent 1.4px);
  background-size: 5px 3px; background-repeat: repeat-x; background-position: 0 calc(50% + 14px);
  transition: color .2s ease;
}
.hero-link:hover, .hero-link:focus-visible { color: var(--orange); }
.hero-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 699px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-primary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ctas .btn-primary, .hero-link { transition: none; }
  .hero-ctas .btn-primary:active { transform: none; }
}
.hero .support-line { font-size: 13px; color: var(--ink-mute); }
.hero-photo-card {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--panel-border); box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
}
.hero-photo-card picture { display: contents; }
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,13,26,0) 35%, rgba(0,13,26,.92) 100%);
}
.hero-photo-card .tag {
  position: absolute; z-index: 2; left: 18px; bottom: 18px; background: rgba(0,13,26,.75); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 14px;
  font-size: 12px; color: #dbe6ee; display: flex; align-items: center; gap: 8px;
}
.hero-photo-card .tag .live { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
/* desktop: foto quadrada que nunca fica mais baixa que o texto ao lado */
@media (min-width: 980px) {
  .hero-photo-card { grid-area: photo; align-self: stretch; aspect-ratio: auto; }
  .hero-photo-card img { height: auto; aspect-ratio: 1 / 1; min-height: 100%; }
}

/* ---------- Stat trio ---------- */
.stat-trio { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .stat-trio { grid-template-columns: repeat(3, 1fr); } }
/* celular: faixa compacta de 3 colunas (número + rótulo), sem ícone nem descrição */
@media (max-width: 699px) {
  .stat-trio { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
  .stat-trio .stat-card { padding: 18px 6px; gap: 6px; border-radius: 16px; }
  .stat-trio .stat-icon, .stat-trio .stat-desc { display: none; }
  .stat-trio .num { font-size: 34px; }
  .stat-trio .label { font-size: 10.5px; letter-spacing: .04em; line-height: 1.3; }
}
/* hero (< 980px): a faixa fica fora da coluna de texto; desconta o gap do grid (48px)
   para manter a distância de antes até a linha de apoio (22px + 40px / 22px + 28px) */
@media (min-width: 700px) and (max-width: 979px) { .hero .stat-trio { margin-top: 14px; } }
@media (max-width: 699px) { .hero .stat-trio { margin-top: 2px; } }
.stat-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .stat-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .stat-grid-4 .stat-card {
    padding: 22px 14px;
  }
  .stat-grid-4 .num {
    font-size: 36px;
  }
  .stat-grid-4 .label {
    font-size: 11px;
  }
}
.stat-card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px;
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,65,3,.12); color: var(--orange);
  margin-bottom: 6px;
}
.stat-icon svg { width: 26px; height: 26px; }
.stat-card .num { font-family: var(--font-display); font-weight: 700; font-size: 48px; color: var(--orange); line-height: 1; }
.stat-card .label { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); }
.stat-card .stat-desc { margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Atenção é o novo petróleo (insights de mercado) ---------- */
.insight-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card.insight .num { font-size: 40px; }
.stat-card.insight .stat-desc { font-size: 14px; }
.stat-card.insight .source { margin-top: 2px; font-size: 11px; color: var(--ink-mute); font-style: italic; }

/* ---------- Prova social (número em aberto + carrossel de logos placeholder) ---------- */
.social-proof-block { text-align: center; }
.social-proof-headline { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); }
.social-proof-value { color: var(--orange); font-weight: 700; }
.logo-marquee {
  margin-top: 20px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: logo-scroll 22s linear infinite; }
.logo-slot { display: flex; align-items: center; height: 28px; flex-shrink: 0; }
.logo-slot img { height: 100%; width: auto; opacity: .5; filter: grayscale(1); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee-track { animation: none; } }

/* ---------- Problema (flow + quote) ---------- */
.flow-steps { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin: 36px 0; }
.flow-step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-mute); }
.flow-step .n { color: var(--orange); font-weight: 700; }
.flow-step.final { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 12px; padding: 10px 16px; color: var(--navy); box-shadow: var(--shadow-card); }
.problema-copy { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }
.text-underline-accent {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.quote-card {
  margin-top: 36px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px;
  padding: 36px; max-width: 620px; box-shadow: var(--shadow-card);
}
.quote-card p { color: var(--ink-soft); font-size: 16px; }
.quote-card .highlight { display: block; margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--orange); }

/* ---------- Solução (foto grande) ---------- */
.solucao-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 20px; }
@media (min-width: 900px) { .solucao-grid { grid-template-columns: 0.9fr 1.1fr; } }
.ghost-num { font-family: var(--font-display); font-weight: 700; font-size: 88px; color: rgba(0,29,51,.05); line-height: 1; -webkit-text-stroke: 1px rgba(255,65,3,.3); }
.ghost-num::before { content: attr(data-n); } /* número decorativo desenhado pelo CSS: fora da leitura e da checagem de contraste */
.solucao-copy-col { display: flex; flex-direction: column; gap: 16px; }
.pill-accent {
  display: inline-block; background: transparent; color: inherit;
  border: 1px solid var(--orange);
  font-weight: 600; font-size: .92em; line-height: 1.5;
  border-radius: 999px; padding: 0 9px; margin: 0 1px;
}
.solucao-photo { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--panel-border); box-shadow: var(--shadow-card); }
.solucao-photo img { aspect-ratio: 5/4; object-fit: cover; }
.solucao-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,13,26,0) 35%, rgba(0,13,26,.92) 100%);
}

/* ---------- Formatos (Mídia Indoor / Outdoor de LED / Saco de Pão / TV Corporativa) ---------- */
.formatos-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .formatos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formatos-grid { grid-template-columns: repeat(4, 1fr); } }
.formato-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--panel-border); padding: 24px; min-height: 230px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card);
}
.formato-card.is-icon { background: radial-gradient(ellipse at top left, rgba(255,65,3,.07), transparent 70%), var(--panel); }
.formato-card.has-photo { justify-content: flex-end; }
.formato-card.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.formato-card.has-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,13,26,0) 25%, rgba(0,13,26,.94) 100%);
}
.formato-card.has-photo > * { position: relative; z-index: 2; }
.formato-card.has-photo .tipo-card-label { color: var(--white); }
.formato-card.has-photo p { color: #dbe6ee; }
.formato-card .tipo-card-icon {
  width: 42px; height: 42px; border-radius: 12px; color: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.formato-card.is-icon .tipo-card-icon { background: rgba(255,65,3,.12); }
.formato-card.has-photo .tipo-card-icon { background: rgba(0,13,26,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); }
.formato-card .tipo-card-icon svg { width: 22px; height: 22px; }
.formato-card .tipo-card-label { font-size: 17px; }
.formato-card p { font-size: 14px; }
/* link de contato no pé do card (WhatsApp; no Mídia Indoor, âncora para os planos) */
.formato-card .formato-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; width: fit-content;
  font-weight: 700; font-size: 14px; color: var(--orange);
}
.formato-card .formato-link svg { transition: transform .2s ease; }
.formato-card .formato-link:hover svg { transform: translateX(3px); }
.formato-card.has-photo .formato-link { margin-top: 0; }
.formato-card .pill-novo {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 65, 3, 0.10);
  border: 1px solid rgba(255, 65, 3, 0.28);
  border-radius: 999px;
  padding: 4px 11px;
  z-index: 3;
}
.formato-card .pill-novo .dot-novo {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

/* ---------- Planos ---------- */
.section-planos { background: linear-gradient(180deg, transparent, rgba(255,65,3,.05), transparent); }
.planos-lede { max-width: 640px; }
.planos-sub { color: var(--ink-mute); font-size: 14px; margin-top: 10px; }
/* carrossel com swipe abaixo de 1.200px (sangra até a borda da tela, card
   centralizado com a borda dos vizinhos visível); grid de 4 colunas a partir daí */
.plan-grid {
  display: flex; gap: 16px;
  margin: 40px -20px 0; padding: 8px 20px 36px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.plan-grid::-webkit-scrollbar { display: none; }
.plan-grid > .plan-card { flex: 0 0 min(calc(100vw - 64px), 380px); scroll-snap-align: center; }
/* sombra menor no carrossel: o overflow corta a sombra grande do card em destaque */
.plan-grid > .plan-card.featured { box-shadow: 0 10px 24px rgba(255,65,3,.14); }
@media (max-width: 480px) { .plan-card { padding: 24px; } }
@media (min-width: 1200px) {
  .plan-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center;
    margin: 40px 0 0; padding: 0; overflow: visible;
  }
  .plan-grid > .plan-card { flex: initial; padding: 24px; }
  .plan-grid > .plan-card.featured { box-shadow: 0 20px 50px rgba(255,65,3,.16); }
}

/* indicador de posição do carrossel: pontos (44px de toque) + nome do plano
   ativo, que só aparece com JS (é ele que mantém o nome sincronizado) */
.plan-dots { display: flex; justify-content: center; align-items: center; }
.plan-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 44px;
}
.plan-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(0,29,51,.22);
  transition: width .2s ease, background-color .2s ease;
}
.plan-dot:hover::before { background: rgba(0,29,51,.4); }
.plan-dot.is-active::before { width: 22px; background: var(--orange); }
.plan-dots-label { display: none; margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--navy); }
.plan-dots.is-enhanced .plan-dots-label { display: inline; }
@media (min-width: 1200px) { .plan-dots { display: none; } }

/* plano Sob medida: chamada no lugar do preço */
.plan-custom-hook { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--navy); }
.plan-custom-hook .hl { color: var(--orange); }
.plan-card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 24px;
  padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-card); min-width: 0;
}
.plan-card.featured {
  background: radial-gradient(ellipse at top, rgba(255,65,3,.16), var(--navy-mid) 65%);
  border-color: rgba(255,65,3,.5); box-shadow: 0 20px 50px rgba(255,65,3,.16);
}
.plan-ribbon {
  background: var(--terracotta); color: var(--white); font-weight: 700; font-size: 11px;
  letter-spacing: .07em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; width: fit-content;
}
.plan-eyebrow { color: var(--ink-mute); font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.plan-card.featured .plan-eyebrow { color: var(--orange); }
.plan-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); }
.plan-price { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--navy); }
.plan-price .unit { font-size: 16px; font-weight: 500; color: var(--ink-mute); }
.plan-per-tela { font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.plan-per-tela span { display: block; }
.plan-daily-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--orange);
  background: rgba(255, 65, 3, 0.10); border: 1px solid rgba(255, 65, 3, 0.25);
  padding: 4px 10px; border-radius: 999px; width: fit-content;
}
.plan-save-pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: #15803d;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 8px; border-radius: 999px;
}
.plan-features { margin: 6px 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.plan-features li > span { min-width: 0; }
.plan-features li strong { color: var(--navy); }
.plan-features svg { flex-shrink: 0; margin-top: 2px; }
.plan-card .btn {
  margin-top: auto; white-space: normal; text-align: center; line-height: 1.3;
  padding: 15px 20px; min-height: 52px;
}
.plan-note { font-size: 13px; color: var(--ink-mute); margin-top: 24px; text-align: center; }

/* ---------- Por que Dono do Segmento Vale Mais ---------- */
.section-dono-reasons {
  background: linear-gradient(180deg, rgba(255,65,3,.04), transparent 90%);
  padding: 60px 0;
}
.reasons-box {
  background: radial-gradient(ellipse at top, rgba(255,65,3,.10), var(--panel) 60%);
  border: 1px solid rgba(255,65,3,.3);
  border-radius: 28px;
  padding: 44px 32px;
  box-shadow: 0 16px 40px rgba(0,29,51,.06);
}
.reasons-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.reasons-header .eyebrow { display: inline-block; margin-bottom: 8px; }
.reasons-header h3 { font-size: 28px; color: var(--navy); }
.reasons-header p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }
}
.reason-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease;
}
.reason-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,65,3,.3);
}
.reason-card .reason-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,65,3,.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reason-card .reason-icon svg { width: 22px; height: 22px; }
.reason-card h4 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin: 0; }
.reason-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ---------- Benefícios (tiles) ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tile.tile-highlight { grid-column: span 2; }
}
.tile {
  background: radial-gradient(ellipse at top left, rgba(255,65,3,.07), transparent 70%), var(--panel);
  border: 1px solid var(--panel-border); border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card);
}
.tile .icon {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,65,3,.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tile .icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 16px; color: var(--navy); }
.tile p { font-size: 14px; }
.tile.tile-highlight { flex-direction: row; align-items: flex-start; gap: 18px; }
@media (max-width: 480px) { .tile.tile-highlight { flex-direction: column; } }

/* ---------- Como funciona ---------- */
.steps-row { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
@media (min-width: 860px) { .steps-row { flex-direction: row; } }
.step { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--orange); }
.step h3 { font-size: 16px; color: var(--navy); }
.step p { font-size: 14px; }
.step-arrow { display: none; color: var(--ink-mute); align-items: center; }
@media (min-width: 860px) { .step-arrow { display: flex; } }

/* ---------- Rede / segmentos ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 999px; padding: 9px 16px; font-size: 13px; color: var(--ink-soft); box-shadow: var(--shadow-card); }

/* pontos parceiros em 3 fitas automáticas no mobile (montadas pelo js/main.js
   a partir da .chip-row); sem JS, a lista acima aparece normalmente */
.chip-ribbons { display: none; }
@media (max-width: 767px) {
  /* lista original fora da tela visual, mas acessível a leitores de tela */
  .chip-row.has-ribbons {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .chip-ribbons {
    display: flex; flex-direction: column; gap: 6px; margin: 24px -20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
}
.chip-ribbon { overflow: hidden; padding: 2px 0 6px; }
.chip-ribbon-track { display: flex; width: max-content; animation: chip-scroll 40s linear infinite; }
.chip-ribbon:nth-child(2) .chip-ribbon-track { animation-duration: 34s; animation-direction: reverse; }
.chip-ribbon:nth-child(3) .chip-ribbon-track { animation-duration: 46s; }
/* margem (não gap) em cada chip: as duas cópias ficam com a mesma largura e o
   loop em -50% não dá "pulo" */
.chip-ribbon-track .chip { flex-shrink: 0; margin-right: 10px; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,29,51,.05), 0 4px 10px rgba(0,29,51,.05); }
.chip-ribbon:hover .chip-ribbon-track,
.chip-ribbon:active .chip-ribbon-track { animation-play-state: paused; }
@keyframes chip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .chip-ribbon { overflow-x: auto; scrollbar-width: none; padding-left: 20px; padding-right: 20px; }
  .chip-ribbon::-webkit-scrollbar { display: none; }
  .chip-ribbon-track { animation: none; }
}

/* ---------- Tipos de estabelecimento (bento grid) ---------- */
.tipos-sub { margin-top: 14px; max-width: 620px; color: var(--ink-mute); font-size: 15px; }
.tipo-card-label { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy); }

/* carrossel com rolagem horizontal no mobile; tamanhos variados preservam o "espírito bento" numa fileira só */
.tipos-bento {
  display: flex; gap: 14px; margin: 40px -20px 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px 20px 16px;
}
.tipos-bento::-webkit-scrollbar { display: none; }
.bento-tile {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--panel-border); display: flex; padding: 16px;
  scroll-snap-align: start; flex-shrink: 0; box-shadow: var(--shadow-card);
}
.bento-photo { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; height: 210px; flex: 0 0 66%; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bento-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,13,26,0) 35%, rgba(0,13,26,.92) 100%); }
.bento-photo .tipo-card-label { position: relative; z-index: 2; font-size: 17px; color: var(--white); }
.bento-photo .tipo-card-icon {
  position: relative; z-index: 2;
  width: 38px; height: 38px; border-radius: 11px; color: var(--orange);
  background: rgba(0,13,26,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bento-photo .tipo-card-icon svg { width: 20px; height: 20px; }
.bento-icon {
  flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; height: 210px; flex: 0 0 42%;
  background: radial-gradient(ellipse at top left, rgba(255,65,3,.07), transparent 70%), var(--panel);
}
.bento-icon .tipo-card-icon {
  width: 38px; height: 38px; border-radius: 11px; background: rgba(255,65,3,.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bento-icon .tipo-card-icon svg { width: 20px; height: 20px; }
/* destaque do fim do carrossel: mesma largura dos cards de plano e altura mínima
   (não fixa), para o texto nunca ser cortado */
.bento-callout {
  flex-direction: column; justify-content: center; gap: 8px;
  flex: 0 0 min(calc(100vw - 64px), 380px); min-height: 210px;
  background: linear-gradient(135deg, rgba(255,65,3,.14), var(--navy-mid) 75%);
  border-color: rgba(255,65,3,.4);
}
.bento-callout p { font-size: 14px; line-height: 1.55; }
.tipo-card-sub {
  font-size: 12px; color: var(--ink-mute); font-weight: 500; margin-top: 2px;
}
.bento-photo .tipo-card-sub {
  color: #e2e8f0; position: relative; z-index: 2; font-size: 12px;
}

/* ---------- Live Pulse Indicator ---------- */
.live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 999px;
  padding: 4px 10px;
  z-index: 3;
  line-height: 1;
}
.bento-photo .live-badge {
  color: #86efac;
  background: rgba(0, 18, 9, 0.65);
  border-color: rgba(34, 197, 94, 0.45);
  backdrop-filter: blur(6px);
}
.live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}
.live-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.65);
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes livePing {
  0% {
    transform: scale(0.8);
    opacity: 0.95;
  }
  70%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
@media (max-width: 480px) {
  .live-badge {
    padding: 3px 8px;
    font-size: 10px;
    top: 10px;
    right: 10px;
  }
  .live-badge .live-label {
    display: none;
  }
}

.chip .live-dot-mini {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
  flex-shrink: 0;
}
.chip .live-dot-mini::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.65);
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (min-width: 700px) {
  .tipos-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 135px;
    grid-template-rows: repeat(5, 135px) minmax(135px, auto); /* última linha (destaque) cresce com o texto */
    overflow: visible; padding: 0; margin-left: 0; margin-right: 0;
    grid-template-areas:
      "padaria padaria academia academia"
      "padaria padaria academia academia"
      "mercado mercado farmacia loterica"
      "barbearia pizzaria cafeteria restaurante"
      "eventos odonto sorveteria multiclinica"
      "callout callout callout callout";
  }
  .bento-tile, .bento-photo, .bento-icon, .bento-callout { height: auto; flex: initial; min-height: 0; }
  .tile-padaria { grid-area: padaria; }
  .tile-academia { grid-area: academia; }
  .tile-mercado { grid-area: mercado; }
  .tile-farmacia { grid-area: farmacia; }
  .tile-loterica { grid-area: loterica; }
  .tile-barbearia { grid-area: barbearia; }
  .tile-pizzaria { grid-area: pizzaria; }
  .tile-cafeteria { grid-area: cafeteria; }
  .tile-restaurante { grid-area: restaurante; }
  .tile-eventos { grid-area: eventos; }
  .tile-odonto { grid-area: odonto; }
  .tile-sorveteria { grid-area: sorveteria; }
  .tile-multiclinica { grid-area: multiclinica; }
  .tile-callout { grid-area: callout; }
  .bento-photo .tipo-card-label { font-size: 20px; }
}

/* ---------- Urgência ---------- */
.urgencia-card {
  background: radial-gradient(ellipse at center, rgba(255,65,3,.08), transparent 70%), var(--panel);
  border: 1px solid var(--panel-border); border-radius: 28px; padding: 56px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.urgencia-card .section-title { margin-top: 0; }
.urgencia-card .btn, .cta-final-card .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--panel-border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; transition: transform .18s ease; color: var(--orange); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 22px; font-size: 14px; max-width: 640px; }
.pill-review {
  display: inline-flex; align-items: center; margin-left: 4px;
  background: rgba(255,65,3,.10); border: 1px solid rgba(255,65,3,.35); color: var(--orange);
  font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}

/* ---------- CTA final ---------- */
.cta-final-card {
  background: radial-gradient(ellipse at top, rgba(255,65,3,.10), var(--navy-mid) 70%);
  border: 1px solid var(--panel-border); border-radius: 32px; padding: 64px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.cta-final-card .section-title { margin-top: 0; }
.cta-final-card .secondary-link { font-size: 14px; color: var(--ink-mute); }
.cta-final-card .secondary-link a { color: var(--navy); font-weight: 700; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--panel-border); padding: 40px 0; }
/* celular: folga no fim para o botão flutuante (58px + 18px da borda) não cobrir o rodapé */
@media (max-width: 767px) { .site-footer { padding-bottom: 96px; } }
.site-footer .wrap { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer-contact { display: flex; gap: 14px; }
.footer-contact a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.footer-contact a:hover { border-color: var(--orange); color: var(--orange); }
.site-footer .fine { font-size: 12px; color: var(--ink-mute); }
.footer-signature {
  margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--panel-border);
  width: 100%; font-size: 11px; color: var(--ink-mute);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.footer-signature a { display: inline-flex; align-items: center; opacity: .75; transition: opacity .15s ease; }
.footer-signature a:hover { opacity: 1; }
.footer-signature img { display: block; }
