/* =========================================================================
   JMK Comissaria — estilos
   Para ajustar a identidade visual, altere apenas os tokens do :root.
   ========================================================================= */

:root {
  /* Cores da marca (CONFERIR com a logo oficial) */
  --primary: #1a4fb0;        /* azul principal */
  --primary-dark: #0d1f40;   /* fundos escuros */
  --primary-bright: #1f6fd6; /* versão vibrante para destaques */
  --accent: #ffb81c;         /* cor de destaque / botões */
  --accent-dark: #ff8a1f;
  --cyan: #4fd2e6;

  --ink: #14171d;
  --muted: #55627a;
  --line: #e2e8f3;
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --white: #ffffff;
  --wa: #25d366;

  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(26, 79, 176, .08);
  --shadow: 0 14px 40px rgba(26, 79, 176, .14);
  --shadow-lg: 0 30px 70px rgba(13, 31, 64, .28);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-bright); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.kicker-light { color: var(--accent); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--primary-dark); box-shadow: 0 10px 26px rgba(255, 184, 28, .38); }
.btn-accent:hover { background: #ffc94a; box-shadow: 0 14px 32px rgba(255, 184, 28, .5); }
.btn-primary { background: var(--primary-bright); color: #fff; box-shadow: 0 10px 26px rgba(31, 111, 214, .3); }
.btn-primary:hover { background: var(--primary); }
.btn-dark { background: var(--primary-dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary-bright); color: var(--primary-bright); }

/* ---------- Topbar ---------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.82); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-info li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--accent); }
.topbar-info a:hover, .topbar-cta:hover { color: #fff; }
.topbar-cta { color: var(--accent); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 116px; }
.brand img { height: 94px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav ul a {
  display: block; padding: 8px 11px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: .93rem; color: var(--ink); position: relative; transition: color .2s, background .2s;
}
.main-nav ul a:hover { color: var(--primary-bright); background: var(--bg-soft); }
.main-nav ul a.is-active { color: var(--primary-bright); }
.main-nav ul a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: var(--accent);
}
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg-soft); cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--primary); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-bright) 100%);
  padding: clamp(64px, 9vw, 120px) 0 clamp(90px, 11vw, 150px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.g1 { width: 480px; height: 480px; background: var(--cyan); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.g2 { width: 380px; height: 380px; background: var(--accent); bottom: -220px; left: -120px; opacity: .3; animation: float 18s ease-in-out infinite reverse; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
@keyframes float { 50% { transform: translate(30px, 40px); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,184,28,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,184,28,0); } 100% { box-shadow: 0 0 0 0 rgba(255,184,28,0); } }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -.03em; margin: 0 0 22px; }
.hl { color: var(--accent); background: linear-gradient(90deg, #ffd83a, var(--accent) 45%, var(--accent-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; white-space: nowrap; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: rgba(255,255,255,.85); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .93rem; color: rgba(255,255,255,.9); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255,184,28,.2); color: var(--accent); stroke-width: 3; }

.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.25);
}
.hc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.hc-tag { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.hc-status { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: #b45309; background: #fff5db; padding: 5px 12px; border-radius: 999px; }
.hc-steps li { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.hc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 50px; bottom: -8px; width: 2px; background: var(--line); }
.hc-steps li.done:not(:last-child)::after { background: var(--primary-bright); }
.hc-icon { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); }
.hc-icon svg { width: 18px; height: 18px; }
.done .hc-icon { background: var(--primary-bright); color: #fff; stroke-width: 3; }
.active .hc-icon { background: var(--accent); color: var(--primary-dark); box-shadow: 0 0 0 6px rgba(255,184,28,.22); }
.hc-steps strong { display: block; font-size: .95rem; }
.hc-steps small { color: var(--muted); font-size: .83rem; }
.hc-foot { margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); }
.hc-bar { margin-top: 8px; height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.hc-bar span { display: block; height: 100%; width: 68%; border-radius: 8px; background: linear-gradient(90deg, var(--primary-bright), var(--cyan)); animation: grow 2.4s var(--ease) both; }
@keyframes grow { from { width: 0; } }

/* ---------- Modais ---------- */
.modals { position: relative; z-index: 2; margin-top: -56px; }
.modals-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.modal-item { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-right: 1px solid var(--line); transition: background .25s; }
.modal-item:last-child { border-right: 0; }
.modal-item:hover { background: var(--bg-soft); }
.mi-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary-bright), var(--primary)); }
.mi-icon svg { width: 26px; height: 26px; }
.modal-item strong { display: block; font-family: var(--font-head); }
.modal-item small { color: var(--muted); font-size: .85rem; }

/* ---------- Empresa ---------- */
.about-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.about-visual { position: sticky; top: 130px; }
.av-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.av-svg { width: 100%; height: auto; stroke: none; }
.av-badge {
  position: absolute; right: -18px; bottom: -26px; display: flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--primary-dark); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.avb-icon { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-dark); color: var(--accent); }
.avb-icon svg { width: 20px; height: 20px; stroke-width: 3; }
.av-badge small { font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.about-copy > p { color: var(--muted); font-size: 1.04rem; }
.about-copy > p strong { color: var(--ink); }
.av-badge strong { font-family: var(--font-head); font-size: 2.1rem; line-height: 1; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.about-tags li { padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(31,111,214,.1); color: var(--primary); }
.about-tags li:first-child { background: rgba(255,184,28,.2); color: #8a5300; }
.about-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--accent); }
.about-note p { margin: 0; font-size: .93rem; color: var(--muted); }
.about-note strong { color: var(--ink); }
.an-icon { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--primary-bright); box-shadow: var(--shadow-sm); }
.an-icon svg { width: 20px; height: 20px; }
.principles-title { margin: 28px 0 14px; font-size: 1.1rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.principles li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; line-height: 1.35; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.principles li:hover { border-color: rgba(31,111,214,.35); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.principles li:last-child { grid-column: 1 / -1; }
.principles span { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-size: .8rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary-bright), var(--primary)); }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.mvv-card { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); background: #fff; }
.mvv-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(31,111,214,.12); color: var(--primary-bright); margin-bottom: 12px; }
.mvv-icon svg { width: 20px; height: 20px; }
.mvv-card h3 { font-size: 1rem; margin-bottom: 6px; }
.mvv-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Instalações ---------- */
.facilities { background: radial-gradient(ellipse at 20% 0%, rgba(31,111,214,.35), transparent 55%), var(--primary-dark); color: #fff; }
.facilities h2 { color: #fff; }
.facilities .section-head p { color: rgba(255,255,255,.75); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.g-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0a1730; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.g-hero { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.g-item:hover .g-open img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(8,18,40,.85)); }
.g-item figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; pointer-events: none; display: flex; flex-direction: column; gap: 2px; }
.g-item figcaption strong { font-family: var(--font-head); font-size: 1.05rem; }
.g-item figcaption span { font-size: .82rem; color: rgba(255,255,255,.75); }
.g-hero figcaption strong { font-size: 1.35rem; }
.g-item figcaption::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 8px; }
.g-info {
  grid-column: span 2; border-radius: var(--radius-lg); padding: 28px 30px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary)); box-shadow: 0 18px 40px rgba(0,0,0,.3); position: relative; overflow: hidden;
}
.g-info::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); }
.gi-icon { flex-shrink: 0; align-self: flex-start; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--primary-dark); margin-bottom: 12px; }
.gi-icon svg { width: 22px; height: 22px; }
.g-info h3 { color: #fff; margin-bottom: 6px; }
.g-info p { color: rgba(255,255,255,.85); font-size: .93rem; margin-bottom: 10px; }
.g-info ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; font-size: .88rem; }
.g-info li { display: inline-flex; align-items: center; gap: 6px; }
.g-info li svg { width: 16px; height: 16px; color: var(--accent); stroke-width: 3; }
.g-info .btn { align-self: flex-start; position: relative; z-index: 1; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(5,12,28,.92); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; font-family: var(--font-head); font-weight: 600; margin-top: 14px; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-nav { flex: 0 0 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--primary-dark); }

/* ---------- Serviços ---------- */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary-bright), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.sc-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(31,111,214,.14), rgba(79,210,230,.14)); color: var(--primary-bright);
  transition: background .35s, color .35s;
}
.sc-icon svg { width: 26px; height: 26px; }
.service-card:hover .sc-icon { background: linear-gradient(135deg, var(--primary-bright), var(--primary)); color: #fff; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Diferenciais ---------- */
.why { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -200px; top: -200px; background: radial-gradient(circle, rgba(79,210,230,.35), transparent 65%); }
.why-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why h2 { color: #fff; }
.why-copy p { color: rgba(255,255,255,.8); font-size: 1.06rem; margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { padding: 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .3s var(--ease); }
.why-item:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.wi-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--primary-dark); margin-bottom: 16px; }
.wi-icon svg { width: 24px; height: 24px; }
.why-item h3 { color: #fff; }
.why-item p { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }

/* ---------- Processo ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; width: max-content; margin: 0 auto 44px; padding: 6px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 11px 26px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tab.is-active { background: var(--primary-bright); color: #fff; box-shadow: 0 8px 20px rgba(31,111,214,.3); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 48px; right: -24px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px);
}
.step-n { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 800; color: var(--primary-dark); background: var(--accent); }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active .step { animation: rise .5s var(--ease) both; }
.tab-panel.is-active .step:nth-child(2) { animation-delay: .07s; }
.tab-panel.is-active .step:nth-child(3) { animation-delay: .14s; }
.tab-panel.is-active .step:nth-child(4) { animation-delay: .21s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 clamp(64px, 9vw, 100px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 54px); border-radius: 28px;
  background: linear-gradient(120deg, var(--accent) 0%, #ffd166 100%); color: var(--primary-dark);
  box-shadow: 0 24px 60px rgba(255, 138, 31, .3); position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.22); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 8px; color: var(--primary-dark); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-inner p { margin: 0; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin: 0; }
.accordion { display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.acc-item[open] { border-color: rgba(31,111,214,.35); box-shadow: var(--shadow-sm); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--primary-bright); font-size: 1.3rem; font-weight: 500; transition: transform .3s, background .3s, color .3s;
}
.acc-item[open] summary::after { transform: rotate(45deg); background: var(--primary-bright); color: #fff; }
.acc-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.04rem; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.contact-list li:hover { border-color: rgba(31,111,214,.35); box-shadow: var(--shadow-sm); }
.cl-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(31,111,214,.12); color: var(--primary-bright); }
.cl-icon svg { width: 22px; height: 22px; }
.cl-green { background: rgba(37,211,102,.14); color: #128c4a; }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { display: block; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--primary-bright); }
.map-wrap { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; background: var(--bg-soft); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }

.contact-form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--primary-bright); }
.contact-form h3 { font-size: 1.35rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--primary-bright); box-shadow: 0 0 0 4px rgba(31,111,214,.14); }
.field.has-error input, .field.has-error textarea { border-color: #e03131; }
.form-msg { font-size: .9rem; min-height: 1.2em; margin: 0 0 12px; }
.form-msg.error { color: #c92a2a; }
.form-msg.ok { color: #2b8a3e; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 90px; width: auto; max-width: 100%; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; stroke: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(220px, auto); }
  .g-hero { grid-row: span 1; }
  .hide-md { display: none !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .modals-inner { grid-template-columns: repeat(2, 1fr); }
  .modal-item:nth-child(2) { border-right: 0; }
  .modal-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1280px) {
  .menu-toggle { display: block; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 20px; padding: 100px 24px 30px;
    background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease), visibility .4s; z-index: 1; visibility: hidden;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav ul a.is-active::after { display: none; }
  .main-nav ul a.is-active { background: var(--bg-soft); }
  .menu-toggle { z-index: 2; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(13,31,64,.45); z-index: 99; }
}

@media (max-width: 960px) {
  .hero-inner, .about-inner, .why-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .about-visual { max-width: 560px; position: relative; top: 0; }
  .faq .section-head { position: static; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hide-sm, .topbar-cta { display: none; }
  .topbar-info { gap: 4px 18px; font-size: .8rem; padding: 8px 0; }
  .header-inner { height: 84px; }
  .brand img { height: 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .gallery { grid-auto-rows: minmax(170px, auto); gap: 12px; }
  .g-item:not(.g-hero):not(.g-wide) figcaption span { display: none; }
  .g-item figcaption { left: 14px; bottom: 12px; }
  .g-info { padding: 22px; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .principles li:last-child { grid-column: auto; }
  .services-grid, .steps, .mvv, .principles, .why-grid, .field-row, .footer-grid, .modals-inner { grid-template-columns: 1fr; }
  .modal-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .modal-item:last-child { border-bottom: 0; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 11px 12px; }
  .av-badge { right: 12px; bottom: -22px; }
  .cta-actions, .form-actions { width: 100%; }
  .cta-actions .btn, .form-actions .btn { flex: 1 1 100%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

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