/**
 * ITB - Páginas de destino do berçário (anúncios do Google e do Meta)
 * Folha própria, enxuta e com celular em primeiro lugar.
 * Paleta e fonte do design system do ITB (docs/design-system.md).
 */
:root {
  --azul: #004aad;
  --azul-escuro: #003280;
  --verde: #7ed957;
  --laranja: #ff914d;
  --laranja-escuro: #ff7a2d;
  --texto: #1a1a1a;
  --cinza: #4b5563;
  --cinza-claro: #f1f5f9;
  --azul-claro: #eff6ff;
  --branco: #ffffff;
  --raio: 0.75rem;
  --sombra: 0 4px 14px rgba(0, 50, 128, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; color: var(--azul); font-weight: 700; }
p { margin: 0 0 1rem; }

.lb-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.lb-skip {
  position: absolute; left: -9999px; top: 0; background: var(--azul); color: #fff; padding: 0.5rem 1rem; z-index: 2000;
}
.lb-skip:focus { left: 0; }

/* Cabeçalho */
.lb-header { background: var(--branco); border-bottom: 1px solid #e2e8f0; }
.lb-header__in { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0; }
.lb-header__logo img { width: 84px; height: auto; }
.lb-header .lb-btn { padding: 0.6rem 1rem; font-size: 0.875rem; }

/* Botões */
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0.85rem 1.6rem; border-radius: 9999px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--laranja); color: var(--azul-escuro);
  box-shadow: 0 4px 10px rgba(255, 145, 77, 0.35);
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--laranja-escuro); transform: translateY(-1px); }
.lb-btn:focus-visible, .lb-link:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; }
.lb-btn--grande { width: 100%; font-size: 1.0625rem; }
.lb-link { color: inherit; font-weight: 600; }

/* Primeira dobra */
.lb-hero { background: linear-gradient(135deg, #004aad 0%, #0066cc 100%); color: var(--branco); padding: 1.25rem 0 2rem; }
.lb-hero h1, .lb-hero a { color: var(--branco); }
.lb-hero h1 { font-size: 1.75rem; margin-bottom: 0.9rem; }
.lb-hero__lead { font-size: 1.0625rem; opacity: 0.97; margin-bottom: 1.25rem; }
.lb-crumbs { font-size: 0.8125rem; margin: 0 0 1rem; opacity: 0.9; }
.lb-crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.lb-hero__foto { margin-top: 1.5rem; border-radius: var(--raio); overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.lb-hero__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lb-hero__alt { margin: 0.9rem 0 0; font-size: 0.9375rem; text-align: center; }
.lb-hero__alt a { text-underline-offset: 3px; }

.lb-faixa { background: var(--azul-claro); border-bottom: 1px solid #dbeafe; }
.lb-faixa ul { list-style: none; margin: 0; padding: 0.9rem 0; display: grid; gap: 0.35rem; font-size: 0.9375rem; font-weight: 600; color: var(--azul-escuro); }
.lb-faixa li::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--verde); margin-right: 0.6rem; }

/* Seções */
.lb-sec { padding: 2.5rem 0; }
.lb-sec--clara { background: var(--cinza-claro); }
.lb-sec h2 { font-size: 1.5rem; }
.lb-capsula { font-size: 1.0625rem; color: #243042; max-width: 46rem; }

.lb-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.lb-card { background: var(--branco); border-radius: var(--raio); padding: 1.25rem; box-shadow: var(--sombra); border-top: 4px solid var(--verde); }
.lb-card h3 { font-size: 1.0625rem; color: var(--azul); margin-bottom: 0.4rem; }
.lb-card p { margin: 0; font-size: 0.9688rem; color: var(--cinza); }
.lb-card svg { width: 28px; height: 28px; stroke: var(--azul); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.5rem; }

.lb-split { display: grid; gap: 1.5rem; align-items: center; }
.lb-foto { border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.lb-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lb-foto--larga img { aspect-ratio: 16 / 10; }
.lb-fotos2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.lb-fotos2 img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.lb-lista { padding-left: 1.2rem; margin: 0 0 1rem; }
.lb-lista li { margin-bottom: 0.5rem; }

/* Perguntas frequentes */
.lb-faq details { background: var(--branco); border: 1px solid #dbe3ee; border-radius: var(--raio); margin-bottom: 0.75rem; }
.lb-faq summary { cursor: pointer; font-weight: 600; color: var(--azul); padding: 1rem 2.75rem 1rem 1rem; list-style: none; position: relative; min-height: 48px; }
.lb-faq summary::-webkit-details-marker { display: none; }
.lb-faq summary::after { content: "+"; position: absolute; right: 1rem; top: 0.75rem; font-size: 1.4rem; line-height: 1; color: var(--laranja-escuro); font-weight: 700; }
.lb-faq details[open] summary::after { content: "\2212"; }
.lb-faq details p { padding: 0 1rem 1rem; margin: 0; color: #243042; }

/* Chamada final */
.lb-final { background: var(--azul-escuro); color: var(--branco); padding: 2.5rem 0; text-align: center; }
.lb-final h2 { color: var(--branco); }
.lb-final p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.lb-final .lb-link { color: var(--branco); }
.lb-final .lb-btn { max-width: 24rem; }

/* Rodapé */
.lb-footer { background: #003280; color: #e2e8f0; padding: 2rem 0 1.5rem; font-size: 0.9063rem; }
.lb-footer a { color: #ffffff; }
.lb-footer p { margin: 0 0 0.6rem; }
.lb-footer__grid { display: grid; gap: 1.25rem; }
.lb-footer img { width: 120px; height: auto; margin-bottom: 0.75rem; }
.lb-footer__fim { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 1.25rem; padding-top: 1rem; }

/* Barra fixa de visita no celular */
.lb-barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--branco); padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
}
.lb-barra .lb-btn { width: 100%; }
body { padding-bottom: 4.5rem; }

@media (min-width: 700px) {
  .lb-cards { grid-template-columns: 1fr 1fr; }
  .lb-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .lb-hero h1 { font-size: 2.25rem; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .lb-barra { display: none; }
  .lb-header__logo img { width: 104px; }
  .lb-hero { padding: 2rem 0 3rem; }
  .lb-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
  .lb-hero__foto { margin-top: 0; }
  .lb-hero__foto img { aspect-ratio: 4 / 5; }
  .lb-hero h1 { font-size: 2.75rem; }
  .lb-btn--grande { width: auto; min-width: 20rem; }
  .lb-faixa ul { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .lb-sec { padding: 3.5rem 0; }
  .lb-sec h2 { font-size: 1.875rem; }
  .lb-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .lb-split--inverso .lb-foto { order: 2; }
  .lb-cards--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lb-btn { transition: none; }
}
.lb-mt { margin-top: 1rem; }
.lb-hero__foto--larga img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .lb-hero__foto--larga img { aspect-ratio: 4 / 3; } }
@media (min-width: 700px) and (max-width: 899px) { .lb-hero__foto { max-width: 520px; margin-left: auto; margin-right: auto; } }
