/* Caminho: public_html/assets/css/style.css */
/* Math's Car - estilo principal. Tema claro ultramoderno 2026. */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: var(--lh-body);
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: var(--lh-tight);
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
}

/* =========================================================================
   LAYOUT
   ====================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(2.75rem, 5vw, 4.5rem); position: relative; }
.section--tint { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #cfd2da; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* cabecalho de secao */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-100); font-weight: var(--fw-bold);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section-title { font-size: var(--fs-600); margin-bottom: var(--sp-3); }
.section-lead { font-size: var(--fs-400); color: var(--ink-3); max-width: 56ch; }
.section-head { margin-bottom: var(--sp-7); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* =========================================================================
   BOTOES
   ====================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  font-weight: var(--fw-bold); font-size: var(--fs-200);
  letter-spacing: .01em; line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
}
/* o icone precisa ter presenca ao lado do texto: 1.15em ficava miudo demais */
.btn svg { width: 1.4em; height: 1.4em; flex: 0 0 auto; }
.btn--lg svg { width: 1.5em; height: 1.5em; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px var(--brand-glow); }
.btn--primary:hover::after { left: 150%; }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--fs-300); }
.btn--block { width: 100%; }

/* =========================================================================
   HEADER / NAV (glassmorphism)
   ====================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  border-bottom-color: var(--glass-line);
  box-shadow: var(--sh-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); width: 100%; }

/* logo - asset visual, proporcao robusta e legivel */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 88px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo img { height: 64px; } }
.brand-logo .logo-light { display: none; }
/* cabecalho sobre hero escuro, no topo: logo claro */
.site-header.over-hero:not(.scrolled) .brand-logo .logo-dark { display: none; }
.site-header.over-hero:not(.scrolled) .brand-logo .logo-light { display: block; }
/* links brancos apenas no desktop (no mobile ficam no painel branco) */
@media (min-width: 901px) {
  .site-header.over-hero:not(.scrolled) .nav-list > li > a { color: #fff; }
  .site-header.over-hero:not(.scrolled) .nav-list > li > a.active { color: var(--brand-soft); }
}
/* menu aberto no mobile: cabecalho fica branco, logo volta ao escuro */
.nav-open .site-header.over-hero .brand-logo .logo-light { display: none; }
.nav-open .site-header.over-hero .brand-logo .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav-list { display: flex; align-items: center; gap: var(--sp-5); }
.nav-list a {
  font-weight: var(--fw-semibold); font-size: var(--fs-200); color: var(--ink);
  position: relative; padding-block: .4rem;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width var(--dur) var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a.active { color: var(--brand); }

.nav-cta { display: inline-flex; }

/* submenu de Servicos (dropdown) */
.has-sub { position: relative; }
.nav-list .sub-toggle { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav-list .sub-toggle svg { width: 13px; height: 13px; transition: transform var(--dur) var(--ease); }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
  min-width: 250px; background: var(--glass-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 120;
}
/* ponte invisivel: cobre o vao entre o item do menu e o painel.
   Sem ela o ponteiro "cai" no vazio ao descer e o submenu fecha sozinho. */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.has-sub:hover .sub-toggle svg,
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.submenu a { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: var(--r-sm); font-size: var(--fs-200); color: var(--ink); white-space: nowrap; font-weight: var(--fw-semibold); }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--brand-tint); color: var(--brand-strong); }
.submenu a .ic { width: 26px; height: 26px; color: var(--brand); flex: 0 0 auto; display: grid; place-items: center; }
.submenu a .ic svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md);
    -webkit-backdrop-filter: none; backdrop-filter: none; padding: .35rem; min-width: 0; margin: .6rem 0 .3rem;
  }
  .submenu::before { display: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { transform: none; }
  .nav-list .sub-toggle svg { display: none; }
  .submenu a { padding: .7rem .65rem; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); }
  .submenu a:last-child { border-bottom: 0; }
}

/* botao hamburguer */
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: var(--r-sm); align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.nav-open .nav-toggle { background: var(--brand-tint); border-color: var(--brand); }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease); }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  /* cabecalho fica solido quando o menu abre (sem transparencia) */
  .nav-open .site-header { background: var(--surface); box-shadow: var(--sh-sm); border-bottom-color: var(--line); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
    box-shadow: var(--sh-lg);
  }
  .nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-list > li > a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: var(--fs-300); font-weight: var(--fw-bold); }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: var(--sp-5); }
  .nav-cta .btn { width: 100%; }
}

/* =========================================================================
   HERO
   ====================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(540px, 84vh, 820px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  color: #fff; background: var(--ink);
}
/* video institucional full width ao fundo, em transparencia */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,14,19,.92) 0%, rgba(13,14,19,.74) 40%, rgba(13,14,19,.4) 72%, rgba(13,14,19,.6) 100%),
    linear-gradient(0deg, rgba(13,14,19,.85), rgba(13,14,19,.12) 48%);
}
@media (max-width: 760px) { .hero-bg::after { background: linear-gradient(0deg, rgba(13,14,19,.93), rgba(13,14,19,.55)); } }

.hero-grid { position: relative; z-index: 1; width: 100%; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
@media (max-width: 760px) { .hero-copy { max-width: 100%; text-align: center; margin-inline: auto; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem;
  background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22); color: #fff; border-radius: var(--r-pill);
  font-size: var(--fs-100); font-weight: var(--fw-bold); letter-spacing: .04em; margin-bottom: var(--sp-4);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-soft); animation: pulse-dot 2.2s var(--ease) infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 70% { box-shadow: 0 0 0 10px rgba(237,90,12,0); } 100% { box-shadow: 0 0 0 0 rgba(237,90,12,0); } }
.hero h1 { font-size: var(--fs-700); margin-bottom: var(--sp-4); letter-spacing: -.03em; color: #fff; }
.hero h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero-lead { font-size: var(--fs-400); color: rgba(255,255,255,.86); max-width: 52ch; margin-bottom: var(--sp-6); }
@media (max-width: 760px) { .hero-lead { margin-inline: auto; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (max-width: 760px) { .hero-actions { justify-content: center; } }

/* HOLOFOTE: pneu girando dentro de anel conico animado */
.hero-stage { position: relative; z-index: 1; justify-self: center; width: clamp(280px, 40vw, 470px); aspect-ratio: 1; display: grid; place-items: center; }
.tire-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--ring); animation: spin 16s linear infinite; filter: drop-shadow(0 14px 38px var(--brand-glow));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); }
.tire-disc { position: absolute; inset: 6.5%; border-radius: 50%; overflow: hidden; background: var(--spot); box-shadow: inset 0 0 60px rgba(0,0,0,.6), 0 26px 60px rgba(20,21,26,.35); }
.tire-disc video, .tire-disc img { width: 100%; height: 100%; object-fit: cover; }
.tire-disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 28%, transparent 38%, rgba(0,0,0,.5)); pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem; text-align: left;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-line); border-radius: var(--r-md); box-shadow: var(--sh-md);
  padding: .65rem .85rem; font-weight: var(--fw-bold); color: var(--ink); font-size: var(--fs-200);
}
.hero-chip .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex: 0 0 auto; }
.hero-chip .ic svg { width: 20px; height: 20px; }
.hero-chip small { display: block; font-size: 11px; color: var(--ink-3); font-weight: var(--fw-semibold); }
.hero-chip.a { top: 6%; left: -10%; animation: floaty 6s var(--ease) infinite; }
.hero-chip.b { bottom: 8%; right: -8%; animation: floaty 6s var(--ease) infinite 1s; }
@media (max-width: 520px) { .hero-chip.a { left: -2%; } .hero-chip.b { right: -2%; } }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* indicador de rolagem */
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; opacity: .85; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 940px) { .scroll-cue { display: none; } }

/* mockup celular com video vertical */
.hero-media { justify-self: center; position: relative; }
.phone {
  position: relative; width: clamp(230px, 32vw, 300px); aspect-ratio: 9 / 19;
  background: var(--ink); border-radius: 38px; padding: 10px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(20,21,26,.2);
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 38%; height: 18px; background: var(--ink); border-radius: var(--r-pill); z-index: 2; }
.phone video, .phone img.poster { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone .play-tag {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--r-pill); font-size: var(--fs-100); font-weight: var(--fw-bold); color: var(--ink); z-index: 3;
}
.hero-media .float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md); padding: .8rem 1rem;
  display: flex; align-items: center; gap: .65rem; font-weight: var(--fw-bold); color: var(--ink); font-size: var(--fs-200);
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.float-card.one { top: 12%; left: -34px; animation: floaty 6s var(--ease) infinite; }
.float-card.two { bottom: 14%; right: -30px; animation: floaty 6s var(--ease) infinite .8s; }
@media (max-width: 520px) { .float-card.one { left: -8px; } .float-card.two { right: -6px; } }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* faixa de aros */
.aro-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-6); }
.aro-chip {
  font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .4rem .7rem; font-size: var(--fs-200); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.aro-chip:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); }

/* =========================================================================
   SERVICOS (cards)
   ====================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--brand), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card .ic-wrap {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: var(--sp-4);
  transition: transform var(--dur) var(--ease);
}
.card:hover .ic-wrap { transform: scale(1.08) rotate(-4deg); }
.card .ic-wrap svg { width: 34px; height: 34px; }
.card h3 { font-size: var(--fs-500); margin-bottom: var(--sp-2); }
.card p { color: var(--ink-3); font-size: var(--fs-200); }
a.card { text-decoration: none; color: inherit; display: block; }

/* paginas de servico */
.svc-hero { display: flex; align-items: center; gap: 1.2rem; position: relative; }
.svc-hero-ic { width: 76px; height: 76px; border-radius: var(--r-lg); background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; box-shadow: var(--sh-sm); }
.svc-hero-ic svg { width: 42px; height: 42px; }
.benefit-list { display: flex; flex-direction: column; gap: .75rem; }
.benefit-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-200); color: var(--ink-2); }
.benefit-list svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; margin-top: 2px; }

/* faixa de midia (foto/video do servico) */
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.is-empty { border-style: dashed; border-width: 2px; border-color: var(--line-2); box-shadow: none; }
.media-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .55rem; text-align: center; padding: 1.2rem; color: var(--ink-3); background: radial-gradient(circle at 50% 38%, var(--brand-tint), var(--bg-3) 75%); }
.media-ph .pic { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--sh-sm); }
.media-ph .pic svg { width: 32px; height: 32px; }
.media-ph b { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-400); }
.media-ph small { font-size: var(--fs-200); max-width: 40ch; }
.media-ph .ph-note { font-size: var(--fs-100); opacity: .7; margin-top: .2rem; }

/* galeria de fotos do servico. A proporcao muda conforme o numero de fotos,
   para a imagem nunca ficar gigante no desktop. */
.svc-gallery { display: grid; gap: var(--sp-4); }
.svc-gallery.cols-1 { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; }
.svc-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 1040px; margin-inline: auto; }
.svc-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.svc-shot { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-md); background: var(--bg-3); }
.svc-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.svc-gallery.cols-1 .svc-shot img { aspect-ratio: 16 / 10; }
.svc-shot:hover img { transform: scale(1.04); }
@media (max-width: 820px) {
  .svc-gallery.cols-2, .svc-gallery.cols-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .svc-gallery.cols-1 { max-width: 560px; }
  .svc-gallery.cols-1 .svc-shot img { aspect-ratio: 4 / 3; }
}

/* cards de servico com foto (pagina de servicos e "outros servicos") */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand); }
/* o recorte fica no .svc-card-shot, nunca no .svc-card-media.
   Assim o ícone pode ultrapassar a borda da foto sem ser cortado. */
.svc-card-media { position: relative; background: var(--bg-3); }
.svc-card-shot { display: block; position: relative; overflow: hidden; background: var(--bg-3); }
.svc-card-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card-shot img { transform: scale(1.06); }
.svc-card-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,18,24,.45), transparent 55%); pointer-events: none; }
.svc-card-ic {
  position: absolute; left: var(--sp-5); bottom: -26px; z-index: 3;
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 0 0 4px var(--surface), var(--sh-md);
  transition: transform var(--dur) var(--ease);
}
.svc-card-ic svg { width: 32px; height: 32px; }
.svc-card:hover .svc-card-ic { transform: scale(1.08) rotate(-4deg); }
.svc-card-body { padding: calc(26px + var(--sp-4)) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.svc-card-body h3 { font-size: var(--fs-400); }
.svc-card-body p { color: var(--ink-3); font-size: var(--fs-200); flex: 1; }
.svc-card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: var(--sp-2); color: var(--brand-strong); font-weight: var(--fw-semibold); font-size: var(--fs-200); }
.svc-card-link svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.svc-card:hover .svc-card-link svg { transform: translateX(4px); }

/* itens complementares da pagina de servicos */
.extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .extra-grid { grid-template-columns: 1fr; } }
.extra { display: flex; gap: var(--sp-4); align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.extra-ic { width: 48px; height: 48px; flex: 0 0 auto; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.extra-ic svg { width: 30px; height: 30px; }
.extra h3 { font-family: var(--font-display); font-size: var(--fs-300); margin-bottom: .3rem; }
.extra p { color: var(--ink-3); font-size: var(--fs-200); }

/* trilha de insights do especialista (numerada, com linha de conexao) */
.tip-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); position: relative; }
/* linha que conecta os passos, so no desktop */
.tip-rail::before {
  content: ""; position: absolute; top: 62px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}
.tip {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--brand), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none;
}
.tip:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.tip:hover::after { opacity: 1; }

.tip-n {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: var(--sp-4);
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--font-display); font-weight: var(--fw-black); font-size: 1.15rem; line-height: 1;
  box-shadow: 0 0 0 6px var(--surface);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tip:hover .tip-n { background: var(--brand); color: #fff; transform: scale(1.08); }

/* numeral gigante de marca d'agua, no canto do card */
.tip-ghost {
  position: absolute; right: -.4rem; bottom: -2.2rem; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: var(--fw-black); font-size: 8rem; line-height: 1;
  color: var(--brand); opacity: .07; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tip:hover .tip-ghost { opacity: .12; transform: translateY(-4px); }

.tip h4 { position: relative; z-index: 2; font-family: var(--font-display); font-size: var(--fs-400); margin-bottom: .45rem; color: var(--ink); }
.tip p { position: relative; z-index: 2; color: var(--ink-3); font-size: var(--fs-200); }

@media (max-width: 900px) {
  .tip-rail { grid-template-columns: 1fr; gap: var(--sp-4); }
  .tip-rail::before { display: none; }
  .tip { padding: var(--sp-5); }
  .tip-n { width: 48px; height: 48px; font-size: 1rem; margin-bottom: var(--sp-3); }
  .tip-ghost { font-size: 6rem; bottom: -1.6rem; }
}

/* citacao de destaque + assinatura (Sobre) */
.quote { position: relative; margin: 1.6rem 0 .4rem; padding: 1.1rem 1.4rem; background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-500); line-height: 1.3; color: var(--ink); font-style: normal; }
.signature { display: flex; flex-direction: column; gap: .1rem; margin-top: 1.4rem; }
.sign-name { font-family: var(--font-sign); color: var(--ink); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: .9; }
.sign-rule { width: 190px; max-width: 70%; height: 0; border-bottom: 2px solid var(--brand); margin: .2rem 0 .5rem; border-radius: 2px; }
.sign-role { color: var(--ink-3); font-size: var(--fs-100); font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; }

/* cartao do fundador: bloco laranja atras da parte inferior, cabeca "sai" no branco */
.founder { position: relative; width: clamp(300px, 42vw, 480px); display: flex; align-items: flex-end; }
.founder::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; border-radius: var(--r-xl); background: radial-gradient(120% 85% at 50% 25%, #FFB07A, var(--brand) 60%, var(--brand-strong)); box-shadow: var(--sh-lg); z-index: 0; }
.founder::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; border-radius: var(--r-xl); background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%); mask-image: linear-gradient(180deg, #000, transparent 78%); z-index: 0; }
.founder img { position: relative; z-index: 1; width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 26px rgba(20,21,26,.28)); }
.founder-badge { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; background: var(--glass-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-line); border-radius: var(--r-pill); padding: .5rem 1.05rem; font-weight: var(--fw-bold); color: var(--ink); font-size: var(--fs-200); box-shadow: var(--sh-sm); white-space: nowrap; }
.founder-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
/* coluna do fundador: foto + frase + assinatura empilhadas */
.founder-col { display: flex; flex-direction: column; gap: 1.4rem; justify-content: center; }
.founder-col .founder { align-self: flex-end; }
/* equilibra verticalmente o conjunto do fundador com o texto (Sobre) */
.loc-grid:has(.founder-col) { align-items: center; }
.founder-col .quote { margin: 0; }
.founder-col .signature { margin-top: 0; }
@media (max-width: 860px) { .founder-col .founder { align-self: center; } }

/* =========================================================================
   DIFERENCIAIS / STATS
   ====================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4); border-radius: var(--r-md); transition: background var(--dur) var(--ease); }
.feature:hover { background: var(--bg-2); }
.feature .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: var(--fs-400); margin-bottom: .25rem; }
.feature p { font-size: var(--fs-200); color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } }
.stat .num { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--brand); line-height: 1; }
.section--ink .stat .num { color: var(--brand-soft); }
.stat .lbl { font-size: var(--fs-200); color: var(--ink-3); margin-top: .4rem; }
.section--ink .stat .lbl { color: #aab; }

/* =========================================================================
   MARCAS (marquee)
   ====================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: var(--sp-6); width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* celulas de marca: tamanho identico, logos monocromaticos uniformes */
.marquee-track .brand { flex: 0 0 auto; width: 168px; height: 72px; display: grid; place-items: center; }
.marquee-track .brand img { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.marquee-track .brand img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================================
   AVALIACOES
   ====================================================================== */
.rating-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5); margin-bottom: var(--sp-7); }
.rating-banner .score { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(3rem, 7vw, 4.4rem); color: var(--ink); line-height: 1; }
.stars { color: var(--brand); font-size: 1.4rem; letter-spacing: .12em; }
.rating-banner .sub { font-size: var(--fs-200); color: var(--ink-3); }
/* selo do Google: a nota vem de la, entao a marca aparece junto do numero */
.rating-brand { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; }
.rating-brand svg { width: 100%; height: 100%; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.review .stars { font-size: 1.05rem; }
.review p { color: var(--ink-2); font-size: var(--fs-200); }
.review .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); }
.review .who b { color: var(--ink); display: block; font-size: var(--fs-200); }
.review .who small { color: var(--ink-3); }

/* =========================================================================
   LOCALIZACAO / MAPA
   ====================================================================== */
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-6); align-items: stretch; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-info { display: flex; flex-direction: column; gap: var(--sp-5); }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-md); min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.loc-photo { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--sh-sm); margin-bottom: var(--sp-2); }

/* =========================================================================
   PAGINA DE CONTATO
   Antes tudo era uma coluna vertical enorme. Agora: canais em linha,
   ficha e localizacao lado a lado com a mesma altura, e o mapa em faixa larga.
   ====================================================================== */
.canal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 1040px) { .canal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .canal-grid { grid-template-columns: 1fr; } }

.canal {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5); text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.canal:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand); }
.canal-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); transition: transform var(--dur) var(--ease);
}
.canal-ic svg { width: 28px; height: 28px; }
.canal-ic--brand { background: transparent; }
.canal-ic--brand svg { width: 44px; height: 44px; }
.canal:hover .canal-ic { transform: scale(1.08); }
.canal-txt { display: block; min-width: 0; }
.canal-txt small { display: block; font-size: var(--fs-100); color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-weight: var(--fw-bold); }
.canal-txt b { display: block; font-family: var(--font-display); font-size: var(--fs-300); color: var(--ink); line-height: 1.25; margin: .1rem 0 .15rem; overflow-wrap: anywhere; }
.canal-txt em { display: block; font-style: normal; font-size: var(--fs-100); color: var(--brand-strong); font-weight: var(--fw-semibold); }
/* o WhatsApp e o canal preferido: ganha destaque proprio */
.canal--wa { border-color: rgba(37, 211, 102, .38); background: linear-gradient(180deg, rgba(37,211,102,.06), var(--surface) 60%); }
.canal--wa:hover { border-color: #25D366; box-shadow: 0 14px 34px rgba(37, 211, 102, .18); }
.canal--wa .canal-txt em { color: #128C4B; }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: stretch; }
@media (max-width: 900px) { .contato-grid { grid-template-columns: 1fr; } }

/* a ficha ocupa a altura toda e o botao cola no rodape do card */
.form-card--fill { display: flex; flex-direction: column; }
.form-card--fill .form-card-cta { margin-top: auto; }

.local-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--sh-md);
}
.local-photo { width: 100%; height: clamp(170px, 20vw, 230px); object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }
.local-row { display: flex; gap: var(--sp-4); align-items: flex-start; }
.local-row .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.local-row .ic svg { width: 22px; height: 22px; }
/* logo de marca no lugar do icone: sem a caixa laranja atras */
.local-row .ic.ic--brand { background: transparent; }
.local-row .ic.ic--brand svg { width: 40px; height: 40px; }
.local-row b { display: block; color: var(--ink); font-size: var(--fs-200); margin-bottom: .15rem; }
.local-row span, .local-row a { color: var(--ink-3); font-size: var(--fs-200); line-height: 1.5; }
.local-row a:hover { color: var(--brand); }
.local-cta { margin-top: auto; padding-top: var(--sp-2); }
/* os dois botoes de rota dividem a largura do card por igual */
.local-cta .app-btn { flex: 1 1 170px; justify-content: center; }

.map-band { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-md); }
.map-band iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 900px) { .map-band iframe { height: 340px; } }

/* botoes de navegacao (Google Maps / Waze) */
.app-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
/* logotipo oficial completo (marca + nome): nao repetimos o nome em texto */
.app-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  padding: .7rem 1.3rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.app-btn:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.app-btn small { font-size: 11px; font-weight: var(--fw-semibold); color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.app-logo { display: block; height: 24px; width: auto; }

/* =========================================================================
   CTA FAIXA
   ====================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(135deg, var(--ink), #20222b); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--brand), transparent 65%); opacity: .5; }
.cta-band h2 { color: #fff; font-size: var(--fs-600); margin-bottom: var(--sp-3); position: relative; }
.cta-band p { color: #c9ccd6; max-width: 50ch; margin: 0 auto var(--sp-5); position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* =========================================================================
   FORMULARIO CONTATO
   ====================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--sh-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-100); font-weight: var(--fw-bold); color: var(--ink); letter-spacing: .03em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-200); color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .85rem 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-glow); }

/* ficha de anamnese: selecao de servicos */
.chk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (max-width: 520px) { .chk-grid { grid-template-columns: 1fr; } }
.chk { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); font-size: var(--fs-200); color: var(--ink-2); cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.chk:hover { border-color: var(--line-2); }
.chk input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
.chk:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-strong); font-weight: var(--fw-semibold); }
.ficha-note { font-size: var(--fs-100); color: var(--ink-3); margin-top: .8rem; text-align: center; }

/* ============ POP-UP DA FICHA DE AGENDAMENTO ============ */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; padding: 1rem; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal-overlay { position: fixed; inset: 0; background: rgba(13,14,19,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-card { position: relative; z-index: 1; width: min(560px, 100%); margin: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(1.4rem, 4vw, 2.2rem); animation: pop .32s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: var(--r-pill); font-size: 26px; line-height: 1; color: var(--ink-3); background: var(--bg-2); display: grid; place-items: center; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.modal-close:hover { background: var(--brand-tint); color: var(--brand); }
.modal-head { margin-bottom: var(--sp-5); }
.modal-head h2 { font-size: var(--fs-500); margin: .3rem 0 .8rem; }
.fsteps { display: flex; align-items: center; gap: 8px; }
.fsdot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.fsdot.is-active { background: var(--brand); transform: scale(1.15); }
.fsbar { flex: 1; max-width: 60px; height: 3px; border-radius: 2px; background: var(--line); }
.fstep-label { font-size: var(--fs-100); font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--sp-4); }
.modal-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.modal-actions .btn--ghost { flex: 0 0 auto; }
.modal-actions .btn--primary { flex: 1; }
/* campos de medida do pneu */
.tire-guide { display: block; width: 100%; max-width: 100%; height: auto; margin: .4rem auto 1.1rem; border-radius: var(--r-sm); }
.tire-grid { display: flex; align-items: flex-start; gap: .5rem; }
.tire-grid > div { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.tire-grid input, .tire-grid select { width: 100%; font: inherit; font-size: var(--fs-200); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .6rem; text-align: center; }
.tire-grid input:focus, .tire-grid select:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-glow); }
.tire-grid small { color: var(--ink-3); font-size: 11px; text-align: center; }
.tire-sep { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--ink-3); align-self: center; padding-top: .5rem; }
.tire-note { font-size: var(--fs-100); color: var(--ink-3); margin-top: .6rem; }

/* =========================================================================
   FOOTER
   ====================================================================== */
.site-footer { background: var(--ink); color: #aab0bd; padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.site-footer .brand-logo img { height: 64px; filter: none; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: var(--fs-400); margin-bottom: var(--sp-3); }
.footer-col a, .footer-col p { color: #aab0bd; font-size: var(--fs-200); display: block; margin-bottom: .55rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--brand-soft); }
.footer-social { display: flex; gap: .6rem; margin-top: var(--sp-3); }
/* logos oficiais coloridos: a caixa fica neutra para nao brigar com a cor da marca */
.footer-social a { width: 46px; height: 46px; border-radius: 12px; background: transparent; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); margin: 0; }
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.footer-social svg { width: 26px; height: 26px; }
.footer-bottom { padding-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-100); color: #777e8c; }

/* =========================================================================
   WHATSAPP FLUTUANTE
   ====================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff; font-weight: var(--fw-bold); font-size: var(--fs-200);
  padding: .8rem 1.1rem; border-radius: var(--r-pill);
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float svg { width: 27px; height: 27px; flex: 0 0 auto; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px rgba(37,211,102,.5); }
.wa-float .lbl { display: inline; }
@media (max-width: 520px) { .wa-float .lbl { display: none; } .wa-float { padding: .85rem; } }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* =========================================================================
   PAGE HEADER (paginas internas)
   ====================================================================== */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); background: var(--bg-2); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--brand), transparent 68%); opacity: .12; }
.breadcrumb { font-size: var(--fs-100); color: var(--ink-3); margin-bottom: var(--sp-3); position: relative; }
.breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: var(--fs-600); position: relative; }
.page-hero p { color: var(--ink-3); font-size: var(--fs-400); max-width: 56ch; margin-top: var(--sp-3); position: relative; }

/* =========================================================================
   ANIMACOES DE SCROLL (reveal)
   ====================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* =========================================================================
   ACESSIBILIDADE DO MOVIMENTO
   ====================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* utilidades */
.center { text-align: center; }
/* fim do arquivo */
.mt-6 { margin-top: var(--sp-6); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; z-index: 200; }
.skip-link:focus { left: 0; }
