/* DeliLife — layout v2 (home + header unificado) */
:root {
  --dl-brand: #ae1025;
  --dl-brand-dark: #7e0a1a;
  --dl-ink: #1a1b1f;
  --dl-muted: #5c5f69;
  --dl-line: #e8e8ec;
  --dl-soft: #fff5f6;
  --dl-yellow: #f4dc0a;
  --dl-surface: #f6f6f8;
}

.home-page.dl-v2,
.dl-site {
  color: var(--dl-ink);
  background: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ——— Header unificado ——— */
.dl-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--dl-line);
  backdrop-filter: blur(12px);
}

.dl-top__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.dl-top__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}

.dl-top__brand img {
  width: 118px;
  height: auto;
  display: block;
}

.dl-top__nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dl-top__nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dl-ink);
  text-decoration: none;
  white-space: nowrap;
}

.dl-top__nav a:hover,
.dl-top__nav a.is-active {
  color: var(--dl-brand);
}

.dl-top__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dl-btn--ghost {
  background: #fff;
  color: var(--dl-brand);
  border-color: var(--dl-brand);
}

.dl-btn--ghost:hover {
  background: var(--dl-soft);
}

.dl-btn--solid {
  background: var(--dl-brand);
  color: #fff;
}

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

.dl-btn--yellow {
  background: var(--dl-yellow);
  color: #3a3000;
}

.dl-btn--yellow:hover {
  filter: brightness(0.97);
}

.dl-top__menu {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--dl-brand);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

@media (max-width: 980px) {
  .dl-top__menu {
    display: block;
  }

  .dl-top__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--dl-line);
    gap: 0;
  }

  .dl-top__nav.is-open {
    display: flex;
  }

  .dl-top__nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--dl-line);
  }

  .dl-top__actions .dl-btn--ghost {
    display: none;
  }

  .dl-top__actions .dl-btn--solid {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

.dl-top__client {
  color: var(--dl-brand);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.dl-top__client:hover {
  text-decoration: underline;
}

.dl-top__actions .dl-btn--ghost {
  display: none;
}

@media (max-width: 980px) {
  .dl-top__client {
    display: none;
  }
}

/* ——— Hero full-bleed (referência) ——— */
.dl-hero-bleed {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}

.dl-hero-bleed__media,
.dl-hero-bleed__shade {
  position: absolute;
  inset: 0;
}

.dl-hero-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.dl-hero-bleed__shade {
  background:
    linear-gradient(90deg, rgba(90, 8, 18, 0.88) 0%, rgba(174, 16, 37, 0.72) 48%, rgba(174, 16, 37, 0.35) 100%),
    linear-gradient(0deg, rgba(50, 4, 10, 0.55) 0%, transparent 45%);
}

.dl-hero-bleed__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 36px;
  max-width: 640px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.dl-hero-bleed__pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 8, 10, 0.55);
  color: #f4dc0a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dl-hero-bleed h1 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
}

.dl-hero-bleed__lead {
  margin: 0 0 26px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.dl-hero-bleed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.dl-hero-bleed__wa {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.dl-hero-bleed__wa:hover {
  text-decoration: underline;
}

.dl-hero-bleed__meta {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.dl-hero-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.dl-hero-tabs__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: #2a0a10;
  color: rgba(255, 244, 200, 0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-hero-tabs__item:last-child {
  border-right: 0;
}

.dl-hero-tabs__item b {
  color: var(--dl-yellow);
  font-size: 0.85rem;
}

.dl-hero-tabs__item.is-active {
  background: var(--dl-brand);
  color: #fff;
}

.dl-hero-tabs__item.is-active b {
  color: #fff;
}

.dl-novidades {
  padding: 56px 0 28px;
}

.dl-novidades-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.dl-novidades-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.dl-novidades-head > p {
  margin: 0;
  color: var(--dl-muted);
  line-height: 1.55;
  font-size: 1.02rem;
}

.dl-novidades-stage {
  margin-top: 8px;
}

.dl-novidades-stage .home-club-banners {
  margin: 0;
}

.dl-novidades-stage .home-club-banners .club-carousel-slide img {
  height: clamp(200px, 28vw, 420px);
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.dl-novidades-stage .club-carousel-viewport {
  border-radius: 18px;
  overflow: hidden;
}

.dl-novidades-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dl-novidades-pause {
  appearance: none;
  border: 1px solid var(--dl-line);
  background: #fff;
  color: var(--dl-ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.dl-novidades-pause:hover {
  border-color: var(--dl-brand);
  color: var(--dl-brand);
}

.dl-novidades-pause[hidden] {
  display: none !important;
}

.dl-novidades-all {
  margin-left: auto;
  color: var(--dl-brand);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

.dl-novidades-all:hover {
  text-decoration: underline;
}

.dl-novidades + .dl-stats {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .dl-hero-bleed {
    min-height: 78vh;
  }

  .dl-hero-bleed__inner {
    margin-left: 20px;
    padding-top: 64px;
    max-width: none;
    width: calc(100% - 40px);
  }

  .dl-hero-tabs {
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 0;
  }

  .dl-hero-tabs__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dl-novidades-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ——— Hero legado (split) — mantido se usado em outra página ——— */
.dl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 90% 20%, #ffe3e8 0%, transparent 55%),
    linear-gradient(120deg, #fff 42%, #fff7f8 100%);
  padding: 72px 0 64px;
}

.dl-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.dl-kicker {
  display: inline-block;
  color: var(--dl-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.dl-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dl-hero h1 em {
  font-style: normal;
  color: var(--dl-brand);
}

.dl-hero__lead {
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--dl-muted);
  max-width: 34rem;
}

.dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.dl-hero__meta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dl-muted);
}

.dl-hero__visual {
  position: relative;
  min-height: 420px;
}

.dl-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 36px 12px 36px 12px;
  box-shadow: 0 24px 50px rgba(70, 18, 25, 0.18);
  display: block;
}

.dl-hero__visual::before {
  content: "";
  position: absolute;
  inset: 40px -36px -28px 48px;
  background: var(--dl-yellow);
  border-radius: 48% 36% 50% 40%;
  z-index: -1;
}

@media (max-width: 900px) {
  .dl-hero {
    padding: 40px 0 48px;
  }

  .dl-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dl-hero__visual,
  .dl-hero__visual img {
    min-height: 280px;
  }
}

/* ——— Sections common ——— */
.dl-section {
  padding: 88px 0;
}

.dl-section--soft {
  background: var(--dl-surface);
}

.dl-section--brand {
  background: linear-gradient(135deg, var(--dl-brand-dark), var(--dl-brand));
  color: #fff;
}

.dl-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.dl-section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.dl-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.dl-section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.dl-section-head p {
  margin: 0;
  color: var(--dl-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.dl-section--brand .dl-section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* Club banners API block */
.dl-club-banners {
  padding-top: 56px;
  padding-bottom: 24px;
}

.dl-club-banners .home-club-banners {
  margin-top: 8px;
}

.dl-club-banners .home-section-head,
.dl-club-featured .home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.dl-club-banners .home-section-head a,
.dl-club-featured .home-section-head a {
  color: var(--dl-brand);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* Stats */
.dl-stats {
  background: var(--dl-brand);
  color: #fff;
  padding: 28px 0;
}

.dl-stats__grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dl-stats__grid strong {
  display: block;
  color: var(--dl-yellow);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.dl-stats__grid span {
  font-size: 0.88rem;
  opacity: 0.92;
}

@media (max-width: 800px) {
  .dl-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Benefit cards */
.dl-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dl-benefits__item {
  background: #fff;
  border: 1px solid var(--dl-line);
  border-radius: 18px;
  padding: 24px;
}

.dl-benefits__item b {
  display: inline-block;
  color: var(--dl-brand);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.dl-benefits__item h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.dl-benefits__item p {
  margin: 0 0 14px;
  color: var(--dl-muted);
  line-height: 1.55;
}

.dl-benefits__item a {
  color: var(--dl-brand);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .dl-benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* Split blocks */
.dl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dl-split img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  max-height: 420px;
}

.dl-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 14px;
}

.dl-checklist li {
  display: grid;
  gap: 4px;
}

.dl-checklist strong {
  display: block;
}

.dl-checklist span {
  color: var(--dl-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .dl-split {
    grid-template-columns: 1fr;
  }
}

/* Clinics keep existing markup; slight polish */
.dl-v2 .clinics {
  background: var(--dl-surface);
}

/* Club highlights */
.dl-club-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dl-club-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--dl-line);
}

.dl-club-card small {
  display: block;
  color: var(--dl-brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.dl-club-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.dl-club-card p {
  margin: 0;
  color: var(--dl-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.dl-delimesa {
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(120deg, #680812, #ae1025);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 280px;
}

.dl-delimesa__copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.dl-delimesa__copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.dl-delimesa__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.dl-delimesa__visual {
  min-height: 240px;
  background: #7a101c center/cover no-repeat;
}

@media (max-width: 900px) {
  .dl-club-grid {
    grid-template-columns: 1fr;
  }

  .dl-delimesa {
    grid-template-columns: 1fr;
  }
}

/* DeliPet band */
.dl-pet {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.dl-pet img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.dl-pet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.dl-pet__chips span {
  background: var(--dl-soft);
  color: var(--dl-brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .dl-pet {
    grid-template-columns: 1fr;
  }
}

/* Empresas band */
.dl-empresas {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.dl-empresas img {
  width: 100%;
  border-radius: 24px;
  max-height: 340px;
  object-fit: cover;
}

.dl-empresas__price {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  color: var(--dl-ink);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 16px 0;
}

.dl-empresas__price strong {
  color: var(--dl-brand);
  font-size: 1.8rem;
}

@media (max-width: 900px) {
  .dl-empresas {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dl-steps article {
  background: #fff;
  border: 1px solid var(--dl-line);
  border-radius: 18px;
  padding: 24px;
}

.dl-steps b {
  color: var(--dl-brand);
}

.dl-steps h3 {
  margin: 10px 0 8px;
}

.dl-steps p {
  margin: 0;
  color: var(--dl-muted);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .dl-steps {
    grid-template-columns: 1fr;
  }
}

/* Footer polish */
.dl-v2 .site-footer,
.dl-v2 .footer {
  background: #191a1e;
}

.dl-footer-cta {
  padding: 72px 0;
  text-align: center;
  background: linear-gradient(135deg, #5a0812, var(--dl-brand));
  color: #fff;
}

.dl-footer-cta h2 {
  margin: 8px auto 24px;
  max-width: 560px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.dl-footer-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Secondary pages with unified header */
body.dl-site .main,
body.dl-site .cadastro-page,
body.dl-site .contato-page {
  padding-top: 8px;
}
