/* ==========================================================================
   Gabriel De Marco · Médico Clínico Geral — Criciúma/SC
   styles.css — folha única, mobile-first, sem framework
   --------------------------------------------------------------------------
   CONSTANTES DE IMAGENS (substituir pelos arquivos reais, mesmos nomes):
     IMG_HERO      → images/gabriel-hero.webp    (800×1000, retrato)
     IMG_SOBRE     → images/gabriel-sobre.webp   (800×1000, retrato)
     IMG_AMBIENTE  → images/ambiente.webp        (1200×800, paisagem)
   Os caminhos são referenciados no HTML (<img src>), não neste CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis de design
   -------------------------------------------------------------------------- */
:root {
  /* Paleta */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #1A2E35;
  --ink-soft: #5A6B72;
  --accent: #2E7D6B;
  --accent-soft: #E8F4F1;
  --accent-mid: #3E9B8A;
  --border: #E5E8E6;

  /* Tipografia */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Escala tipográfica */
  --text-h1: clamp(2.5rem, 5vw, 4rem);
  --text-h2: clamp(2rem, 4vw, 2.75rem);
  --text-h3: 1.25rem;
  --text-body: 1.125rem;
  --text-small: 0.9375rem;

  /* Layout */
  --container: 72rem;      /* 1152px */
  --container-narrow: 46rem;
  --header-h: 4rem;        /* 64px — mobile */
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Formas e sombras */
  --radius-s: 0.625rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-btn: 0.75rem;   /* 12px — botões pill-less, per spec */
  --radius-hero: 1.5rem 1.5rem 7.5rem 1.5rem;      /* 24px 24px 120px 24px */
  --radius-sobre: 7.5rem 1.5rem 1.5rem 1.5rem;     /* 120px 24px 24px 24px */
  --shadow-s: 0 1px 2px rgba(26, 46, 53, 0.05), 0 2px 8px rgba(26, 46, 53, 0.05);
  --shadow-m: 0 4px 12px rgba(26, 46, 53, 0.07), 0 12px 32px rgba(26, 46, 53, 0.08);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.08);   /* spec: scroll do header */
  --shadow-photo: 0 20px 60px rgba(46, 125, 107, 0.12);

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.25s;
}

@media (min-width: 62rem) {
  :root {
    --header-h: 4.5rem;  /* 72px — desktop */
  }
}

/* --------------------------------------------------------------------------
   2. Reset e base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Drawer fixo usa transform; impede scroll horizontal incidental */
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  max-width: 65ch;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}

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

ul,
ol {
  list-style: none;
}

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

/* Foco acessível e visível (WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Utilitários
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--section-pad);
}

.section--surface {
  background-color: var(--surface);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head > * + * {
  margin-top: 1rem;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.1875rem;
}

.eyebrow {
  display: inline-block;
  max-width: 100%;
  font-size: 0.6875rem;    /* 11px mobile */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--accent-soft);
  border: 1px solid rgba(46, 125, 107, 0.16);
  border-radius: 1.25rem;    /* 20px per spec */
  padding: 0.5rem 0.875rem;
  line-height: 1.4;
}

@media (min-width: 30rem) {
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 40rem) {
  .eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
  }
}

.section--surface .eyebrow,
.cta-band .eyebrow {
  background-color: var(--accent-soft);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  transform: translateY(-300%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: #fff;
}

/* Botões — alvo de toque ≥ 44px, border-radius 12px per spec */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 1rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 125, 107, 0.28);
}

.btn--primary:hover {
  background-color: #256B5C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 125, 107, 0.32);
}

.btn--light {
  background-color: #fff;
  color: var(--accent);
}

.btn--light:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--accent);
  border-color: rgba(46, 125, 107, 0.4);
}

.btn--outline:hover {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

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

/* Reveal on scroll (JS adiciona .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   4. Header / navegação
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background-color: transparent;
  transition: background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  background-color: var(--surface);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Logo: monograma GD + nome */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mono {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 0.75rem;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
}

.brand-role {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav desktop */
.nav-desktop,
.header-cta {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius-s);
}

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

/* Botão hambúrguer */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--ink);
}

/* Drawer mobile */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(26, 46, 53, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  width: min(20rem, 85vw);
  background: var(--surface);
  box-shadow: var(--shadow-m);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer,
body.drawer-open .drawer-backdrop {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--surface);
  cursor: pointer;
}

.drawer-close svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--ink);
}

.drawer nav ul {
  display: flex;
  flex-direction: column;
}

.drawer nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 0.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-s);
  border-bottom: 1px solid var(--border);
}

.drawer nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.drawer .btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 62rem) {
  .nav-desktop,
  .header-cta {
    display: block;
  }

  .nav-toggle,
  .drawer,
  .drawer-backdrop {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: var(--section-pad);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy > * + * {
  margin-top: 1.5rem;
}

.hero-title {
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
  transform: translateY(3px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-small);
  color: var(--ink-soft);
}

.hero-note svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  stroke: var(--accent-mid);
}

/* Coluna visual */
.hero-visual {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
  width: 100%;
}

/* Bloco de cor suave deslocado +20px baixo/direita (spec) */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  background-color: var(--accent-soft);
  border-radius: var(--radius-hero);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 832 / 1248;
  object-fit: cover;
  border-radius: var(--radius-hero);
  box-shadow: var(--shadow-photo);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: -0.5rem;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-m);
  padding: 0.75rem 1rem;
  max-width: 15rem;
}

.hero-badge svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  stroke: var(--accent);
}

.hero-badge strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
}

.hero-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-visual {
    max-width: 30rem;
  }
}

/* --------------------------------------------------------------------------
   6. Sobre / credenciais — desktop: texto à esquerda, foto à direita
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.about-photo-wrap {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
  width: 100%;
}

.about-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto -5% -5% 12%;
  height: 55%;
  background-color: var(--accent-soft);
  border-radius: var(--radius-l);
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 832 / 1248;
  object-fit: cover;
  border-radius: var(--radius-sobre);
  box-shadow: var(--shadow-photo);
}

.about-copy > * + * {
  margin-top: 1.25rem;
}

.about-copy p {
  color: var(--ink-soft);
}

.cred-card {
  margin-top: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.cred-card dl {
  display: grid;
  gap: 1rem;
}

.cred-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cred-row svg {
  width: 1.25rem;  /* 20px */
  height: 1.25rem;
  flex: none;
  stroke: var(--accent-mid);
}

.cred-row dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cred-row dd {
  font-size: 0.875rem;  /* 14px per spec */
  font-weight: 500;
  line-height: 1.5;
}

.cred-row dd strong {
  font-weight: 700;
}

@media (min-width: 62rem) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  /* Foto à DIREITA no desktop (inverte o hero, cria ritmo) */
  .about-photo-wrap {
    order: 2;
  }

  .about-copy {
    order: 1;
  }

  .cred-card dl {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .cred-row--full {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   7. Atendimentos (bento grid)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2rem;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46, 125, 107, 0.08);
  border-color: rgba(46, 125, 107, 0.3);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;      /* 48px per spec */
  height: 3rem;
  border-radius: var(--radius-m);
  background-color: var(--accent-soft);
  margin-bottom: 1.25rem;
  color: var(--accent-mid);
}

.service-icon svg {
  width: 1.625rem;
  height: 1.625rem;
  stroke: currentColor;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--ink-soft);
}

@media (min-width: 40rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   8. Como funciona (timeline) — numerais grandes Fraunces per spec
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  gap: 2.5rem;
  counter-reset: step;
  max-width: 34rem;
  margin-inline: auto;
}

/* Linha conectora — mobile: vertical à esquerda */
.steps::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--border);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  align-items: start;
  counter-increment: step;
}

.step-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 4rem;         /* 64px per spec */
  font-weight: 700;
  line-height: 1;
  color: var(--accent-soft);
  padding: 0.125rem 0.25rem 0.125rem 0;
  background: var(--surface);  /* mascara a linha conectora */
}

@media (min-width: 62rem) {
  .step-num {
    padding: 0 0.5rem;
  }
}

.step-num::before {
  content: counter(step);
}

.step-body h3 {
  margin-bottom: 0.375rem;
  padding-top: 0.5rem;
}

.step-body p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

@media (min-width: 62rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: none;
  }

  .steps::before {
    left: 8%;
    right: 8%;
    top: 2.25rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: var(--border);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    justify-items: center;
    text-align: center;
  }

  .step-body h3 {
    padding-top: 0;
  }

  .step-body p {
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   9. CTA final (faixa verde-petróleo)
   -------------------------------------------------------------------------- */
.cta-band {
  background-color: var(--accent);
  color: #fff;
  text-align: center;
}

.cta-band .section-head {
  margin-inline: auto;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .section-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-band .btn {
  min-width: min(100%, 17rem);
}

.cta-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-alt a {
  color: #fff;
  font-weight: 600;
}

.cta-alt a:hover {
  color: var(--accent-soft);
}

@media (min-width: 40rem) {
  .cta-alt {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   10. Contato
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.contact-card[href]:hover {
  border-color: rgba(46, 125, 107, 0.4);
  box-shadow: var(--shadow-s);
  transform: translateY(-2px);
  color: var(--ink);
}

.contact-card svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  stroke: var(--accent);
}

.contact-card dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-card dd {
  font-weight: 500;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.contact-card dd .muted {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.9375rem;
}

/* Card do mapa / endereço */
.map-card {
  background: var(--accent-soft);
  border: 1px solid rgba(46, 125, 107, 0.18);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.map-card svg.map-pin {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--accent);
}

.map-card h3 {
  font-size: 1.375rem;
}

.map-card p {
  color: var(--ink-soft);
}

.map-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-m);
  border: 1px solid rgba(46, 125, 107, 0.15);
}

@media (min-width: 62rem) {
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-mono {
  width: 2.75rem;
  height: 2.75rem;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-role {
  color: rgba(255, 255, 255, 0.6);
}

.footer-crm {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.25rem;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  stroke: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom a:hover {
  color: #fff;
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   12. Páginas legais (privacidade.html) e 404
   -------------------------------------------------------------------------- */
.legal {
  padding-top: calc(var(--header-h) + var(--section-pad));
  padding-bottom: var(--section-pad);
}

.legal-inner {
  max-width: var(--container-narrow);
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: var(--text-small);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.375rem;
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.error-page .error-code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.error-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 0.75rem;
}

.error-page p {
  color: var(--ink-soft);
  margin: 1rem auto 2rem;
}

/* --------------------------------------------------------------------------
   13. Ajustes finos de telas muito pequenas (360px)
   -------------------------------------------------------------------------- */
@media (max-width: 24rem) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    left: 0;
    max-width: 13rem;
    padding: 0.625rem 0.875rem;
  }
}
