/* =============================================
   AudioTao – Estilos das Landing Pages (vitrine)
   Compartilhado por aparelhos, zumbido e cpap.
   Depende de ../style.css como base compartilhada.
   ============================================= */

/* ---------- LP Hero ---------- */
.lp-hero {
  background: var(--cream);
  padding: calc(var(--header-h, 124px) + 56px) 0 72px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.lp-hero > .container {
  position: relative;
  z-index: 1;
}

/* ---------- LP Hero Animated Background ---------- */
.lp-hero-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.25s ease-out;
}

.lp-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.lp-hero-blob--1 { width: 500px; height: 500px; top: -80px; left: -60px;
  background: radial-gradient(circle at 35% 35%, rgba(127,183,170,0.72), rgba(127,183,170,0) 70%); }
.lp-hero-blob--2 { width: 580px; height: 580px; bottom: -160px; right: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(92,158,146,0.58), rgba(92,158,146,0) 70%); }
.lp-hero-blob--3 { width: 380px; height: 380px; top: 28%; right: 18%;
  background: radial-gradient(circle at 50% 50%, rgba(255,224,170,0.52), rgba(255,224,170,0) 70%); }

.lp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.lp-hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.lp-hero__sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 28px;
}

.lp-hero__actions {
  margin-bottom: 24px;
}

.lp-hero__actions .btn {
  width: auto;
  padding: 15px 36px;
}

.lp-hero__trust {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.lp-hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.lp-hero__trust svg {
  color: var(--teal);
  flex-shrink: 0;
}

.lp-hero__doctor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(82, 120, 130, 0.08);
  box-shadow: 0 4px 16px rgba(82, 120, 130, 0.06);
  max-width: fit-content;
}

.lp-hero__doctor img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
  flex-shrink: 0;
}

.lp-hero__doctor strong {
  display: block;
  font-size: 0.9rem;
  color: var(--heading);
  font-weight: 700;
}

.lp-hero__doctor span {
  display: block;
  font-size: 0.78rem;
  color: var(--text);
  margin-top: 2px;
}

.lp-hero__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(82, 120, 130, 0.15);
  aspect-ratio: 1 / 1;
}

.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Strip ---------- */
.lp-strip {
  background: var(--heading);
  padding: 15px 0;
}

.lp-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.lp-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  /* 82% de branco sobre --heading dava 3,55:1 — abaixo do mínimo. */
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
}

.lp-strip__item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.lp-strip__item--highlight {
  /* Qualquer teal sobre --heading fica abaixo de 4,5:1; o destaque
     vem do peso da fonte, não da cor. */
  color: #ffffff;
  font-weight: 700;
}

.lp-strip__sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- Section Head ---------- */
.lp-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

/* O .lp-form-card tem fundo BRANCO — o branco 75% herdado daqui deixava
   o texto literalmente invisível (contraste 1.00:1) nas 3 LPs. */
.lp-eyebrow--light {
  color: var(--teal-dark);
}

.lp-section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.lp-section-sub {
  font-size: 1rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Brands ---------- */
.lp-brands {
  background: var(--cream);
}

.lp-brands__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Variante de 3 colunas (cpap: AirSense 11 / AirSense 10 / AirMini).
   Cards mais estreitos e lista de specs sem ícone — 12 pictogramas lado a
   lado pesavam mais do que informavam, já que o <strong> é a âncora de leitura. */
.lp-brands__grid--3 {
  /* minmax(0, 1fr): sem isso o min-content dos cards desiguala as colunas
     em viewports estreitos (~1024px). */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.lp-brands__grid--3 .lp-brand-card { padding: 24px; }

.lp-brands__grid--3 .lp-brand-name { font-size: 1.35rem; margin: 0 0 12px; }

.lp-brands__grid--3 .lp-brand-desc { font-size: 0.88rem; }

.lp-brands__grid--3 .lp-features { gap: 0; }

.lp-brands__grid--3 .lp-feature {
  display: block;
  font-size: 0.85rem;
  padding: 11px 0;
  border-top: 1px solid rgba(82, 120, 130, 0.10);
}

.lp-brands__grid--3 .lp-feature:first-child {
  border-top: 0;
  padding-top: 0;
}

.lp-brand-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(82, 120, 130, 0.07);
  border: 1px solid rgba(82, 120, 130, 0.06);
  display: flex;
  flex-direction: column;
}

.lp-brand-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(82, 120, 130, 0.08);
}

.lp-brand-logo {
  height: 26px;
  width: auto;
  max-width: 100px;
}

.lp-brand-badge {
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
}

.lp-brand-badge--rexton {
  background: rgba(82, 120, 130, 0.1);
  color: var(--heading);
}

.lp-brand-badge--argosy {
  background: rgba(127, 183, 170, 0.12);
  color: var(--teal-dark);
}

.lp-brand-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 6px;
  line-height: 1.2;
}

.lp-brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.lp-brand-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
}

.lp-brand-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 16px;
  display: block;
}

.lp-brand-photo--product {
  object-fit: contain;
  background: #f0eeea;
  padding: 20px;
}

.lp-brand-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------- Features (dentro dos cards de marca) ---------- */
.lp-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.lp-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}

.lp-feature__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(127, 183, 170, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-top: 1px;
}

.lp-feature strong {
  color: var(--heading);
}

.lp-brand-cta {
  width: 100%;
  margin-top: auto;
}

/* ---------- Brand Showcase (alternado, exclusivo aparelhos) ---------- */
.lp-showcase {
  display: flex;
  flex-direction: column;
  gap: 76px;
}

.lp-brand-show {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.lp-brand-show--reverse .lp-brand-show__stage { order: 2; }

/* Acentos por marca */
.lp-brand-show--rexton {
  --accent: #527882;
  --accent-soft: rgba(82, 120, 130, 0.10);
  --stage-a: #eff3f4;
  --stage-b: #e2eced;
  --glow: rgba(82, 120, 130, 0.22);
}
.lp-brand-show--argosy {
  --accent: #5C9E92;
  --accent-soft: rgba(127, 183, 170, 0.14);
  --stage-a: #edf7f3;
  --stage-b: #dcefe6;
  --glow: rgba(127, 183, 170, 0.28);
}

/* Palco do produto */
.lp-brand-show__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--stage-a), var(--stage-b));
  border: 1px solid rgba(82, 120, 130, 0.08);
  overflow: hidden;
}
.lp-brand-show__glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(8px);
}
.lp-brand-show__index {
  position: absolute;
  top: 10px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.10;
  user-select: none;
}
/* As fotos de produto passaram a ser imagens com fundo proprio, em vez de
   recortes PNG transparentes. O drop-shadow que existia aqui seguia o
   contorno do objeto: aplicado a uma foto retangular, desenhava a sombra
   do retangulo. Agora a foto preenche o palco inteiro e o proprio palco,
   que ja tem cantos de 28px, faz o enquadramento. */
.lp-brand-show__product {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* O brilho radial e o numero de fundo existiam para dar profundidade ao
   recorte flutuando sobre o gradiente. Sobre a foto o brilho vira nevoa e
   o numero, a 10% de opacidade, some no Rexton e no Argosy. */
.lp-brand-show__glow,
.lp-brand-show__index { display: none; }
/* A regra que limitava o Argosy a 300px de altura existia para equilibrar a
   escala dos dois recortes PNG, que tinham proporcoes diferentes. Com as
   duas fotos agora no mesmo formato e preenchendo o palco, ela so impedia
   o preenchimento — removida. */
/* So escala: um translateY abriria uma fresta na borda do palco agora que
   a imagem preenche todo ele. */
.lp-brand-show:hover .lp-brand-show__product {
  transform: scale(1.04);
}

/* Conteúdo */
.lp-brand-show__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-brand-show__name {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.lp-brand-show__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 520px;
}

/* Tiles de benefício */
.lp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.lp-benefit {
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(82, 120, 130, 0.08);
  box-shadow: 0 6px 22px rgba(82, 120, 130, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.lp-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(82, 120, 130, 0.12);
  border-color: var(--accent-soft);
}
.lp-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.lp-benefit__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 6px;
  line-height: 1.3;
}
.lp-benefit__text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.lp-brand-show__cta {
  width: auto;
  padding: 15px 32px;
}

/* Showcase responsivo */
@media (max-width: 900px) {
  .lp-showcase { gap: 52px; }
  .lp-brand-show {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lp-brand-show__stage,
  .lp-brand-show--reverse .lp-brand-show__stage {
    order: -1;
    min-height: 300px;
    padding: 32px;
  }
  .lp-brand-show__content { text-align: center; }
  .lp-brand-show__desc { margin-left: auto; margin-right: auto; }
  .lp-benefits { text-align: left; }
  .lp-brand-show__name { font-size: 2.2rem; }
  .lp-brand-show__cta { width: 100%; max-width: 360px; }
}

@media (max-width: 420px) {
  .lp-benefits { grid-template-columns: 1fr; }
  .lp-brand-show__stage { min-height: 240px; padding: 24px; }
  .lp-brand-show__name { font-size: 1.9rem; }
  .lp-brand-show__index { font-size: 5rem; }
}

/* ---------- Gallery ---------- */
.lp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lp-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream);
}

.lp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.lp-gallery__item:hover img {
  transform: scale(1.04);
}

/* ---------- Timeline ---------- */
.lp-timeline {
  background: var(--cream);
}

.lp-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 8px;
}

/* linha horizontal conectando os steps */
.lp-timeline__steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(to right, var(--teal) 0%, rgba(127, 183, 170, 0.3) 100%);
  z-index: 0;
}

.lp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.lp-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(127, 183, 170, 0.35);
  flex-shrink: 0;
}

.lp-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.lp-step__desc {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.55;
}

/* ---------- FAQ Accordion ---------- */
.lp-faq {
  background: var(--white);
}

.lp-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.lp-acc-item {
  border-radius: 12px;
  border: 1px solid rgba(82, 120, 130, 0.08);
  box-shadow: 0 2px 12px rgba(82, 120, 130, 0.04);
  overflow: hidden;
  background: var(--cream);
  transition: box-shadow var(--transition);
}

.lp-acc-item.open {
  box-shadow: 0 4px 20px rgba(82, 120, 130, 0.1);
}

.lp-acc-header {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  transition: background var(--transition);
}

.lp-acc-header:hover {
  background: rgba(127, 183, 170, 0.05);
}

.lp-acc-icon {
  flex-shrink: 0;
  color: var(--teal);
  transition: transform 0.3s ease;
}

.lp-acc-item.open .lp-acc-icon {
  transform: rotate(180deg);
}

.lp-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-acc-body p {
  padding: 14px 20px 20px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  border-top: 1px solid rgba(82, 120, 130, 0.07);
}

/* ---------- Form Section ---------- */
.lp-form-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--heading) 100%);
  padding: 72px 0;
}

.lp-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 48px 52px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 24px 56px rgba(23, 33, 35, 0.18);
}

.lp-form-card__head {
  text-align: center;
  margin-bottom: 32px;
}

.lp-form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: 10px;
}

.lp-form-sub {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.form__field {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(82, 120, 130, 0.18);
  background: var(--cream);
  font-family: var(--font-sans);
  /* >=16px evita o zoom automático do iOS ao focar o campo. Este arquivo
     carrega DEPOIS de ../style.css e tem a mesma especificidade, então um
     valor menor aqui derruba silenciosamente a proteção de lá. */
  font-size: 16px;
  color: var(--heading);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
  color: rgba(82, 120, 130, 0.45);
}

.form__input:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(127, 183, 170, 0.15);
}

.btn--full {
  width: 100%;
}

.lp-form-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  color: rgba(82, 120, 130, 0.5);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-form-or::before,
.lp-form-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(82, 120, 130, 0.15);
}

.btn--whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  background: var(--wa-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn--whatsapp:hover { background: #0f6e34; }

/* ---------- Info Cards (Zumbido: O que é) ---------- */
.lp-info__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-info-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(82, 120, 130, 0.07);
  box-shadow: 0 4px 16px rgba(82, 120, 130, 0.05);
}

.lp-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(127, 183, 170, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}

.lp-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.lp-info-card p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

.lp-info__cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Approach Cards (Zumbido: Abordagens) ---------- */
.lp-approaches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-approach-card {
  /* branco, igual aos .lp-info-card: a seção não tem fundo próprio
     (`.section--white` não existe no CSS), então cards creme ficavam
     invisíveis contra o creme da página. */
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid rgba(82, 120, 130, 0.07);
  box-shadow: 0 4px 20px rgba(82, 120, 130, 0.05);
  display: flex;
  flex-direction: column;
}

.lp-approach-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(127, 183, 170, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.lp-approach-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.lp-approach-card__desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
}

.lp-approach-card .lp-features {
  flex: 1;
  margin-bottom: 0;
}

/* ---------- Gallery 2-column variant ---------- */
.lp-gallery__grid--2 {
  grid-template-columns: 1fr 1fr;
}

.lp-gallery__item--tall {
  aspect-ratio: 3 / 4;
}

/* ---------- Responsive — 1024px ---------- */
@media (max-width: 1024px) {
  .lp-hero__title { font-size: 2.1rem; }
  .lp-brands__grid { gap: 16px; }
  .lp-brands__grid--3 .lp-brand-card { padding: 20px; }
  .lp-brands__grid--3 .lp-brand-name { font-size: 1.2rem; }
}

/* ---------- Responsive — 900px ---------- */
@media (max-width: 900px) {
  .lp-hero {
    padding: calc(var(--header-h, 80px) + 32px) 0 48px;
  }

  .lp-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .lp-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero__trust li { justify-content: center; }

  .lp-hero__doctor { margin: 0 auto; }

  .lp-hero__actions .btn {
    width: 100%;
    max-width: 360px;
  }

  .lp-hero__media {
    max-width: 420px;
    margin: 0 auto;
  }

  .lp-brands__grid,
  .lp-brands__grid--3 {
    grid-template-columns: 1fr;
  }

  /* Em coluna única o card volta ao respiro normal. */
  .lp-brands__grid--3 .lp-brand-card { padding: 28px; }
  .lp-brands__grid--3 .lp-brand-name { font-size: 1.55rem; }
  .lp-brands__grid--3 .lp-brand-desc { font-size: 0.92rem; }
  .lp-brands__grid--3 .lp-feature { font-size: 0.88rem; padding: 13px 0; }

  .lp-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-gallery__grid--2 {
    grid-template-columns: 1fr;
  }

  .lp-info__cards,
  .lp-info__cards--4 {
    grid-template-columns: 1fr;
  }

  .lp-approaches__grid {
    grid-template-columns: 1fr;
  }

  .lp-timeline__steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .lp-timeline__steps::before {
    display: none;
  }
}

/* ---------- Responsive — 768px ---------- */
@media (max-width: 768px) {
  .lp-hero__title { font-size: 1.9rem; }
  .lp-section-title { font-size: 1.55rem; }
  .lp-section-head { margin-bottom: 32px; }

  .lp-strip__sep { display: none; }
  .lp-strip__inner { gap: 12px 20px; }

  .lp-form-card { padding: 32px 24px 36px; }

  .lp-timeline__steps {
    grid-template-columns: 1fr;
  }

  .lp-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .lp-step__num { margin-bottom: 0; }

  /* Fundo creme plano no mobile: remove os blobs decorativos.
     .lp-hero já tem background: var(--cream). */
  .lp-hero-bg { display: none; }

  /* CTAs em largura total no mobile (remove o limite de 360px) */
  .lp-hero__actions .btn,
  .lp-brand-show__cta { width: 100%; max-width: none; }
}

/* ---------- Responsive — 480px ---------- */
@media (max-width: 480px) {
  .lp-hero {
    padding: calc(var(--header-h, 72px) + 20px) 0 36px;
  }

  .lp-hero__title { font-size: 1.65rem; }
  .lp-hero__sub { font-size: 0.95rem; }

  .lp-hero__media {
    max-width: 100%;
    border-radius: 14px;
  }

  .lp-hero__doctor {
    max-width: 100%;
    padding: 12px 14px;
  }

  .lp-section-title { font-size: 1.3rem; }

  .lp-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-form-card { padding: 24px 16px 28px; }
  .lp-form-title { font-size: 1.45rem; }

  .lp-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =============================================================
   CAMADA RESPONSIVA CONSOLIDADA — LPs
   Mesma lógica de ../style.css: fica no fim para vencer o cascade
   sobre os breakpoints históricos (420/480/768/900/1024).
   ============================================================= */

/* ---------- 1. Anti-corte ----------
   Medido antes: 43 elementos cortados na LP de CPAP a 320px e 3 a
   360px — o CTA "Quero saber sobre o AirSense 11" tem nowrap e
   36px de padding lateral, o que dava 294px de min-content e
   inflava a coluna 1fr do grid para 355px dentro de 320px. */
@media (max-width: 1023px) {
  .lp-brands__grid,
  .lp-brands__grid--3,
  .lp-info__cards,
  .lp-info__cards--4,
  .lp-approaches__grid,
  .lp-hero__inner,
  .lp-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-hero__copy,
  .lp-hero__media,
  .lp-brand-card,
  .lp-info-card,
  .lp-approach-card,
  .lp-form-card {
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .lp-brand-cta,
  .lp-approach-card .btn,
  .lp-form-card .btn,
  .lp-hero__actions .btn {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .lp-brand-cta,
  .lp-approach-card .btn,
  .lp-form-card .btn,
  .lp-hero__actions .btn {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- 1b. Piso tipográfico das LPs ----------
   Precisa estar AQUI e não em ../style.css: este arquivo carrega
   depois, então a regra base .lp-eyebrow (0.72rem = 11,5px) venceria. */
@media (max-width: 767px) {
  .lp-eyebrow,
  .lp-brand-show__eyebrow,
  .lp-brand-badge {
    font-size: 0.8125rem; /* 13px */
  }

  .lp-hero__doctor span,
  .lp-strip__item { font-size: 0.85rem; }
}

/* ---------- 3. TABLET (768px – 1023px) ----------
   Antes: .lp-brands__grid, .lp-info__cards e .lp-approaches__grid
   viravam uma coluna de 728px — card de produto com foto de 546px
   de altura e parágrafo de 87 caracteres por linha. */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Cards informativos são curtos: cabem 3 por linha. */
  .lp-info__cards,
  .lp-approaches__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .lp-info__cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Vitrine de modelos: no tablet o card vira HORIZONTAL — foto à
     esquerda, specs à direita. Três colunas dariam 229px por card
     (ilegível) e uma coluna daria uma foto gigante. */
  .lp-brands__grid--3 { gap: 20px; }

  .lp-brands__grid--3 .lp-brand-card {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 26px;
    align-items: start;
    padding: 24px;
  }

  /* Foto no topo da coluna esquerda e CTA no rodapé dela: sem isso
     sobravam ~250px de vazio embaixo da foto em cada card. */
  .lp-brands__grid--3 .lp-brand-photo {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    margin: 0;
  }

  .lp-brands__grid--3 .lp-brand-cta {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
    margin-top: 20px;
    width: 100%;
  }

  .lp-brands__grid--3 .lp-brand-name { grid-column: 2; grid-row: 1; font-size: 1.45rem; }
  .lp-brands__grid--3 .lp-brand-desc { grid-column: 2; grid-row: 2; }
  .lp-brands__grid--3 .lp-features   { grid-column: 2; grid-row: 3 / 5; margin-bottom: 0; }

  /* Hero das LPs continua em coluna única (2 colunas dariam 340px
     por lado), mas com medida limitada. */
  .lp-hero__copy { margin: 0 auto; }
  .lp-hero__sub,
  .lp-form-sub,
  .lp-section-sub { max-width: 600px; margin-left: auto; margin-right: auto; }
  .lp-hero__media { max-width: 460px; margin: 0 auto; }

  .lp-strip__inner { flex-wrap: wrap; justify-content: center; gap: 14px 24px; }
}

/* ---------- Feedback do formulário de lead das LPs ----------
   O card do formulário tem fundo escuro; os estilos de erro da
   ../style.css foram feitos para o formulário claro da home. */
.lp-form-card .form__error {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #b3261e;
}

.lp-form-card .form__field--error .form__input {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}

/* =============================================================
   BARRA DE CTA FIXA (mobile) — injetada por lp-form.js
   Entre o CTA do herói e o formulário do rodapé há milhares de pixels em
   que o único elemento fixo era a bolha do WhatsApp, um ícone sem rótulo.
   ============================================================= */
.lp-cta-fixo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998; /* abaixo do header (1000) e do modal (1000) */
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  /* Deixa a bolha do WhatsApp (52px + 16px de margem) respirar à direita. */
  padding-right: 84px;
  background: rgba(255, 250, 236, 0.97);
  border-top: 1px solid rgba(82, 120, 130, 0.14);
  box-shadow: 0 -6px 24px rgba(23, 33, 35, 0.12);
  transform: translateY(100%);
  transition: transform 0.28s ease, opacity 0.28s ease;
  opacity: 0;
}

.lp-cta-fixo.is-visivel {
  transform: translateY(0);
  opacity: 1;
}

.lp-cta-fixo .btn {
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 1023px) {
  .lp-cta-fixo { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-cta-fixo { transition: none; }
}

.form__sent {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--heading);
}

.form__sent a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
}


/* ---------- Correções de contraste (WCAG AA) — LPs ----------
   --teal-dark (#5C9E92) como cor de texto dava 2,98:1 no creme.
   Onde o teal é TEXTO, passa a --teal-text. */
.lp-eyebrow,
.lp-brand-show__eyebrow,
.lp-form-or {
  color: var(--teal-text);
}

.lp-eyebrow--light { color: var(--teal-text); }

.lp-brand-show__index { color: var(--teal-cta); }

.lp-hero__trust li,
.lp-hero__doctor span { color: var(--text); }


/* ---------- Galeria: 4 fotos ----------
   4 colunas só no desktop largo. A partir de 1024px cada foto cairia
   para 231px — pequena demais para uma foto de detalhe de aparelho.
   A regra de 2 colunas que já existia vivia em @media 900px, o que
   deixava um degrau de 4 -> 2 colunas entre 1024px e 1023px. */
@media (min-width: 768px) and (max-width: 1024px) {
  .lp-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
