/* =========================================================
   Galpão de Lona — Landing Page
   Folha de estilo principal
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --brand: #fb6400;
  --brand-600: #e25800;
  --brand-300: #ff9a44;
  --brand-soft: rgba(251, 100, 0, .12);

  --ink-900: #0a0e11;
  --ink-800: #0f1419;
  --ink-700: #161c23;
  --ink-600: #1e252e;
  --line-dark: rgba(255, 255, 255, .09);

  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --paper-3: #eaeef2;
  --line: #e2e8ee;

  --text: #121820;
  --text-muted: #5b6673;
  --text-invert: #f3f6f9;
  --text-invert-muted: #a9b4c0;

  --wa: #25d366;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(10, 14, 17, .06);
  --shadow: 0 18px 40px -22px rgba(10, 14, 17, .45);
  --shadow-lg: 0 40px 80px -40px rgba(10, 14, 17, .65);

  --container: 1240px;
  --header-h: 88px;
  --bar-h: 0px;          /* altura da barra fixa de ações (só no mobile) */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + var(--safe-b));
  -webkit-tap-highlight-color: rgba(251, 100, 0, .18);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  /* recuo extra em celulares com notch deitados */
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}

.section { padding: clamp(60px, 7vw, 110px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink-900); color: var(--text-invert); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-invert-muted); }

.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--text-invert-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.text-brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; }

.btn--primary { box-shadow: 0 14px 28px -14px rgba(251, 100, 0, .9); }
.btn--primary:hover { --btn-bg: var(--brand-600); box-shadow: 0 18px 34px -14px rgba(251, 100, 0, .95); }

.btn--wa { --btn-bg: var(--wa); box-shadow: 0 14px 28px -14px rgba(37, 211, 102, .85); }
.btn--wa:hover { --btn-bg: #1fb855; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn--dark { --btn-bg: var(--ink-900); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-700); }

.btn--sm { padding: 10px 20px; font-size: .86rem; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink-900);
  color: var(--text-invert-muted);
  font-size: .82rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .74rem;
  color: #fff;
}
.topbar-region svg { width: 15px; height: 15px; color: var(--brand); }
.topbar-list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-list a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s; overflow-wrap: anywhere; }
.topbar-list a:hover { color: var(--brand-300); }
.topbar-list svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 17, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  background: rgba(10, 14, 17, .97);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 62px; width: auto; transition: height .25s ease; }
.site-header.is-stuck .brand img { height: 52px; }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  position: relative;
  /* um rótulo nunca quebra em duas linhas dentro do topo */
  white-space: nowrap;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  transition: color .18s, background .18s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}
.header-phone span small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}
.header-phone .ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.header-phone .ico svg { width: 17px; height: 17px; }

.lbl-short { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; transform: none; }
.nav-toggle span::after { top: 7px; left: 0; transform: none; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 14, 17, .96) 0%, rgba(10, 14, 17, .88) 42%, rgba(10, 14, 17, .55) 72%, rgba(10, 14, 17, .72) 100%),
    radial-gradient(120% 90% at 10% 0%, rgba(251, 100, 0, .20), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 7vw, 112px);
}
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero-lead {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  color: rgba(255, 255, 255, .8);
  max-width: 56ch;
  margin-bottom: 26px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-bottom: 30px;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .88);
}
.hero-points svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 2px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--brand); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}
.hero-dots button {
  /* a barrinha é o ::before; o botão em si é a área de toque */
  width: 36px;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width .25s;
}
.hero-dots button::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .34);
  transition: background .25s;
}
.hero-dots button.is-active { width: 52px; }
.hero-dots button.is-active::before { background: var(--brand); }

/* ---------- Form card ---------- */
.form-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 34px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(251, 100, 0, .55), rgba(255, 255, 255, 0) 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.form-card h3 { margin-bottom: 6px; font-size: 1.4rem; }
.form-card .form-sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; }

.form-grid { display: grid; gap: 14px; }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-2, .form-grid > .span-2 { grid-column: 1 / -1; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field label .req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  /* 16px é o mínimo que evita o zoom automático do Safari no iOS */
  font-size: 16px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6673' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b1; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e03131; box-shadow: 0 0 0 4px rgba(224, 49, 49, .1); }
.field .error-msg { display: none; font-size: .76rem; color: #e03131; font-weight: 600; letter-spacing: 0; text-transform: none; }
.field.has-error .error-msg { display: block; }

/* segmented control */
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.segmented label {
  display: grid;
  place-items: center;
  padding: 11px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s ease;
}
.segmented input:checked + label {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-600);
}
.segmented input:focus-visible + label { outline: 3px solid var(--brand-300); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.consent.has-error { color: #e03131; font-weight: 500; }
.consent.has-error input { outline: 2px solid #e03131; outline-offset: 2px; border-radius: 3px; }

.form-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
}
.form-foot svg { width: 14px; height: 14px; color: var(--wa); }

.form-success {
  display: none;
  text-align: center;
  padding: 18px 4px 6px;
}
.form-success .check {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, .14);
  color: var(--wa);
}
.form-success .check svg { width: 30px; height: 30px; }
.form-success h4 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 8px; }
.form-success p { color: var(--text-muted); font-size: .92rem; }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats ---------- */
.stats {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, .18), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: clamp(32px, 4vw, 52px) 0;
  position: relative;
  z-index: 1;
}
.stat { text-align: center; padding: 6px 10px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%;
  width: 1px; height: 64%;
  background: rgba(255, 255, 255, .28);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-label {
  margin-top: 8px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: clamp(16px, 1.8vw, 26px); }
/* itens de grid/flex encolhem até o tamanho da coluna em vez de empurrar a página */
.grid > *, .split > *, .cta-inner > *, .hero-inner > *, .steps > *, .spec-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .94rem; }

.section--dark .feature {
  background: var(--ink-700);
  border-color: var(--line-dark);
}
.section--dark .feature:hover { background: var(--ink-600); }
.section--dark .feature p { color: var(--text-invert-muted); }

/* ---------- Soluções ---------- */
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.solution:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.solution-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-700); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.solution:hover .solution-media img { transform: scale(1.07); }
.solution-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(10, 14, 17, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.solution-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.solution-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.solution-body p { color: var(--text-muted); font-size: .93rem; margin-bottom: 18px; }
.solution-list { margin-bottom: 20px; display: grid; gap: 7px; }
.solution-list li { display: flex; gap: 8px; font-size: .88rem; color: var(--text-muted); }
.solution-list svg { width: 16px; height: 16px; flex: none; color: var(--brand); margin-top: 4px; }
.solution-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand);
}
.solution-link svg { width: 17px; height: 17px; transition: transform .2s; }
.solution:hover .solution-link svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, .35);
}
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 68px;
  right: -14px;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .28) 0 7px, transparent 7px 14px);
}
.steps .step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }

/* ---------- Specs ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec {
  background: #fff;
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background .2s;
}
.spec:hover { background: var(--paper-2); }
.spec .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ink-900); color: var(--brand); }
.spec .ico svg { width: 22px; height: 22px; }
.spec h4 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 5px; }
.spec p { font-size: .88rem; color: var(--text-muted); }

.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.specs { width: 100%; border-collapse: collapse; min-width: 560px; }
table.specs caption {
  caption-side: top;
  text-align: left;
  padding: 20px 24px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
table.specs th, table.specs td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); font-size: .92rem; }
table.specs thead th {
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 0;
}
table.specs tbody tr:nth-child(even) { background: var(--paper-2); }
table.specs td:first-child { font-weight: 600; }
.table-note { font-size: .82rem; color: var(--text-muted); margin-top: 12px; }

/* ---------- Materiais ---------- */
.material {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 22px;
}
.material h3 { font-size: 1.08rem; margin-bottom: 8px; }
.material p { font-size: .93rem; }

/* ---------- Split (sobre) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-badge {
  position: absolute;
  right: -14px;
  bottom: -22px;
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 150px;
}
.split-badge strong { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-weight: 800; }
.split-badge span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

.pillars { display: grid; gap: 16px; margin-top: 26px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar .ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.pillar .ico svg { width: 20px; height: 20px; }
.pillar h4 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 3px; }
.pillar p { font-size: .9rem; color: var(--text-muted); }
.section--dark .pillar p { color: var(--text-invert-muted); }

/* ---------- Certificações ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cert {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: .86rem;
  color: rgba(255, 255, 255, .88);
}
.cert svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-700);
  aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 17, .55), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after { opacity: 1; }
.gallery .zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
  z-index: 2;
}
.gallery .zoom svg { width: 17px; height: 17px; }
.gallery button:hover .zoom { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 11, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; animation: fade .25s ease; overscroll-behavior: contain; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(1100px, 94vw); max-height: 84dvh; border-radius: 14px; object-fit: contain; }
.lightbox-btn {
  position: absolute;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox-btn:hover { background: var(--brand); border-color: var(--brand); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .08em; }

/* ---------- Clientes ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; width: max-content; gap: 18px; animation: scroll-x 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 54s; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.client-logo {
  flex: none;
  width: 164px; height: 84px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.client-logo img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.faq-q .chev { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--brand); transition: transform .25s, background .25s; }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--text-muted); font-size: .94rem; }

/* ---------- CTA final ---------- */
.cta-section {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-2.webp") center / cover no-repeat;
  opacity: .25;
}
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 15% 20%, rgba(251, 100, 0, .22), transparent 60%), linear-gradient(90deg, rgba(10, 14, 17, .95), rgba(10, 14, 17, .7));
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: clamp(36px, 4.5vw, 76px); align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-copy > p { color: rgba(255, 255, 255, .82); max-width: 54ch; }
.cta-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.cta-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .97rem; }
.cta-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item .ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); color: var(--brand); }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item span { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-invert-muted); }
.contact-item strong { font-family: var(--font-display); font-size: 1.04rem; color: #fff; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: #06090b; color: var(--text-invert-muted); padding: clamp(48px, 5vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.15fr; gap: clamp(26px, 3vw, 48px); padding-bottom: 46px; }
/* width:auto anula o atributo width="300" do HTML, que deformava o logo */
.footer-brand img { height: 86px; width: auto; margin-bottom: 18px; }
.footer-grid p { font-size: .9rem; }
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer-links { display: grid; gap: 9px; font-size: .9rem; }
.footer-links a { transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact { display: grid; gap: 12px; font-size: .9rem; }
/* e-mails longos quebram em vez de alargar a página */
.footer-contact a, .footer-contact div { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Float / mobile bar ---------- */
.wa-float {
  position: fixed;
  right: calc(20px + var(--safe-r));
  bottom: calc(22px + var(--bar-h) + var(--safe-b));
  z-index: 90;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .75);
  transition: transform .25s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}
.wa-float .tip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: #fff;
  color: var(--text);
  font-size: .82rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s ease;
  pointer-events: none;
}
.wa-float:hover .tip { opacity: 1; transform: translateX(0); }

.to-top {
  position: fixed;
  right: calc(25px + var(--safe-r));
  bottom: calc(94px + var(--bar-h) + var(--safe-b));
  z-index: 89;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(10, 14, 17, .86);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); border-color: var(--brand); }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(10, 14, 17, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  padding: 9px calc(12px + var(--safe-r)) calc(9px + var(--safe-b)) calc(12px + var(--safe-l));
  gap: 9px;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.mobile-bar a svg { width: 18px; height: 18px; }
.mobile-bar a.is-wa { background: var(--wa); }
.mobile-bar a.is-brand { background: var(--brand); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* =========================================================
   POP-UP DO WHATSAPP
   ========================================================= */
body.no-scroll { overflow: hidden; }

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px calc(16px + var(--safe-r)) calc(20px + var(--safe-b)) calc(16px + var(--safe-l));
}
.wa-modal[hidden] { display: none; }

.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 11, .74);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .24s ease;
}
.wa-modal.is-open .wa-modal-backdrop { opacity: 1; }

.wa-modal-card {
  position: relative;
  width: min(100%, 450px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .26s ease, transform .26s cubic-bezier(.22, 1, .36, 1);
}
.wa-modal.is-open .wa-modal-card { opacity: 1; transform: none; }

.wa-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.wa-modal-close:hover { background: var(--paper-3); color: var(--text); }
.wa-modal-close svg { width: 18px; height: 18px; }

.wa-modal-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(37, 211, 102, .14);
  color: var(--wa);
}
.wa-modal-ico svg { width: 28px; height: 28px; }
.wa-modal h3 { font-size: 1.32rem; margin-bottom: 6px; }
.wa-modal .form-sub { color: var(--text-muted); font-size: .93rem; margin-bottom: 22px; }
.wa-modal .form-grid { gap: 15px; }

/* =========================================================
   ONDE ATENDEMOS
   ========================================================= */
.cities { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.city svg { width: 14px; height: 14px; flex: none; color: var(--brand); }
.cities-note { margin: 26px 0 0; text-align: center; color: var(--text-muted); font-size: .95rem; }
.cities-note a {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   FOLGA DO FORMULÁRIO DE ORÇAMENTO EM TELA GRANDE
   O card ficava apertado em notebook e monitor: campos mais
   altos, mais respiro entre eles e mais espaço interno.
   ========================================================= */
.link-wa { color: var(--brand); font-weight: 600; }

@media (min-width: 981px) {
  .form-card--wide { padding: clamp(30px, 2.4vw, 40px) clamp(30px, 2.6vw, 42px); }
  .form-card--wide h3 { font-size: 1.55rem; }
  .form-card--wide .form-sub { margin-bottom: 26px; }
  .form-card--wide .form-grid { gap: 18px 20px; }
  .form-card--wide .field label { font-size: .8rem; }
  .form-card--wide .field input,
  .form-card--wide .field select { padding: 15px 16px; }
  .form-card--wide .field select { padding-right: 42px; }
  .form-card--wide .field textarea { min-height: 116px; padding: 15px 16px; }
  .form-card--wide .segmented { gap: 10px; }
  .form-card--wide .segmented label { padding: 13px 10px; font-size: .9rem; }
  .form-card--wide .consent { margin-top: 4px; font-size: .8rem; }
  .form-card--wide .form-foot { margin-top: 18px; font-size: .82rem; }
}

/* =========================================================
   RESPONSIVO
   Pontos de quebra:
     >= 1600  monitores grandes / ultrawide
     1281–1599  notebook e desktop padrão
     1081–1280  notebook pequeno e tablet deitado (menu completo)
     901–1080   tablet deitado menor (menu hambúrguer)
     721–900    tablet em pé
     421–720    celular
     <= 420     celular pequeno
   ========================================================= */

/* ---------- Monitores grandes ---------- */
@media (min-width: 1600px) {
  :root { --container: 1360px; --header-h: 96px; }
  body { font-size: 17px; }
  .brand img { height: 70px; }
  .site-header.is-stuck .brand img { height: 58px; }
  .hero-lead { max-width: 60ch; }
  .hero-copy { max-width: 700px; }
  .gallery { gap: 16px; }
}

@media (min-width: 2000px) {
  :root { --container: 1480px; }
  .hero-inner { padding-block: 120px 130px; }
}

/* ---------- Notebook pequeno / tablet deitado: menu ainda completo ---------- */
@media (max-width: 1280px) {
  .header-inner { gap: 14px; }
  .nav a { padding: 10px 10px; font-size: .86rem; }
  .header-phone span { font-size: .88rem; }
}

@media (max-width: 1180px) {
  .header-phone span small { display: none; }
  .header-phone span { font-size: 0; }
  .header-phone .ico { width: 40px; height: 40px; }
  .header-phone .ico svg { width: 18px; height: 18px; }
}

/* ---------- Menu em hambúrguer ---------- */
@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  .brand img { height: 58px; }
  .site-header.is-stuck .brand img { height: 50px; }

  .nav {
    display: grid;
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(10, 14, 17, .99);
    border-bottom: 1px solid var(--line-dark);
    /* o recuo extra deixa o último item rolar acima da barra fixa */
    padding: 14px 20px calc(22px + var(--bar-h) + var(--safe-b));
    gap: 2px;
    margin-left: 0;
    transform: translateY(-115%);
    /* visibility garante que nada apareça em telas baixas, onde o menu
       é mais alto que o deslocamento do transform */
    visibility: hidden;
    transition: transform .32s cubic-bezier(.3, .9, .3, 1), visibility 0s linear .32s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .32s cubic-bezier(.3, .9, .3, 1), visibility 0s;
  }
  .nav a {
    padding: 15px 12px;
    border-radius: 10px;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .nav .nav-cta {
    margin-top: 14px;
    background: var(--brand);
    color: #fff;
    text-align: center;
    border: 0;
    border-radius: 999px;
  }
  .nav-toggle { display: block; }
  /* sem o menu no fluxo, é o bloco de ações que empurra para a direita */
  .header-cta { margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .form-card { max-width: 580px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* 4 cards lado a lado ficam estreitos demais num tablet deitado */
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
  .step::after { display: none; }
}

/* ---------- Tablet em pé ---------- */
@media (max-width: 900px) {
  :root { --bar-h: 66px; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-badge { right: 18px; bottom: -18px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .stat:nth-child(3)::before { display: none; }

  /* áreas de toque confortáveis no celular e no tablet */
  .solution-link { padding: 9px 0; }
  .header-cta .btn { padding: 13px 20px; }
  .footer-links a { padding: 3px 0; }

  .mobile-bar { display: flex; }
  /* a barra inferior já tem o WhatsApp: o botão flutuante só cobriria os CTAs */
  .wa-float { display: none; }
  .to-top { bottom: calc(20px + var(--bar-h) + var(--safe-b)); }
}

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }

  .container { width: min(100% - 32px, var(--container)); }
  .topbar { display: none; }

  .hero-inner { padding: 40px 0 72px; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { gap: 8px 14px; padding-top: 18px; }
  .hero-trust span { font-size: .72rem; }
  .hero-dots { bottom: 16px; }
  .form-card { max-width: 100%; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { padding-top: 46px; }
  .step::before { font-size: 2.1rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .form-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .client-logo { width: 136px; height: 72px; padding: 12px 14px; }
  .client-logo img { max-height: 36px; }
  .faq-q { padding: 16px 16px; font-size: .95rem; }
  .faq-a p { padding: 0 16px 18px; }
  .split-badge { right: 14px; bottom: -16px; min-width: 124px; padding: 13px 16px; }
  .split-badge strong { font-size: 1.85rem; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  table.specs { min-width: 440px; }
  /* botões longos quebram linha em vez de estourar a largura da tela */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .btn--lg { padding: 15px 22px; font-size: .95rem; }
  .cities { gap: 8px; }
  .city { font-size: .8rem; padding: 8px 13px; }
  .cities-note { font-size: .9rem; }
  .wa-modal { padding: 14px calc(14px + var(--safe-r)) calc(14px + var(--safe-b)) calc(14px + var(--safe-l)); }
  .wa-modal-card { padding: 26px 20px 24px; border-radius: 20px; }
  .wa-modal-ico { width: 48px; height: 48px; margin-bottom: 14px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-btn { width: 42px; height: 42px; }
  .lightbox-close { top: calc(14px + var(--safe-b)); right: 14px; }
}

/* ---------- Header compacto: o telefone já está na barra inferior ---------- */
@media (max-width: 620px) {
  .header-cta .header-phone { display: none; }
  .header-cta { gap: 10px; }
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
  .brand img { height: 48px; }
  .site-header.is-stuck .brand img { height: 42px; }
}

/* ---------- Tabela de medidas vira lista no celular ---------- */
@media (max-width: 560px) {
  .table-wrap { overflow: visible; }
  table.specs { min-width: 0; display: block; }
  table.specs caption { padding: 18px 18px 12px; }
  table.specs thead { display: none; }
  table.specs tbody { display: block; }
  table.specs tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
  }
  table.specs td { border: 0; padding: 0; font-size: .92rem; font-weight: 600; }
  table.specs td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* ---------- Celular pequeno ---------- */
@media (max-width: 420px) {
  :root { --bar-h: 62px; }
  .container { width: min(100% - 26px, var(--container)); }
  .brand img { height: 44px; }
  .header-cta .btn { padding: 12px 15px; font-size: .82rem; }
  .form-card { padding: 20px 18px; border-radius: 18px; }
  .feature { padding: 22px 20px; }
  .solution-body { padding: 20px 18px 22px; }
  .mobile-bar a span { display: none; }
  .mobile-bar a { padding: 13px 6px; }
  .segmented { gap: 6px; }
  .segmented label { font-size: .8rem; padding: 11px 4px; }
  .stat-label { font-size: .74rem; }
}

/* Galaxy Fold fechado e afins */
@media (max-width: 310px) {
  .header-cta .btn { display: none; }
  .brand img { height: 40px; }
  .hero-actions .btn, .btn--lg { padding: 14px 18px; font-size: .92rem; }
  .segmented { grid-template-columns: 1fr 1fr; }
  .segmented input:last-of-type + label { grid-column: 1 / -1; }
}

/* ---------- Celular deitado ---------- */
@media (orientation: landscape) and (max-height: 520px) {
  .hero-inner { padding: 30px 0 54px; }
  .hero-lead { margin-bottom: 18px; }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .hero-trust { display: none; }
  .nav { max-height: calc(100dvh - var(--header-h)); }
  .lightbox img { max-height: 76dvh; }
  .wa-modal-card { max-height: calc(100dvh - 24px); padding: 20px 20px 18px; }
  .wa-modal-ico { display: none; }
  .to-top { display: none; }
}

/* ---------- Telas sem hover (toque) ---------- */
@media (hover: none) {
  .feature:hover, .solution:hover { transform: none; }
  .client-logo img { filter: none; opacity: .78; }
  .gallery .zoom { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .topbar, .mobile-bar, .wa-float, .to-top, .hero-media, .lightbox, .wa-modal { display: none !important; }
  body { padding: 0; color: #000; background: #fff; }
  .section { padding: 18px 0; }
  .reveal { opacity: 1; transform: none; }
}
