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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   VARIÁVEIS CSS
   ============================================================ */
:root {
  /* Paleta principal */
  --primary: #0F4C5C;
  --secondary: #8ECAE6;
  --accent: #FFB703;
  --white: #FFFFFF;
  --bg: #F8F9FA;

  /* Derivadas */
  --primary-dark: #0a3441;
  --primary-light: #e8f4f8;
  --text: #1a1a2e;
  --text-muted: #5c6b73;
  --border: #dde8ed;

  /* Tipografia */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Espaçamento — escala base mobile */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1rem;

  /* Bordas */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(15, 76, 92, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 76, 92, 0.12);
  --shadow-lg: 0 12px 40px rgba(15, 76, 92, 0.18);

  /* Header */
  --header-h: 68px;
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-blur: blur(12px);
  --header-border: rgba(221, 232, 237, 0.55);

  /* Transições */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--primary);
}
@media (min-width: 768px) {
  h1, h2, h3, h4 {
    line-height: 1;
  }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

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

/* Amarelo — CTA principal */
.btn--primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
}

.btn--primary:hover {
  background-color: #e6a500;
  box-shadow:
    0 16px 40px rgba(255, 183, 3, 0.5),
    0 6px 12px rgba(255, 183, 3, 0.3);
  transform: translateY(-5px);
}

.btn--primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 183, 3, 0.4);
}

/* Variante grande — hero CTA */
.btn--hero {
  padding: 1.0625rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  width: 100%;
  justify-content: center;
}
@media (min-width: 768px) {
  .btn--hero {
    width: auto;
    justify-content: flex-start;
  }
}

/* Outlined */
.btn--ghost {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

/* Tamanho reduzido */
.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* ============================================================
   PADRÃO DE SEÇÃO
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.625rem, 5vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   HEADER — sticky, glassmorphism
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background-color: var(--header-bg);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 0 var(--header-border), var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── Logo ── */
.header__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo__subtitle {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Nav (mobile: oculta; desktop: visível via breakpoint) ── */
.header__nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav__link:hover {
  color: var(--primary);
  background-color: rgba(15, 76, 92, 0.04);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--cta {
  margin-left: 0.75rem;
  padding: 0.5625rem 1.375rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(15, 76, 92, 0.22);
  transition:
    background-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 76, 92, 0.32);
  transform: translateY(-1px);
}

/* ── Hambúrguer (mobile) ── */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.header__menu-btn:hover {
  background-color: rgba(15, 76, 92, 0.06);
}

.header__menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: var(--primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: var(--space-xl) var(--space-2xl);
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--white) 50%);
  overflow: hidden;
}

/* Mobile: coluna única, media acima */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero__media {
  order: -1;
}

/* ── Texto ── */
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: clamp(1.875rem, 5.5vw, 2.875rem);
  font-weight: 550;
  /* Corpo do título em --text (quase preto) para máximo impacto */
  color: var(--text);
  margin-bottom: var(--space-md);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Palavras-chave em --primary + itálico + sublinhado âmbar */
.hero__mark {
  color: var(--primary);
  font-style: italic;
  position: relative;
  white-space: nowrap;
}

.hero__mark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 183, 3, 0.15) 100%);
}

.hero__title--highlight {
  color: var(--accent);
}

.hero__description {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

/* ── Ações ── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
  }
}

.hero__scroll-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), gap var(--transition);
}
@media (min-width: 768px) {
  .hero__scroll-link {
    align-self: auto;
  }
}

.hero__scroll-link:hover {
  color: var(--primary);
  gap: 10px;
}

/* ── Métricas ── */
.hero__metrics {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .hero__metrics {
    justify-content: flex-start;
    text-align: left;
    gap: var(--space-md) var(--space-lg);
  }
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__metric-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
@media (min-width: 768px) {
  .hero__metric-value {
    font-size: 1.375rem;
  }
}

.hero__metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 70px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero__metric-label {
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 100px;
    margin: 0;
  }
}

.hero__metric-sep {
  width: 1px;
  height: 36px;
  background-color: var(--border);
  flex-shrink: 0;
}

/* ── Foto ── */
.hero__photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 1rem 2rem;
}

/* Blob decorativo atrás da foto */
.hero__photo-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 88%;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  background: linear-gradient(145deg, var(--secondary) 0%, rgba(142, 202, 230, 0.25) 100%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

/* ── Molduras orgânicas ── */

/* Moldura traseira — --secondary, levemente maior, rotação +5° */
.hero__ring {
  position: absolute;
  top: 1rem;
  /* espelha o padding do wrap */
  left: 1rem;
  right: 1rem;
  bottom: 2rem;
  pointer-events: none;
  border-style: solid;
  z-index: 0;
}

.hero__ring--back {
  border-width: 2px;
  border-color: rgba(142, 202, 230, 0.55);
  border-radius: 52% 48% 44% 56% / 46% 50% 54% 50%;
  transform: rotate(5deg) scale(1.07);
}

/* Moldura frontal — --accent, mais sutil, rotação -4°, sobre a foto */
.hero__ring--front {
  z-index: 4;
  border-width: 1.5px;
  border-color: rgba(255, 183, 3, 0.28);
  border-radius: 46% 54% 54% 46% / 52% 46% 54% 48%;
  transform: rotate(-4deg) scale(1.13);
}

/* Frame orgânico da foto */
.hero__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 42% 58% 46% 54% / 44% 46% 54% 56%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--primary-light) 0%, rgba(142, 202, 230, 0.45) 100%);
  box-shadow: var(--shadow-lg);
  margin-inline: auto;
}

/* Anel interno — branco translúcido, clipeado à forma orgânica */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}

/* Placeholder SVG centralizado */
.hero__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.hero__placeholder-svg {
  width: 80%;
  max-width: 240px;
  height: auto;
}

/* Foto real: cobre o placeholder quando carregada */
.hero__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Badge de credencial */
.hero__photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 0.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   EXPERTISE — centrada, autoridade
   ============================================================ */
.expertise {
  padding-block: var(--space-2xl);
  background-color: var(--white);
}

/* ── Cabeçalho centralizado ── */
.expertise__header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.expertise__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  line-height: 1.18;
}

.expertise__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Barra de credenciais ── */
.expertise__credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  justify-items: center;
  margin-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .expertise__credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
  }
}

.expertise__credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: var(--space-sm) var(--space-md);
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
}
@media (min-width: 768px) {
  .expertise__credential {
    width: auto;
    border: none;
    background-color: transparent;
    border-radius: 0;
  }
}

.expertise__credential-term {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.expertise__credential-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.expertise__credential-sep {
  width: 1px;
  height: 36px;
  background-color: var(--border);
  flex-shrink: 0;
  display: none;
  /* visível apenas no desktop */
}

/* ── Divisor ── */
.expertise__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--space-xl);
}

/* ── Grid 2×2 de pilares ── */
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile: 1 coluna */
  gap: var(--space-md);
}

.expertise__card {
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .expertise__card {
    padding: 2.25rem;
  }
}
/* temp base */
.expertise__card_DUMMY {
  border-radius: 8px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  background-color: var(--bg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.expertise__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.expertise__card-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.expertise__card-term {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.expertise__card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   SERVIÇOS — 3 cards minimalistas em CSS Grid
   ============================================================ */
.servicos {
  padding-block: var(--space-2xl);
  background-color: var(--bg);
}

.servicos__grid {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile: 1 coluna */
  gap: var(--space-md);
  align-items: stretch;
}

/* ── Card ── */
.servico__card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .servico__card {
    padding: 2.5rem;
  }
}
/* temp base */
.servico__card_DUMMY {
  /* padding generoso conforme PRD */
  border-radius: 8px;
  /* especificado no brief */
  background-color: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition),
    border-color var(--transition);
}

/* ── Foto de capa do card ── */
.servico__img-wrap {
  margin: -1.75rem -1.75rem 1.5rem;
  height: 180px;
}
@media (min-width: 768px) {
  .servico__img-wrap {
    margin: -2.5rem -2.5rem 1.75rem;
    height: 210px;
  }
}
/* temp base */
.servico__img-wrap_DUMMY {
  overflow: hidden;
  flex-shrink: 0;
}

.servico__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.servico__card:hover .servico__img {
  transform: scale(1.05);
}

.servico__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(15, 76, 92, 0.18);
}

/* ── Ícone ── */
.servico__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.servico__card:hover .servico__icon-wrap {
  background-color: var(--secondary);
}

/* ── Título ── */
.servico__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

/* ── Texto ── */
.servico__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  flex: 1;
  /* empurra as tags para o fundo */
}

.servico__text strong {
  font-weight: 600;
  color: var(--text);
}

/* ── Tags de condições ── */
.servico__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin-top: auto;
}

.servico__tags li {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ── CTA ── */
.servicos__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================================
   GALERIA DE FOTOS
   ============================================================ */
.galeria {
  padding: var(--space-md) 0;
  background-color: var(--bg);
}

.galeria__strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.galeria__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  border-radius: 6px;
}

.galeria__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria__item:hover .galeria__img {
  transform: scale(1.05);
}

/* Legenda aparece ao hover com fade-up */
.galeria__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 52, 65, 0.8) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.galeria__item:hover .galeria__caption {
  opacity: 1;
  transform: translateY(0);
}

/* @media (min-width: 600px) is below */
.galeria__item:last-child {
  display: none;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos {
  padding-block: var(--space-2xl);
  background-color: var(--bg);
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.depoimento__card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  transition: box-shadow var(--transition);
}
@media (min-width: 768px) {
  .depoimento__card {
    border-left-width: 4px;
  }
}

.depoimento__card:hover {
  box-shadow: var(--shadow-md);
}

.depoimento__text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.depoimento__text::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.7rem;
  margin-right: 3px;
}

.depoimento__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.depoimento__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.depoimento__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  font-style: normal;
  color: var(--primary);
}

.depoimento__role {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* ── Banda CTA pré-footer ── */
.footer__cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3340 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.footer__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer__cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  max-width: 560px;
}

.footer__cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  line-height: 1.6;
}

/* ── Corpo do footer: 3 colunas no desktop ── */
.footer__body {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .footer__grid {
    gap: var(--space-xl);
  }
}

/* ── Coluna 1: Brand ── */
.footer .logo__name {
  color: var(--white);
  font-size: 1.1875rem;
}

.footer .logo__subtitle {
  color: var(--secondary);
  opacity: 0.8;
}

.footer__tagline {
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer__social-link:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── Coluna 2 & 3: nav e contato ── */
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__nav-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__nav-link:hover {
  color: var(--white);
  padding-left: 4px;
}

/* ── Lista de contato com ícones ── */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 2px;
  color: var(--secondary);
  opacity: 0.8;
}

.footer__link {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

/* ── Barra inferior ── */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-md);
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.footer__bottom-inner p,
.footer__bottom-crefito {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.18);
  /* Oculto por padrão; JS adiciona .whatsapp-fab--visible */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(8px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.25s ease;
}

.whatsapp-fab--visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.whatsapp-fab:hover {
  background: #1ebe5d;
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.65),
    0 3px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.08) translateY(-2px);
}

.whatsapp-fab:active {
  transform: scale(0.96);
  box-shadow:
    0 2px 8px rgba(37, 211, 102, 0.4),
    0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Anel pulsante de atenção */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.65);
    opacity: 0;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* Tooltip */
.whatsapp-fab__tooltip {
  display: none;
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  background: rgba(15, 15, 15, 0.88);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(15, 15, 15, 0.88);
}

.whatsapp-fab:hover .whatsapp-fab__tooltip,
.whatsapp-fab:focus-visible .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 481px) {
  .whatsapp-fab {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 1.75rem;
    right: 1.75rem;
  }

  .whatsapp-fab__tooltip {
    display: block;
  }
}

/* Reduced motion: sem pulso */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before {
    animation: none;
  }
}

/* ============================================================
   BREAKPOINTS — MOBILE-FIRST
   ============================================================ */

/* ── Tablet: ≥ 600 px ── */
@media (min-width: 600px) {
  .galeria__strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .galeria__item:last-child {
    display: block;
  }

  /* Expertise: 2 colunas no tablet */
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Serviços: ainda 1 coluna no 600 — os cards são largos */
  .depoimentos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Desktop: ≥ 768 px ── */
@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
    --space-2xl: 6rem;
    --space-xl: 4rem;
  }

  /* Header nav visível */
  .header__nav {
    display: flex;
    align-items: center;
  }

  .header__menu-btn {
    display: none;
  }

  /* Hero: 2 colunas — texto esquerda, foto direita */
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero__media {
    order: 0;
  }

  .hero__description {
    max-width: 480px;
  }

  .hero__photo {
    max-width: 460px;
  }

  /* Expertise: separadores visíveis + grid 2×2 */
  .expertise__credential-sep {
    display: block;
  }

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

  /* Serviços: 3 colunas iguais */
  .servicos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Depoimentos: 3 colunas */
  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer: 3 colunas (brand | nav | contato) */
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: var(--space-2xl);
  }

  /* CTA band: linha horizontal */
  .footer__cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: var(--space-xl);
  }

  .footer__cta-title,
  .footer__cta-desc {
    max-width: none;
  }
}

/* ── Wide: ≥ 1024 px ── */
@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.125rem;
  }

  .expertise__title {
    font-size: 2.25rem;
  }

  .section-description {
    font-size: 1.0625rem;
  }
}

/* ============================================================
   ESTADOS CONTROLADOS POR JAVASCRIPT
   ============================================================ */

/* ── Header: sombra reforçada ao rolar ── */
.header--scrolled {
  box-shadow:
    0 1px 0 var(--header-border),
    0 4px 24px rgba(15, 76, 92, 0.13);
}

/* ── Nav mobile: open state ── */
.header__nav--open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) var(--container-pad) var(--space-md);
  animation: slideDown 0.22s ease;
  z-index: 199;
}

.header__nav--open .nav__list {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.header__nav--open .nav__link {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.header__nav--open .nav__link--cta {
  margin-left: 0;
  margin-top: var(--space-xs);
  text-align: center;
}

/* No desktop, anular qualquer resquício do estado mobile */
@media (min-width: 768px) {
  .header__nav--open {
    position: static;
    flex-direction: row;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
    animation: none;
  }

  .header__nav--open .nav__list {
    flex-direction: row;
  }
}

/* ── Hambúrguer: animação para X ── */
.header__menu-btn span {
  transition: transform 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}

.header__menu-btn--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__menu-btn--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Nav link: estado ativo por seção ── */
.nav__link--active {
  color: var(--primary);
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* ── Reveal ao scroll ── */

/*
  Estado oculto inicial — aplicado somente quando JS está ativo
  (.js adicionado ao <html> pelo inline script no <head>).
  Sem JS: elementos visíveis por padrão, sem acessibilidade perdida.
*/
.js .js-reveal {
  opacity: 0;
  transform: translateY(28px);
  /*
    cubic-bezier(0.16, 1, 0.3, 1) = "spring-out":
    sobe rápido e desacelera suavemente, sem bounce.
  */
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Items em grade: --reveal-delay definida via JS (stagger por posição) */
.js .js-reveal--item {
  transition-delay: var(--reveal-delay, 0s);
}

/* Estado visível */
.js .js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*
  Hero — slide lateral SOMENTE no desktop.
  No mobile o layout é vertical (1 coluna), então translateX
  ficaria visualmente errado; ambos recebem o slide-up padrão.
*/
@media (min-width: 768px) {
  .js .hero__content.js-reveal {
    transform: translateX(-22px);
  }

  .js .hero__media.js-reveal {
    transform: translateX(22px);
  }

  .js .hero__content.js-reveal.is-visible,
  .js .hero__media.js-reveal.is-visible {
    transform: translateX(0);
  }
}

/* ── Acessibilidade: respeitar preferência de movimento reduzido ── */
@media (prefers-reduced-motion: reduce) {

  .js .js-reveal,
  .js .js-reveal--item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .header__menu-btn span {
    transition: none;
  }
}

/* ── Keyframe: menu mobile slide down ── */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   MOBILE — tipografia e grids (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {

  /* ── Títulos: line-height maior facilita leitura em telas pequenas ── */
  h1,
  h2 {
    line-height: 1.25;
  }

  /* ── Hero: ações empilhadas, CTA ocupa a largura toda ── */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  /* Link secundário permanece alinhado à esquerda (não estica) */
  .hero__scroll-link {
    align-self: flex-start;
  }

  /* CTA principal: largura total em mobile */
  .btn--hero {
    width: 100%;
    justify-content: center;
  }

  /* ── Métricas do hero: separadores visuais ocultados ── */
  /* Quando o flex quebra linha, a barra vertical fica solta */
  .hero__metric-sep {
    display: none;
  }

  .hero__metrics {
    gap: var(--space-md) var(--space-lg);
  }

  /* ── Expertise credentials: grade 2×2 no mobile ── */
  /*
    Os .expertise__credential-sep já têm display:none por padrão.
    Com grid de 2 colunas as 4 credenciais formam simetria 2×2.
  */
  .expertise__credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    justify-items: center;
  }

  .expertise__credential {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg);
  }

  /* ── Cards: padding reduzido para respirar em telas estreitas ── */
  .servico__card,
  .expertise__card {
    padding: 1.75rem;
  }

  /* Ajusta margem negativa da foto ao novo padding do card */
  .servico__img-wrap {
    margin: -1.75rem -1.75rem 1.5rem;
    height: 180px;
  }

  /* ── Depoimentos: remove borda lateral quando empilhados ── */
  .depoimento__card {
    border-left-width: 3px;
  }

  /* ── Footer: espaçamento menor entre colunas ── */
  .footer__grid {
    gap: var(--space-lg);
  }
}



@media (min-width: 381px) {
  :root {
    --container-pad: 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.875rem, 5.5vw, 2.875rem);
  }

  .section-eyebrow,
  .hero__eyebrow {
    font-size: 1rem;
  }

  .servico__tags li {
    font-size: 0.6875rem;
    padding: 0.25rem 0.75rem;
  }

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