/* ==========================================================================
   PRIME Gestão e Consultoria em Segurança do Trabalho — folha de estilo
   ========================================================================== */

/* ---------- Fontes (hospedadas localmente) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-800.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/lato-700.woff2") format("woff2");
}

/* ---------- Variáveis ---------- */
:root {
  --red: #eb1a37;
  --red-dark: #c8122d;
  --red-link-hover: #b8102a;
  --red-soft: #fff5f6;
  --navy: #001f58;
  --ink: #141a2e;
  --text: #3a4257;
  --text-soft: #4a5266;
  --line: #dfe3ee;
  --line-soft: #eceff5;
  --bg-soft: #f3f5f9;
  --pink-on-navy: #ff8597;
  --pink-hover: #ff6b80;
  --pink-on-red: #ffd5db;
  --muted-on-navy: #c9d3ec;
  --muted-on-navy-2: #a9b6d8;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Lato", sans-serif;
  --container: 1240px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-link-hover);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.on-navy :focus-visible,
.site-header :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
  color: var(--navy);
}

section[id] {
  scroll-margin-top: var(--header-h);
}

/* ---------- Utilitários de layout e tipografia ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px 24px;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow--navy {
  color: var(--pink-on-navy);
}

.eyebrow--red {
  color: var(--pink-on-red);
}

.title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}

.title--light {
  color: #fff;
}

.heading {
  display: flex;
  flex-direction: column;
}

.heading--center {
  align-items: center;
  text-align: center;
}

.heading::after {
  content: "";
  order: 99;
  width: 0;
  height: 0;
  margin-top: 22px;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 18px solid var(--red);
  align-self: flex-start;
}

.heading--center::after {
  align-self: center;
}

.heading--plain::after {
  content: none;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}

.lead strong {
  color: var(--ink);
}

.stack {
  display: flex;
  flex-direction: column;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 4px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn--outline {
  padding: 14px 26px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: none;
  gap: 28px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  color: #fff;
}

.site-nav a:hover {
  color: var(--pink-hover);
}

.site-header__cta {
  padding: 12px 22px;
  font-size: 17px;
}

@media (min-width: 921px) {
  .site-nav {
    display: flex;
  }
}

/* Botão do menu móvel: só aparece com JavaScript ativo e até 920px */
.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: #fff;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 920px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-header__logo {
    order: 1;
    margin-right: auto;
    min-width: 0;
  }

  .site-header__cta {
    order: 3;
  }

  .nav-toggle {
    order: 4;
  }

  .site-header__cta {
    padding: 10px 14px;
    font-size: 16px;
  }

  .js .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px 24px 16px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  .js .site-header.is-open .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .js .site-header.is-open .site-nav a:last-child {
    border-bottom: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: stretch;
}

.hero__copy {
  padding: 88px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-on-navy);
}

.hero__kicker::before {
  content: "";
  flex: none;
  width: 32px;
  height: 3px;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__title span {
  color: var(--red);
}

.hero__text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-on-navy);
  max-width: 540px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  color: var(--muted-on-navy-2);
}

.hero__media {
  position: relative;
  min-height: 460px;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 38%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(0, 31, 88, 0) 30%);
}

.hero__bar {
  height: 8px;
  background: var(--red);
}

/* ---------- Sobre ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 64px;
  align-items: start;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillars {
  border-top: 2px solid var(--navy);
}

.pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.pillar__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--red);
}

.pillar__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--navy);
}

.pillar__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- Serviços ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-head__text {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cell-grid {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

.cell-grid--services {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.card {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.card:hover {
  background: var(--red-soft);
}

.card__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--red);
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
}

.card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- Mão de obra ---------- */
.workforce {
  background: var(--navy);
  color: #fff;
  position: relative;
}

.workforce__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1060px) {
  .workforce__intro {
    position: sticky;
    top: 110px;
  }
}

.workforce__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-on-navy);
  text-wrap: pretty;
}

.callout {
  background: var(--red);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 4px;
}

.callout__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
}

.callout__text {
  font-size: 16px;
  line-height: 1.55;
}

.activities {
  display: flex;
  flex-direction: column;
}

.activity {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.activity:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.activity__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--red);
}

.activity__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
}

.activity__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted-on-navy);
}

/* ---------- Procedimentos ---------- */
.standards {
  padding: 0 0 110px;
}

.standards__banner {
  position: relative;
  height: clamp(240px, 32vw, 420px);
  overflow: hidden;
}

.standards__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.standards__inner {
  max-width: var(--container);
  margin: -80px auto 0;
  padding: 0 24px;
  position: relative;
}

.standards__panel {
  background: var(--red);
  color: #fff;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px;
  align-items: end;
  border-radius: 4px;
}

.standards__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.standards__text {
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.procedures {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 20px;
}

.procedure {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.procedure img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
}

.procedure__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.procedure__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
}

.procedure__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ---------- Treinamentos ---------- */
.training {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.training__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 15px;
  color: var(--ink);
}

.chip strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--red);
}

.chip--note {
  padding: 10px 4px;
  background: none;
  border: 0;
  color: var(--text-soft);
}

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

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

/* ---------- Documentação e programas ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 32px;
}

.doc-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doc-card--navy {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.doc-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.doc-card__img--docs {
  object-position: center 30%;
}

.doc-card__img--programs {
  object-position: center 20%;
}

.doc-card__body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}

.doc-card--navy .doc-card__title {
  color: #fff;
}

.doc-list {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.doc-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.doc-list strong {
  color: var(--ink);
}

.doc-card--navy .doc-list {
  color: var(--muted-on-navy);
}

.doc-card--navy .doc-list li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.doc-card--navy .doc-list strong {
  color: #fff;
}

.doc-card__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-on-navy-2);
  text-wrap: pretty;
}

/* ---------- Perícias e profissionais ---------- */
.expert {
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.expert--photo-side {
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
}

.expert--photo-side > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.expert--photo-top {
  display: flex;
  flex-direction: column;
}

.expert--photo-top > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 15%;
}

.expert__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert--photo-top .expert__body {
  padding: 32px;
}

.expert__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}

.expert__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.expert__list strong {
  display: block;
  color: var(--ink);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.expert__note {
  font-size: 15px;
  color: var(--text-soft);
}

/* ---------- Materiais ---------- */
.materials {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 6px;
}

.tab {
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  color: var(--navy);
}

.tab[aria-selected="true"] {
  background: var(--red);
  color: #fff;
}

.material {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.material[hidden] {
  display: none;
}

.material__figure {
  flex: 2 1 520px;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.material__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 617;
  object-fit: cover;
}

.material__body {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.material__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--red);
}

.material__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  color: var(--navy);
}

.material__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---------- Clientes ---------- */
.clients {
  padding: 100px 24px;
}

.clients__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.clients .title {
  font-size: clamp(34px, 4vw, 50px);
}

.cell-grid--clients {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
}

.client {
  background: #fff;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.client img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Contato ---------- */
.contact {
  background: var(--navy);
  color: #fff;
  padding: 110px 24px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: start;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact__title span {
  color: var(--red);
}

.contact__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-on-navy);
  max-width: 500px;
}

.contact__people {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.person {
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.person__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--navy);
}

.person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.person__whatsapp {
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.03em;
}

.person__whatsapp:hover {
  background: var(--red-dark);
  color: #fff;
}

.person__mail {
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.person__mail:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 96px 24px 0;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer__logo {
  height: 38px;
  width: auto;
}

.site-footer__legal {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-navy-2);
  font-style: normal;
}

.site-footer__legal a,
.site-footer__notice a {
  color: var(--pink-on-navy);
  text-decoration: underline;
}

.site-footer__legal a:hover,
.site-footer__notice a:hover {
  color: var(--pink-hover);
}

.site-footer__notice {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-on-navy-2);
}

/* ---------- Páginas de texto (privacidade, erro 404) ---------- */
.page {
  padding: 80px 24px 96px;
}

.page__inner {
  max-width: 820px;
  margin: 0 auto;
}

.page__updated {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-soft);
}

.page__body {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.page__body h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.page__body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
  list-style: disc;
}

.page__body a {
  color: var(--red-link-hover);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.page__back {
  margin-top: 48px;
}

.page--center {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page--center .page__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.page__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(88px, 18vw, 160px);
  line-height: 0.9;
  color: var(--red);
}

/* ---------- Telas estreitas ---------- */
@media (max-width: 480px) {
  .expert--photo-side {
    grid-template-columns: 1fr;
  }

  .expert--photo-side > img {
    height: 260px;
    object-position: center top;
  }

  .standards__panel {
    padding: 32px 24px;
  }

  .doc-card__body {
    padding: 28px 24px;
  }
}

@media (max-width: 360px) {
  .site-header__inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }

  .site-header__cta {
    padding: 8px 10px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
