/* ===========================================
   Leve Infância Links — @leveinfanciakids_jacutinga
   =========================================== */

/* FONT */
@font-face {
  font-family: 'KitRounded';
  src: url('../fonts/kit-rounded-regular/kit-rounded-regular.woff2') format('woff2'),
       url('../fonts/kit-rounded-regular/kit-rounded-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* TOKENS */
:root {
  --c-teal:        #3ACBC7;
  --c-teal-dark:   #2db8b4;
  --c-pink:        #DF1F88;
  --c-pink-dark:   #c91478;
  --c-purple:      #6248B7;
  --c-white:       #FFFFFF;
  --c-white-muted: rgba(255,255,255,0.75);

  --radius-card:   20px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.16);
  --shadow-hover:  0 12px 40px rgba(0,0,0,0.26);

  --max-width: 700px;
  --pad-x:    16px;
}

/* BASE */
body {
  font-family: 'KitRounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--c-teal) url('../images/imagemback-mobile.webp') no-repeat center top;
  background-size: cover;
  color: var(--c-white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px var(--pad-x) 64px;
}

/* ---- MARQUEE DIVISOR ---- */
.marquee-divider {
  position: relative;
  z-index: 1;
  background: #FFE04A;
  padding-block: 11px;
  overflow: hidden;
}
.marquee-divider__track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform: translateX(-20%);
}
.marquee-divider__item {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 900;
  white-space: nowrap;
  color: #222222;
  letter-spacing: -0.02em;
}
.marquee-highlight {
  color: var(--c-pink);
}
.marquee-divider__dot {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 900;
  color: #c91478;
  flex-shrink: 0;
  line-height: 1;
}

/* ---- HERO BANNER (full bleed) ---- */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 923;
  overflow: hidden;
  background: rgba(0,0,0,0.1);
}
.hero-banner picture { display: block; width: 100%; height: 100%; }
.hero-banner picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* ---- PROFILE CARD (sobrepõe hero + marquee) ---- */
.profile-card-wrapper {
  position: relative;
  z-index: 3;
  margin-top: -145px;
  display: flex;
  justify-content: center;
  padding: 0 var(--pad-x);
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  width: 100%;
  max-width: 380px;
  background: rgba(49, 167, 164, 0.55);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    rgba(58,203,199,0.22) 0px 0px 32px,
    rgba(255,255,255,0.08) 0px 0px 30px inset;
}

/* moldura de 4 cantos */
.corner {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 2;
}
.corner--tl { top: -1px; left: -1px; border-top: 3px solid #FFE04A; border-left: 3px solid #FFE04A; border-radius: 16px 0 0 0; }
.corner--tr { top: -1px; right: -1px; border-top: 3px solid #FFE04A; border-right: 3px solid #FFE04A; border-radius: 0 16px 0 0; }
.corner--bl { bottom: -1px; left: -1px; border-bottom: 3px solid #FFE04A; border-left: 3px solid #FFE04A; border-radius: 0 0 0 16px; }
.corner--br { bottom: -1px; right: -1px; border-bottom: 3px solid #FFE04A; border-right: 3px solid #FFE04A; border-radius: 0 0 16px 0; }

.profile__logo {
  height: 38px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
}

.profile__name {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}
.profile__name--highlight {
  color: #FFE04A;
}
.profile__bio {
  font-size: 0.875rem;
  color: #FFFFFF;
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto 16px;
}
.card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

/* ---- SECTION WRAPPER ---- */
.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ---- BLOCK (card + botão) ---- */
.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ---- CARD WRAPPER ---- */
.card-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 345 / 377;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

/* ---- BG MEDIA (imagem de fundo absoluta) ---- */
.bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-media picture { display: block; width: 100%; height: 100%; }
.bg-media picture img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* label placeholder — lado direito do card */
.bg-label {
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
}

/* ---- CARD CONTENT (texto sobreposto à esquerda) ---- */
.card-content {
  position: relative;
  z-index: 1;
  width: 52%;
  padding: 28px 0 28px 28px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.card-desc {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0,0,0,0.25);
}

/* ---- BOTÃO (sobrepõe o bottom do card) ---- */
.botao-cta {
  display: block;
  position: relative;
  z-index: 3;
  width: 80%;
  text-align: center;
  margin-top: -40px;
  padding: 15px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--c-white);
  color: var(--c-teal);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: background 200ms ease, color 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}
.botao-cta:hover {
  background: var(--c-teal-dark);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.botao-cta:active { transform: translateY(0); }

/* Bloco 1 — Comprar (amarelo) */
.section-wrapper .block:first-child .card-title {
  color: #FFE04A;
}
.section-wrapper .block:first-child .botao-cta {
  background: #FFE04A;
  color: #222222;
}
.section-wrapper .block:first-child .botao-cta:hover {
  background: #e6ca2e;
  color: #222222;
}

/* Bloco 2 — Google (azul) */
.section-wrapper .block:nth-child(2) .botao-cta {
  background: #3A5BBC;
  color: #ACD1FC;
}
.section-wrapper .block:nth-child(2) .botao-cta:hover {
  background: #2f4da0;
  color: #ACD1FC;
}

/* Botão destaque — Bloco Franquia */
.block--franquia .botao-cta {
  background: #FFFFFF;
  color: #FCC42C;
  padding: 15px 24px;
  font-size: 0.95rem;
}
.block--franquia .botao-cta:hover {
  background: #f0f0f0;
  color: #FCC42C;
}

/* ---- DESKTOP (≥ 768px) ---- */
@media (min-width: 768px) {
  :root {
    --max-width: 780px;
    --pad-x: 32px;
  }

  body {
    background-image: url('../images/imagemback-desktop.webp');
  }

  /* Banner panorâmico no desktop */
  .hero-banner { aspect-ratio: 2560 / 709; }

  /* Card sobreposto no desktop */
  .profile-card-wrapper { margin-top: -110px; }
  .profile-card { max-width: 520px; padding: 44px 48px 40px; }
  .profile__logo { height: 44px; margin-bottom: 22px; }
  .profile__name { font-size: 1.5rem; }
  .profile__bio  { font-size: 0.9rem; max-width: 420px; }

  .section-wrapper { gap: 36px; }

  /* Card panorâmico no desktop */
  .card-wrapper { aspect-ratio: 1048 / 411; }

  .card-content { padding: 36px 0 36px 48px; }
  .card-title   { font-size: 1.75rem; }
  .card-desc    { font-size: 0.875rem; }

  .botao-cta { width: 55%; margin-top: -40px; }
}

/* ---- MOBILE (≤ 767px) — profile card compacto dentro do hero ---- */
@media (max-width: 767px) {
  .card-wrapper { aspect-ratio: 1026 / 1212; }

  .card-wrapper { justify-content: flex-end; }

  .card-content {
    width: 100%;
    padding: 20px 20px 56px;
    text-align: center;
  }
  .profile-card-wrapper {
    margin-top: -255px;
  }
  .profile-card {
    padding: 18px 20px 16px;
    max-width: calc(100% - 32px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .corner { width: 32px; height: 32px; }
  .profile__logo {
    height: 26px;
    margin-bottom: 10px;
  }
  .profile__name {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .profile__bio {
    font-size: 0.75rem;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .card-arrow {
    font-size: 0.72rem;
  }
  .page {
    padding-top: 100px;
  }
}
