/* ==========================================================================
   TIARAJÚ BOUTIQUE — ESTILO PRINCIPAL
   Design de Alta Conversão, Moda Feminina Sofisticada
   Paleta: Branco Premium, Preto Premium, Rosê Suave, Acento Terracota/Laranja
   ========================================================================== */

/* 1. TIPOGRAFIA AUTO-HOSPEDADA (INTER WOFF2) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

/* 2. VARIÁVEIS E TOKENS DE DESIGN */
:root {
  /* Cores Base */
  --bg-light: #FAF7F5;
  --bg-rose: #F5EAE6;
  --bg-rose-subtle: #FDF9F7;
  --bg-dark: #0D0C0B;
  --bg-dark-card: #151413;
  --bg-dark-card-hover: #1A1817;

  /* Acento Oficial da Marca */
  --accent-orange: #B85830;
  --accent-orange-deep: #9E4520;
  --accent-orange-light: #D9744A;
  --accent-orange-glow: rgba(184, 88, 48, 0.35);
  --accent-orange-subtle: rgba(184, 88, 48, 0.12);

  /* Textos */
  --text-dark: #1A1817;
  --text-dark-muted: #706762;
  --text-light: #FDFBF8;
  --text-light-muted: #A89E98;

  /* Bordas Finas e Luz */
  --border-light: rgba(201, 111, 72, 0.18);
  --border-light-hover: rgba(201, 111, 72, 0.40);
  --border-dark: rgba(255, 255, 255, 0.10);
  --border-dark-hover: rgba(201, 111, 72, 0.45);

  /* Layout */
  --container-max: 760px;
  --radius-card: 24px;
  --radius-btn: 999px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  scroll-behavior: auto; /* Controlado pelo Lenis */
}

body {
  width: 100%;
  min-height: 100vh;
  line-height: 1.55;
  background-color: var(--bg-light);
  overflow-x: hidden !important;
  position: relative;
}

/* 4. UTILS & ACESSIBILIDADE */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* SVG Inline Fino */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Container Soberano */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

/* 5. HERO SECTION (BRANCO / ROSÊ PREMIUM) */
.section-hero {
  position: relative;
  width: 100%;
  padding-top: clamp(60px, 12vh, 100px);
  padding-bottom: clamp(70px, 14vh, 120px);
  background: radial-gradient(circle at 50% 20%, #FFF5F2 0%, var(--bg-rose) 45%, var(--bg-light) 100%);
  text-align: center;
  overflow: hidden;
}

/* Efeito de Aura Parallax Suave */
.hero-glow-layer {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 60vw, 550px);
  height: clamp(300px, 60vw, 550px);
  background: radial-gradient(circle, rgba(201, 111, 72, 0.14) 0%, rgba(245, 234, 230, 0.05) 60%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
}

.logo-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  z-index: 2;
}

.brand-logo {
  display: block;
  width: clamp(220px, 55vw, 320px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(201, 111, 72, 0.15));
  transition: transform 0.4s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* Frase de Posicionamento Oficial */
.hero-positioning {
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  max-width: 540px;
  margin: 0 auto 16px;
  padding: 0 10px;
}

/* Apoio da Bio */
.hero-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 111, 72, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent-orange-deep);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.support-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange);
}

/* Botão Principal com Shiny Sweep Glow */
.cta-button-wrapper {
  margin-bottom: 24px;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  min-height: 56px;
  padding: 16px 32px;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-btn);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 12px 32px var(--accent-orange-glow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 40px rgba(201, 111, 72, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

/* Shiny Sweep Glow Automático Contínuo */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shinySweep 3.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -120%; }
  40% { left: 140%; }
  100% { left: 140%; }
}

.hero-microcopy {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  letter-spacing: -0.01em;
}

/* 6. TRANSIÇÃO DEGRADÊ SUAVE (SEM CORTE SECO) */
.transition-curve-to-dark {
  position: relative;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg-light) 0%, #151312 60%, var(--bg-dark) 100%);
  margin-top: -1px;
}

.transition-curve-to-light {
  position: relative;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, #171514 40%, var(--bg-light) 100%);
  margin-top: -1px;
}

/* 7. SEÇÃO DE LINKS E CANAIS EXCLUSIVOS (PRETO PREMIUM) */
.section-dark {
  position: relative;
  width: 100%;
  padding-top: clamp(40px, 8vh, 70px);
  padding-bottom: clamp(60px, 10vh, 90px);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.dark-bg-ambient {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 111, 72, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-orange-light);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-light);
  line-height: 1.25;
}

.section-light .section-label {
  color: var(--accent-orange-deep);
}

.section-light .section-title {
  color: var(--text-dark);
}

/* Links Stack (Página de Links Sofisticada) */
.links-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}

/* Luz suave na aresta superior */
.link-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.link-card:hover {
  transform: translateY(-2px);
  background: var(--bg-dark-card-hover);
  border-color: var(--border-dark-hover);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 111, 72, 0.15);
}

.link-card-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.link-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 111, 72, 0.12);
  color: var(--accent-orange-light);
  border: 1px solid rgba(201, 111, 72, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.link-card:hover .link-card-icon {
  transform: scale(1.06);
  background: rgba(201, 111, 72, 0.22);
}

.link-card-text {
  text-align: left;
}

.link-card-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.link-card-desc {
  font-size: 0.84rem;
  color: var(--text-light-muted);
  line-height: 1.35;
}

.link-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange-light);
  transition: transform 0.3s ease;
}

.link-card:hover .link-card-action {
  transform: translateX(4px);
}

/* Card Destacado em Rosê/Branco dentro do escuro */
.link-card-featured {
  background: linear-gradient(135deg, rgba(201, 111, 72, 0.14) 0%, rgba(21, 20, 19, 0.95) 100%);
  border-color: rgba(201, 111, 72, 0.35);
}

.link-card-featured .link-card-icon {
  background: var(--accent-orange);
  color: #FFFFFF;
}

/* 8. SEÇÃO BALNEÁRIO CAMBORIÚ & ENVIO BRASIL (BRANCO / ROSÊ) */
.section-light {
  position: relative;
  width: 100%;
  padding-top: clamp(40px, 8vh, 70px);
  padding-bottom: clamp(60px, 10vh, 90px);
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow: hidden;
}

.light-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .light-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(201, 111, 72, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light-hover);
  box-shadow: 0 16px 36px rgba(201, 111, 72, 0.12);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
}

.info-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.015em;
}

.info-card-desc {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-orange-deep);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.info-card-link:hover {
  gap: 10px;
  color: var(--accent-orange);
}

/* 9. SEÇÃO CONTATO FINAL & WHATSAPP (PRETO PREMIUM) */
.section-cta-final {
  position: relative;
  width: 100%;
  padding-top: clamp(50px, 10vh, 80px);
  padding-bottom: clamp(60px, 12vh, 100px);
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.final-logo {
  display: block;
  width: clamp(160px, 40vw, 220px);
  height: auto;
  margin: 0 auto 24px;
  opacity: 0.95;
}

.final-title {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.final-desc {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.45;
}

/* 10. RODAPÉ REFINADO */
.site-footer {
  width: 100%;
  padding: 32px 20px 48px;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  color: var(--text-light-muted);
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-orange-light);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* 11. REGRAS DE RESPONSIVIDADE E ACESSIBILIDADE */
@media (max-width: 430px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .link-card {
    padding: 16px 18px;
  }

  .link-card-content {
    gap: 14px;
  }

  .link-card-icon {
    width: 40px;
    height: 40px;
  }

  .link-card-title {
    font-size: 0.96rem;
  }

  .link-card-desc {
    font-size: 0.8rem;
  }

  .btn-primary {
    width: 100%;
    padding: 15px 24px;
    font-size: 0.98rem;
  }
}

/* 12. PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .btn-primary::before {
    display: none;
  }

  .hero-glow-layer, .dark-bg-ambient {
    transform: none !important;
  }
}
