/* =========================================================
   Sky Fit Resende — Linktree Bio Landing Page (Mobile-First)
   Cores extraídas da referência BASE POST.png e logotipo
   ========================================================= */

:root {
  --navy-950: #05163B;
  --navy-900: #082256;
  --navy-800: #11306E;
  --navy-700: #1C428A;
  --red-600: #B80021;
  --red-500: #D90429;
  --red-400: #FF1E42;
  --ice-50: #FFFFFF;
  --ice-100: #F4F7FB;
  --ice-200: #E5ECF5;
  --ice-300: #D2DCEB;
  --text-main: #0A1E47;
  --text-muted: #4C5D7D;
  --shadow-card: 0 8px 24px -6px rgba(8, 34, 86, 0.12), 0 2px 6px rgba(8, 34, 86, 0.05);
  --shadow-red: 0 10px 26px -6px rgba(217, 4, 41, 0.34);
  --radius-lg: 18px;
  --radius-md: 14px;
  --font-display: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: linear-gradient(155deg, #eef3f9 0%, #ffffff 48%, #e6edf7 100%);
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}

/* =========================================================
   Fundo dinâmico estilo BASE POST
   ========================================================= */
.brand-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-stripes {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      -52deg,
      rgba(17, 48, 110, 0.03) 0px,
      rgba(17, 48, 110, 0.03) 32px,
      transparent 32px,
      transparent 78px
    );
}

.bg-dots {
  position: absolute;
  width: 140px;
  height: 220px;
  background-image: radial-gradient(rgba(17, 48, 110, 0.13) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
  opacity: 0.7;
}

.bg-dots--right {
  top: 38%;
  right: -20px;
  mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 100%);
}

.bg-dots--left {
  bottom: 14%;
  left: -20px;
  mask-image: linear-gradient(to right, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 100%);
}

.wave {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: auto;
}

.wave--top {
  top: 0;
  height: 120px;
}

.wave--bottom {
  bottom: 0;
  height: 130px;
}

/* =========================================================
   Container Mobile Linktree
   ========================================================= */
.bio-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 56px 18px 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================================================
   Hero / Cabeçalho
   ========================================================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  gap: 10px;
  animation: fadeSlideUp 0.45s ease-out both;
}

.hero__logo-wrap {
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(8, 34, 86, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero__logo {
  display: block;
  width: 210px;
  height: auto;
  object-fit: contain;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.unit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(8, 34, 86, 0.22);
}

.icon-sm {
  width: 13px;
  height: 13px;
  color: var(--red-400);
}

.hero__tagline {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 310px;
  font-weight: 500;
}

/* =========================================================
   Sessões
   ========================================================= */
.section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  animation: fadeSlideUp 0.5s ease-out both;
}

.section:nth-of-type(2) { animation-delay: 0.05s; }
.section:nth-of-type(3) { animation-delay: 0.1s; }
.section:nth-of-type(4) { animation-delay: 0.15s; }

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section__title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-500) 0%, var(--navy-900) 100%);
  transform: skewX(-12deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--bf {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.28);
}

.badge--live {
  background: rgba(8, 34, 86, 0.1);
  color: var(--navy-900);
  border: 1px solid rgba(8, 34, 86, 0.18);
}

/* =========================================================
   Link Cards (Estilo Linktree)
   ========================================================= */
.link-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  min-height: 70px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(17, 48, 110, 0.1);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.link-card:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 4, 41, 0.45);
    box-shadow: 0 12px 28px -8px rgba(8, 34, 86, 0.18);
  }
}

/* Card Destaque (Anual Black Friday) */
.link-card--featured {
  background: linear-gradient(135deg, #ffffff 0%, #fff4f6 100%);
  border: 1.8px solid rgba(217, 4, 41, 0.55);
  box-shadow: var(--shadow-red);
}

.link-card--featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
}

.link-card__icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.link-card__icon svg {
  width: 21px;
  height: 21px;
}

.link-card__icon--red {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(217, 4, 41, 0.28);
}

.link-card__icon--navy {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(8, 34, 86, 0.22);
}

.link-card__icon--whatsapp {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(21, 128, 61, 0.28);
}

.link-card--whatsapp .link-card__eyebrow {
  color: #15803d;
}

.link-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.link-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red-500);
}

.link-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.link-card__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.link-card__arrow {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-card__arrow svg {
  width: 16px;
  height: 16px;
}

.link-card--featured .link-card__arrow {
  background: rgba(217, 4, 41, 0.12);
  color: var(--red-500);
}

/* =========================================================
   Sessão Horários (Accordion)
   ========================================================= */
.schedule-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(17, 48, 110, 0.1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.schedule-card__toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.schedule-card__chevron {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

.schedule-card__chevron svg {
  width: 16px;
  height: 16px;
}

.schedule-card__toggle[aria-expanded="true"] .schedule-card__chevron {
  transform: rotate(180deg);
  background: var(--navy-900);
  color: #ffffff;
}

.schedule-panel {
  padding: 2px 15px 16px;
  border-top: 1px solid var(--ice-200);
}

.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  font-size: 0.86rem;
  border-bottom: 1px dashed var(--ice-200);
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list span {
  color: var(--text-muted);
  font-weight: 500;
}

.schedule-list strong {
  color: var(--navy-900);
  font-weight: 700;
}

.schedule-note {
  margin-top: 10px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.schedule-ext-btn {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.schedule-ext-btn svg {
  width: 15px;
  height: 15px;
}

.schedule-ext-btn:active {
  background: var(--navy-950);
}

/* =========================================================
   Sessão Desafio Indoor (Card de Destaque Escuro)
   ========================================================= */
.challenge-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  padding: 18px 18px 17px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 62%, #193e86 100%);
  box-shadow: 0 14px 30px -10px rgba(5, 22, 59, 0.55);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.challenge-card:active {
  transform: scale(0.985);
}

.challenge-card__accent {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 180px;
  height: 180%;
  background: linear-gradient(180deg, rgba(217, 4, 41, 0.9) 0%, rgba(255, 30, 66, 0.15) 100%);
  transform: rotate(22deg);
  pointer-events: none;
}

.challenge-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.challenge-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.challenge-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.challenge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.challenge-icon svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.challenge-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.challenge-card__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  max-width: 92%;
}

.challenge-card__cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--red-500);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(217, 4, 41, 0.4);
}

.challenge-card__cta svg {
  width: 15px;
  height: 15px;
}

/* =========================================================
   Rodapé
   ========================================================= */
.footer {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(8, 34, 86, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-900);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(8, 34, 86, 0.08);
  -webkit-tap-highlight-color: transparent;
}

.share-btn svg {
  width: 15px;
  height: 15px;
  color: var(--red-500);
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   Modal e Toast
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 22, 59, 0.62);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 24px 48px rgba(5, 22, 59, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--ice-100);
  color: var(--navy-900);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--navy-900);
}

.modal__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.modal__btn {
  margin-top: 6px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--navy-900);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--navy-950);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(5, 22, 59, 0.35);
}

.toast[hidden] {
  display: none;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
