/* Fábio Brandão Odontologia — mobile-first. Paleta e tipografia vêm do design original. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --navy: #13285A;
  --navy-deep: #0E1F47;
  --sky: #1FA2D6;
  --sky-ink: #06243A;
  --blue: #0A78AE;
  --accent: #0B86C0;
  --ice: #E3F3FA;
  --hero-bg: #EEF5F9;
  --tint: #F4F8FB;
  --ring: #CFE4EF;
  --line: #E6EEF4;
  --field-line: #D5E2EA;
  --ink: #1B2333;
  --muted: #4B5568;
  --sky-light: #8FD3F0;
  --on-navy: #C9D6EA;
  --star: #F5B301;

  --gutter: 20px;
  --section-y: 64px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 100px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-wrap: break-word;
}

body.menu-open { overflow: hidden; }

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

a { color: var(--blue); -webkit-tap-highlight-color: transparent; }
input, select, button { font: inherit; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-bold { stroke-width: 2.2; }
.star { fill: var(--star); flex: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform .2s var(--ease-out), box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }

.btn-lg { min-height: 52px; padding: 16px 28px; font-size: 16px; gap: 10px; }
.btn-md { min-height: 50px; padding: 15px 26px; gap: 10px; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-sky { background: var(--sky); color: var(--sky-ink); font-weight: 800; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}
.link-arrow .icon { transition: transform .25s var(--ease-out); }
.link-arrow-lg { min-height: 52px; padding: 0 6px; gap: 10px; font-size: 16px; color: var(--navy); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(19, 40, 90, .22); }
  .btn-navy:hover { background: #1B3674; }
  .btn-sky:hover { background: #38B2E2; }
  .btn-outline:hover { background: var(--navy); color: #fff; }
  .link-arrow:hover { color: var(--navy); }
  .link-arrow:hover .icon { transform: translateX(5px); }
}

/* ---------- Barra superior ---------- */

.topbar { background: var(--navy); color: #fff; font-size: 13px; }

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  align-items: center;
  justify-content: space-between;
}

.topbar-group { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #fff;
  text-decoration: none;
}

.topbar-extra { display: none; }
.topbar-handle { display: none; }

@media (min-width: 480px) {
  .topbar-handle { display: inline; }
}

@media (min-width: 1024px) {
  .topbar-extra { display: flex; }
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(19, 40, 90, .1); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}

.logo { display: block; line-height: 0; transform-origin: left center; transition: transform .3s var(--ease-out); }
.logo img { height: 46px; width: auto; }
.is-stuck .logo { transform: scale(.88); }

.header-cta { display: none; min-height: 44px; padding: 13px 24px; }

.menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  background: none;
  border: 0;
  border-radius: 12px;
  color: var(--navy);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu em tela cheia; o z-index negativo mantém logo e botão por cima do painel */
.nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-top, 110px) + 12px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease; }

.nav > a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-cta { margin-top: 24px; flex: none; }

.nav.is-open > a { animation: rise .45s var(--ease-out) both; }
.nav.is-open > a:nth-child(2) { animation-delay: .04s; }
.nav.is-open > a:nth-child(3) { animation-delay: .08s; }
.nav.is-open > a:nth-child(4) { animation-delay: .12s; }
.nav.is-open > a:nth-child(5) { animation-delay: .16s; }
.nav.is-open > a:nth-child(6) { animation-delay: .2s; }
.nav.is-open > a:nth-child(7) { animation-delay: .26s; }

@media (min-width: 600px) {
  .header-cta { display: inline-flex; margin-left: auto; }
}

@media (min-width: 1024px) {
  .header-inner { padding-block: 14px; gap: 20px; }
  .logo { flex: none; }
  .logo img { height: 50px; }
  .is-stuck .logo { transform: scale(.82); }
  .menu-toggle, .nav-cta { display: none; }
  .header-cta { flex: none; margin-left: 0; white-space: nowrap; }

  .nav {
    position: static;
    z-index: auto;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }
  .nav > a:not(.btn) {
    position: relative;
    min-height: 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border: 0;
    transition: color .2s ease;
  }
  /* Sublinhado que acompanha a seção visível */
  .nav > a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--sky);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
  }
  .nav > a[aria-current="true"] { color: var(--blue); }
  .nav > a[aria-current="true"]::after { transform: scaleX(1); }
}

@media (min-width: 1200px) {
  .header-inner { gap: 32px; }
  .logo img { height: 58px; }
  .nav { gap: 28px; }
}

@media (min-width: 1024px) and (hover: hover) {
  .nav > a:not(.btn):hover { color: var(--blue); }
  .nav > a:not(.btn):hover::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--hero-bg); }

.hero-ring { position: absolute; border-radius: 50%; border: 2px solid var(--ring); animation: ring-in 1.4s var(--ease-out) both; }
.hero-ring-a { right: -220px; top: -220px; width: 420px; height: 420px; }
.hero-ring-b { left: -130px; bottom: -160px; width: 280px; height: 280px; animation-delay: .15s; }

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px var(--gutter) 104px;
  display: flex;
  flex-wrap: wrap;
  gap: 44px 56px;
  align-items: center;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(19, 40, 90, .08);
}

.ping { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--sky); }
.ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sky);
  animation: ping 2.4s ease-out 1.4s infinite;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 1.25rem + 3.2vw, 60px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.hero-title .accent { color: var(--accent); }

.w { display: inline-block; animation: word-in .7s var(--ease-out) both; }
.w:nth-child(2) { animation-delay: .05s; }
.w:nth-child(3) { animation-delay: .1s; }
.w:nth-child(4) { animation-delay: .15s; }
.w:nth-child(5) { animation-delay: .2s; }
.w:nth-child(6) { animation-delay: .28s; }
.w:nth-child(7) { animation-delay: .36s; }
.w:nth-child(8) { animation-delay: .44s; }
.w:nth-child(9) { animation-delay: .5s; }

/* A curva do sorriso se desenha sob a palavra: é o detalhe memorável da página */
.smile-word { position: relative; }
.smile {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.1em;
  width: 100%;
  height: .17em;
  overflow: visible;
  pointer-events: none;
}
.smile path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
  animation: draw .9s var(--ease-out) .85s both;
}

.hero-lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; width: 100%; }
.hero-actions .btn { flex: 1 1 100%; }
.hero-actions .link-arrow { margin-inline: auto; }

@media (min-width: 480px) {
  .hero-actions .btn { flex: 0 1 auto; }
  .hero-actions .link-arrow { margin-inline: 0; }
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 4px; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-value { display: flex; align-items: center; gap: 6px; font-size: 28px; font-weight: 800; color: var(--navy); }
.hero-stat-label { font-size: 14px; color: var(--muted); }
.hero-stat-divider { width: 1px; background: var(--ring); }

/* Entrada do hero em CSS puro: funciona sem JS e não atrasa a primeira pintura */
.intro { animation: rise .7s var(--ease-out) both; }
.hero-pill.intro { animation-delay: 0s; }
.hero-lede.intro { animation-delay: .5s; }
.hero-actions.intro { animation-delay: .62s; }
.hero-stats.intro { animation-delay: .74s; }

.hero-media { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }

.portrait { position: relative; width: min(340px, 86%); }

.portrait-accent {
  position: absolute;
  inset: 22px -14px -14px 22px;
  border-radius: 240px 240px 36px 36px;
  background: var(--sky);
  animation: accent-in .9s var(--ease-out) .45s both;
}

.portrait-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 240px 240px 36px 36px;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px rgba(19, 40, 90, .18);
  animation: arch-rise 1s var(--ease-out) .1s both;
}

.portrait-badge {
  position: absolute;
  left: -14px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% + 14px);
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(19, 40, 90, .16);
  animation: pop .6s var(--ease-pop) .95s both;
}
.portrait-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
}
.portrait-badge-text { display: flex; flex-direction: column; min-width: 0; }
.portrait-badge-text strong { font-size: 14px; font-weight: 800; color: var(--navy); }
.portrait-badge-text span { font-size: 12px; line-height: 1.3; color: var(--muted); }

@media (min-width: 768px) {
  .hero-ring-a { right: -120px; top: -160px; width: 520px; height: 520px; }
  .hero-ring-b { left: -90px; bottom: -140px; width: 320px; height: 320px; }
  .hero-inner { padding: 72px var(--gutter) 120px; gap: 56px; }
  .hero-copy { gap: 24px; }
  .hero-pill { padding: 10px 18px; font-size: 14px; }
  .hero-lede { font-size: 18px; }
  .hero-stats { gap: 28px; margin-top: 8px; }
  .hero-stat-value { font-size: 30px; }
  .portrait { width: min(440px, 100%); }
  .portrait-accent { inset: 28px -22px -22px 28px; }
  .portrait-badge { left: -28px; bottom: 56px; max-width: none; gap: 12px; padding: 14px 18px; border-radius: 18px; }
  .portrait-badge-icon { width: 44px; height: 44px; }
  .portrait-badge-text strong { font-size: 15px; }
  .portrait-badge-text span { font-size: 13px; }
}

/* Paralaxe leve dos anéis, só onde o navegador faz isso nativamente */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-ring-a { animation: ring-in 1.4s var(--ease-out) both, ring-drift-a linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    .hero-ring-b { animation: ring-in 1.4s var(--ease-out) .15s both, ring-drift-b linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
  }
}

/* ---------- Agendamento ---------- */

.booking-wrap {
  position: relative;
  max-width: 1200px;
  margin: -64px auto 0;
  padding: 0 var(--gutter);
  animation: rise .7s var(--ease-out) .85s both;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(19, 40, 90, .12);
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 700; color: var(--navy); }

.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--field-line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px; /* abaixo de 16px o iOS dá zoom ao focar */
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus { outline: none; border-bottom-color: var(--sky); box-shadow: 0 1px 0 var(--sky); }

.field-action .btn { width: 100%; min-height: 50px; padding: 15px 22px; }

@media (min-width: 600px) {
  .booking { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px; }
  .field-action { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .booking { display: flex; flex-wrap: wrap; gap: 16px 0; align-items: flex-end; padding: 22px 24px; }
  .field { flex: 1 1 170px; padding: 0 18px; border-right: 1px solid var(--line); }
  .field:nth-child(4), .field-action { border-right: 0; }
  .field-action { flex: 1 1 220px; }
  .field input, .field select { min-height: 40px; font-size: 15px; }
}

/* ---------- Seções ---------- */

.section { padding: var(--section-y) var(--gutter); }
.section-tint { background: var(--tint); }

.stack { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }

.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head-center { align-items: center; text-align: center; }
.section-head-split { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.section-title { display: flex; flex-direction: column; gap: 14px; max-width: 640px; min-width: 0; }
.section-lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 620px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.eyebrow-light { color: var(--sky-light); }

.h2 {
  margin: 0;
  font-size: clamp(28px, 1.25rem + 2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.h2-sm { font-size: clamp(26px, 1.25rem + 1.6vw, 40px); line-height: 1.2; letter-spacing: 0; color: inherit; }
.h2 .accent { color: var(--accent); }

@media (min-width: 768px) {
  .stack { gap: 48px; }
  .stack-tight { gap: 44px; }
}

/* ---------- Sobre ---------- */

.about { padding-top: calc(var(--section-y) + 8px); }

.about-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: center; }

.about-media { position: relative; flex: 1 1 440px; min-width: 0; }
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }

.about-badge {
  position: absolute;
  right: -6px;
  bottom: -26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: var(--navy);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 40px rgba(19, 40, 90, .2);
}
.about-badge-value { font-size: 30px; font-weight: 800; line-height: 1; }
.about-badge-label { margin-top: 3px; font-size: 11px; line-height: 1.3; }

.about-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about-text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }

.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; font-weight: 600; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
}
.check path {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}

.about-copy > .btn { margin-top: 8px; }

@media (min-width: 768px) {
  .about { padding-top: 110px; }
  .about-badge { right: -16px; width: 150px; height: 150px; border-width: 6px; }
  .about-badge-value { font-size: 38px; }
  .about-badge-label { margin-top: 4px; font-size: 13px; }
}

/* ---------- Faixa ---------- */

.marquee { overflow: hidden; padding: 14px 0; background: var(--navy); }

.marquee-track {
  display: flex;
  width: max-content;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-group { display: flex; gap: 28px; padding-right: 28px; align-items: center; }

.spark { width: .75em; height: .75em; fill: var(--sky); flex: none; }

@media (min-width: 768px) {
  .marquee { padding: 18px 0; }
  .marquee-track { font-size: 22px; animation-duration: 38s; }
  .marquee-group { gap: 40px; padding-right: 40px; }
}

@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

/* ---------- Cartões e tratamentos ---------- */

.card { transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease; }

@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19, 40, 90, .12); }
}

.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  padding: 22px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.service h3 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 800; color: var(--navy); }
.service p { grid-column: 1 / -1; margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.service .link-arrow { grid-column: 1 / -1; justify-self: start; }

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 4px solid var(--ice);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  transition: background-color .25s ease, transform .35s var(--ease-pop);
}
.service-icon .icon { width: 22px; height: 22px; stroke-width: 1.8; }

@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .services { gap: 24px; }
  .service { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 32px 28px 20px; }
  .service h3 { margin-top: 6px; font-size: 20px; }
  .service p { flex-grow: 1; }
  .service .link-arrow { align-self: flex-start; }
  .service-icon { width: 60px; height: 60px; border-width: 5px; }
  .service-icon .icon { width: 26px; height: 26px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (hover: hover) {
  .service:hover .service-icon { background: var(--accent); transform: scale(1.08) rotate(-4deg); }
}

/* ---------- Antes e depois ---------- */

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }

.case {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(19, 40, 90, .08);
}
.case-media { overflow: hidden; }
.case-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.case figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}
.case-title { min-width: 0; font-size: 16px; line-height: 1.3; font-weight: 800; color: var(--navy); }
.tag { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--ice); color: var(--blue); font-size: 13px; font-weight: 700; }

@media (min-width: 768px) {
  .cases { gap: 32px; }
  .case figcaption { padding: 20px 24px; }
  .case-title { font-size: 18px; }
}

@media (hover: hover) {
  .case:hover .case-media img { transform: scale(1.04); }
}

/* ---------- Por que escolher ---------- */

.why { background: var(--navy); color: #fff; }

@media (min-width: 768px) {
  .why { padding-block: 80px; }
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }

.why-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  transition: border-color .25s ease, background-color .25s ease;
}
.why-value { font-size: 34px; font-weight: 800; color: var(--sky-light); font-variant-numeric: tabular-nums; }
.why-title { font-size: 16px; font-weight: 700; }
.why-text { font-size: 14px; line-height: 1.6; color: var(--on-navy); }

@media (min-width: 768px) {
  .why-grid { gap: 20px; }
  .why-item { padding: 28px 24px; }
  .why-value { font-size: 40px; }
}

@media (hover: hover) {
  .why-item:hover { border-color: var(--sky-light); background: rgba(255, 255, 255, .04); }
}

/* ---------- Avaliações ---------- */

.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.rating-value { font-size: 34px; font-weight: 800; color: var(--navy); }
.rating-detail { display: flex; flex-direction: column; gap: 4px; }
.rating-label { font-size: 13px; color: var(--muted); }

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

/* No celular, carrossel com o próximo cartão aparecendo na borda */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 320px);
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews::-webkit-scrollbar { display: none; }

.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  scroll-snap-align: start;
}
.review blockquote { flex-grow: 1; margin: 0; font-size: 15px; line-height: 1.7; }
.review figcaption { display: flex; gap: 12px; align-items: center; }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.review-author { display: flex; flex-direction: column; }
.review-author strong { font-size: 15px; font-weight: 800; color: var(--navy); }
.review-author span { font-size: 13px; color: var(--muted); }

@media (min-width: 900px) {
  .reviews {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .review { padding: 28px 24px; }
}

/* ---------- Contato ---------- */

.contact-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: stretch; }

.contact-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--ice);
  color: var(--blue);
}

.contact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.55; color: var(--muted); }
.contact-body strong { font-weight: 800; color: var(--navy); }

.contact-link { display: inline-flex; align-items: center; min-height: 36px; width: fit-content; }

.contact-hours { flex-grow: 1; max-width: 360px; gap: 6px; }

.hours { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--field-line); }
.hours > div:last-child { padding-bottom: 0; border-bottom: 0; }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }

.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.contact-media { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-media img { width: 100%; aspect-ratio: 686 / 439; object-fit: cover; border-radius: 24px; }

.contact-hint {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--hero-bg);
  font-size: 15px;
  line-height: 1.5;
}
.contact-hint .icon { color: var(--blue); }

@media (min-width: 480px) {
  .contact-actions { flex-direction: row; flex-wrap: wrap; gap: 14px; }
}

@media (min-width: 768px) {
  .contact-copy { gap: 22px; }
  .contact-row { gap: 16px; }
  .contact-hint { padding: 18px 22px; }
}

@media (min-width: 1024px) {
  .contact-link { min-height: 0; }
}

/* ---------- Rodapé ---------- */

.footer { padding: 48px var(--gutter) 24px; background: var(--navy-deep); color: var(--on-navy); }

.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 40px; justify-content: space-between; }

.footer-brand { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 62px; width: auto; align-self: flex-start; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.7; }

.footer-col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer-col-nav { flex: 0 1 200px; }
.footer-col-contact { flex: 0 1 280px; }
.footer-col a { display: flex; align-items: center; min-height: 40px; color: var(--on-navy); text-decoration: none; transition: color .2s ease; }
.footer-heading { margin-bottom: 4px; font-size: 15px; font-weight: 800; color: #fff; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer { padding: 64px var(--gutter) 28px; }
  .footer-inner { gap: 40px; }
}

@media (min-width: 1024px) {
  .footer-col { gap: 10px; }
  .footer-col a { min-height: 0; }
}

@media (hover: hover) {
  .footer-col a:hover { color: #fff; }
}

/* ---------- Barra fixa no celular ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(19, 40, 90, .12);
  transform: translateY(110%);
  transition: transform .35s var(--ease-out), visibility 0s linear .35s;
  visibility: hidden;
}
.mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease-out); }

.mobile-cta-main { flex: 1; min-width: 0; min-height: 50px; padding: 12px 16px; }

.mobile-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: none;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
}

@media (max-width: 767px) {
  .footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* ---------- Revelação ao rolar (main.js) ---------- */

.is-pending { opacity: 0; }

.reveal-in { animation: rise .7s var(--ease-out) var(--reveal-delay, 0ms) both; }
.reveal-in[data-reveal="wipe"] { animation-name: wipe; animation-duration: 1s; }
.reveal-in[data-reveal="pop"] { animation-name: pop; animation-duration: .6s; animation-timing-function: var(--ease-pop); }

.is-pending .check path { stroke-dashoffset: 1; }
.reveal-in .check path { animation: draw .5s var(--ease-out) calc(var(--reveal-delay, 0ms) + 250ms) both; }

.is-pending .stars-pop .star { opacity: 0; }
.reveal-in .stars-pop .star { animation: pop .45s var(--ease-pop) both; }
.reveal-in .stars-pop .star:nth-child(1) { animation-delay: .15s; }
.reveal-in .stars-pop .star:nth-child(2) { animation-delay: .23s; }
.reveal-in .stars-pop .star:nth-child(3) { animation-delay: .31s; }
.reveal-in .stars-pop .star:nth-child(4) { animation-delay: .39s; }
.reveal-in .stars-pop .star:nth-child(5) { animation-delay: .47s; }

/* ---------- Keyframes ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); transform: scale(1.03); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes arch-rise { from { clip-path: inset(100% -80px -80px -80px); } to { clip-path: inset(-80px -80px -80px -80px); } }
@keyframes accent-in { from { opacity: 0; transform: translate(-22px, -22px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes ring-drift-a { to { translate: -40px 90px; } }
@keyframes ring-drift-b { to { translate: 30px -70px; } }
@keyframes draw { from { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Movimento reduzido ---------- */

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { animation: none; }
  .ping::after { display: none; }
}
