/* ==========================================================================
   MSE10 — estilos do site
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Cores da marca (logo): vermelho #EE3237 e grafite #383435 */
  --brand-red: #ee3237;
  --brand-graphite: #383435;

  --ink: #1d1b1c;            /* grafite escuro: seções escuras e rodapé */
  --ink-2: #262324;
  --ink-3: #302c2d;
  --paper: #f6f5f3;          /* fundo claro principal */
  --paper-2: #ecebe7;
  --card: #ffffff;
  --text: #1d1b1c;
  --muted: #55504f;
  --line: rgba(29, 27, 28, 0.12);
  --line-strong: rgba(29, 27, 28, 0.24);

  --on-dark: #f3f1ef;
  --on-dark-muted: #b3adab;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-strong: rgba(255, 255, 255, 0.2);

  --accent: #d42129;         /* vermelho para botões (contraste com texto branco) */
  --accent-hover: #b81b22;
  --accent-text: #c41f27;    /* vermelho legível sobre fundo claro */
  --accent-on-dark: #ff5c63; /* vermelho legível sobre fundo escuro */
  --accent-soft: rgba(238, 50, 55, 0.1);
  --signal: #5ef0a8;         /* verde da tela do aparelho */

  --ok: #1d7a46;
  --error: #b42318;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; }
abbr[title] { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-sm { padding: 10px 16px; font-size: 0.94rem; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }

.btn-ghost { border-color: var(--line-dark-strong); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.32); }

.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(29, 27, 28, 0.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo { width: 129px; height: 38px; flex: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu ul a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-menu ul a:hover,
.nav-menu ul a.is-active { color: var(--text); }
.nav-menu ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(29, 27, 28, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .nav-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s var(--ease);
  }
  .nav-menu ul { flex-direction: column; gap: 0; }
  .nav-menu ul a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu ul a::after { display: none; }
  .nav-menu .btn { align-self: flex-start; }
}

/* ---------- Topo (hero) ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 4vw, 44px);
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}
/* Retícula de tela de instrumento ao fundo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-text);
  font: 500 0.8rem/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.eyebrow-light { color: var(--accent-on-dark); }

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
}
.hero h1 span { display: block; color: var(--accent-on-dark); }

.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--on-dark-muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Tela do aparelho de ultrassom */
.scope {
  margin: 0;
  padding: 14px;
  background: linear-gradient(180deg, #2e2a2b, #191718);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(255, 255, 255, 0.02),
    0 0 80px -20px rgba(94, 240, 168, 0.16);
}
.scope-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 12px;
  color: var(--on-dark-muted);
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.08em;
}
.scope-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  animation: led 2.4s ease-in-out infinite;
}
.scope-meta { margin-left: auto; }
@keyframes led { 50% { opacity: 0.35; } }

.scope-screen {
  overflow: hidden;
  aspect-ratio: 560 / 300;
  background: #06110d;
  border: 1px solid rgba(94, 240, 168, 0.16);
  border-radius: 10px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}
.scope-screen canvas { width: 100%; height: 100%; }

.scope-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}
.scope-readouts div {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}
.scope-readouts dt {
  color: var(--on-dark-muted);
  font: 500 0.66rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scope-readouts dd {
  margin: 4px 0 0;
  color: var(--signal);
  font: 500 1.05rem/1.2 var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Faixa com os métodos */
.method-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  color: var(--on-dark-muted);
  font-size: 0.97rem;
}
.method-strip li { display: inline-flex; align-items: center; gap: 10px; }
.method-strip abbr {
  padding: 3px 8px;
  border: 1px solid rgba(255, 92, 99, 0.5);
  border-radius: 6px;
  color: var(--accent-on-dark);
  font: 500 0.78rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
}
.method-strip-levels {
  margin-left: auto;
  color: var(--on-dark);
  font: 500 0.8rem/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .scope { max-width: 620px; }
}
@media (max-width: 640px) {
  .method-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .method-strip-levels { grid-column: 1 / -1; margin-left: 0; }
  .scope { padding: 10px; }
  .scope-readouts { gap: 6px; }
  .scope-readouts div { padding: 8px; }
  .scope-readouts dd { font-size: 0.92rem; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
}
.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Grupos (Para inspetores / Para empresas) */
.group {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.group-label { position: sticky; top: calc(var(--header-h) + 32px); }
.group-label p { margin-top: 14px; color: var(--muted); }
.section-dark .group-label p { color: var(--on-dark-muted); }

.group-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 999px;
  font: 500 0.76rem/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.group-tag-accent { background: var(--accent); color: #fff; }

@media (max-width: 960px) {
  .group { grid-template-columns: minmax(0, 1fr); }
  .group-label { position: static; max-width: 560px; }
}

/* ---------- Cards de serviço ---------- */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-2 .card-feature { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .cards-2 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(29, 27, 28, 0.35);
}
.card h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; }
.card p { color: var(--muted); }

.card-num {
  color: var(--accent-text);
  font: 500 0.85rem/1 var(--font-mono);
  letter-spacing: 0.08em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.card-link span { transition: transform 0.2s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

.card-dark {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.card-dark:hover { border-color: var(--line-dark-strong); box-shadow: none; }
.card-dark p { color: var(--on-dark-muted); }
.card-dark .card-num { color: var(--accent-on-dark); }

.card-feature {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(238, 50, 55, 0.18), transparent 60%),
    var(--ink-3);
  border-color: rgba(238, 50, 55, 0.4);
}
.card-feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.card-feature .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .card-feature .checklist { grid-template-columns: minmax(0, 1fr); }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 500 0.8rem/1.3 var(--font-mono);
  letter-spacing: 0.04em;
}
.chips .chip-alt { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.chips-dark li { border-color: var(--line-dark-strong); color: var(--on-dark); }

.checklist {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px 10px 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  font-weight: 500;
  line-height: 1.35;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 6px;
  background: var(--brand-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checklist-light li {
  background: var(--card);
  border-color: var(--line);
}

/* ---------- Métodos ---------- */
.methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1000px) { .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .methods { grid-template-columns: minmax(0, 1fr); } }

.method {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.method:hover { border-color: var(--brand-red); transform: translateY(-3px); }
.method h3 { margin-top: 22px; font-size: 1.35rem; font-weight: 700; }
.method p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

.method-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.method-icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  background: var(--ink);
  border-radius: 12px;
  fill: none;
  stroke: var(--accent-on-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.method-code {
  color: rgba(29, 27, 28, 0.14);
  font: 800 2.6rem/1 var(--font-display);
  font-stretch: 80%;
  letter-spacing: 0.02em;
}

.methods-note {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.methods-note strong { color: var(--text); font-weight: 600; }

/* ---------- Cursos ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(44px, 6vw, 64px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.facts div { padding: 22px 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt {
  font: 800 1.45rem/1.15 var(--font-display);
  font-stretch: 85%;
}
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Linha que liga as etapas */
.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 26px;
  right: 26px;
  border-top: 2px dashed var(--line-strong);
}
.step { position: relative; padding-right: 8px; }
.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -6px 0 0 -6px;
  background: var(--ink);
  color: #fff;
  border: 6px solid var(--paper-2);
  box-sizing: content-box;
  border-radius: 50%;
  font: 800 1.35rem/1 var(--font-display);
}
.step:last-child .step-num { background: var(--accent); }
.step h3 { margin-top: 20px; font-size: 1.45rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); }

@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { top: 26px; bottom: 26px; left: 25px; right: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 10px; }
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(44px, 6vw, 64px);
}
@media (max-width: 960px) { .course-detail { grid-template-columns: minmax(0, 1fr); } }

.hours,
.requirements {
  padding: clamp(22px, 3vw, 30px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.requirements { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.hours h3,
.requirements h3 { margin-bottom: 16px; font-size: 1.3rem; font-weight: 700; }

.table-wrap { overflow-x: auto; }
.hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.hours th,
.hours td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.hours th:first-child,
.hours td:first-child { padding-left: 0; }
.hours tbody th,
.hours td:not(:last-child) { white-space: nowrap; }
.hours thead th {
  color: var(--muted);
  font: 500 0.72rem/1.3 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .hours table { font-size: 0.9rem; }
  .hours th,
  .hours td { padding: 10px 4px; }
  .hours th:last-child,
  .hours td:last-child { padding-right: 0; }
  .hours thead th { font-size: 0.64rem; letter-spacing: 0.04em; }
}
.hours tbody th { font-weight: 600; }
.hours td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hours tbody tr:last-child > * { border-bottom: 0; }
.hours-note { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }

.requirements .checklist { margin: 0; }
.requirements .checklist li { min-height: 0; color: var(--text); }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 6vw, 64px);
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(80% 140% at 100% 100%, rgba(0, 0, 0, 0.18), transparent 60%),
    var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
}
.callout h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; }
.callout p { margin-top: 8px; max-width: 580px; color: rgba(255, 255, 255, 0.92); }
.callout .btn { flex: none; }
@media (max-width: 760px) {
  .callout { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-list {
  display: grid;
  gap: 2px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-label {
  padding-top: 3px;
  color: var(--muted);
  font: 500 0.72rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-list a {
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--accent-text); }

.contact-tips {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--brand-red);
  background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.contact-tips-title { font-weight: 600; }
.contact-tips ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.contact-tips strong { color: var(--text); font-weight: 600; }

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -32px rgba(29, 27, 28, 0.4);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 6px; }
.field label { font-size: 0.93rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fbfaf8;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  padding-right: 42px;
  background: #fbfaf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%231d1b1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(238, 50, 55, 0.25);
}
.field ::placeholder { color: #8d8785; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}
.form-status { color: var(--ok); font-weight: 500; }
.form-status.is-error { color: var(--error); }
.form-status:empty { display: none; }

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 52px 0 36px;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: start;
}
.footer-logo { width: 150px; height: 44px; }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--accent-on-dark); }
.footer-nav {
  display: grid;
  gap: 6px;
}
.footer-nav a { text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--on-dark); }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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