/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #081A35;
  --navy-mid: #0d2547;
  --navy-light: #163461;
  --red: #C0282D;
  --red-dark: #A01E23;
  --red-light: #D94040;
  --red-pale: #FEF2F2;
  --white: #FFFFFF;
  --gray-50: #F5F7FA;
  --gray-100: #EEF1F6;
  --gray-200: #D8DFE8;
  --gray-400: #94A3B8;
  --gray-600: #64748B;
  --gray-800: #1E293B;
  --green: #25D366;
  --green-dark: #1DA851;
  --success: #10B981;
  --warning: #FBBF24;
  --error: #EF4444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(8,26,53,0.06), 0 1px 2px rgba(8,26,53,0.04);
  --shadow: 0 4px 16px rgba(8,26,53,0.08), 0 2px 6px rgba(8,26,53,0.06);
  --shadow-lg: 0 10px 40px rgba(8,26,53,0.12), 0 4px 12px rgba(8,26,53,0.08);
  --shadow-red: 0 8px 32px rgba(192,40,45,0.28);
  --transition: 0.2s ease;
  --transition-md: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 16px 36px; font-size: 0.9375rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn--whatsapp:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  color: var(--white);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  box-shadow: 0 12px 40px rgba(192,40,45,0.38);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--ghost {
  background: var(--gray-100);
  color: var(--gray-600);
}
.btn--ghost:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-md), box-shadow var(--transition-md), padding var(--transition-md);
  padding: 28px 0;
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(8,26,53,0.1);
  padding: 12px 0;
}

.header--solid {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(8,26,53,0.1);
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform var(--transition-md), gap var(--transition-md);
}

.header__logo-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  transition: width var(--transition-md), height var(--transition-md), border-radius var(--transition-md);
}

.header__logo-text {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  transition: color var(--transition-md), font-size var(--transition-md);
}

.header__logo-text em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--red-light);
  opacity: 0.9;
  transition: color var(--transition-md), font-size var(--transition-md);
}

/* Logo quando menu está com scroll (fundo branco) */
.header.scrolled .header__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.header--solid .header__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.header.scrolled .header__logo-text {
  color: var(--navy);
  font-size: 0.9rem;
}

.header--solid .header__logo-text {
  color: var(--navy);
  font-size: 0.9rem;
}

.header.scrolled .header__logo-text em {
  font-size: 0.65rem;
  color: var(--red);
}

.header--solid .header__logo-text em {
  font-size: 0.65rem;
  color: var(--red);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Nav links quando menu está com scroll (fundo branco) */
.header.scrolled .nav-link {
  color: var(--gray-600);
}

.header--solid .nav-link {
  color: var(--gray-600);
}

.header.scrolled .nav-link:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.header--solid .nav-link:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.header__cta { margin-left: auto; flex-shrink: 0; }

/* Botão CTA quando menu está com scroll (fundo branco) */
.header.scrolled .header__cta {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.header--solid .header__cta {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* Burger quando menu está com scroll (fundo branco) */
.header.scrolled .header__burger span {
  background: var(--navy);
}

.header--solid .header__burger span {
  background: var(--navy);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,26,53,0.92) 0%,
    rgba(8,26,53,0.75) 50%,
    rgba(13,37,71,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,40,45,0.15);
  border: 1px solid rgba(192,40,45,0.35);
  color: #F87171;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.4);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--red-light);
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__badges li svg { color: var(--green); flex-shrink: 0; }

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
  background: var(--navy);
  padding: 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.trust-card:last-child { border-right: none; }
.trust-card:hover { background: rgba(255,255,255,0.03); }

.trust-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(192,40,45,0.12);
  border: 1px solid rgba(192,40,45,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red-light);
}

.trust-card div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-card strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.trust-card span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--navy); }

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  background: rgba(192,40,45,0.08);
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(192,40,45,0.2);
  margin-bottom: 16px;
}

.section__tag--light {
  background: rgba(192,40,45,0.2);
  border-color: rgba(192,40,45,0.35);
  color: #F87171;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__title--light { color: var(--white); }

.section__desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   SERVICES GRID
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192,40,45,0.2);
}

.service-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: rgba(192,40,45,0.3);
}

.service-card--featured h3,
.service-card--featured p { color: var(--white); }

.service-card--featured .service-card__icon {
  background: rgba(192,40,45,0.2);
  border-color: rgba(192,40,45,0.35);
  color: var(--red-light);
}

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover { gap: 10px; color: var(--red-dark); }
.service-card--featured .service-card__link { color: var(--red-light); }

/* ===========================
   SERVICE DETAIL
   =========================== */
.service-detail-hero {
  padding: 132px 0 56px;
  background:
    linear-gradient(135deg, rgba(8,26,53,0.96), rgba(13,37,71,0.92)),
    url('../img/banner.png') center/cover no-repeat;
  color: var(--white);
}

.service-detail-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

.service-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.76);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.service-detail__back svg {
  transform: rotate(180deg);
}

.service-detail-hero__icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  color: var(--red-light);
  margin-bottom: 18px;
}

.service-detail-hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  margin: 12px 0 18px;
}

.service-detail-hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.78);
  font-size: 1.125rem;
  line-height: 1.75;
}

.service-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.service-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.service-detail__content {
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.85;
}

.service-detail__content h2,
.service-detail__content h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.service-detail__content h2 { font-size: 1.9rem; }
.service-detail__content h3 { font-size: 1.35rem; }
.service-detail__content p { margin-bottom: 18px; }

.service-detail__content ul,
.service-detail__content ol {
  list-style: revert;
  padding-left: 22px;
  margin: 0 0 22px;
}

.service-detail__content img {
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.service-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.service-detail__cta,
.service-detail__related {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-detail__cta h2,
.service-detail__related h2 {
  color: var(--navy);
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.service-detail__cta p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

.service-detail__related ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail__related a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--gray-50);
  transition: background var(--transition), color var(--transition);
}

.service-detail__related a:hover {
  background: var(--red-pale);
  color: var(--red);
}

.service-detail__related span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.service-detail__related svg {
  width: 24px;
  height: 24px;
}

/* ===========================
   DIFFERENTIALS
   =========================== */
.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.diff-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.diff-image__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-red);
}

.diff-image__badge strong {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.diff-image__badge span {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.9;
}

.diff-content { display: flex; flex-direction: column; gap: 24px; }

.diff-content__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diff-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.diff-list li svg {
  color: var(--green);
  flex-shrink: 0;
  background: rgba(37,211,102,0.1);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}

/* ===========================
   PROCESS
   =========================== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 16px;
}

.process-step__number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
  background: rgba(192,40,45,0.08);
  border: 1px solid rgba(192,40,45,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.process-step__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 2px solid rgba(192,40,45,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  box-shadow: 0 8px 24px rgba(8,26,53,0.15);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.process-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(192,40,45,0.2), rgba(192,40,45,0.6), rgba(192,40,45,0.2));
  margin-top: 68px;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.6;
}

/* ===========================
   FAQ
   =========================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(192,40,45,0.3);
  box-shadow: 0 4px 16px rgba(192,40,45,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-question span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--red);
  transition: transform var(--transition-md);
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--gray-100);
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding-top: 16px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.stars-row { display: flex; gap: 2px; }

.testimonials-summary span {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.testimonials-summary strong { color: var(--navy); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  quotes: none;
}

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

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.testimonial-avatar--image {
  background: var(--gray-100);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__header > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-card__header strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-card__header span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-stars { display: flex; gap: 2px; margin-left: auto; align-self: flex-start; }

.testimonial-card > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

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

/* ===========================
   AREA DE ATENDIMENTO
   =========================== */
.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.area-map {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-visual {
  width: 100%;
  padding: 32px;
}

.map-visual--pins {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 320px;
  background:
    radial-gradient(circle at 50% 50%, rgba(192,40,45,0.16) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 50%, rgba(192,40,45,0.10) 0 31%, transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(192,40,45,0.06) 0 48%, transparent 49%),
    var(--red-pale);
}

.map-pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(8,26,53,0.12);
}

.map-pin--primary {
  width: 17px;
  height: 17px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(192,40,45,0.20);
}

.google-area-map,
.leaflet-area-map {
  width: 100%;
  min-height: 420px;
}

.map-visual svg {
  width: 100%;
  height: auto;
  font-family: var(--font);
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.area-city {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.area-city:hover {
  border-color: rgba(192,40,45,0.2);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.area-city__dot {
  width: 12px;
  height: 12px;
  background: var(--gray-400);
  border-radius: 50%;
  flex-shrink: 0;
}

.area-city__dot--primary {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(192,40,45,0.15);
}

.area-city div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.area-city strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.area-city span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a4080 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,40,45,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section__inner { position: relative; }

.cta-section__content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-section__content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-section__content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ===========================
   CONTACT
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: rgba(192,40,45,0.08);
  border: 1px solid rgba(192,40,45,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-detail div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-detail span {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span { color: var(--error); }

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,40,45,0.1);
}

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

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand { display: flex; flex-direction: column; gap: 20px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer__logo span {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logo em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--red-light);
  opacity: 0.9;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link:hover {
  background: rgba(192,40,45,0.2);
  color: var(--red-light);
  border-color: rgba(192,40,45,0.4);
}

.footer__col { display: flex; flex-direction: column; gap: 16px; }

.footer__col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--white); }

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.footer__contact li svg { flex-shrink: 0; opacity: 0.7; }
.footer__contact a { color: rgba(255,255,255,0.55); }
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float-pulse 2.5s infinite;
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--green-dark);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(4px);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
}

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

/* ===========================
   MODAL
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,26,53,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.2s ease;
}

.modal-overlay[hidden] { display: none; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal__icon {
  width: 72px;
  height: 72px;
  background: rgba(16,185,129,0.1);
  border: 2px solid rgba(16,185,129,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.modal p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail__layout { grid-template-columns: 1fr; }
  .service-detail__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header {
    padding: 20px 0;
  }

  .header.scrolled {
    padding: 12px 0;
  }

  .header--solid {
    padding: 12px 0;
  }

  .header__logo-img {
    width: 44px;
    height: 44px;
  }

  .header__logo-text {
    font-size: 0.95rem;
  }

  .header__logo-text em {
    font-size: 0.65rem;
  }

  .header.scrolled .header__logo-img {
    width: 36px;
    height: 36px;
  }

  .header--solid .header__logo-img {
    width: 36px;
    height: 36px;
  }

  .header.scrolled .header__logo-text {
    font-size: 0.8rem;
  }

  .header--solid .header__logo-text {
    font-size: 0.8rem;
  }

  .header__nav,
  .header__cta { display: none; }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 99;
    padding: 80px 32px 32px;
    gap: 8px;
    align-items: flex-start;
  }

  .header__nav.open .nav-link {
    font-size: 1.25rem;
    padding: 12px 16px;
    width: 100%;
    color: var(--white);
  }

  .header__nav.open .header__cta {
    display: inline-flex;
    margin-top: 24px;
  }

  .header__burger { display: flex; }

  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .trust-card:nth-child(3),
  .trust-card:nth-child(4) { border-bottom: none; }

  .diff-layout { grid-template-columns: 1fr; gap: 40px; }
  .diff-image img { height: 360px; }
  .service-detail-hero { padding: 112px 0 48px; }
  .service-detail-hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .service-detail-hero__actions .btn { justify-content: center; }

  .process-steps { flex-direction: column; align-items: center; }
  .process-connector {
    width: 2px;
    height: 40px;
    margin: 0;
    background: linear-gradient(180deg, rgba(192,40,45,0.2), rgba(192,40,45,0.6), rgba(192,40,45,0.2));
  }
  .process-connector::after { right: -4px; top: auto; bottom: -6px; left: 50%; transform: translateX(-50%); }

  .area-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header {
    padding: 16px 0;
  }

  .header__logo-img {
    width: 40px;
    height: 40px;
  }

  .header__logo-text {
    font-size: 0.875rem;
  }

  .header__logo-text em {
    font-size: 0.6rem;
  }

  .header.scrolled .header__logo-img {
    width: 32px;
    height: 32px;
  }

  .header--solid .header__logo-img {
    width: 32px;
    height: 32px;
  }

  .header.scrolled .header__logo-text {
    font-size: 0.75rem;
  }

  .header--solid .header__logo-text {
    font-size: 0.75rem;
  }

  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail-hero { padding: 96px 0 42px; }
  .service-detail-hero h1 { font-size: 2.2rem; }
  .service-detail__content h2 { font-size: 1.45rem; }
  .service-detail__cta,
  .service-detail__related { padding: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .trust-card { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .trust-card:last-child { border-bottom: none; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
