/* DeliLife – Home (layout mockup 2026) */

:root {
  --dl-brand: #95061c;
  --dl-brand-dark: #7a0517;
  --dl-brand-light: #fce8ec;
  --dl-gold: #f5b800;
  --dl-gold-dark: #c99700;
  --dl-ink: #0f172a;
  --dl-muted: #64748b;
  --dl-border: #e8ecf1;
  --dl-bg: #f4f6f9;
  --dl-radius: 14px;
  --dl-radius-lg: 20px;
  --dl-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --dl-container: min(1180px, calc(100% - 40px));
}

body.home-page {
  background: #fff;
  color: var(--dl-ink);
}

/* Esconde layout antigo se ainda existir no HTML */
.home-page .hero,
.home-page .benefits-strip,
.home-page .main-cta {
  display: none !important;
}

.home-page .header:not(.site-header) {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--dl-border);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}

.site-header__inner {
  width: var(--dl-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 10px;
}

.site-header__top {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 52px;
}

.site-header .logo {
  flex-shrink: 0;
}

.site-header .logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header__menu-btn {
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--dl-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.site-header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--dl-brand);
  border-radius: 2px;
}

@media (min-width: 769px) {
  .site-header__top .menu-toggle {
    display: none !important;
  }
}

.site-nav--bar {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0 6px;
  margin-top: 2px;
  border-top: 1px solid var(--dl-border);
}

@media (min-width: 1100px) {
  .site-nav--bar {
    justify-content: space-between;
    gap: 4px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav__dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dl-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav__dropdown > summary:hover,
.site-nav__dropdown[open] > summary {
  color: var(--dl-brand);
}

.site-nav a.is-active {
  background: var(--dl-brand-light);
  box-shadow: none;
}

.site-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--dl-muted);
  transition: color 0.2s;
}

.site-nav__icon--sm {
  width: 18px;
  height: 18px;
}

.site-nav__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a:hover .site-nav__icon,
.site-nav a.is-active .site-nav__icon,
.site-nav__dropdown[open] > summary .site-nav__icon,
.site-nav__dropdown > summary:hover .site-nav__icon {
  color: var(--dl-brand);
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.site-nav__dropdown > summary::-webkit-details-marker {
  display: none;
}

.site-nav__dropdown > summary::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.2s;
}

.site-nav__dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.site-nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  box-shadow: var(--dl-shadow);
  z-index: 50;
}

.site-nav__sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--dl-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.site-nav__sublink:hover {
  background: var(--dl-bg);
  color: var(--dl-brand);
}

.site-nav__sublink:hover .site-nav__icon {
  color: var(--dl-brand);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--dl-brand);
  color: var(--dl-brand);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-brand:hover {
  background: var(--dl-brand-light);
}

.btn-solid-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: var(--dl-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(149, 6, 28, 0.28);
  transition: background 0.2s, transform 0.15s;
}

.btn-solid-brand:hover {
  background: var(--dl-brand-dark);
}

/* Hero carousel – cards */
.home-hero {
  padding: 28px 0 12px;
  background: linear-gradient(180deg, #fff 0%, var(--dl-bg) 100%);
}

.home-hero__wrap {
  width: var(--dl-container);
  margin: 0 auto;
  position: relative;
}

.home-hero__track {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 16px;
}

.home-hero__slide {
  flex: 0 0 min(340px, 88vw);
  scroll-snap-align: center;
  opacity: 0.55;
  transform: scale(0.96);
  transition: opacity 0.35s, transform 0.35s;
}

.home-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 900px) {
  .home-hero__slide {
    flex: 0 0 calc(33.333% - 11px);
  }
}

.home-promo-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--dl-shadow);
  position: relative;
}

.home-promo-card__media {
  flex: 1;
  min-height: 200px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.home-promo-card__media--promocao-selecao {
  flex: 0 0 auto;
  min-height: 0;
  line-height: 0;
  background: transparent;
}

.home-promo-card__media--promocao-selecao picture,
.home-promo-card__media--promocao-selecao img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .home-promo-card__media--promocao-selecao img {
    max-height: 240px;
  }
}

.home-promo-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-promo-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-promo-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-promo-card__btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.home-promo-card--yellow {
  background: #fff4c2;
}

.home-promo-card--yellow .home-promo-card__tag,
.home-promo-card--yellow .home-promo-card__title {
  color: var(--dl-brand);
}

.home-promo-card--yellow .home-promo-card__btn {
  background: var(--dl-brand);
  color: #fff;
}

.home-promo-card--dark {
  background: #111;
  color: #fff;
}

.home-promo-card--dark .home-promo-card__tag {
  color: #fbbf24;
}

.home-promo-card--dark .home-promo-card__btn {
  background: var(--dl-gold);
  color: #111;
}

.home-promo-card--red {
  background: var(--dl-brand);
  color: #fff;
}

.home-promo-card--red .home-promo-card__tag {
  color: #fecaca;
}

.home-promo-card--red .home-promo-card__btn {
  background: #fff;
  color: var(--dl-brand);
}

.home-hero__arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dl-border);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  color: var(--dl-ink);
}

.home-hero__arrow--prev {
  left: -8px;
}

.home-hero__arrow--next {
  right: -8px;
}

.home-hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.home-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
}

.home-hero__dot.is-active {
  background: var(--dl-brand);
  width: 22px;
  border-radius: 4px;
}

/* Categories */
.home-categories {
  padding: 8px 0 32px;
  background: var(--dl-bg);
}

.home-categories__inner {
  width: var(--dl-container);
  margin: 0 auto;
}

.home-categories__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-categories__scroll::-webkit-scrollbar {
  height: 6px;
}

.home-categories__scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.home-cat {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: var(--dl-ink);
  min-width: 88px;
}

.home-cat__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.home-cat__label {
  font-size: 0.82rem;
  font-weight: 700;
}

.home-cat__icon--green {
  background: #dcfce7;
}

.home-cat__icon--purple {
  background: #ede9fe;
}

.home-cat__icon--red {
  background: #fee2e2;
}

.home-cat__icon--yellow {
  background: #fef9c3;
}

.home-cat__icon--orange {
  background: #ffedd5;
}

.home-cat__icon--blue {
  background: #dbeafe;
}

/* Desktop: ícones maiores e distribuídos na largura (evita “vazio” à direita) */
@media (min-width: 768px) {
  .home-categories__scroll {
    overflow-x: visible;
    scroll-snap-type: none;
    justify-content: space-between;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .home-cat {
    min-width: 0;
    flex: 1 1 0;
    max-width: 132px;
  }

  .home-cat__icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .home-cat__label {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .home-categories {
    padding: 12px 0 40px;
  }

  .home-categories__scroll {
    justify-content: space-evenly;
    gap: 20px;
  }

  .home-cat {
    max-width: 150px;
  }

  .home-cat__icon {
    width: 92px;
    height: 92px;
    font-size: 2.35rem;
  }

  .home-cat__label {
    font-size: 0.95rem;
  }
}

@media (min-width: 1280px) {
  .home-cat {
    max-width: 160px;
  }

  .home-cat__icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
}

/* Telemedicina — imagem ao lado do texto */
.cashback-visual--telemedicina {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cashback-visual--telemedicina img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  object-fit: contain;
}

@media (max-width: 992px) {
  .cashback--telemedicina .cashback-visual--telemedicina {
    order: -1;
    margin-bottom: 8px;
  }

  .cashback-visual--telemedicina img {
    max-width: 100%;
  }
}

/* Main grid */
.home-main {
  padding: 40px 0 48px;
}

.home-main__inner {
  width: var(--dl-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.home-main__inner > div:first-child {
  min-width: 0;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.home-section-head a {
  color: var(--dl-brand);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.home-offer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-offer {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--dl-radius);
  border: 1px solid var(--dl-border);
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.home-offer__brand {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.home-offer__brand--green {
  color: #15803d;
}

.home-offer__brand--purple {
  color: #6d28d9;
}

.home-offer__brand--red {
  color: var(--dl-brand);
}

.home-offer__desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--dl-muted);
  line-height: 1.45;
}

.home-offer__thumb {
  width: 120px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--dl-bg);
}

.home-offer__btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.home-offer__btn--green {
  background: #16a34a;
}

.home-offer__btn--purple {
  background: #7c3aed;
}

.home-offer__btn--red {
  background: var(--dl-brand);
}

/* Banners do Clube — acima de Benefícios em destaque */
.home-club-banners {
  margin-bottom: 22px;
}

.home-club-banners[hidden] {
  display: none !important;
}

.home-club-banners__skeleton {
  width: 100%;
  height: clamp(160px, 28vw, 300px);
  border-radius: 18px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: home-club-banners-shimmer 1.2s ease-in-out infinite;
}

@keyframes home-club-banners-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.home-club-banners__carousel.club-carousel {
  margin: 0;
}

/* Benefícios em destaque — API Clube (carrossel horizontal) */
.home-club-featured__subtitle {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dl-muted);
}

.home-club-carousel {
  margin: 0 -4px;
  overflow: hidden;
}

.home-club-carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.home-club-carousel__track::-webkit-scrollbar {
  height: 6px;
}

.home-club-carousel__track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.home-club-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.home-club-card__media {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fce8ec 0%, #fff8e6 100%);
  position: relative;
  padding: 12px;
}

.home-club-card__media img {
  max-height: 72px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
  display: block;
}

.home-club-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(149, 6, 28, 0.1);
  color: var(--dl-brand);
  font-size: 1.5rem;
  font-weight: 800;
}

.home-club-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.home-club-card__brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dl-ink);
  line-height: 1.2;
}

.home-club-card__resume {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dl-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-club-card__benefit {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dl-brand);
  line-height: 1.35;
}

.home-club-card__btn {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.home-club-card__btn--green {
  background: #16a34a;
}

.home-club-card__btn--purple {
  background: #7c3aed;
}

.home-club-card__btn--red {
  background: var(--dl-brand);
}

.home-club-card--skeleton .home-club-card__media {
  background: #e8ecf1;
}

.home-club-card--skeleton .home-club-card__body span {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8ecf1 25%, #f4f6f9 50%, #e8ecf1 75%);
  background-size: 200% 100%;
  animation: home-club-shimmer 1.2s ease-in-out infinite;
}

.home-club-card--skeleton .home-club-card__body span:nth-child(2) {
  width: 85%;
}

.home-club-card--skeleton .home-club-card__body span:nth-child(3) {
  width: 60%;
}

@keyframes home-club-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.home-club-empty {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  color: var(--dl-muted);
  font-size: 0.95rem;
}

.home-club-empty a {
  color: var(--dl-brand);
  font-weight: 700;
}

/* Como funciona */
.home-steps {
  background: #fff;
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  padding: 24px 22px;
  box-shadow: var(--dl-shadow);
}

.home-steps h2 {
  margin: 0 0 22px;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

.home-steps__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-step {
  text-align: center;
}

.home-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid var(--dl-brand-light);
  background: #fff;
}

.home-step__icon--gold {
  border-color: #fde68a;
  background: #fffbeb;
}

.home-step__icon--green {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.home-step h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
}

.home-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dl-muted);
  line-height: 1.5;
}

.home-step__arrow {
  text-align: center;
  color: #cbd5e1;
  font-size: 1.2rem;
  line-height: 1;
}

/* Trust bar */
.home-trust {
  background: var(--dl-bg);
  border-top: 1px solid var(--dl-border);
  border-bottom: 1px solid var(--dl-border);
  padding: 28px 0;
}

.home-trust__inner {
  width: var(--dl-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-trust__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--dl-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dl-brand);
  background: #fff;
}

.home-trust__item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.home-trust__item span {
  font-size: 0.78rem;
  color: var(--dl-muted);
  line-height: 1.35;
}

/* CTA band */
.home-cta-band {
  background: var(--dl-brand);
  color: #fff;
  padding: 40px 0;
}

.home-cta-band__inner {
  width: var(--dl-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.home-cta-band__text {
  flex: 1;
  min-width: 260px;
}

.home-cta-band__text h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-cta-band__text p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.95rem;
  max-width: 520px;
}

.home-cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cta-white {
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--dl-brand);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-cta-dark {
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--dl-brand-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

/* Legacy sections on home */
.home-page .clinics,
.home-page .faq {
  padding-top: 48px;
}

.home-page .section-lead-form {
  padding: 48px 0;
  background: var(--dl-bg);
}

.home-page .section-lead-form .form-box {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--dl-radius-lg);
  padding: 28px;
  box-shadow: var(--dl-shadow);
  border: 1px solid var(--dl-border);
}

/* Mobile */
@media (max-width: 960px) {
  .home-main__inner {
    grid-template-columns: 1fr;
  }

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

  .home-hero__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-page .site-header {
    position: sticky;
  }

  .home-page .site-header__inner {
    position: relative;
    padding-bottom: 8px;
  }

  .home-page .site-header__inner.header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .home-page .site-header__top {
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
  }

  /* Hambúrguer visível (style.css: .menu-toggle { display:none } + .site-header__top era display:none) */
  .site-header__top .menu-toggle,
  .home-page .site-header__top .menu-toggle {
    display: flex !important;
    flex-shrink: 0;
    position: relative;
    z-index: 220;
  }

  .home-page .site-nav--bar {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .home-page .site-header__actions {
    margin-left: auto;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }

  .home-page .btn-outline-brand,
  .home-page .btn-solid-brand {
    padding: 8px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Menu mobile: painel abaixo do header (compatível com style.css + main.js) */
  .home-page .site-nav.site-nav--bar {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 12px 16px 20px;
    border: 1px solid var(--dl-border);
    border-top: none;
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 210;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.28s ease,
      visibility 0.25s ease;
  }

  .home-page .site-nav.site-nav--bar.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-page .site-nav a,
  .home-page .site-nav__dropdown > summary {
    font-size: 1rem;
    padding: 12px 14px;
    width: 100%;
    border-bottom: none;
    border-radius: 12px;
    box-shadow: none;
  }

  .home-page .site-nav a.is-active {
    background: var(--dl-brand-light);
    color: var(--dl-brand);
  }

  .home-page .site-nav__icon {
    width: 22px;
    height: 22px;
  }

  .home-page .site-nav__dropdown > summary::after {
    margin-left: auto;
  }

  .home-page .site-nav__panel {
    position: static;
    transform: none;
    min-width: 0;
    margin: 4px 0 8px 12px;
    padding: 4px 0;
    border: none;
    box-shadow: none;
    background: var(--dl-bg);
    border-radius: 10px;
  }

  .home-page .site-nav__sublink {
    padding: 10px 14px;
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .home-page .btn-outline-brand {
    display: none;
  }
}

@media (max-width: 380px) {

  .home-offer {
    grid-template-columns: 1fr;
  }

  .home-offer__thumb {
    width: 100%;
    height: 140px;
  }

  .home-trust__inner {
    grid-template-columns: 1fr;
  }

  .home-cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .home-cta-band__actions {
    justify-content: center;
    width: 100%;
  }
}
