/* ==========================================================================
   ARTEMISÀ DO FOGO — design tokens
   Paleta: azul-marinho profundo, violeta cósmico, dourado luminoso, azul elétrico
   Tipografia: Cinzel (títulos ritualísticos) + Cormorant Garamond (subtítulos)
               + Inter (corpo de texto legível)
   ========================================================================== */

:root{
  --void:        #05060d;
  --navy:        #0a0e22;
  --navy-soft:   #101532;
  --violet:      #241a42;
  --violet-deep: #150f28;
  --gold:        #d4af6a;
  --gold-bright: #ecd6a0;
  --blue:        #5b8fd6;
  --blue-bright: #9cc7ff;
  --white-soft:  #f4f1ea;
  --text-main:   #e8e6f0;
  --text-muted:  #a7abc8;

  --font-display: 'Cinzel', serif;
  --font-sub: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --glass-bg: rgba(20, 24, 48, 0.45);
  --glass-border: rgba(212, 175, 106, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--void);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white-soft);
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
}

.italic{
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

p{ margin: 0 0 1.1em; }

em{
  font-family: var(--font-sub);
  font-style: italic;
  color: var(--gold-bright);
}

a{ color: inherit; text-decoration: none; }

ul{ margin: 0; padding: 0; list-style: none; }

img{ max-width: 100%; display: block; }

/* ==========================================================================
   FUNDO CÓSMICO — starfield + gradiente
   ========================================================================== */

#starfield{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--void);
}

.cosmic-gradient{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(91,143,214,0.14), transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 100%, rgba(36,26,66,0.55), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 60%, rgba(212,175,106,0.06), transparent 60%);
}

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,6,13,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled{
  background: rgba(5,6,13,0.72);
  border-bottom-color: rgba(212,175,106,0.15);
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-soft);
}
.logo span{ color: var(--gold); }

.main-nav{
  display: flex;
  gap: 2.2rem;
}

.nav-link{
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
@media (hover: hover){
  .nav-link:hover{ color: var(--gold-bright); }
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
@media (hover: hover){
  .nav-link:hover::after{ width: 100%; }
}

.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 22px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span{
  display: block;
  height: 1px;
  width: 100%;
  background: var(--gold-bright);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(9.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-9.5px) rotate(-45deg); }

/* ==========================================================================
   BOTÕES
   ========================================================================== */

.btn{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-primary{
  background: linear-gradient(135deg, var(--gold), #b98d4a);
  color: #1a1408;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(212,175,106,0.28), 0 8px 24px rgba(0,0,0,0.35);
}
@media (hover: hover){
  .btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(212,175,106,0.42), 0 10px 28px rgba(0,0,0,0.4);
  }
}

.btn-outline{
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid rgba(156,199,255,0.45);
}
@media (hover: hover){
  .btn-outline:hover{
    background: rgba(91,143,214,0.12);
    border-color: var(--blue-bright);
    transform: translateY(-2px);
  }
}

.btn-large{
  padding: 1.15rem 2.8rem;
  font-size: 0.92rem;
}

.cta-wrap{
  margin-top: 2.2rem;
  text-align: center;
}

/* ==========================================================================
   LAYOUT DE SEÇÃO
   ========================================================================== */

.section{
  position: relative;
  padding: 7rem 1.75rem;
  border-top: 1px solid rgba(212,175,106,0.08);
  scroll-margin-top: 76px;
}

#atendimentos, .hero, #blue-circle{ scroll-margin-top: 76px; }

.section-inner{
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow{
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue-bright);
  letter-spacing: 0.04em;
  margin-bottom: 0.7em;
  opacity: 0.85;
}

.section-text{
  color: var(--text-muted);
  font-size: 1.02rem;
}

.subtitle{
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-top: -0.4em;
}

/* Reveal on scroll */
.fade-in{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.fade-in.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-geometry{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.orbit-lines{
  position: absolute;
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  opacity: 0.22;
}
.orbit{
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 0.6;
  opacity: 0.32;
  transform-origin: center;
  animation: spin 90s linear infinite;
}
.orbit-slow{ animation-duration: 140s; animation-direction: reverse; opacity: 0.18;}
.orbit-fast{ animation-duration: 60s; opacity: 0.38; }

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.hero-rose{
  width: min(48vw, 340px);
  height: min(48vw, 340px);
  opacity: 0.55;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow{
  0%, 100%{ filter: drop-shadow(0 0 18px rgba(91,143,214,0.35)); }
  50%{ filter: drop-shadow(0 0 34px rgba(91,143,214,0.55)); }
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 3rem 2.2rem;
}

.hero-content::before{
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background: radial-gradient(ellipse 70% 65% at 50% 45%, rgba(5,6,13,0.72) 0%, rgba(5,6,13,0.5) 45%, transparent 78%);
  pointer-events: none;
}

.hero h1{
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 0.7em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.8);
}

.hero-subtext{
  color: var(--white-soft);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.4em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.eyebrow{ text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

.scroll-hint{
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(212,175,106,0.6), transparent);
}
.scroll-hint span{
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: hint-drop 2.6s ease-in-out infinite;
}
@keyframes hint-drop{
  0%{ top: 0; opacity: 0; }
  20%{ opacity: 1; }
  90%{ opacity: 0; }
  100%{ top: 42px; opacity: 0; }
}

/* ==========================================================================
   ROSA AZUL — símbolo reutilizável
   ========================================================================== */

.ring{
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 0.7;
  opacity: 0.55;
}
.ring-thin{ stroke-width: 0.4; opacity: 0.35; }

.petal{ opacity: 0.92; }
.petal-inner{ opacity: 0.85; }

.rose-core{
  fill: var(--gold-bright);
  filter: drop-shadow(0 0 6px rgba(236,217,160,0.8));
}

/* ==========================================================================
   VÍDEO DE APRESENTAÇÃO
   ========================================================================== */

.section-video{ text-align: center; }

.video-frame{
  position: relative;
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--violet-deep), var(--navy));
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(91,143,214,0.12), 0 20px 60px rgba(0,0,0,0.45);
}

.video-glow{
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,106,0.14), transparent 60%);
  animation: pulse-glow 8s ease-in-out infinite;
}

.video-embed{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.video-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.play-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,106,0.6);
  background: rgba(5,6,13,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0;
  padding-left: 4px; /* optically center the ▶ glyph */
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  box-shadow: 0 0 24px rgba(212,175,106,0.25);
}
@media (hover: hover){
  .play-icon:hover{
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 34px rgba(212,175,106,0.4);
    background: rgba(5,6,13,0.7);
  }
}

/* ==========================================================================
   SOBRE ARTEMISÀ
   ========================================================================== */

.sobre-grid{
  display: block;
}

.sobre-text p{ color: var(--text-muted); }

/* ==========================================================================
   ESCOLA DA ROSA AZUL
   ========================================================================== */

.section-escola{
  background: linear-gradient(180deg, transparent, rgba(36,26,66,0.35) 20%, rgba(36,26,66,0.35) 80%, transparent);
}

.escola-header{ text-align: center; margin-bottom: 2.2rem; }

.rose-emblem{
  width: 130px;
  height: 130px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(91,143,214,0.4));
}

.escola-text p{ color: var(--text-muted); }

.closing-text{ text-align: center; font-family: var(--font-sub); font-style: italic; font-size: 1.15rem; color: var(--gold-bright); margin: 2.2rem 0; }

/* ==========================================================================
   BLUE CIRCLE
   ========================================================================== */

.section-bluecircle{
  background: linear-gradient(180deg, transparent, rgba(20,40,80,0.32) 20%, rgba(20,40,80,0.32) 80%, transparent);
}

.galaxy-emblem{
  filter: drop-shadow(0 0 22px rgba(91,143,214,0.5));
}

.galaxy-arms{
  fill: none;
}
.galaxy-arms ellipse{
  stroke: url(#blueArmGrad);
  stroke-width: 1;
  opacity: 0.4;
  animation: spin 200s linear infinite;
  transform-origin: 100px 100px;
}
.galaxy-arms ellipse:nth-child(2){ animation-duration: 260s; animation-direction: reverse; opacity: 0.32; }
.galaxy-arms ellipse:nth-child(3){ animation-duration: 170s; opacity: 0.28; }
.galaxy-arms ellipse:nth-child(4){ animation-duration: 320s; animation-direction: reverse; opacity: 0.22; }

.galaxy-stars circle{
  fill: var(--white-soft);
  opacity: 0.85;
}

.galaxy-core{
  fill: var(--blue-bright);
  filter: drop-shadow(0 0 8px rgba(156,199,255,0.9));
}

/* Cards translúcidos (glassmorphism) */
.glass-card{
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  margin: 1.6rem 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.glass-card h3, .glass-card h4{
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin-bottom: 0.9em;
}

.ritual-list li{
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75em;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.ritual-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 6px rgba(156,199,255,0.7);
}

/* ==========================================================================
   ATENDIMENTOS
   ========================================================================== */

.choice-title{
  text-align: center;
  font-size: 1.15rem;
  margin: 2.4rem 0 1.4rem;
  color: var(--gold-bright);
}

.dual-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.option-card{ display: flex; flex-direction: column; }
.option-card .btn{ margin-top: auto; align-self: flex-start; }
.option-card .ritual-list{ margin-bottom: 1.4rem; }

@media (max-width: 700px){
  .dual-cards{ grid-template-columns: 1fr; }
  .option-card .btn{ align-self: stretch; text-align: center; }
}

/* ==========================================================================
   CHAMADA FINAL
   ========================================================================== */

.section-final{
  position: relative;
  text-align: center;
  padding: 9rem 1.75rem;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(36,26,66,0.5), transparent 70%);
}

.final-geometry{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(60vw, 560px);
  pointer-events: none;
  opacity: 0.5;
}
.final-rose{ width: 100%; animation: pulse-glow 7s ease-in-out infinite; }

.final-content{ position: relative; z-index: 1; }
.final-content h2{ font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.4; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.site-footer{
  border-top: 1px solid rgba(212,175,106,0.12);
  padding: 3.5rem 1.75rem 2.5rem;
  text-align: center;
}

.footer-name{
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--white-soft);
  font-size: 1rem;
  margin-bottom: 0.3em;
}

.footer-tagline{
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.6em;
}

.footer-links{
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.8em;
  flex-wrap: wrap;
}
.footer-links a{
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-bright);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
@media (hover: hover){
  .footer-links a:hover{ border-color: var(--blue-bright); }
}

.footer-copy{
  color: var(--text-muted);
  font-size: 0.78rem;
  opacity: 0.6;
}

.footer-signature{
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin-top: 0.6em;
  letter-spacing: 0.02em;
}
.footer-signature span{
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   RESPONSIVO — MOBILE
   ========================================================================== */

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(8,10,22,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.4rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    border-left: 1px solid rgba(212,175,106,0.15);
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-link{ font-size: 1rem; }
  .menu-toggle{ display: flex; }
}

@media (max-width: 600px){
  .section{ padding: 5rem 1.25rem; }
  .glass-card{ padding: 1.6rem 1.4rem; }
  .hero{ padding-top: 7rem; }
}
