/* ============================================================
   Oliveira Publicidade Virtual – styles.css
   Tema: Dark Luxury Gold  |  Manaus, AM
   ============================================================ */

:root {
  /* Base */
  --bg:          #080808;
  --bg-2:        #0e0e0e;
  --bg-3:        #131313;
  --panel:       rgba(255,255,255,0.03);
  --panel-hover: rgba(255,255,255,0.055);

  /* Gold palette (extraída da logomarca) */
  --gold-light:  #f0d080;
  --gold:        #c9a84c;
  --gold-mid:    #a8842e;
  --gold-dark:   #7a5e1a;
  --gold-glow:   rgba(201,168,76,0.18);

  /* Text */
  --text:        #f5f0e8;
  --muted:       #8a7f6e;
  --muted-2:     #b5a98a;

  /* Structure */
  --line:        rgba(201,168,76,0.14);
  --line-2:      rgba(255,255,255,0.06);
  --radius:      18px;
  --radius-sm:   10px;

  /* Shadows */
  --shadow-gold: 0 8px 40px rgba(201,168,76,0.15);
  --shadow-dark: 0 24px 64px rgba(0,0,0,0.6);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Subtle noise grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
h3 { font-size: 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

em { font-style: italic; color: var(--gold-light); }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted-2);
  max-width: 54ch;
  margin: 18px 0 0;
}

/* ============================================================
   GOLD DIVIDER LINE
   ============================================================ */

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  white-space: nowrap;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-mid) 100%);
  color: #0a0700;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(201,168,76,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.88rem;
}

/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(8,8,8,0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.menu a {
  font-size: 0.9rem;
  color: var(--muted-2);
  font-weight: 500;
  transition: color 0.18s;
}

.menu a:not(.btn):hover { color: var(--gold-light); }
.menu .btn { margin-left: 6px; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  background: rgba(8,8,8,0.97);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.18s, background 0.18s;
}

.mobile-menu a:hover { color: var(--gold-light); background: var(--panel); }
.mobile-menu .btn { margin: 14px 20px 18px; border-radius: 999px; }

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

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -160px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
}

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

.hero-copy h1 { margin-top: 6px; }

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-platforms span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  background: var(--panel);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Metrics aside */
.hero-metrics {
  display: grid;
  gap: 14px;
  position: relative;
}

.metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: background 0.2s, border-color 0.2s;
}

.metric-card:hover {
  background: var(--panel-hover);
  border-color: var(--gold-mid);
}

.metric-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.metric-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.metric-seal {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.metric-seal img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(201,168,76,0.3));
  margin: 0 auto;
}

/* ============================================================
   LOCATION BAR
   ============================================================ */

.location-bar {
  background: linear-gradient(90deg, rgba(201,168,76,0.08), rgba(201,168,76,0.04), rgba(201,168,76,0.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.location-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-pin { font-size: 1rem; }

.location-bar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted-2);
}

.location-bar strong { color: var(--gold-light); }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 88px 0; }

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.section-heading { max-width: 700px; margin-bottom: 44px; }

.section-heading h2 { margin: 8px 0 16px; }

.section-heading p {
  color: var(--muted-2);
  margin: 0;
}

/* ============================================================
   CARDS (Serviços)
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: background 0.2s, border-color 0.2s, transform 0.22s;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s, border-color 0.2s;
}

.card:hover {
  background: var(--panel-hover);
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 10px; font-size: 1.05rem; }

.card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   STEPS (Como funciona)
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0a0700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

.step h3 { margin: 0 0 10px; font-size: 1rem; }
.step p  { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   VIDEOS
   ============================================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Video grid: vertical (9:16) Vimeo embeds ---- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  opacity: 0;
  transform: translateY(16px);
  transition: border-color 0.2s;
}

.video-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}

.video-card:hover { border-color: var(--gold-dark); }

/* Wrapper mantém a proporção original do vídeo (470 × 850 ≈ 55.3%) */
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 181%;   /* vídeo 1: 850/470 × 100 — padrão */
  background: #000;
}

/* Vídeo 2: 464 × 688 */
.video-embed-wrap.ratio-v2 { padding-bottom: 148.3%; }

/* Vídeo 3: 478 × 850 */
.video-embed-wrap.ratio-v3 { padding-bottom: 177.8%; }

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-info {
  padding: 20px 22px 24px;
}

.video-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.video-info h3 { margin: 0 0 8px; font-size: 1rem; }
.video-info p  { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
}

.testimonial.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  right: 22px;
  pointer-events: none;
}

.testimonial blockquote p {
  margin: 0 0 20px;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.testimonial footer strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial footer span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 800px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
  opacity: 0;
  transform: translateY(12px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.2s;
}

.faq-item[open] { border-color: var(--gold-dark); }

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.18s;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.22s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-light); }

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--muted-2);
}

.faq-item strong { color: var(--gold-light); }

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow-gold);
}

.cta-copy h2 { margin: 8px 0 16px; }

.cta-copy p {
  color: var(--muted-2);
  margin: 0 0 20px;
}

.cta-copy strong { color: var(--gold-light); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  margin-top: 4px;
}

.contact-info a {
  color: var(--gold);
  transition: color 0.18s;
}

.contact-info a:hover { color: var(--gold-light); }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.18s;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  grid-column: 1 / -1;
}

/* ============================================================
   ANIMATE-IN (scroll)
   ============================================================ */

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}

.delay-2 { animation-delay: 0.18s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  opacity: 0;
  transform: translateY(16px);
}

.section-heading.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ============================================================
   RESPONSIVE – 1024px
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards          { grid-template-columns: repeat(2, 1fr); }
  .steps          { grid-template-columns: repeat(2, 1fr); }
  .video-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials   { grid-template-columns: repeat(2, 1fr); }
  .cta-box        { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner   { grid-template-columns: 1fr; }
  .footer-brand   { grid-column: auto; }
  .footer-copy    { border-top: 1px solid var(--line-2); }
}

/* ============================================================
   RESPONSIVE – 768px
   ============================================================ */

@media (max-width: 768px) {
  .menu       { display: none; }
  .menu-toggle { display: flex; }

  .hero         { padding: 64px 0 56px; }
  .hero-grid    { grid-template-columns: 1fr; }
  .hero-metrics { display: none; }
  h1            { font-size: clamp(2.4rem, 8vw, 3.4rem); }

  .section      { padding: 64px 0; }

  .cards        { grid-template-columns: 1fr; }
  .steps        { grid-template-columns: 1fr; }
  .video-grid   { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }

  .cta-box { padding: 32px 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }

  .footer-inner { gap: 20px; }
  .footer-brand { flex-direction: column; }
  .footer-nav   { gap: 8px 16px; }
}

/* ============================================================
   RESPONSIVE – 480px
   ============================================================ */

@media (max-width: 480px) {
  .brand-text { display: none; }
  .location-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-platforms { gap: 6px; }
  .hero-platforms span { font-size: 0.72rem; padding: 4px 10px; }
}