/* ===== Variables ===== */
:root {
  --color-bg: #fff8f3;
  --color-bg-alt: #f0ebff;
  --color-surface: #ffffff;
  --color-text: #2d2640;
  --color-text-muted: #6b6280;
  --color-primary: #e84393;
  --color-primary-dark: #c7357a;
  --color-secondary: #6c5ce7;
  --color-accent: #fdcb6e;
  --color-mint: #00b894;
  --color-coral: #ff7675;
  --color-sky: #74b9ff;
  --shadow-sm: 0 2px 8px rgba(45, 38, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(45, 38, 64, 0.12);
  --shadow-lg: 0 16px 48px rgba(45, 38, 64, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
  overflow: visible;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}
.logo {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  margin-top: -18px;
  margin-bottom: -58px;
  transition: margin 0.35s ease;
}
.logo img {
  height: 145px;
  width: auto;
  display: block;
  transition: height 0.35s ease, transform 0.2s;
  filter: drop-shadow(0 6px 16px rgba(45, 38, 64, 0.15));
}
.logo:hover img { transform: scale(1.03); }

.header.is-scrolled .logo {
  margin-top: -4px;
  margin-bottom: -24px;
}
.header.is-scrolled .logo img {
  height: 92px;
}

.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--color-primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 67, 147, 0.35);
}
.btn--primary:hover { box-shadow: 0 6px 24px rgba(232, 67, 147, 0.45); }
.btn--outline {
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  background: transparent;
}
.btn--outline:hover { background: rgba(108, 92, 231, 0.08); }
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(253, 203, 110, 0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: #b8860b;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 32ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section--contact { padding-bottom: 6rem; }
.section__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section__header p { color: var(--color-text-muted); }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.gallery__item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 1;
}
.gallery__item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 38, 64, 0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

/* ===== Videos ===== */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.video-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.video-card__info { padding: 1.25rem 1.5rem; }
.video-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.video-card__info p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ===== Tips ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tip-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(108, 92, 231, 0.08);
  transition: transform 0.2s;
}
.tip-card:hover { transform: translateY(-3px); }
.tip-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.tip-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.tip-card p { color: var(--color-text-muted); font-size: 0.95rem; }

.tutorial {
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.08), rgba(108, 92, 231, 0.08));
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(108, 92, 231, 0.12);
}
.tutorial h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.tutorial__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.tutorial__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
}
.tutorial__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.tutorial__steps strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
.tutorial__steps span { color: var(--color-text-muted); font-size: 0.9rem; }

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card__size {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}
.price-card__grid {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.price-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.price-card__features { text-align: left; }
.price-card__features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-mint);
  font-weight: 700;
}
.pricing__note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.contact-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.contact-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.contact-box__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-box__gallery img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer a { color: var(--color-accent); }
.footer a:hover { text-decoration: underline; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 12, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  max-width: min(90vw, 800px);
  max-height: 85vh;
  text-align: center;
}
.lightbox__figure img {
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
  color: #fff;
  font-family: var(--font-display);
  margin-top: 1rem;
  font-size: 1.1rem;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  opacity: 0.7;
  padding: 1rem;
  transition: opacity 0.2s;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner,
  .contact-box { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .logo {
    margin-top: -12px;
    margin-bottom: -42px;
  }
  .logo img { height: 110px; }
  .header.is-scrolled .logo {
    margin-top: 0;
    margin-bottom: -14px;
  }
  .header.is-scrolled .logo img { height: 76px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .contact-box { padding: 2rem 1.5rem; }
  .tutorial { padding: 1.5rem; }
  .lightbox__nav { font-size: 2rem; }
}
