/* ==========================================================================
   NA RÉGUA — DESIGN SYSTEM & STYLES
   Paleta: Dark Obsidian, Ouro Nobre & Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #09090C;
  --bg-secondary: #111115;
  --bg-card: #16161D;
  --bg-card-hover: #1D1D26;
  --bg-elevated: #22222D;

  --ouro-base: #CBA14A;
  --ouro-light: #E5C378;
  --ouro-glow: rgba(203, 161, 74, 0.35);
  --ouro-subtle: rgba(203, 161, 74, 0.12);
  --ouro-border: rgba(203, 161, 74, 0.28);

  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-dark: #0F0F12;

  --emerald: #10B981;
  --emerald-subtle: rgba(16, 185, 129, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-ouro: 0 8px 32px rgba(203, 161, 74, 0.25);
}

/* ─── RESET & BASE ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* ─── GLOW BACKGROUNDS ─── */
.bg-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.15;
}

.bg-glow-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--ouro-base) 0%, transparent 70%);
}

.bg-glow-2 {
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, var(--ouro-base) 0%, transparent 70%);
}

.bg-glow-3 {
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  opacity: 0.08;
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--ouro-light) 60%, var(--ouro-base) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ouro-text {
  color: var(--ouro-light);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ouro-light), var(--ouro-base));
  color: var(--text-dark);
  box-shadow: var(--shadow-ouro);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(203, 161, 74, 0.4);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ouro-border);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(9, 9, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ouro-border);
}

.nav-brand-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-brand-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--ouro-subtle);
  color: var(--ouro-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--ouro-border);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── HERO SECTION ─── */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203, 161, 74, 0.1);
  border: 1px solid var(--ouro-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

.hero-pill-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ouro-light);
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 900;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── PHONE MOCKUP ─── */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-card {
  width: 320px;
  height: 640px;
  background: var(--bg-secondary);
  border-radius: 46px;
  border: 8px solid #282830;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(203, 161, 74, 0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background: #0A0A0C;
  padding: 20px 16px;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-brand {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.phone-badge-live {
  background: var(--emerald-subtle);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.phone-card-content {
  background: var(--bg-card);
  border: 1px solid var(--ouro-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.phone-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-tab-btn {
  flex: 1;
  padding: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.phone-tab-btn.active {
  background: var(--ouro-base);
  color: var(--text-dark);
  border-color: var(--ouro-base);
}

/* ─── SECTION COMMON ─── */
section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ouro-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 50px;
}

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

.text-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ─── SPOTLIGHT BARBEARIA VIEIRA ─── */
.spotlight-card {
  background: linear-gradient(145deg, #181822 0%, #111115 100%);
  border: 1px solid var(--ouro-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(203, 161, 74, 0.1);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.spotlight-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ouro-border);
  height: 380px;
}

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

.spotlight-info h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.spotlight-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ouro-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.spotlight-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.spotlight-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--ouro-border);
  box-shadow: var(--shadow-md), 0 0 30px rgba(203, 161, 74, 0.12);
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--ouro-subtle);
  border: 1px solid var(--ouro-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ouro-light);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ─── CALCULATOR TIME SAVER ─── */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--ouro-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.calc-slider-wrap {
  margin: 32px 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #2A2A36;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--ouro-base);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.calc-result-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ouro-light);
}

.calc-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: linear-gradient(165deg, #1D1D28 0%, #15151E 100%);
  border-color: var(--ouro-base);
  box-shadow: var(--shadow-ouro), 0 0 50px rgba(203, 161, 74, 0.15);
  transform: scale(1.04);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ouro-base);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-feature-item span.check {
  color: var(--emerald);
  font-weight: 900;
}

/* ─── FAQ ─── */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--ouro-border);
}

.faq-question {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--ouro-light);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: radial-gradient(circle at center, #222230 0%, #111117 100%);
  border: 1px solid var(--ouro-border);
  border-radius: var(--radius-xl);
  padding: 70px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(203, 161, 74, 0.2);
  margin: 40px 0;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ─── FOOTER ─── */
.footer {
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ouro-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── ANIMATIONS ─── */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .spotlight-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
