/* EncruzaLove — tema institucional */

:root {
  --bg: #0f0f10;
  --bg-elevated: #1a0a14;
  --surface: #2d1520;
  --primary: #e4b200;
  --primary-soft: #fff2a6;
  --accent: #b11226;
  --accent-soft: #4b0d2a;
  --text: #f5e6d3;
  --text-muted: #b8a090;
  --border: rgba(228, 178, 0, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: min(1120px, calc(100% - 2rem));
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-soft);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 15, 16, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.site-brand__logo,
.custom-logo {
  height: 42px;
  width: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav__cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #c99a00);
  color: #1a120c !important;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(228, 178, 0, 0.12), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(177, 18, 38, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(15, 15, 16, 0.35) 0%, rgba(15, 15, 16, 0.92) 72%, var(--bg) 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.hero__glow--gold {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -80px;
  background: var(--primary);
}

.hero__glow--red {
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: 20%;
  background: var(--accent);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 4rem 5rem;
}

.hero__emblem {
  width: min(320px, 80%);
  margin-inline: auto;
  filter: drop-shadow(0 20px 60px rgba(228, 178, 0, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  max-width: 12ch;
  background: linear-gradient(135deg, #fff 0%, var(--primary-soft) 55%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
}

.hero__soon,
.cta-section__soon {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(245, 230, 211, 0.35);
  border-radius: 999px;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--primary);
  animation: scroll-dot 1.6s infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #c99a00);
  color: #1a120c;
  box-shadow: 0 12px 40px rgba(228, 178, 0, 0.25);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-btn {
  display: inline-flex;
  min-width: 190px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(228, 178, 0, 0.45);
  background: rgba(228, 178, 0, 0.08);
  color: var(--text);
}

.store-btn__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn__text small {
  font-size: 0.68rem;
  opacity: 0.75;
}

.store-btn__text strong {
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(177, 18, 38, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(26, 10, 20, 0.65), rgba(15, 15, 16, 0.2));
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head__lead {
  font-size: 1.05rem;
}

/* Banner carousel */
.banner-carousel {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.banner-carousel__slide {
  display: none;
  margin: 0;
}

.banner-carousel__slide.is-active {
  display: block;
}

.banner-carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.banner-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.banner-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.banner-carousel__dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid__media {
  position: relative;
}

.about-grid__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-grid__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 15, 16, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(228, 178, 0, 0.18), rgba(177, 18, 38, 0.18));
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--text);
}

/* Rituals */
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ritual-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--primary);
}

.ritual-card--amarracao { border-left-color: #e63950; }
.ritual-card--amizade { border-left-color: #4caf6e; }
.ritual-card--dar-axe { border-left-color: #ffcc00; }
.ritual-card--despacho { border-left-color: #8e8e8e; }
.ritual-card--afastamento { border-left-color: #b8916b; }
.ritual-card--adocamento { border-left-color: #ffcc00; }

.ritual-card h3 {
  font-size: 1.05rem;
  color: var(--text);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

.video-card h3 {
  padding: 1rem 1.1rem 1.2rem;
  font-size: 1rem;
  color: var(--text);
}

/* CTA */
.cta-section {
  padding-bottom: 6rem;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 10% 20%, rgba(228, 178, 0, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(75, 13, 42, 0.85), rgba(26, 10, 20, 0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-section__emblem {
  width: min(280px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 16px 50px rgba(177, 18, 38, 0.25));
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  background: #090809;
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer__logo {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.site-footer__tagline {
  max-width: 28ch;
}

.site-footer h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a,
.site-footer a {
  color: var(--text-muted);
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.social-links__item {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer__age {
  margin: 0;
}

/* Content pages */
.content-area {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.page-article h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.entry-content {
  color: var(--text-muted);
}

.entry-content h2,
.entry-content h3 {
  color: var(--text);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__content,
  .about-grid,
  .cta-section__inner,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .ritual-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .hero__emblem {
    width: min(220px, 70%);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(15, 15, 16, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-grid,
  .ritual-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__emblem,
  .hero__scroll span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
