/* ============================================================
   Casa Nexus — Folha de Estilos Principal
   Arquivo: css/style.css
   Compatível: Chrome, Firefox, Edge, Safari | Responsivo
   ============================================================

   ÍNDICE DE SEÇÕES:
   01. Variáveis CSS (cores, fontes, espaçamentos)
   02. Reset & Base
   03. Utilitários (container, botões, animações)
   04. Header / Navegação
   05. Hero (Início)
   06. Sobre
   07. Preços
   08. Blog
   09. CTA
   10. Footer
   11. Botão WhatsApp
   12. Responsividade (media queries)
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS CSS
   Para alterar as cores do site, edite apenas esta seção
   ============================================================ */
:root {
  /* Paleta principal */
  --color-primary:      #1e2a6e;   /* Azul escuro (navbar, footer, texto principal) */
  --color-accent:       #25c97c;   /* Verde (botões CTA, destaques, ícones) */
  --color-accent-dark:  #1daa66;   /* Verde escuro (hover dos botões) */
  --color-white:        #ffffff;
  --color-bg:           #f9fafb;   /* Fundo claro das seções */
  --color-bg-muted:     #f3f4f6;   /* Fundo levemente cinza */
  --color-text:         #374151;   /* Texto principal */
  --color-text-muted:   #6b7280;   /* Texto secundário */
  --color-border:       rgba(255, 255, 255, 0.12);

  /* Gradientes */
  --gradient-hero:    linear-gradient(135deg, rgba(30,42,110,0.88) 0%, rgba(20,120,80,0.72) 100%);
  --gradient-primary: linear-gradient(135deg, #1e2a6e 0%, #0f9960 100%);

  /* Tipografia */
  --font-family:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 1rem;          /* 16px */
  --font-size-sm:   0.875rem;      /* 14px */
  --font-size-lg:   1.125rem;      /* 18px */
  --font-size-xl:   1.25rem;       /* 20px */
  --font-size-2xl:  1.5rem;        /* 24px */
  --font-size-3xl:  1.875rem;      /* 30px */
  --font-size-4xl:  2.25rem;       /* 36px */
  --font-size-5xl:  3rem;          /* 48px */
  --font-size-6xl:  3.75rem;       /* 60px */
  --font-size-7xl:  4.5rem;        /* 72px */

  /* Espaçamentos */
  --spacing-xs:   0.5rem;
  --spacing-sm:   1rem;
  --spacing-md:   1.5rem;
  --spacing-lg:   2rem;
  --spacing-xl:   3rem;
  --spacing-2xl:  5rem;

  /* Bordas */
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.22);

  /* Transições */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;

  /* Header */
  --header-height: 80px;
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}


/* ============================================================
   03. UTILITÁRIOS
   ============================================================ */

/* Container padrão */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Padding padrão de seções */
.section {
  padding: var(--spacing-2xl) 0;
}

.section--bg-muted {
  background-color: var(--color-bg-muted);
}

/* Cabeçalho de seção */
.section__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.section__description {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Cor de destaque (accent) */
.text--accent {
  color: var(--color-accent);
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: var(--font-family);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Botão primário (azul escuro) */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background-color: #162059;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Botão accent (verde) */
.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--accent:hover {
  background-color: var(--color-accent-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Botão branco */
.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background-color: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Botão outline */
.btn--outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Largura 100% */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* Botão grande */
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-lg);
}

/* ---- ANIMAÇÕES DE ENTRADA (Intersection Observer) ---- */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up     { transform: translateY(40px); }
.fade-in-left   { transform: translateX(-40px); }
.fade-in-right  { transform: translateX(40px); }

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   04. HEADER / NAVEGAÇÃO
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), box-shadow var(--transition);
}

/* Header com fundo opaco ao rolar (classe adicionada via JS) */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo — wrapper div (evita <a> aninhado com o <a> do custom-logo-link) */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Link gerado pelo WordPress ao redor do logo customizado */
.nav__logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

/* Imagem do logo */
.nav__logo-img,
.nav__logo .custom-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Link/wrapper do nome do site */
.nav__logo-name {
  text-decoration: none;
}

.nav__logo-text {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  transition: color var(--transition);
  line-height: 1;
  display: block;
}

.nav__logo-name:hover .nav__logo-text,
.nav__logo .custom-logo-link:hover + .nav__logo-name .nav__logo-text {
  color: var(--color-accent);
}

/* Menu desktop */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  position: relative;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  padding-bottom: 4px;
}

/* Linha decorativa animada abaixo do link */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Botão CTA no header */
.nav__cta {
  padding: 0.625rem 1.5rem;
}

/* Botão hamburguer (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.nav__toggle:hover {
  background-color: var(--color-bg-muted);
}

.nav__hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animação do hamburguer para X */
.nav__toggle.open .nav__hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.open .nav__hamburger:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open .nav__hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   05. HERO (SEÇÃO INÍCIO)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Imagem de fundo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay gradiente azul→verde (fiel ao original) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Conteúdo do hero */
.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-2xl) 1.5rem;
  max-width: 780px;
}

/* Tag de destaque */
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

/* Título principal */
.hero__title {
  font-size: clamp(var(--font-size-4xl), 7vw, var(--font-size-7xl));
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

/* Descrição */
.hero__description {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-xl));
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  max-width: 600px;
}

/* Botões de ação */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--spacing-2xl);
}

/* Estatísticas */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--spacing-xl);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stat-number {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* Indicador de scroll */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-dot {
  width: 4px;
  height: 10px;
  background-color: rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}


/* ============================================================
   06. SOBRE
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about__text .section__title {
  font-size: clamp(var(--font-size-2xl), 3.5vw, var(--font-size-4xl));
  margin-bottom: var(--spacing-md);
}

.about__text .section__description {
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

/* Lista de features */
.features__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Ícone da feature */
.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(37, 201, 124, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.feature__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.feature__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Imagem do lado direito */
.about__image {
  position: relative;
}

.about__img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Badge flutuante sobre a imagem */
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about__badge-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1;
}

.about__badge-text {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}


/* ============================================================
   07. PREÇOS
   ============================================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Card de plano */
.pricing__card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
}

.pricing__card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Card em destaque (Mais Popular) */
.pricing__card--featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-xl);
  transform: scale(1.04);
  z-index: 1;
}

.pricing__card--featured:hover {
  transform: scale(1.06) translateY(-4px);
}

/* Badge "Mais Popular" */
.pricing__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  white-space: nowrap;
}

.pricing__card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing__plan-name {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.pricing__plan-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing__price-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
}

.pricing__price-value--custom {
  font-size: var(--font-size-2xl);
}

.pricing__price-period {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.pricing__check {
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--font-size-base);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================================
   08. BLOG
   ============================================================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Card de artigo — fiel ao original (card-premium) */
.blog__card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;                          /* sem padding: imagem ocupa topo inteiro */
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.blog__card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Wrapper da imagem — sem padding, ocupa toda a largura */
.blog__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 192px;                       /* h-48 = 12rem = 192px */
  margin-bottom: 0;
}

.blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.blog__card:hover .blog__img {
  transform: scale(1.10);
}

/* Tag de categoria — badge verde sobre a imagem */
.blog__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Conteúdo do card com padding generoso (= p-8 / 2rem) */
.blog__content {
  padding: 1.5rem 2rem 2rem;
}

.blog__date {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color var(--transition);
}

.blog__card:hover .blog__title {
  color: var(--color-accent);
}

.blog__excerpt {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  /* Limitar a 3 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: gap var(--transition);
}

.blog__link:hover {
  text-decoration: underline;
  gap: 0.75rem;
}


/* ============================================================
   09. CTA (CHAMADA PARA AÇÃO)
   ============================================================ */
.cta {
  background: var(--gradient-primary);
}

.cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  line-height: 1.15;
}

.cta__description {
  font-size: var(--font-size-xl);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}


/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* Marca no rodapé */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.footer__brand-name {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-white);
}

.footer__desc {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* Colunas de links */
.footer__heading {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
}

/* Coluna de contato */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: var(--font-size-sm);
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.footer__contact-link {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer__contact-link:hover {
  color: var(--color-accent);
}

/* Redes sociais */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: background-color var(--transition), transform var(--transition);
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  transform: scale(1.1);
}

/* Linha inferior */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__copy {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.5);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__legal-link:hover {
  color: var(--color-accent);
}


/* ============================================================
   11. BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 2.5s ease infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
  animation: none;
}

/* Animação de pulso sutil */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.85), 0 0 0 8px rgba(37,211,102,0.15); }
}


/* ============================================================
   12. RESPONSIVIDADE (MEDIA QUERIES)
   Breakpoints: tablet ≤ 1024px | mobile ≤ 768px | xs ≤ 480px
   ============================================================ */

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__card--featured {
    transform: none;
  }
  .pricing__card--featured:hover {
    transform: translateY(-4px);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about__image {
    order: -1;
  }

  .about__badge {
    left: 1rem;
    bottom: -1rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  :root {
    --spacing-2xl: 3.5rem;
  }

  /* Header mobile */
  .nav__menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-bg-muted);
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__link {
    font-size: var(--font-size-lg);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-bg-muted);
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  /* Hero mobile */
  .hero__stats {
    gap: var(--spacing-lg);
  }

  /* Preços mobile */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Blog mobile */
  .blog__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .blog__content {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Seções */
  .section__header {
    margin-bottom: var(--spacing-xl);
  }
}

/* --- Extra pequeno (≤ 480px) --- */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
  }

  .hero__stat-number {
    font-size: var(--font-size-3xl);
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }
}
