/* ==========================================================================
   LPL DESENTUPIMENTOS — Folha de Estilos Principal
   Desenvolvido por Webnatica
   ========================================================================== */

/* ==========================================================================
   1. VARIÁVEIS CSS (DESIGN TOKENS)
   Define todas as cores, sombras, tipografia e espaçamentos reutilizáveis
   ========================================================================== */
:root {
  /* --- Paleta Principal --- */
  --primary: #043866;
  --primary-light: #009BD4;
  --primary-dark: #022746;
  --accent: #BD0523;
  --accent-hover: #97041C;
  --accent-light: #009BD4;

  /* --- WhatsApp --- */
  --whatsapp: #25D366;
  --whatsapp-hover: #1da851;

  /* --- Escala de Cinzas --- */
  --dark: #0d1b2a;
  --gray-900: #1a1a2e;
  --gray-800: #2d2d44;
  --gray-700: #404060;
  --gray-600: #666;
  --gray-500: #888;
  --gray-400: #aaa;
  --gray-300: #ccc;
  --gray-200: #e8e8f0;
  --gray-100: #f4f4f8;
  --white: #ffffff;

  /* --- Cores de Estado --- */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* --- Bordas e Raios --- */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  /* --- Sombras --- */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* --- Transições --- */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;

  /* --- Tipografia --- */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;

  /* --- Espaçamentos base (para utilitários) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 3rem;
}

/* ==========================================================================
   2. RESET / BASE
   Normaliza estilos entre navegadores e define base tipográfica
   ========================================================================== */

/* Reset moderno — box-sizing universal */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Rolagem suave nativa */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%; /* 16px base */
}

/* Base do corpo da página */
body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Remove estilos padrão de listas */
ul,
ol {
  list-style: none;
}

/* Imagens e mídias responsivas */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove estilo padrão de inputs e botões */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Links sem sublinhado por padrão */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Remove aparência padrão de botões */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Tabelas sem espaçamento entre bordas */
table {
  border-collapse: collapse;
}

/* ==========================================================================
   3. TIPOGRAFIA
   Hierarquia tipográfica completa
   ========================================================================== */

/* Títulos — peso forte, espaçamento reduzido */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

/* Parágrafos */
p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Links com hover animado */
a:hover {
  color: var(--accent);
}

/* Destaque em negrito */
strong,
b {
  font-weight: 700;
  color: var(--dark);
}

/* Texto pequeno */
small {
  font-size: 0.875rem;
}

/* Título de seção — padrão reutilizável */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2rem;
}

/* Linha decorativa antes do eyebrow */
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 2px;
  background: var(--accent);
}

/* Título principal da seção */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

/* Subtítulo da seção */
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Cabeçalho centralizado de seção */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================================================
   4. LAYOUT — Containers, Grids e Flex
   ========================================================================== */

/* Container principal — largura máxima com margens automáticas */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Seção padrão — espaçamento vertical generoso */
section {
  padding: 5rem 0;
}

/* Grid genérico — colunas iguais com gap */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Utilitários Flex */
.flex {
  display: flex;
}

.flex--center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex--column {
  display: flex;
  flex-direction: column;
}

.flex--wrap {
  flex-wrap: wrap;
}

.flex--gap-1 {
  gap: 0.5rem;
}

.flex--gap-2 {
  gap: 1rem;
}

.flex--gap-3 {
  gap: 1.5rem;
}

/* ==========================================================================
   5. BOTÕES
   Sistema completo de botões com variações e animações
   ========================================================================== */

/* Botão base — estrutura comum */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Efeito ripple sutil no hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

/* Animação de escala e sombra no hover */
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Botão primário — fundo laranja (CTA principal) */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(189, 5, 35, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 8px 25px rgba(189, 5, 35, 0.45);
  color: var(--white);
}

/* Botão WhatsApp — verde com ícone */
.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-hover));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee574, var(--whatsapp));
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

/* Ícone do WhatsApp dentro do botão */
.btn-whatsapp i,
.btn-whatsapp svg {
  font-size: 1.25em;
}

/* Botão outline — borda sem preenchimento */
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Botão outline escuro — para fundos claros */
.btn-outline-dark {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* Botão de telefone — vermelho para urgência */
.btn-phone {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-phone:hover {
  background: linear-gradient(135deg, #f87171, var(--danger));
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
  color: var(--white);
}

/* Variação de tamanho — grande */
.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* Variação de tamanho — pequeno */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Botão com largura total */
.btn-block {
  width: 100%;
}

/* ==========================================================================
   6. HEADER / NAVEGAÇÃO
   Header sticky com blur, logo, menu de links e botão CTA.
   Hambúrguer animado em CSS puro.
   ========================================================================== */

/* Header fixo no topo */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

/* Estado ao rolar — fundo com glassmorphism */
.header--scrolled {
  background: rgba(4, 56, 102, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  backdrop-filter: blur(16px) saturate(1.8);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Container interno do header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo do site */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo-text span {
  color: var(--accent);
}

/* Menu de navegação (desktop) */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Link individual do menu */
.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Sublinhado animado no link ativo */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 60%;
}

/* Botão CTA no header */
.nav__cta {
  margin-left: 1rem;
}

/* --- Hambúrguer animado (CSS puro) --- */
.mobile-menu-toggle {
  display: none; /* Visível apenas em mobile */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  background: none;
  border: none;
}

/* Linhas do hambúrguer */
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
  position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-8px);
}

.mobile-menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(8px);
}

/* Transição para X quando ativo */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ==========================================================================
   7. HERO
   Seção principal com fundo escuro, título grande e CTAs
   ========================================================================== */

/* Container da hero — tela inteira */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

/* Imagem de fundo da hero */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay gradiente sobre a imagem */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 39, 70, 0.92) 0%,
    rgba(4, 56, 102, 0.85) 40%,
    rgba(0, 155, 212, 0.78) 100%
  );
  z-index: 2;
}

/* Conteúdo centralizado da hero */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 2rem 1.5rem;
}

/* Título principal da hero */
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Destaque colorido no título */
.hero__title span {
  color: var(--accent);
  position: relative;
}

/* Subtítulo da hero */
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Área de botões CTA */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* Badge de emergência 24h — pulsante */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

/* Ponto vermelho pulsante no badge */
.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Animação de pulsação do badge */
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Barra de confiança — checks de credibilidade */
.hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Ícone check na barra de confiança */
.hero__trust-item i,
.hero__trust-item svg {
  color: var(--success);
  font-size: 1rem;
}

/* ==========================================================================
   8. DIFERENCIAIS / STATS
   Barra de estatísticas com contadores
   ========================================================================== */

/* Fundo azul profundo */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Textura sutil de fundo */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid interno dos itens */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Cada item de estatística */
.stats__item {
  text-align: center;
  padding: 1.5rem 1rem;
}

/* Ícone circular do stat */
.stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--accent-light);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Número grande do contador */
.stats__number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* Rótulo do stat */
.stats__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ==========================================================================
   9. PROBLEMAS
   Cards dos problemas que o cliente pode ter
   ========================================================================== */

.problems {
  background: var(--gray-100);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card individual de problema */
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

/* Faixa decorativa no topo do card */
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
  z-index: 1;
}

/* Hover — elevação e faixa aparece */
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

/* Fotografias responsivas do diagnóstico, sem corte do enquadramento. */
.problem-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--gray-100);
}

.problem-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}

.problem-card__body .problem-card__text {
  margin-bottom: 1.25rem;
}

.problem-card__action {
  margin-top: auto;
  white-space: normal;
}

.problem-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.problem-card__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   10. SERVIÇOS
   Grid de cards de serviço com imagem, features e CTA
   ========================================================================== */

.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card de serviço */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

/* Imagem do serviço com overlay */
.service-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card__image img {
  transform: scale(1.08);
}

/* Overlay gradiente na imagem */
.service-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

/* Corpo do card de serviço */
.service-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-card__description {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Lista de features com checks */
.service-card__features {
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--gray-700);
}

/* Ícone check verde */
.service-card__features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* CTA no rodapé do card */
.service-card__cta {
  margin-top: auto;
}

/* ==========================================================================
   11. COMO FUNCIONA
   Steps numerados com linha conectora
   ========================================================================== */

.how-it-works {
  background: var(--gray-100);
  position: relative;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Linha conectora horizontal entre steps (desktop) */
.how-it-works__grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  z-index: 0;
  border-radius: 2px;
}

/* Cada step */
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Número circular grande */
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(4, 56, 102, 0.3);
  border: 4px solid var(--white);
  transition: var(--transition);
}

.step:hover .step__number {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 6px 20px rgba(189, 5, 35, 0.3);
  transform: scale(1.1);
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step__description {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   12. POR QUE ESCOLHER
   Grid de vantagens com ícone e texto
   ========================================================================== */

.why-choose {
  background: var(--white);
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card de vantagem */
.why-choose__card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.why-choose__card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Ícone da vantagem */
.why-choose__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(4, 56, 102, 0.08), rgba(4, 56, 102, 0.03));
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.why-choose__card:hover .why-choose__icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.why-choose__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.why-choose__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   13. CIDADES ATENDIDAS
   Grid de cards com pin de localização
   ========================================================================== */

.cities {
  background: var(--gray-100);
}

.cities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card de cidade */
.city-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.city-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Ícone de pin */
.city-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.city-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.city-card__description {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   14. DEPOIMENTOS
   Cards com estrelas, avatar e texto
   ========================================================================== */

.testimonials {
  background: var(--white);
  overflow: hidden;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card de depoimento */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Aspas decorativas */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gray-200);
  line-height: 1;
  pointer-events: none;
}

/* Estrelas de avaliação — amarelo */
.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-card__stars i,
.testimonial-card__stars svg,
.testimonial-card__stars span {
  color: var(--warning);
  font-size: 1rem;
}

/* Texto do depoimento */
.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Rodapé do card — avatar + nome */
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

/* Avatar com iniciais */
.testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ==========================================================================
   15. FAQ — ACCORDION
   Perguntas frequentes com abertura suave
   ========================================================================== */

.faq {
  background: var(--gray-100);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

/* Cada item do FAQ */
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item:hover {
  border-color: var(--primary-light);
}

/* Item aberto — destaque sutil */
.faq__item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

/* Pergunta — cabeçalho clicável */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
  gap: 1rem;
}

.faq__question:hover {
  color: var(--primary);
}

/* Seta rotativa — aponta para baixo, gira 180° ao abrir */
.faq__question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--gray-400);
  border-bottom: 2.5px solid var(--gray-400);
  transform: rotate(45deg);
  transition: var(--transition);
  flex-shrink: 0;
}

/* Seta rotacionada quando ativo */
.faq__item.active .faq__question::after {
  transform: rotate(-135deg);
  border-color: var(--primary);
}

/* Resposta — altura transicionada suavemente */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px; /* Valor grande o suficiente para o conteúdo */
}

.faq__answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ==========================================================================
   16. CONTATO
   Grid 2 colunas — info + formulário
   ========================================================================== */

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* Coluna de informações de contato */
.contact-info {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-info__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-info__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Item de informação (telefone, e-mail, etc.) */
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-info__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.contact-info__value a {
  color: var(--white);
}

.contact-info__value a:hover {
  color: var(--accent-light);
}

/* Formulário de contato */
.contact-form {
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.contact-form__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* Grupo de input com label */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

/* Inputs e textarea estilizados */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--gray-100);
  transition: var(--transition);
  outline: none;
}

/* Estado de foco dos inputs */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(4, 56, 102, 0.1);
}

/* Placeholder sutil */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Grid de 2 colunas em campos lado a lado */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   17. CTA FINAL
   Chamada final com gradiente e botões
   ========================================================================== */

.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Textura de fundo sutil */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(189, 5, 35, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cta-final__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-final__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   18. FOOTER
   Rodapé com 4 colunas, links e copyright
   ========================================================================== */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Coluna de logo e social */
.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 36px;
}

.footer__logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.footer__logo-text span {
  color: var(--accent);
}

.footer__description {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Ícones sociais */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Colunas de links */
.footer__column-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

/* Linha decorativa abaixo do título */
.footer__column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__links a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

/* Informações de contato no footer */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.footer__contact-item i,
.footer__contact-item svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Barra inferior — copyright */
.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a {
  color: var(--accent-light);
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
   19. BOTÃO FLUTUANTE WHATSAPP
   Botão fixo no canto inferior direito com animação e tooltip
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Tooltip "Fale Conosco" */
.whatsapp-float__tooltip {
  background: var(--white);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Botão circular principal */
.whatsapp-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: whatsapp-pulse 2s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float__btn:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.1);
  color: var(--white);
}

/* Animação de pulsação do WhatsApp */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   20. COOKIE BANNER
   Banner fixo na parte inferior com slide-up
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(100%);
  animation: cookie-slide-up 0.5s ease 1s forwards;
  border-top: 3px solid var(--primary);
}

/* Animação de entrada — slide de baixo para cima */
@keyframes cookie-slide-up {
  to {
    transform: translateY(0);
  }
}

/* Texto do cookie */
.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Botões do cookie banner */
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Botão aceitar */
.cookie-banner__accept {
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-banner__accept:hover {
  background: var(--primary-light);
}

/* Botão rejeitar */
.cookie-banner__reject {
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-banner__reject:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* Estado oculto do cookie banner */
.cookie-banner.hidden {
  animation: cookie-slide-down 0.4s ease forwards;
}

@keyframes cookie-slide-down {
  to {
    transform: translateY(100%);
    display: none;
  }
}

/* ==========================================================================
   21. ANIMAÇÕES DE SCROLL
   Classes para revelar elementos ao rolar a página
   ========================================================================== */

/* Fade-in — aparece suavemente */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

/* Slide-up — sobe de baixo */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-left — entra pela direita */
.slide-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-right — entra pela esquerda */
.slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-up — cresce de menor para tamanho normal */
.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Delays de animação para efeito cascata (stagger) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   22. RESPONSIVO — MEDIA QUERIES
   Adaptações para tablet e mobile
   ========================================================================== */

/* ---- Tablet Grande (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  /* Grids de 3 colunas → 2 */
  .services__grid,
  .problems__grid,
  .why-choose__grid,
  .cities__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats → 2 colunas */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Como funciona → 3 colunas (2 linhas) */
  .how-it-works__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Esconde a linha conectora em telas menores */
  .how-it-works__grid::before {
    display: none;
  }

  /* Footer → 2 colunas */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contato → coluna única */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* Reduz padding das seções */
  section {
    padding: 4rem 0;
  }
}

/* ---- Tablet / Mobile Landscape (max-width: 768px) ---- */
@media (max-width: 768px) {
  /* Mostra o botão hambúrguer */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Menu mobile — overlay de tela inteira */
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  /* Menu ativo */
  .nav__menu.active {
    opacity: 1;
    visibility: visible;
  }

  /* Links maiores no mobile */
  .nav__link {
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Hero — ajustes de espaçamento */
  .hero {
    min-height: 100svh; /* safe viewport height em mobile */
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__trust-strip {
    gap: 0.75rem;
  }

  /* Stats → coluna única com 2 */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Grids adaptados para mobile */
  .services__grid,
  .problems__grid,
  .why-choose__grid,
  .cities__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Como funciona → coluna única */
  .how-it-works__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Formulário — campos em coluna */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer → coluna única */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    max-width: 100%;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__column-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Cookie banner — empilhado verticalmente */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.5rem;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  /* Seções com menos padding */
  section {
    padding: 3rem 0;
  }

  /* CTA final — botões empilhados */
  .cta-final__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-final__buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ---- Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  /* Container com menos padding lateral */
  .container {
    padding: 0 1rem;
  }

  /* Tipografia menor em telas pequenas */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* Botões com padding reduzido */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  /* Stats em coluna única */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stats__item {
    padding: 1rem 0.5rem;
  }

  .stats__number {
    font-size: 1.75rem;
  }

  /* Contato info — padding menor */
  .contact-info {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* WhatsApp flutuante — menor */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float__btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  /* Esconde tooltip do WhatsApp em mobile */
  .whatsapp-float__tooltip {
    display: none;
  }

  /* Hero — ajustes finos */
  .hero__badge {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
  }

  /* Problem cards */
  .problem-card__body {
    padding: 1.25rem;
  }

  /* Service cards */
  .service-card__body {
    padding: 1.25rem;
  }

  .service-card__image {
    height: 160px;
  }

  /* FAQ */
  .faq__question {
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Footer bottom */
  .footer__bottom {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   23. ACESSIBILIDADE
   Focus visible, motion preferences e classe sr-only
   ========================================================================== */

/* Outline visível apenas com navegação por teclado */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline padrão para clique do mouse */
:focus:not(:focus-visible) {
  outline: none;
}

/* Preferência de movimento reduzido — desativa animações */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .slide-up,
  .slide-left,
  .slide-right,
  .scale-up {
    opacity: 1;
    transform: none;
  }
}

/* Classe para leitores de tela — esconde visualmente mas mantém acessível */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — pula para o conteúdo principal */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* Esquema de cores escuro (dark mode automático) */
@media (prefers-color-scheme: dark) {
  /* Nota: dark mode desativado por padrão neste site.
     O site utiliza fundo branco para transmitir profissionalismo.
     Descomente abaixo caso queira ativar dark mode automático. */
  /*
  :root {
    --white: #0d1b2a;
    --gray-100: #1a1a2e;
    --gray-200: #2d2d44;
    --gray-800: #e8e8f0;
    --dark: #ffffff;
  }
  */
}

/* ==========================================================================
   24. UTILITÁRIOS
   Classes de auxílio para alinhamento, espaçamento e exibição
   ========================================================================== */

/* Alinhamento de texto */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Cores de texto */
.text-white   { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--gray-500); }

/* Margin-bottom (mb) — de 1 a 5 */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

/* Margin-top (mt) — de 1 a 5 */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }

/* Padding vertical (py) — de 1 a 5 */
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }

/* Padding horizontal (px) — de 1 a 5 */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: var(--space-1); padding-right: var(--space-1); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }

/* Exibição */
.d-none    { display: none; }
.d-block   { display: block; }
.d-flex    { display: flex; }
.d-grid    { display: grid; }
.d-inline  { display: inline; }

/* Largura */
.w-100 { width: 100%; }

/* Posicionamento */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   25. REFINAMENTOS VISUAIS, CARROSSEL E FORMULÁRIO (LPL ADVANCED UI)
   ========================================================================== */

/* Ponto pulsante verde de emergência no badge */
.badge-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--success);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Links dos cards de cidades */
.city-card__link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 1rem;
  transition: var(--transition-fast);
}

.city-card__link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Suporte avançado ao Carrossel de Depoimentos */
.testimonials__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.testimonial-track {
  display: flex !important;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  gap: 1.5rem;
}

.testimonial-track .testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  box-sizing: border-box;
  min-width: 0;
}

@media (max-width: 1024px) {
  .testimonial-track .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .testimonial-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Estilização dos campos do formulário */
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background-color: var(--gray-100);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(4, 56, 102, 0.1);
}

.form-control.is-valid {
  border-color: var(--success);
  background-color: #f0fdf4;
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: #fef2f2;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  color: #166534;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   FIM DO ARQUIVO — LPL Desentupimentos
   ========================================================================== */


/* Navigation and small-screen corrections for the supplied template. */
.header > .container { justify-content: space-between; gap: 1rem; }
.header .nav__logo { min-width: 0; flex-shrink: 0; }
.header .nav__menu { flex: 1; min-width: 0; justify-content: center; flex-wrap: wrap; }
.header > .container > .flex { flex-shrink: 0; gap: .5rem; }
.header > .container > .flex > .btn { font-size: .8rem; padding: .6rem .8rem; }
.header .nav__logo > svg { flex-shrink: 0; }
.header .nav__logo-text { min-width: 0; font-size: 1rem; }
.header .nav__logo-title { display: block; white-space: nowrap; }
.header .nav__logo-subtitle { display: block; font-size: .7rem; }
.header .nav__link { padding-left: .4rem; padding-right: .4rem; font-size: .8rem; }
@media (max-width: 1200px) {
  .header > .container > .flex { flex-shrink: 0; }
  .header > .container > .flex > .btn { display: none; }
  .header .mobile-menu-toggle { display: flex; flex-shrink: 0; }
  .header .nav__menu { position: fixed; inset: 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); flex-direction: column; justify-content: center; align-items: center; gap: .5rem; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
  .header .nav__menu.is-open { opacity: 1; visibility: visible; }
  .header .nav__link { font-size: 1.25rem; padding: .75rem 2rem; }
}
@media (max-width: 480px) {
  .city-card { flex-direction: column; min-width: 0; }
  .city-card__link { max-width: 100%; white-space: normal; }
  .hero__ctas .btn { white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .header > .container { gap: .5rem; }
  .header .nav__logo-text { font-size: .85rem; }
  .header .nav__logo-subtitle { font-size: .65rem; }
  .contact-info, .contact-form, .contact-info__item > div { min-width: 0; }
  .contact-info__value { overflow-wrap: anywhere; }
}


/* Aviso LGPD temporariamente desativado; WhatsApp sempre acessivel. */
.cookie-banner[hidden] {
  display: none !important;
  animation: none;
}
.whatsapp-float {
  z-index: 10000;
  right: calc(2rem + env(safe-area-inset-right, 0px));
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 480px) {
  .whatsapp-float {
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Identidade oficial LPL: marinho, vermelho, azul agua e branco. */
:root { --water: #009BD4; --header-offset: 112px; }
.header, .header.header--scrolled {
  padding: .5rem 0;
  background: #FFFFFF;
  box-shadow: 0 2px 24px rgba(4, 56, 102, .12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header .brand-logo { display: block; width: 160px; height: auto; max-width: 100%; }
.header .nav__link { color: var(--primary); }
.header .nav__link:hover, .header .nav__link.active { color: var(--accent); background: rgba(0, 155, 212, .08); }
.header .mobile-menu-toggle span { background: var(--primary); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.btn-phone { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); box-shadow: 0 4px 15px rgba(189, 5, 35, .35); }
.btn-phone:hover { background: var(--accent-hover); box-shadow: 0 8px 25px rgba(189, 5, 35, .45); }
.hero { padding-top: calc(var(--header-offset) + 2.5rem); }
.hero__subtitle strong { color: #FFFFFF; }
.hero__badge { color: #FFFFFF; background: rgba(4, 56, 102, .75); border-color: rgba(0, 155, 212, .65); }
.hero__badge::before { display: none; }
.footer .footer__brandmark { display: inline-flex; background: #FFFFFF; padding: .75rem; border-radius: .75rem; max-width: 100%; }
.footer .footer__brandmark .brand-logo { display: block; width: 200px; height: auto; max-width: 100%; }
@media (max-width: 1200px) { .header .nav__menu { background: #FFFFFF; } }
@media (max-width: 768px) {
  :root { --header-offset: 96px; }
  .hero { padding-top: calc(var(--header-offset) + 1.25rem); }
  .footer__brand { margin-inline: auto; }
}
@media (max-width: 480px) { .header .brand-logo { width: 128px; height: auto; } }
