/*
Theme Name: GestÃ£o Ã  Vista
Theme URI: https://gestaoavista.com.br
Author: GestÃ£o Ã  Vista
Description: Tema editorial luxo (charcoal + gold) para landing page de vendas do sistema GestÃ£o Ã  Vista â€” sistema de gestÃ£o para clÃ­nicas no Notion.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: gestao-a-vista
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --charcoal: #0d0e10;
  --charcoal-elevated: #15171a;
  --cream: #f0ead8;
  --cream-soft: rgba(240, 234, 216, 0.75);
  --cream-muted: rgba(240, 234, 216, 0.55);
  --gold: #c9a84c;
  --gold-soft: #d6b85e;
  --border: rgba(240, 234, 216, 0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ===== ForÃ§a fundo escuro â€” anula Elementor e outros plugins ===== */
html,
body,
body.elementor-page,
body.wp-custom-logo,
body[class] {
  background-color: #0d0e10 !important;
  background: #0d0e10 !important;
  color: #f0ead8 !important;
}

body {
  background-color: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Neutraliza resets de cor e background do Elementor */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget,
.elementor-element {
  color: inherit !important;
  background-color: transparent !important;
}

/* Remove wrappers do WP que possam limitar o layout */
#page, #content, #primary, #main,
.site, .site-content, .wp-site-blocks {
  background: transparent !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

em.gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

/* ===== Layout ===== */
.gv-section { padding: 6rem 1.5rem; }
.gv-container { max-width: 1080px; margin: 0 auto; }
.gv-container-wide { max-width: 1200px; margin: 0 auto; }

@media (min-width: 768px) {
  .gv-section { padding: 8rem 3rem; }
}

/* ===== Section label ===== */
.gv-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.gv-label span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}
.gv-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,0.6), transparent);
}

/* ===== Buttons ===== */
.gv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px -10px rgba(201,168,76,0.5);
}
.gv-btn:hover { background: var(--gold-soft); transform: translateY(-2px); }
.gv-btn .arrow { transition: transform 0.3s ease; }
.gv-btn:hover .arrow { transform: translateX(4px); }

/* ===== HERO ===== */
.gv-hero {
  position: relative;
  padding: 8rem 1.5rem 10rem;
  text-align: center;
  overflow: hidden;
}
.gv-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
}
.gv-hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,14,16,0.78) 0%, rgba(13,14,16,0.88) 60%, rgba(13,14,16,1) 100%);
}
.gv-hero-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,0.18), transparent 70%);
}
.gv-hero-content { position: relative; max-width: 960px; margin: 0 auto; }

.gv-badge {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2.5rem;
}
.gv-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  max-width: 900px;
  margin: 0 auto;
}
.gv-hero h1 .sub {
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(240,234,216,0.85);
}
.gv-hero p.lead {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  color: rgba(240,234,216,0.65);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.gv-hero .cta-wrap { margin-top: 3rem; }

@media (min-width: 768px) {
  .gv-hero { padding: 10rem 3rem 12rem; }
}

/* ===== Hero showcase image ===== */
.gv-showcase {
  padding: 0 1.5rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}
.gv-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
@media (min-width: 768px) { .gv-showcase { padding: 0 3rem; margin-top: -6rem; } }

/* ===== Headings ===== */
.gv-h2 { font-size: clamp(1.875rem, 4vw, 3rem); max-width: 800px; }
.gv-lead { font-size: clamp(1.125rem, 1.5vw, 1.5rem); color: rgba(240,234,216,0.75); max-width: 720px; line-height: 1.6; }

/* ===== Pain list ===== */
.gv-pain-list { list-style: none; margin-top: 3rem; max-width: 720px; }
.gv-pain-list li {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  color: rgba(240,234,216,0.8);
}
.gv-pain-list li::before {
  content: ''; width: 2rem; height: 1px; background: var(--gold);
  margin-top: 0.85rem; flex-shrink: 0;
}

/* ===== Quote card ===== */
.gv-quote-card {
  margin-top: 4rem;
  background: var(--charcoal-elevated);
  border-left: 2px solid var(--gold);
  padding: 2.5rem;
  max-width: 720px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* ===== Video / VSL ===== */
.gv-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.3);
  background: linear-gradient(135deg, rgba(201,168,76,0.12), var(--charcoal) 70%);
  margin-top: 3rem;
}
.gv-video-wrap iframe,
.gv-video-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.gv-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem; text-align: center; padding: 2rem;
}
.gv-video-placeholder p {
  color: rgba(201,168,76,0.7);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Modules grid ===== */
.gv-modules { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) { .gv-modules { grid-template-columns: repeat(2, 1fr); } }

.gv-module {
  background: var(--charcoal-elevated);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: border-color 0.5s ease;
}
.gv-module:hover { border-color: var(--gold); }
.gv-module-num { color: rgba(201,168,76,0.6); font-size: 0.75rem; letter-spacing: 0.2em; }
.gv-module h3 { font-size: 1.5rem; margin: 0.5rem 0 1rem; transition: color 0.3s; }
.gv-module:hover h3 { color: var(--gold); }
.gv-module p { color: rgba(240,234,216,0.65); }

/* ===== Gallery (alternating image rows) ===== */
.gv-figure {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  margin-top: 5rem; align-items: center;
}
@media (min-width: 768px) {
  .gv-figure { grid-template-columns: 2fr 3fr; gap: 3rem; }
  .gv-figure.reverse > *:first-child { order: 2; }
}
.gv-figure img { border-radius: 8px; border: 1px solid var(--border); }
.gv-figure .cap-label {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.gv-figure h3 { font-size: 1.875rem; margin-bottom: 1rem; }
.gv-figure p { color: rgba(240,234,216,0.65); }

/* ===== Testimonials ===== */
.gv-testimonials { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .gv-testimonials { grid-template-columns: 1fr 1fr; } }
.gv-testimonial { border-left: 2px solid rgba(201,168,76,0.5); padding-left: 2rem; }
.gv-testimonial .quote-mark { color: var(--gold); font-size: 3rem; line-height: 1; font-family: var(--font-display); }
.gv-testimonial blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; line-height: 1.6; color: rgba(240,234,216,0.85);
  margin: 1rem 0;
}
.gv-testimonial cite { font-style: normal; }
.gv-testimonial .author { display: block; font-weight: 500; margin-top: 1.5rem; }
.gv-testimonial .role { display: block; font-size: 0.875rem; color: rgba(240,234,216,0.55); margin-top: 0.25rem; letter-spacing: 0.02em; }

/* ===== Before / After ===== */
.gv-compare { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .gv-compare { grid-template-columns: 1fr 1fr; } }

.gv-compare-col { padding: 2.5rem; border-width: 1px; border-style: solid; }
.gv-compare-col.before {
  background: linear-gradient(180deg, rgba(180,40,40,0.08), rgba(180,40,40,0.02));
  border-color: rgba(220,80,80,0.2);
}
.gv-compare-col.after {
  background: linear-gradient(180deg, rgba(40,140,90,0.1), rgba(40,140,90,0.02));
  border-color: rgba(80,200,140,0.2);
}
.gv-compare-col .col-label {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.gv-compare-col.before .col-label { color: rgba(255,160,160,0.8); }
.gv-compare-col.after .col-label { color: rgba(140,230,180,0.8); }
.gv-compare-col ul { list-style: none; }
.gv-compare-col li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.6rem 0; }
.gv-compare-col .icon { font-size: 1.25rem; line-height: 1; margin-top: 0.1rem; }
.gv-compare-col.before .icon { color: rgba(240,120,120,0.9); }
.gv-compare-col.after .icon { color: rgb(110,220,160); }

.gv-compare-cta { text-align: center; margin-top: 3.5rem; }

/* ===== Pricing ===== */
.gv-pricing-card {
  background: var(--charcoal-elevated);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 3rem auto 0;
  position: relative;
  overflow: hidden;
}
.gv-pricing-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.25), transparent 60%);
}
.gv-pricing-card > * { position: relative; }
.gv-pricing-strike { color: rgba(240,234,216,0.5); text-decoration: line-through; font-size: 1.125rem; margin-bottom: 1rem; }
.gv-pricing-amount { font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6rem); color: var(--gold); margin-bottom: 1rem; line-height: 1; }
.gv-pricing-note { color: rgba(240,234,216,0.65); font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 2.5rem; }

/* ===== FAQ ===== */
.gv-faq { max-width: 800px; margin-top: 3rem; }
.gv-faq details {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.gv-faq details:last-child { border-bottom: 1px solid var(--border); }
.gv-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--cream);
  transition: color 0.3s;
}
.gv-faq summary:hover { color: var(--gold); }
.gv-faq summary::-webkit-details-marker { display: none; }
.gv-faq summary::after {
  content: '+'; color: var(--gold); font-size: 1.75rem; line-height: 1;
  transition: transform 0.3s ease;
}
.gv-faq details[open] summary::after { transform: rotate(45deg); }
.gv-faq details p {
  margin-top: 1.25rem; color: rgba(240,234,216,0.7);
  font-size: 1.05rem; line-height: 1.7; max-width: 680px;
}

/* ===== Closing ===== */
.gv-closing {
  position: relative;
  padding: 8rem 1.5rem;
  text-align: center;
  overflow: hidden;
}
.gv-closing::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.15), transparent 70%);
}
.gv-closing-inner { position: relative; max-width: 900px; margin: 0 auto; }
.gv-closing h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 3rem; }
.gv-closing .tagline {
  margin-top: 4rem; font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; color: rgba(240,234,216,0.55); max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== Footer ===== */
.gv-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.4);
}