/* Therapia dos Pés | Landing page
   Design system: azul da marca #3d7ca6, Fraunces + Inter */

:root {
  --blue: #3d7ca6;
  --blue-dark: #2e6186;
  --blue-100: #cfe6f5;
  --blue-50: #eaf4fb;
  --bg: #f6fafd;
  --surface: #ffffff;
  --text: #16324a;
  --text-2: #5a7186;
  --line: #d9e8f3;

  --font-display: "Fraunces", "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 2px 8px rgba(22, 50, 74, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(22, 50, 74, 0.18), 0 2px 6px rgba(22, 50, 74, 0.05);
  --shadow-lg: 0 24px 50px -20px rgba(22, 50, 74, 0.28), 0 4px 12px rgba(22, 50, 74, 0.06);
  --shadow-btn: 0 8px 20px -8px rgba(61, 124, 166, 0.6);

  --header-h: 76px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.2rem, 4.6vw + 0.6rem, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 2.6vw + 0.8rem, 2.75rem); }
h3 { font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.375rem); }
small, .small { font-size: 0.875rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--blue-50) 0%, var(--bg) 100%); }
.section--white { background: var(--surface); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head p { color: var(--text-2); font-size: 1.125rem; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 12px 26px -10px rgba(46, 97, 134, 0.7); transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue-50); border-color: var(--blue-dark); color: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Icon medallion ---------- */
.medal {
  width: 68px; height: 68px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-100) 0%, var(--blue-50) 100%);
  border: 1px solid rgba(61, 124, 166, 0.22);
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.medal svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled { background: transparent; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header:not(.is-scrolled) { border-bottom-color: var(--line); }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--blue-dark); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(64px, 9vw, 120px);
  background: linear-gradient(160deg, var(--blue-100) 0%, var(--blue-50) 55%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.hero .blob--1 { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), rgba(207, 230, 245, 0) 70%); }
.hero .blob--2 { width: 380px; height: 380px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(61, 124, 166, 0.14), rgba(61, 124, 166, 0) 70%); }
.hero .blob--3 { width: 180px; height: 180px; left: 44%; top: 18%; border: 1.5px solid rgba(61, 124, 166, 0.15); }
.hero .blob--4 {
  width: 640px; height: 460px; right: -200px; bottom: -220px;
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(207, 230, 245, 0.4));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy .lead {
  font-size: clamp(1.075rem, 0.4vw + 1rem, 1.25rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-copy h1 { max-width: 640px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.hero-note svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Media system ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--blue-100) 0%, var(--blue-50) 100%);
  box-shadow: var(--shadow-lg);
}
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 10; }
.media > img,
.media > video,
.media > picture,
.media > picture > img,
.media > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 85% 90%, rgba(61, 124, 166, 0.12), rgba(61, 124, 166, 0) 50%),
    linear-gradient(145deg, var(--blue-100) 0%, var(--blue-50) 100%);
}
.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(61, 124, 166, 0.28);
  border-radius: calc(var(--r-xl) - 12px);
  pointer-events: none;
}
.media-placeholder .ph-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(61, 124, 166, 0.2);
  box-shadow: var(--shadow-sm);
}
.media-placeholder .ph-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.media-placeholder .ph-label { font-weight: 600; font-size: 0.975rem; max-width: 260px; line-height: 1.4; }
.media-placeholder .ph-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.hero-media { position: relative; }
.hero-media .media { aspect-ratio: 4 / 5; max-height: 620px; margin-left: auto; width: 100%; }
.hero-media .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 50, 74, 0) 40%, rgba(22, 50, 74, 0.35) 100%);
  pointer-events: none;
}
.hero-media .ring {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 124, 166, 0.25);
  left: -40px; bottom: -40px;
  z-index: -1;
}

/* ---------- Services ---------- */
/* GRADES SIMETRICAS: servicos 3+3 no desktop, 2+2+2 no tablet, 1 por linha no celular.
   Domicilio: 2+2 no desktop/tablet, 1 por linha no celular. Cards com altura igual. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}
#domicilio .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

.service-card { display: flex; flex-direction: column; }
.service-card .medal { margin-bottom: 22px; }
.service-card p { color: var(--text-2); font-size: 1rem; flex-grow: 1; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { gap: 12px; color: var(--blue); }

/* ---------- Differentials ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.diff-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.diff-item { padding: 28px 24px; }
.diff-item .medal { margin-bottom: 18px; }
.diff-item p { color: var(--text-2); font-size: 0.975rem; margin: 0; }
.diff-media { position: relative; }
.diff-media .media { aspect-ratio: 4 / 5; }
.diff-head { text-align: left; margin: 0 0 32px; max-width: none; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-photo { position: relative; max-width: 460px; width: 100%; }
.about-photo .media { aspect-ratio: 4 / 5; }
.about-photo .media img { object-position: 50% 20%; }
.about-photo::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
  z-index: -1;
}
.about-copy p { color: var(--text-2); font-size: 1.075rem; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 14px;
}
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.step { position: relative; text-align: center; padding: 40px 28px 32px; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  box-shadow: 0 0 0 8px var(--blue-50), var(--shadow-btn);
}
.step p { color: var(--text-2); margin: 0; font-size: 1rem; }
.steps-cta { text-align: center; margin-top: 48px; }

/* ---------- Reviews ---------- */
.reviews-empty {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px);
  background:
    radial-gradient(circle at 10% 0%, rgba(207, 230, 245, 0.8), rgba(207, 230, 245, 0) 50%),
    var(--surface);
  border: 1.5px dashed rgba(61, 124, 166, 0.35);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.reviews-empty .medal { margin: 0 auto 22px; }
.reviews-empty p { color: var(--text-2); font-size: 1.075rem; margin: 0 auto; max-width: 600px; }
.reviews-empty .btn { margin-top: 28px; }

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.info-list { display: grid; gap: 18px; }
.info-card { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.info-card .medal { width: 56px; height: 56px; }
.info-card .medal svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.125rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--text-2); font-size: 0.975rem; }
.info-card a { color: var(--blue-dark); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.contact-lines { display: grid; gap: 6px; }
.contact-lines a { display: inline-flex; min-height: 32px; align-items: center; }
.loc-actions { margin-top: 28px; }
.loc-media { display: grid; gap: 18px; }
.loc-media .media--map { aspect-ratio: 16 / 11; }
.loc-media .media--map iframe { filter: saturate(0.85); }
.map-caption { font-size: 0.8125rem; color: var(--text-2); margin: 10px 4px 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding-block: clamp(56px, 8vw, 96px); }
.final-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--blue-100) 0%, var(--blue-50) 60%, #ffffff 100%);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-lg);
}
.final-box .blob--a { width: 360px; height: 360px; left: -120px; top: -140px; background: radial-gradient(circle, rgba(61, 124, 166, 0.16), rgba(61, 124, 166, 0) 70%); }
.final-box .blob--b { width: 260px; height: 260px; right: -60px; bottom: -110px; border: 1.5px solid rgba(61, 124, 166, 0.2); }
.final-box .blob--c { width: 120px; height: 120px; right: 12%; top: 16%; background: rgba(255, 255, 255, 0.7); }
.final-box h2 { max-width: 720px; margin-inline: auto; }
.final-box p { max-width: 620px; margin: 0 auto 32px; color: var(--text-2); font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: #d6e4ef;
  padding: clamp(56px, 7vw, 80px) 0 32px;
  font-size: 0.975rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}
.footer-brand img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; color: #b9cddd; }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #d6e4ef; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; transition: color 0.2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; color: #b9cddd; line-height: 1.6; margin-top: 6px; }
.site-footer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #9fb6c8;
  font-size: 0.875rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(22, 50, 74, 0.5);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.2s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: var(--blue-dark); transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.06s; }
.js .reveal-d2 { transition-delay: 0.12s; }
.js .reveal-d3 { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav ul { gap: 20px; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-media { order: 2; }
  .diff-media .media { aspect-ratio: 16 / 9; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 1.125rem; }

  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(22, 50, 74, 0.3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { width: 100%; min-height: 52px; }
  .nav-open .site-header { background: #fff; }
  .nav-open .site-header::before { opacity: 0; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-media .media { aspect-ratio: 16 / 10; max-height: none; }
  .hero .blob--3 { display: none; }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { margin-inline: auto; max-width: 400px; }

  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; padding: 28px 24px; }
  .step-num { grid-row: span 2; margin: 0; width: 56px; height: 56px; font-size: 1.4rem; }
  .step h3 { margin-bottom: 4px; }

  .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand span { font-size: 1.05rem; }
  .brand img { width: 44px; height: 44px; }
  .header-cta { display: none; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-media .media { aspect-ratio: 4 / 3; }
  .hero .blob--1 { width: 320px; height: 320px; }
  .hero .blob--4 { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 26px 22px; }
  .diff-list { grid-template-columns: 1fr; gap: 16px; }
  .diff-head { text-align: center; }
  .about-photo::before { inset: 16px -12px -16px 16px; }
  .info-card { padding: 20px; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-box .blob--c { display: none; }
  .final-box .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
}

/* Ícones preenchidos (WhatsApp) */
svg.i-fill,
.site-footer svg.i-fill { fill: currentColor; stroke: none; }

address { font-style: normal; }

@media (max-width: 640px) {
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.06em; padding: 6px 12px; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Mapa clicável (abre o endereço no Google Maps) */
.loc-grid { align-items: stretch; }
.loc-media > .reveal { height: 100%; display: flex; flex-direction: column; }
.loc-media .media--map { aspect-ratio: auto; flex: 1; min-height: 380px; }
.map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(22, 50, 74, 0) 60%, rgba(22, 50, 74, 0.22) 100%);
  text-decoration: none;
  border-radius: inherit;
  transition: background-color 0.25s var(--ease);
}
.map-link:hover { background-color: rgba(61, 124, 166, 0.08); }
.map-link:focus-visible { outline-offset: -6px; }
.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.map-pill svg { width: 20px; height: 20px; }
.map-link:hover .map-pill { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (max-width: 960px) {
  .loc-media .media--map { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
}
.diff-media .media img { object-position: 50% 62%; }

/* Hero com vídeo vertical real */
.hero-media .video-overlay {
  background:
    linear-gradient(180deg, rgba(22, 50, 74, 0) 45%, rgba(22, 50, 74, 0.32) 100%),
    rgba(22, 50, 74, 0.1);
}
.hero-media .media { background: var(--blue-100) url("../media/hero-poster.jpg") center / cover no-repeat; }
@media (max-width: 960px) {
  .hero-media .media { aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
  .hero-media .ring { display: none; }
}
@media (max-width: 640px) {
  .hero-media .media { aspect-ratio: 4 / 5; max-width: 100%; }
}
