/* ==========================================================================
   Mari modas feminina — Design System & Stylesheet Oficial
   Tipografia: Montserrat | Paleta: Nude Champagne & Espresso Velvet
   ========================================================================== */

/* 1. Variáveis de Design & Tokens */
:root {
  /* Fundo Global Contínuo (Sem Caixas Cinzas) */
  --bg-deep: #150F0D;
  --bg-surface: #1E1613;
  --bg-card: rgba(36, 26, 21, 0.72);
  --bg-card-hover: rgba(48, 35, 29, 0.88);

  /* Acentos de Marca (Extraídos da Logo) */
  --brand-nude: #F5E3D5;
  --brand-champagne: #D8B494;
  --brand-bronze: #8E5A2E;
  --brand-mocha: #5A3E26;
  
  /* Cores de Ação */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #1DA851;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Tipografia */
  --text-pure: #FFFDFB;
  --text-main: #EFE6DE;
  --text-muted: #A8988C;
  --text-caption: #8A7A6E;

  /* Vidro & Bordas */
  --border-light: rgba(216, 180, 148, 0.16);
  --border-hover: rgba(216, 180, 148, 0.42);
  --glass-glow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.12), inset 0 12px 24px rgba(216, 180, 148, 0.04);

  /* Layout */
  --max-width: 680px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  /* Transições Suaves */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.22s;
  --duration-normal: 0.4s;
}

/* 2. Reset Moderno & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden !important;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden !important;
  width: 100%;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 24px);
}

/* 3. Camada Three.js & Iluminação Atmosférica Contínua */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -15vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(142, 90, 46, 0.32) 0%, rgba(21, 15, 13, 0) 70%);
}

.glow-2 {
  top: 45vh;
  right: -20vw;
  width: 70vw;
  max-width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(216, 180, 148, 0.16) 0%, rgba(21, 15, 13, 0) 70%);
}

.glow-3 {
  bottom: 5vh;
  left: -20vw;
  width: 80vw;
  max-width: 550px;
  height: 450px;
  background: radial-gradient(circle, rgba(90, 62, 38, 0.28) 0%, rgba(21, 15, 13, 0) 70%);
}

/* 4. Header Minimalista Fixo (Mobile <= 56px) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(21, 15, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-pure);
}

.header-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.header-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-nude);
}

.header-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(216, 180, 148, 0.1);
  border: 1px solid var(--border-light);
  color: var(--brand-champagne);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-spring);
  min-height: 40px;
}

.header-ig-link:hover,
.header-ig-link:focus-visible {
  background: rgba(216, 180, 148, 0.22);
  border-color: var(--brand-champagne);
  color: var(--text-pure);
}

/* 5. Container Geral */
#scroll-container {
  position: relative;
  z-index: 10;
  padding-top: 56px;
  width: 100%;
}

.page-main {
  width: 100%;
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 6. HERO SECTION: Sem Badges Decorativas, Ponto Focal Elegante */
.hero-section {
  position: relative;
  padding: 38px 20px 24px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, var(--brand-bronze), var(--brand-champagne), var(--brand-nude), var(--brand-bronze));
  opacity: 0.75;
  filter: blur(2px);
  animation: slowSpin 16s linear infinite;
}

@keyframes slowSpin {
  100% { transform: rotate(360deg); }
}

.hero-avatar {
  position: relative;
  border-radius: 50%;
  border: 3px solid var(--bg-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  display: block;
}

.hero-brand-title {
  font-size: clamp(1.85rem, 5.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-pure);
  line-height: 1.18;
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  font-weight: 600;
  color: var(--brand-champagne);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-cta-wrapper {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

/* Pílula Informativa Factual (Entrega) */
.delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-nude);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  background: rgba(216, 180, 148, 0.08);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
}

.delivery-pill svg {
  color: var(--brand-champagne);
  flex-shrink: 0;
}

/* 7. BOTÕES CANÔNICOS & SHINY SWEEP GLOW */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-spring),
              background var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
  border: none;
}

/* Efeito Shiny Sweep Glow */
.btn-shiny {
  position: relative;
  overflow: hidden;
}

.btn-shiny::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: transform 0.75s var(--ease-spring);
}

.btn-shiny:hover::after,
.btn-shiny:focus-visible::after,
.btn-shiny:active::after {
  transform: rotate(25deg) translate(400%, 0);
}

/* Botão WhatsApp Principal */
.btn-whatsapp {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
  color: #062812;
  box-shadow: 0 10px 28px var(--whatsapp-glow), 0 2px 4px rgba(0,0,0,0.2);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--whatsapp-glow), 0 4px 8px rgba(0,0,0,0.25);
  color: #031D0C;
}

.btn-whatsapp:active {
  transform: translateY(1px);
}

.btn-whatsapp .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botão Secundário */
.btn-secondary {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-champagne) 0%, var(--brand-bronze) 100%);
  color: #1A110C;
  font-size: 0.92rem;
  padding: 12px 20px;
  min-height: 48px;
  box-shadow: 0 8px 20px rgba(142, 90, 46, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(142, 90, 46, 0.38);
}

/* 8. BENDING MARQUEE: Movimento Dinâmico com Perspectiva Curvada */
.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  perspective: 600px;
}

.bending-marquee-track {
  width: 100%;
  transform: rotate(-1.2deg) scale(1.03);
  background: linear-gradient(90deg, #2A1C15 0%, #3D291E 50%, #2A1C15 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
  display: flex;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marqueeRoll 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-nude);
  padding: 0 16px;
}

.marquee-dot {
  color: var(--brand-champagne);
  font-size: 0.75rem;
  opacity: 0.8;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 9. CABEÇALHO DE SEÇÕES */
.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(1.4rem, 4.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* 10. LOOKBOOK SECTION: Scroll Stack + Scroll Mask */
.lookbook-section {
  padding: 38px 0;
}

.scroll-stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.look-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-glow), var(--inner-glow);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-spring),
              border-color var(--duration-normal) ease;
  will-change: transform;
}

.look-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.look-card-inner {
  display: flex;
  flex-direction: column;
}

.look-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1B1310;
}

.look-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.look-card:hover .look-img {
  transform: scale(1.03);
}

.look-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 15, 13, 0) 60%, rgba(21, 15, 13, 0.85) 100%);
  pointer-events: none;
}

.look-details {
  padding: 22px 20px 24px;
  text-align: left;
}

.look-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-champagne);
  margin-bottom: 6px;
}

.look-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.look-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* 11. CANAIS RÁPIDOS (LINK-IN-BIO PREMIUM HUB) */
.links-section {
  padding: 34px 0;
}

.action-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), var(--inner-glow);
  transition: all var(--duration-fast) var(--ease-spring);
  min-height: 68px;
}

.action-card:hover,
.action-card:focus-visible {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(216, 180, 148, 0.12);
}

.action-card:active {
  transform: translateY(0);
}

.action-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wpp {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.icon-ig {
  background: rgba(216, 180, 148, 0.15);
  color: var(--brand-champagne);
  border: 1px solid var(--border-light);
}

.icon-delivery {
  background: rgba(142, 90, 46, 0.2);
  color: var(--brand-nude);
  border: 1px solid rgba(142, 90, 46, 0.35);
}

.action-info {
  flex-grow: 1;
  text-align: left;
}

.action-name {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.action-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.action-arrow {
  color: var(--brand-champagne);
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.action-card:hover .action-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* 12. FAQ ACCORDION */
.faq-section {
  padding: 34px 0 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), var(--inner-glow);
  overflow: hidden;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.faq-item[open] {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  list-style: none;
  user-select: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--brand-champagne);
  display: flex;
  align-items: center;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-answer a {
  color: var(--brand-champagne);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 13. FOOTER */
.site-footer {
  padding: 40px 20px 80px;
  border-top: 1px solid var(--border-light);
  background: rgba(17, 12, 10, 0.92);
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.footer-brand-info {
  text-align: left;
}

.footer-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-nude);
}

.footer-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--text-caption);
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(216, 180, 148, 0.08);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--brand-champagne);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-spring);
  min-height: 48px;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  background: rgba(216, 180, 148, 0.2);
  color: var(--text-pure);
  border-color: var(--brand-champagne);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-caption);
}

/* 14. WHATSAPP FLUTUANTE ELEGANTE */
.floating-whatsapp {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
  color: #04220F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px var(--whatsapp-glow), 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 99;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-spring);
  touch-action: manipulation;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px var(--whatsapp-glow), 0 6px 16px rgba(0, 0, 0, 0.5);
  color: #02170A;
}

.floating-whatsapp:active {
  transform: scale(0.96);
}

/* 15. ACESSIBILIDADE & REDUCED MOTION */
:focus-visible {
  outline: 2px solid var(--brand-champagne);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .avatar-ring {
    animation: none !important;
  }
  .marquee-inner {
    animation: none !important;
  }
  #ambient-canvas {
    display: none !important;
  }
}

/* 16. DESKTOP REFINEMENTS (Layout Boxed Contido) */
@media (min-width: 768px) {
  .hero-section {
    padding: 48px 24px 32px;
  }
  .hero-avatar {
    width: 124px;
    height: 124px;
  }
  .scroll-stack-wrapper {
    gap: 32px;
  }
  .look-card-inner {
    flex-direction: row;
    align-items: center;
  }
  .look-image-container {
    width: 48%;
    aspect-ratio: 3 / 4;
  }
  .look-details {
    width: 52%;
    padding: 28px 28px;
  }
}
