/* ========================================
   Efetivo Score — Estilos principais
   ======================================== */

/* Variáveis */
:root {
  --brand-blue: #2952a3;
  --page-bg: #f5f6f8;
  --white: #ffffff;
  --shadow-soft: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
  --shadow-cta: 0 8px 24px -6px rgba(30, 58, 138, 0.5);
  --shadow-cta-hover: 0 12px 30px -6px rgba(30, 58, 138, 0.6);
  --shadow-fab: 0 6px 20px -2px rgba(0, 0, 0, 0.35);
  --radius-full: 9999px;
  --radius-sm: 0.625rem;
}

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--page-bg);
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Layout centralizado */
.site-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

.site-main {
  width: 100%;
  max-width: 600px;
  background-color: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Seções e imagens */
section {
  width: 100%;
}

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

/* CTA Button */
.cta-wrap {
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  width: 100%;
  max-width: 420px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--brand-blue);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  animation: cta-in 0.6s ease-out both;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
  filter: brightness(1.1);
}

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

.cta-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Animação de entrada do CTA */
@keyframes cta-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rodapé */
.site-footer {
  background-color: var(--brand-blue);
  text-align: center;
  padding: 1.5rem 1rem;
}

.site-footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Botão flutuante WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  box-shadow: var(--shadow-fab);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.fab-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
}

/* ========================================
   Responsividade
   ======================================== */

/* Tablets e desktops maiores */
@media (min-width: 768px) {
  .site-wrapper {
    padding: 1rem;
  }

  .site-main {
    max-width: 600px;
    border-radius: var(--radius-sm);
  }

  .cta-wrap {
    padding: 2rem 1.5rem;
  }

  .cta-button {
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
  }

  .cta-icon {
    width: 1.375rem;
    height: 1.375rem;
  }

  .fab-whatsapp {
    width: 4rem;
    height: 4rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .fab-whatsapp svg {
    width: 2rem;
    height: 2rem;
  }
}

/* Desktops grandes — centralização máxima */
@media (min-width: 1280px) {
  .site-main {
    max-width: 600px;
  }
}

/* Reduzir animações se o usuário preferir */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta-button {
    animation: none;
  }

  .cta-button:hover,
  .fab-whatsapp:hover {
    transform: none;
  }
}
