/**
 * Plash Magazine — Landing Page
 * Versão: 2.0.0 — Fullscreen (sem scroll)
 * Cores: Branco + Turquesa #0ab8a3
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Cores da Marca */
  --plash-primary: #0ab8a3;
  --plash-primary-light: #1dd4bc;
  --plash-primary-dark: #089587;
  --plash-accent: #0ab8a3;

  /* TEMA CLARO (Default) */
  --bg-primary: #ffffff;
  --bg-gradient-start: rgba(10, 184, 163, 0.03);
  --bg-gradient-end: rgba(10, 184, 163, 0.01);
  --text-primary: #0a0a0a;
  --text-secondary: #737373;
  --text-tertiary: #a3a3a3;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(10, 184, 163, 0.15);
  --input-bg: rgba(10, 184, 163, 0.04);
  --input-border: rgba(10, 184, 163, 0.2);
  --progress-bg: rgba(10, 184, 163, 0.08);
  --progress-border: rgba(10, 184, 163, 0.2);
  --footer-bg: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    transparent 100%
  );
  --glow-opacity: 0.4;

  /* Base (compatibilidade) */
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-gray-300: #d4d4d4;
  --color-gray-400: #a3a3a3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;

  /* Tipografia */
  --font-display: "Playfair Display", Georgia, serif;
  --font-heading: "Bebas Neue", Impact, sans-serif;
  --font-body: "Montserrat", -apple-system, sans-serif;

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;

  /* Sombras */
  --shadow-glow: 0 0 30px rgba(10, 184, 163, var(--glow-opacity));
}

/* ═══════════════════════════════════════════════════════════════════════════
   TEMA DARK — Ativado automaticamente pelo sistema OU manualmente
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* TEMA ESCURO */
    --bg-primary: #0a0a0a;
    --bg-gradient-start: rgba(10, 184, 163, 0.08);
    --bg-gradient-end: rgba(10, 184, 163, 0.02);
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-tertiary: #a3a3a3;
    --card-bg: rgba(15, 15, 15, 0.85);
    --card-border: rgba(10, 184, 163, 0.3);
    --input-bg: rgba(10, 184, 163, 0.08);
    --input-border: rgba(10, 184, 163, 0.25);
    --progress-bg: rgba(10, 184, 163, 0.12);
    --progress-border: rgba(10, 184, 163, 0.3);
    --footer-bg: linear-gradient(
      to top,
      rgba(10, 10, 10, 0.95) 0%,
      transparent 100%
    );
    --glow-opacity: 0.6;
  }
}

/* Tema Dark MANUAL (sobrescreve preferência do sistema) */
:root[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-gradient-start: rgba(10, 184, 163, 0.08);
  --bg-gradient-end: rgba(10, 184, 163, 0.02);
  --text-primary: #ffffff;
  --text-secondary: #d4d4d4;
  --text-tertiary: #a3a3a3;
  --card-bg: rgba(15, 15, 15, 0.85);
  --card-border: rgba(10, 184, 163, 0.3);
  --input-bg: rgba(10, 184, 163, 0.08);
  --input-border: rgba(10, 184, 163, 0.25);
  --progress-bg: rgba(10, 184, 163, 0.12);
  --progress-border: rgba(10, 184, 163, 0.3);
  --footer-bg: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    transparent 100%
  );
  --glow-opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE — FULLSCREEN SEM SCROLL
   ═══════════════════════════════════════════════════════════════════════════ */

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

html,
body {
  height: 100%;
  overflow: hidden; /* SEM SCROLL */
  /* Previne zoom em mobile */
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BACKGROUND — BRANCO COM GLOWS TURQUESA
   ═══════════════════════════════════════════════════════════════════════════ */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-primary);
  transition: background-color 300ms ease;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 20% 10%,
      rgba(10, 184, 163, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 50% 50% at 80% 90%,
      rgba(10, 184, 163, 0.08),
      transparent
    );
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 25s ease-in-out infinite;
}

.glow-1 {
  width: 40vw;
  height: 40vw;
  max-width: 400px;
  max-height: 400px;
  background: var(--plash-primary);
  opacity: 0.1;
  top: -10%;
  left: -5%;
}

.glow-2 {
  width: 30vw;
  height: 30vw;
  max-width: 300px;
  max-height: 300px;
  background: var(--plash-primary);
  opacity: 0.08;
  bottom: -5%;
  right: -5%;
  animation-delay: -12s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON — Botão de troca de tema
   ═══════════════════════════════════════════════════════════════════════════ */

.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  z-index: 200;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--plash-primary);
  box-shadow: 0 6px 20px rgba(10, 184, 163, 0.3);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--plash-primary);
  transition: all var(--transition-base);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

/* Animação de rotação ao trocar */
.theme-toggle:active svg {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL DE BOAS-VINDAS — Mensagens motivacionais por período do dia
   ═══════════════════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  border-radius: 50%;
  padding: 0;
}

.modal-close:hover {
  background: rgba(10, 184, 163, 0.1);
  color: var(--plash-primary);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 300ms ease;
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.75;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  transition:
    color 300ms ease,
    opacity 300ms ease;
}

.modal-quote-container {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--input-bg);
  border-left: 3px solid var(--plash-primary);
  border-radius: 12px;
  transition: background 300ms ease;
}

.quote-icon {
  width: 32px;
  height: 32px;
  color: var(--plash-primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.modal-quote {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
  transition: color 300ms ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plash-primary);
  margin-top: 0.5rem;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background: var(--plash-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(10, 184, 163, 0.25);
}

.modal-cta:hover {
  background: var(--plash-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 184, 163, 0.35);
}

.modal-cta:active {
  transform: translateY(0);
}

.modal-footer {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: #ff0000;
  opacity: 0.6;
  font-style: italic;
  transition:
    color 300ms ease,
    opacity 300ms ease;
}

.modal-period {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(10, 184, 163, 0.1);
  border: 1px solid rgba(10, 184, 163, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--plash-primary);
}

/* Loading state */
.modal-quote.loading {
  opacity: 0.5;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Responsividade do modal */
@media (max-width: 480px) {
  .modal-container {
    padding: 2rem 1.5rem;
    max-width: 95%;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .modal-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .modal-quote-container {
    padding: 1.2rem;
  }

  .modal-quote {
    font-size: 0.95rem;
    min-height: 50px;
  }

  .quote-icon {
    width: 28px;
    height: 28px;
  }

  .modal-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .modal-footer {
    font-size: 0.65rem;
    margin-top: 1.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL SIDEBAR — COMPACTO
   ═══════════════════════════════════════════════════════════════════════════ */

.social-sidebar {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(10, 184, 163, 0.08);
  border: 1px solid rgba(10, 184, 163, 0.2);
  border-radius: 50%;
  color: var(--plash-primary);
  transition: all var(--transition-base);
}

.social-sidebar a:hover {
  background: var(--plash-primary);
  border-color: var(--plash-primary);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.social-sidebar svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — CENTRALIZADO NA TELA INTEIRA
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1rem 3.5rem;
  height: 100vh;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO — IMAGEM
   ═══════════════════════════════════════════════════════════════════════════ */

.logo {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-width: clamp(200px, 20vw, 280px);
  height: auto;
  animation: logoReveal 1s ease-out;
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TAGLINE
   ═══════════════════════════════════════════════════════════════════════════ */

.tagline {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease-out 0.4s both;
  transition: color 300ms ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN — COMPACTO
   ═══════════════════════════════════════════════════════════════════════════ */

.countdown-section {
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--plash-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.5rem);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.2rem, 4vw, 2rem);
  background: rgba(10, 184, 163, 0.06);
  border: 1px solid rgba(10, 184, 163, 0.15);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  min-width: clamp(70px, 18vw, 120px);
  transition: all var(--transition-base);
}

.countdown-item:hover {
  transform: translateY(-3px);
  border-color: var(--plash-primary);
  box-shadow: 0 10px 30px rgba(10, 184, 163, 0.15);
}

.countdown-item.seconds {
  background: rgba(10, 184, 163, 0.12);
  border-color: rgba(10, 184, 163, 0.3);
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
  transition: color 300ms ease;
}

.countdown-item.seconds .countdown-value {
  color: var(--plash-primary);
}

.countdown-unit {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  transition: color 300ms ease;
}

.countdown-item.seconds .countdown-unit {
  color: var(--plash-primary);
}

.countdown-separator {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--plash-primary);
  opacity: 0.5;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.2;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BARRA DE PROGRESSO
   ═══════════════════════════════════════════════════════════════════════════ */

.progress-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.progress-container {
  width: 100%;
  height: 12px;
  background: var(--progress-bg);
  border: 1px solid var(--progress-border);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    background 300ms ease,
    border-color 300ms ease;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--plash-primary-dark) 0%,
    var(--plash-primary) 50%,
    var(--plash-primary-light) 100%
  );
  border-radius: 50px;
  transition: width 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.progress-percentage {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--plash-primary);
  transition: color 300ms ease;
}

.progress-label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 300ms ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER — COMPACTO
   ═══════════════════════════════════════════════════════════════════════════ */

.newsletter {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.newsletter-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: color 300ms ease;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 50px;
  padding: 0.2rem;
  transition: all var(--transition-base);
}

.newsletter-form:focus-within {
  border-color: var(--plash-primary);
  box-shadow: 0 0 0 3px rgba(10, 184, 163, 0.15);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: color 300ms ease;
  /* Previne zoom em mobile ao focar input */
  font-size: 16px;
}

.newsletter-form input::placeholder {
  color: var(--text-tertiary);
  transition: color 300ms ease;
}

.newsletter-form button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--plash-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  background: var(--plash-primary-light);
  transform: scale(1.02);
}

.newsletter-form button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.newsletter-form button svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Animação de loading spinner */
.animate-spin {
  animation: spin 1s linear infinite;
}

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

.newsletter-privacy {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  margin-top: 0.4rem;
  transition: color 300ms ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — INLINE NO FUNDO
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--footer-bg);
  transition: background 300ms ease;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  transition: color 300ms ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE — TODAS AS TELAS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Telas muito pequenas (celulares pequenos) */
@media (max-width: 480px) {
  .theme-toggle {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }

  .social-sidebar {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 3rem;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .social-sidebar a {
    width: 32px;
    height: 32px;
  }

  .social-sidebar svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    padding: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 5rem;
  }

  .logo {
    margin-bottom: 3rem;
  }

  .logo-img {
    max-width: clamp(220px, 50vw, 320px);
  }
  .tagline {
    margin-bottom: 1rem;
  }
  .countdown-section {
    margin-bottom: 1rem;
  }

  .countdown-separator {
    display: none;
  }

  .countdown-item {
    padding: 0.4rem 0.6rem;
    min-width: 45px;
  }

  .progress-wrapper {
    max-width: 95%;
    margin-top: 1rem;
  }

  .progress-container {
    height: 10px;
  }

  .progress-indicator {
    margin-top: 0.4rem;
    gap: 0.3rem;
  }

  .progress-percentage {
    font-size: 0.85rem;
  }

  .progress-label {
    font-size: 0.7rem;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 14px;
    gap: 0.4rem;
    padding: 0.35rem;
    max-width: 90%;
  }

  .newsletter-form input {
    text-align: center;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .newsletter-form button {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .footer {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
    padding: 0.4rem;
    padding-bottom: 0.5rem;
  }
}

/* Tablets e celulares maiores */
@media (min-width: 481px) and (max-width: 768px) {
  .social-sidebar {
    left: 50%;
    top: auto;
    bottom: 2.5rem;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .hero {
    padding: 1rem;
    padding-bottom: 5rem;
  }

  .countdown-separator {
    display: none;
  }

  .footer {
    padding-left: 1rem;
  }
}

/* Telas médias (laptops pequenos) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding: 1rem 1rem 1rem 4rem;
  }
}

/* Telas muito altas (monitores verticais) */
@media (min-height: 900px) {
  .logo-img {
    max-width: clamp(280px, 45vw, 450px);
  }

  .countdown-item {
    padding: 1.5rem 2rem;
  }

  .countdown-value {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .countdown-unit {
    font-size: 1.1rem;
  }
}

/* Telas muito baixas (landscape em mobile) */
@media (max-height: 500px) {
  .logo-img {
    max-width: clamp(150px, 35vw, 280px);
  }

  .countdown-section {
    margin-bottom: 0.5rem;
  }

  .countdown-label {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .countdown-item {
    padding: 0.4rem 0.6rem;
    min-width: 50px;
  }

  .countdown-value {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .countdown-unit {
    font-size: 0.5rem;
  }

  .countdown-separator {
    font-size: 1.2rem;
  }

  .newsletter-text {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .newsletter-form {
    max-width: 320px;
  }

  .newsletter-form input,
  .newsletter-form button {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .newsletter-privacy {
    font-size: 0.55rem;
  }

  .footer {
    padding: 0.3rem 1rem;
  }

  .social-sidebar {
    gap: 0.3rem;
  }

  .social-sidebar a {
    width: 28px;
    height: 28px;
  }

  .social-sidebar svg {
    width: 12px;
    height: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACESSIBILIDADE
   ═══════════════════════════════════════════════════════════════════════════ */

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

*:focus-visible {
  outline: 2px solid var(--plash-primary);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADOS NEWSLETTER
   ═══════════════════════════════════════════════════════════════════════════ */

.newsletter-form.success {
  border-color: #22c55e;
}

.newsletter-form.error {
  border-color: #ef4444;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.newsletter-message {
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.newsletter-message.success {
  color: #22c55e;
}

.newsletter-message.error {
  color: #ef4444;
}
