/* ============================================================
   VIVI ALMADA — Global Styles
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--espresso);
  background-color: var(--cream);
  margin: 0;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 600;
  color: var(--espresso);
  margin: 0 0 var(--sp-stack);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--espresso);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--burgundy);
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

/* --- Grayscale hover effect (editorial images) --- */
.img-editorial {
  filter: grayscale(1);
  transition: filter var(--transition-slow);
}
.img-editorial:hover,
.card:hover .img-editorial {
  filter: grayscale(0);
}

/* --- Section backgrounds --- */
.bg-burgundy { background-color: var(--burgundy); color: var(--cream); }
.bg-espresso { background-color: var(--espresso); color: var(--cream); }
.bg-cream     { background-color: var(--cream); }
.bg-beige     { background-color: var(--beige); }
.bg-red       { background-color: var(--red); color: var(--cream); }

/* --- Sections --- */
.section {
  padding-block: var(--sp-section);
}
.section--sm { padding-block: var(--sp-block); }

/* --- Pulse animation (Conexão Real chip) --- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.pulse { animation: pulse 2s ease-in-out infinite; }

/* --- Countdown --- */
.countdown {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}
.countdown__unit { text-align: center; }
.countdown__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
}

/* --- Newsletter form --- */
.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  border: none;
  font-family: var(--font-sans);
  background: rgba(255,255,255,0.15);
  color: var(--cream);
  font-size: var(--text-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: 2px solid var(--beige); background: rgba(255,255,255,0.2); }

/* --- Responsive utilities --- */
@media (max-width: 640px) {
  :root {
    --sp-section: 4rem;
    --sp-block:   2rem;
  }
  .hide-mobile { display: none !important; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* --- Play button (Podcast) --- */
.play-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--r-full);
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(239, 139, 165, 0.6);
}
.play-btn svg { fill: var(--espresso); width: 28px; height: 28px; margin-left: 4px; }

/* --- Elementor overrides --- */
.elementor-section .elementor-container { max-width: var(--container-max); }
