/* ==========================================================================
   OTMA Formação de Vigilantes, folha de estilo da home
   Paleta extraída do escudo: preto, amarelo e vermelho.
   Contraste: texto sempre escuro sobre claro/amarelo e claro sobre escuro.
   Amarelo sobre marfim e vermelho sobre preto só em elementos decorativos.
   ========================================================================== */

/* Fontes --------------------------------------------------------------- */
/* Barlow Condensed e Roboto servidas pelo próprio site (antes vinham do Google Fonts, que
   atrasava a primeira pintura). Só os subconjuntos latin e latin-ext; o navegador baixa o
   latin-ext apenas se a página usar algum caractere dele. Ao trocar uma fonte, mude o nome
   do arquivo: o servidor guarda as fontes em cache por 1 ano. */

/* Barlow Condensed normal 600, latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-condensed-600-latin-ext-v13.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Condensed normal 600, latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-condensed-600-latin-v13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow Condensed normal 700, latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-condensed-700-latin-ext-v13.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Condensed normal 700, latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-condensed-700-latin-v13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow Condensed normal 800, latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/barlow-condensed-800-latin-ext-v13.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Condensed normal 800, latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/barlow-condensed-800-latin-v13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Roboto italic 400, latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-italic-latin-ext-v51.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto italic 400, latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-italic-latin-v51.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Roboto normal 400 a 700 (fonte variável), latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-v51.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto normal 400 a 700 (fonte variável), latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-v51.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Marca */
  --yellow: #FFCC2A;        /* amarelo do escudo */
  --yellow-hover: #F2B90F;
  --red: #EE3136;           /* vermelho do contorno do escudo */
  --on-yellow: #141416;

  /* Fundos */
  --bg-dark: #0F0F11;
  --bg-hero: #141416;
  --bg-light: #FFFDF4;
  --bg-muted: #ECEBE4;
  --bg-panel: #201F1F;      /* preto do escudo */

  /* Texto (contraste validado sobre o fundo correspondente) */
  --text-on-light: #17171A;        /* 17:1 sobre marfim */
  --text-on-dark: #F7F6F0;         /* 18:1 sobre preto */
  --muted-on-light: #55554F;       /* 7.4:1 sobre marfim */
  --muted-on-dark: #B7B6AD;        /* 9.5:1 sobre preto */

  /* Bordas */
  --border-accent: rgba(255, 204, 42, .55);
  --border-accent-strong: rgba(255, 204, 42, .8);
  --border-light: #D9D6C6;
  --border-light-accent: #D8A51C;
  --divider-dark: #26262A;

  /* Tipografia */
  --font-heading: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.6rem + 3.6vw, 4rem);
  --fs-section: clamp(2.25rem, 1.55rem + 2.2vw, 3.5rem);
  --fs-card: clamp(1.5rem, 1.4rem + .3vw, 1.625rem);
  --fs-stat: clamp(2.5rem, 2.1rem + 1.2vw, 3rem);

  /* Espaço */
  --container: 1200px;
  --gutter: 20px;
  --section-y: 56px;
  --gap: 24px;
  --gap-lg: 64px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --duration: 180ms;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 64px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; --section-y: 80px; }
}
@media (min-width: 1440px) {
  :root { --section-y: 96px; }
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-underline-offset: .2em; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.section--light :focus-visible,
.texture-light :focus-visible { outline-color: var(--text-on-light); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Seções e texturas ----------------------------------------------------- */

.section { padding-block: var(--section-y); }
.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }

.texture-dark {
  background: var(--bg-hero) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='1600' height='1000' fill='%23141416'/%3E%3Cpath d='M0.0,0.0L173.4,0.0L355.5,252.2Z' fill='%23111113'/%3E%3Cpath d='M0.0,0.0L355.5,252.2L0.0,196.9Z' fill='%23141416'/%3E%3Cpath d='M173.4,0.0L537.9,0.0L539.0,207.5Z' fill='%23111113'/%3E%3Cpath d='M173.4,0.0L539.0,207.5L355.5,252.2Z' fill='%2318181B'/%3E%3Cpath d='M537.9,0.0L843.9,0.0L726.7,305.2Z' fill='%23141416'/%3E%3Cpath d='M537.9,0.0L726.7,305.2L539.0,207.5Z' fill='%23141416'/%3E%3Cpath d='M843.9,0.0L1022.5,0.0L1141.4,241.6Z' fill='%23161618'/%3E%3Cpath d='M843.9,0.0L1141.4,241.6L726.7,305.2Z' fill='%23111113'/%3E%3Cpath d='M1022.5,0.0L1310.2,0.0L1285.8,205.8Z' fill='%23141416'/%3E%3Cpath d='M1022.5,0.0L1285.8,205.8L1141.4,241.6Z' fill='%23161618'/%3E%3Cpath d='M1310.2,0.0L1600.0,0.0L1600.0,195.4Z' fill='%23111113'/%3E%3Cpath d='M1310.2,0.0L1600.0,195.4L1285.8,205.8Z' fill='%231C1C20'/%3E%3Cpath d='M0.0,196.9L355.5,252.2L192.6,553.8Z' fill='%23141416'/%3E%3Cpath d='M0.0,196.9L192.6,553.8L0.0,469.1Z' fill='%23111113'/%3E%3Cpath d='M355.5,252.2L539.0,207.5L539.8,560.3Z' fill='%23161618'/%3E%3Cpath d='M355.5,252.2L539.8,560.3L192.6,553.8Z' fill='%23141416'/%3E%3Cpath d='M539.0,207.5L726.7,305.2L844.2,426.2Z' fill='%231C1C20'/%3E%3Cpath d='M539.0,207.5L844.2,426.2L539.8,560.3Z' fill='%2318181B'/%3E%3Cpath d='M726.7,305.2L1141.4,241.6L1073.9,435.4Z' fill='%23111113'/%3E%3Cpath d='M726.7,305.2L1073.9,435.4L844.2,426.2Z' fill='%231C1C20'/%3E%3Cpath d='M1141.4,241.6L1285.8,205.8L1401.0,493.8Z' fill='%23141416'/%3E%3Cpath d='M1141.4,241.6L1401.0,493.8L1073.9,435.4Z' fill='%23161618'/%3E%3Cpath d='M1285.8,205.8L1600.0,195.4L1600.0,495.1Z' fill='%23161618'/%3E%3Cpath d='M1285.8,205.8L1600.0,495.1L1401.0,493.8Z' fill='%23141416'/%3E%3Cpath d='M0.0,469.1L192.6,553.8L216.9,664.7Z' fill='%23141416'/%3E%3Cpath d='M0.0,469.1L216.9,664.7L0.0,741.3Z' fill='%23141416'/%3E%3Cpath d='M192.6,553.8L539.8,560.3L444.3,836.4Z' fill='%231C1C20'/%3E%3Cpath d='M192.6,553.8L444.3,836.4L216.9,664.7Z' fill='%2318181B'/%3E%3Cpath d='M539.8,560.3L844.2,426.2L877.5,800.0Z' fill='%2318181B'/%3E%3Cpath d='M539.8,560.3L877.5,800.0L444.3,836.4Z' fill='%23111113'/%3E%3Cpath d='M844.2,426.2L1073.9,435.4L1079.9,797.1Z' fill='%23111113'/%3E%3Cpath d='M844.2,426.2L1079.9,797.1L877.5,800.0Z' fill='%23141416'/%3E%3Cpath d='M1073.9,435.4L1401.0,493.8L1356.4,722.7Z' fill='%23161618'/%3E%3Cpath d='M1073.9,435.4L1356.4,722.7L1079.9,797.1Z' fill='%2318181B'/%3E%3Cpath d='M1401.0,493.8L1600.0,495.1L1600.0,728.2Z' fill='%231C1C20'/%3E%3Cpath d='M1401.0,493.8L1600.0,728.2L1356.4,722.7Z' fill='%2318181B'/%3E%3Cpath d='M0.0,741.3L216.9,664.7L223.2,1000.0Z' fill='%231C1C20'/%3E%3Cpath d='M0.0,741.3L223.2,1000.0L0.0,1000.0Z' fill='%23161618'/%3E%3Cpath d='M216.9,664.7L444.3,836.4L505.7,1000.0Z' fill='%23111113'/%3E%3Cpath d='M216.9,664.7L505.7,1000.0L223.2,1000.0Z' fill='%23111113'/%3E%3Cpath d='M444.3,836.4L877.5,800.0L826.3,1000.0Z' fill='%23161618'/%3E%3Cpath d='M444.3,836.4L826.3,1000.0L505.7,1000.0Z' fill='%23111113'/%3E%3Cpath d='M877.5,800.0L1079.9,797.1L1041.2,1000.0Z' fill='%23161618'/%3E%3Cpath d='M877.5,800.0L1041.2,1000.0L826.3,1000.0Z' fill='%2318181B'/%3E%3Cpath d='M1079.9,797.1L1356.4,722.7L1249.9,1000.0Z' fill='%231C1C20'/%3E%3Cpath d='M1079.9,797.1L1249.9,1000.0L1041.2,1000.0Z' fill='%23161618'/%3E%3Cpath d='M1356.4,722.7L1600.0,728.2L1600.0,1000.0Z' fill='%231C1C20'/%3E%3Cpath d='M1356.4,722.7L1600.0,1000.0L1249.9,1000.0Z' fill='%23111113'/%3E%3C/svg%3E") center / cover no-repeat;
  color: var(--text-on-dark);
}
.texture-light {
  background: var(--bg-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='1600' height='1000' fill='%23ECEBE4'/%3E%3Cpath d='M0.0,0.0L208.2,0.0L359.6,370.1Z' fill='%23ECEBE4'/%3E%3Cpath d='M0.0,0.0L359.6,370.1L0.0,390.3Z' fill='%23F0EFE9'/%3E%3Cpath d='M208.2,0.0L533.0,0.0L574.5,275.1Z' fill='%23ECEBE4'/%3E%3Cpath d='M208.2,0.0L574.5,275.1L359.6,370.1Z' fill='%23F0EFE9'/%3E%3Cpath d='M533.0,0.0L1028.3,0.0L967.7,442.2Z' fill='%23F3F2EC'/%3E%3Cpath d='M533.0,0.0L967.7,442.2L574.5,275.1Z' fill='%23E7E6DE'/%3E%3Cpath d='M1028.3,0.0L1259.0,0.0L1262.6,278.6Z' fill='%23F3F2EC'/%3E%3Cpath d='M1028.3,0.0L1262.6,278.6L967.7,442.2Z' fill='%23F0EFE9'/%3E%3Cpath d='M1259.0,0.0L1600.0,0.0L1600.0,315.3Z' fill='%23E7E6DE'/%3E%3Cpath d='M1259.0,0.0L1600.0,315.3L1262.6,278.6Z' fill='%23F3F2EC'/%3E%3Cpath d='M0.0,390.3L359.6,370.1L306.6,653.6Z' fill='%23ECEBE4'/%3E%3Cpath d='M0.0,390.3L306.6,653.6L0.0,618.3Z' fill='%23ECEBE4'/%3E%3Cpath d='M359.6,370.1L574.5,275.1L698.7,773.6Z' fill='%23F0EFE9'/%3E%3Cpath d='M359.6,370.1L698.7,773.6L306.6,653.6Z' fill='%23F0EFE9'/%3E%3Cpath d='M574.5,275.1L967.7,442.2L986.3,627.3Z' fill='%23E7E6DE'/%3E%3Cpath d='M574.5,275.1L986.3,627.3L698.7,773.6Z' fill='%23E7E6DE'/%3E%3Cpath d='M967.7,442.2L1262.6,278.6L1389.9,622.0Z' fill='%23E7E6DE'/%3E%3Cpath d='M967.7,442.2L1389.9,622.0L986.3,627.3Z' fill='%23ECEBE4'/%3E%3Cpath d='M1262.6,278.6L1600.0,315.3L1600.0,576.4Z' fill='%23E7E6DE'/%3E%3Cpath d='M1262.6,278.6L1600.0,576.4L1389.9,622.0Z' fill='%23E7E6DE'/%3E%3Cpath d='M0.0,618.3L306.6,653.6L380.6,1000.0Z' fill='%23F3F2EC'/%3E%3Cpath d='M0.0,618.3L380.6,1000.0L0.0,1000.0Z' fill='%23ECEBE4'/%3E%3Cpath d='M306.6,653.6L698.7,773.6L565.2,1000.0Z' fill='%23F3F2EC'/%3E%3Cpath d='M306.6,653.6L565.2,1000.0L380.6,1000.0Z' fill='%23F0EFE9'/%3E%3Cpath d='M698.7,773.6L986.3,627.3L871.4,1000.0Z' fill='%23E7E6DE'/%3E%3Cpath d='M698.7,773.6L871.4,1000.0L565.2,1000.0Z' fill='%23ECEBE4'/%3E%3Cpath d='M986.3,627.3L1389.9,622.0L1333.3,1000.0Z' fill='%23E7E6DE'/%3E%3Cpath d='M986.3,627.3L1333.3,1000.0L871.4,1000.0Z' fill='%23F0EFE9'/%3E%3Cpath d='M1389.9,622.0L1600.0,576.4L1600.0,1000.0Z' fill='%23ECEBE4'/%3E%3Cpath d='M1389.9,622.0L1600.0,1000.0L1333.3,1000.0Z' fill='%23F3F2EC'/%3E%3C/svg%3E") center / cover no-repeat;
  color: var(--text-on-light);
}

/* Títulos de seção ------------------------------------------------------ */

.section-heading { display: grid; gap: 20px; margin-bottom: 48px; }
.section-heading--center { text-align: center; justify-items: center; max-width: 850px; margin-inline: auto; }
.section-heading--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-light);
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--red);
}
.eyebrow--dark { color: var(--yellow); }
.eyebrow--dark::before { background: var(--yellow); }

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-lead { max-width: 640px; font-size: 1.0625rem; }
.section--light .section-lead,
.texture-light .section-lead { color: var(--muted-on-light); }
.section--dark .section-lead,
.texture-dark .section-lead,
.process-panel .section-lead { color: var(--muted-on-dark); }
.section-heading--center .section-lead { margin-inline: auto; }

.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-card);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.text-accent { color: var(--yellow); }

/* Botões ---------------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.button--primary { background: var(--yellow); color: var(--on-yellow); }
.button--primary:hover { background: var(--yellow-hover); }
.button--outline { background: transparent; color: var(--text-on-dark); border-color: var(--border-accent-strong); }
.button--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.button--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.button--dark .icon { color: var(--yellow); }
.button--dark:hover { background: #2A2A2E; }
.button--small { min-height: 48px; padding-inline: 22px; font-size: 1rem; }
.button--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-light);
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
}
.text-link .icon { transition: transform var(--duration) var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--dark { color: var(--text-on-dark); border-bottom-color: var(--yellow); }

/* Trilha de navegação (breadcrumb), usada sobre fundo escuro */

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "/"; margin-inline: 8px; color: var(--muted-on-dark); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb a[aria-current="page"] { color: var(--text-on-dark); }

/* Cabeçalho ------------------------------------------------------------- */

.site-header { background: var(--bg-dark); color: var(--text-on-dark); }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-on-dark);
}
.brand img { width: 56px; height: 56px; }
.brand-text { display: grid; line-height: 1; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-tag {
  margin-top: 4px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.header-contacts { display: none; }

.menu-toggle, .menu-close {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border-accent-strong);
  background: transparent;
  color: var(--text-on-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

/* No mobile o bloco fica sem altura: só o menu (popover) sai dele, na camada superior. */
.header-bottom-inner > .social { display: none; }

@media (min-width: 1024px) {
  .header-bottom { border-top: 1px solid var(--divider-dark); }
  .header-bottom-inner > .social { display: flex; }
}

/* Menu mobile (popover nativo, sem JS para abrir) */
.main-nav {
  inset: 0 0 auto auto;
  width: min(360px, 100%);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  border-left: 3px solid var(--yellow);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow-y: auto;
}
.main-nav::backdrop { background: rgba(0, 0, 0, .6); }
.main-nav .menu-close { margin-left: auto; margin-bottom: 24px; display: grid; }
.main-nav ul { display: grid; }
.main-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider-dark);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--yellow); }

.social { display: flex; gap: 8px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--on-yellow);
  transition: background-color var(--duration) var(--ease);
}
.social a:hover { background: var(--yellow-hover); }

@media (min-width: 1024px) {
  .brand img { width: 64px; height: 64px; }
  .header-top { min-height: 108px; }
  .header-contacts { display: flex; gap: 40px; }
  .header-contacts li { display: flex; align-items: center; gap: 14px; }
  .contact-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-accent-strong);
    color: var(--yellow);
    font-size: 1.25rem;
  }
  .contact-label, .contact-value { display: block; }
  .contact-label { font-size: .8125rem; color: var(--muted-on-dark); }
  .contact-value { font-weight: 500; text-decoration: none; }
  a.contact-value:hover { color: var(--yellow); }
  .menu-toggle { display: none; }

  .header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
  }
  /* No desktop o popover vira navegação comum, sempre visível. */
  .main-nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .main-nav .menu-close { display: none; }
  .main-nav ul { display: flex; gap: 40px; }
  .main-nav a { padding: 8px 0; border: 0; font-size: .8125rem; border-bottom: 2px solid transparent; }
  .main-nav a[aria-current] { border-bottom-color: var(--yellow); }
}

@media (max-width: 1023.98px) {
  .main-nav:not(:popover-open) { display: none; }
}

/* Hero ------------------------------------------------------------------ */

.hero { padding-block: 56px 64px; overflow: hidden; }

.hero-grid { display: grid; gap: 48px; }

.hero-content { display: grid; gap: 24px; align-content: center; position: relative; z-index: 1; }

.hero-title {
  display: grid;
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.hero-lead { max-width: 440px; color: var(--muted-on-dark); font-size: 1.0625rem; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid var(--border-accent);
  transform: rotate(45deg);
  z-index: -1;
}
.hero-visual img { width: min(460px, 82%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }

.hero-aside { display: grid; gap: 32px; align-content: center; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-aside .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--yellow);
}
.stat dt { font-size: .8125rem; line-height: 1.35; color: var(--muted-on-dark); }
.stat dd { display: flex; align-items: center; gap: 6px; }
.stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1;
}
.stat-star { width: 22px; height: 22px; color: var(--yellow); }

.next-class {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: var(--yellow);
  color: var(--on-yellow);
  text-decoration: none;
  transition: background-color var(--duration) var(--ease);
}
.next-class:hover { background: var(--yellow-hover); }
.next-class-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.next-class-date { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1.05; }
.next-class-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; }

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-aside { grid-column: 1 / -1; grid-template-columns: 2fr 1fr; align-items: stretch; }
}

@media (min-width: 1024px) {
  .hero { padding-block: 96px; }
  .hero-grid { grid-template-columns: 34fr 45fr 21fr; gap: 32px; align-items: center; }
  .hero-visual img { width: 100%; }
  .hero-aside { grid-column: auto; grid-template-columns: 1fr; }
  .hero-aside .stats { grid-template-columns: 1fr; gap: 28px; }
}

/* A escola -------------------------------------------------------------- */

.about-grid { display: grid; gap: 48px; }

.about-media { position: relative; padding-bottom: 20%; }
.about-main { width: 86%; margin-left: auto; aspect-ratio: .7; object-fit: cover; }
.about-inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--bg-light);
}

.about-content { display: grid; gap: 32px; align-content: center; justify-items: start; }
.about-content .section-heading { margin-bottom: 0; }

.value-grid { display: grid; gap: var(--gap); width: 100%; }
.value-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 32px;
  border: 1px solid var(--border-light-accent);
}
.value-card p { color: var(--muted-on-light); }

@media (min-width: 640px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 40fr 60fr; gap: var(--gap-lg); align-items: center; }
}

/* Diferenciais ---------------------------------------------------------- */

.feature-grid { display: grid; gap: var(--gap); }
.feature-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  padding: 36px 28px;
  border: 1px solid var(--border-accent);
  text-align: center;
  transition: border-color var(--duration) var(--ease);
}
.feature-card:hover { border-color: var(--yellow); }
.feature-card p { color: var(--muted-on-dark); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 2.25rem;
}

@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

/* Cursos ---------------------------------------------------------------- */

.course-grid { display: grid; gap: 40px var(--gap); }
.course-card { display: grid; height: 100%; background: var(--bg-light); }
.course-card img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.course-body { display: grid; gap: 12px; align-content: start; padding: 28px 28px 32px; }
.course-body p { color: var(--muted-on-light); }
.course-body .text-link { justify-self: start; margin-top: 8px; }

@media (min-width: 768px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }

.catalog {
  margin-top: var(--gap-lg);
  padding: 40px 32px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.catalog-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.catalog-grid { display: grid; gap: 32px; }
.catalog-link { margin-top: 32px; }
.catalog .check-list a { color: inherit; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.catalog .check-list a:hover, .catalog .check-list a:focus-visible { color: var(--yellow); }
.catalog-group {
  margin-bottom: 16px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-on-dark);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  background: var(--yellow);
}

@media (min-width: 768px) {
  .catalog { padding: 48px; }
  .catalog-grid { grid-template-columns: 3fr 2fr; gap: 48px; }
}

/* Como funciona --------------------------------------------------------- */

.process { padding-bottom: calc(var(--section-y) + 16px); }
.process-grid { display: grid; }
.process-media { width: 100%; aspect-ratio: 1.2; object-fit: cover; object-position: 50% 85%; }
.process-panel {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.process-panel .section-heading { margin-bottom: 32px; }

.step-grid { display: grid; gap: var(--gap); }
.step-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--border-accent);
}
.step-card p { color: var(--muted-on-dark); }
.step-number {
  font-family: var(--font-heading);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 8px;
}

@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .process-media { grid-column: 1 / 7; grid-row: 1; aspect-ratio: .66; height: 100%; }
  .process-panel { grid-column: 5 / 13; grid-row: 1; padding: 48px; margin-block: 48px; }
}

/* Turmas ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border-accent); }
.schedule { width: 100%; min-width: 560px; border-collapse: collapse; }
.schedule th, .schedule td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--divider-dark); }
.schedule thead th {
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.schedule tbody th {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.schedule td { color: var(--muted-on-dark); }
.schedule td time { color: var(--text-on-dark); font-weight: 500; }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.schedule tbody tr:hover { background: var(--bg-panel); }
.table-note { margin-top: 16px; font-size: .875rem; color: var(--muted-on-dark); }

/* Depoimentos ----------------------------------------------------------- */

.testimonial-grid { display: grid; gap: var(--gap); }
.testimonial-intro .section-heading { margin-bottom: 32px; }
.stats--row { grid-template-columns: repeat(2, minmax(0, max-content)); gap: 40px; }
.stats--row .stat dt { color: var(--muted-on-light); }
.stat-star--dark { color: var(--text-on-light); }

.testimonial-card {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 36px;
  border: 1px solid var(--border-light-accent);
}
.rating { display: flex; gap: 4px; color: #B07C00; } /* 3.6:1 sobre marfim */
.rating .icon { width: 22px; height: 22px; }
.testimonial-card blockquote { color: var(--muted-on-light); }
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}
.author { display: block; font-weight: 700; }
.author-role { display: block; font-size: .8125rem; color: var(--muted-on-light); }

@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } .testimonial-intro { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .testimonial-grid { grid-template-columns: 36fr 32fr 32fr; }
  .testimonial-intro { grid-column: auto; }
}

/* Instrutores ----------------------------------------------------------- */

.team-grid { display: grid; gap: 40px var(--gap); }
.team-card { display: grid; gap: 8px; text-align: center; }
.team-card img { width: 100%; aspect-ratio: .85; object-fit: cover; margin-bottom: 16px; border-bottom: 3px solid var(--yellow); }
.team-role { color: var(--muted-on-dark); font-size: .9375rem; }

@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--yellow); }
.team-photo figcaption { margin-top: 12px; color: var(--muted-on-dark); font-size: .9375rem; }

/* Galeria de fotos (páginas de curso e regionais) ----------------------- */

.photo-grid { display: grid; gap: var(--gap); }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--yellow); }
.photo-item figcaption { margin-top: 10px; color: var(--muted-on-light); font-size: .9375rem; }

@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }

/* Guia do aluno --------------------------------------------------------- */

.article-grid { display: grid; gap: var(--gap); }
.article-card { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 1px solid var(--border-light); }
.article-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.article-body { display: grid; gap: 12px; align-content: start; padding: 24px 24px 28px; }
.article-body > p:not(.article-meta) { color: var(--muted-on-light); font-size: .9375rem; }
.article-meta { font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-light); }
.article-body .button { justify-self: start; margin-top: 12px; }

@media (min-width: 768px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }

/* Dúvidas --------------------------------------------------------------- */

.faq-grid { display: grid; gap: 32px; }
.faq-grid .section-heading { margin-bottom: 0; align-content: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg-light); border: 1px solid var(--border-light); scroll-margin-top: 24px; }
.faq-item[open] { border-color: var(--border-light-accent); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: var(--on-yellow);
}
.faq-icon .icon { transition: transform var(--duration) var(--ease); }
.faq-item[open] .faq-icon .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; color: var(--muted-on-light); max-width: 70ch; }

@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: var(--gap-lg); } }

/* Contato --------------------------------------------------------------- */

.contact-grid { display: grid; gap: 48px; }
.contact-intro { display: grid; gap: 28px; align-content: center; justify-items: start; }
.contact-intro .section-heading { margin-bottom: 0; }
.contact-list { display: grid; gap: 14px; font-style: normal; }
.contact-list p, .footer-address p { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon, .footer-address .icon { color: var(--yellow); margin-top: .2em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px 24px;
  background: rgba(15, 15, 17, .82);
  border: 1px solid var(--border-accent);
}
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .875rem; font-weight: 500; letter-spacing: .04em; }
.optional { color: var(--muted-on-dark); font-weight: 400; }
.field input, .field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border-accent-strong);
  border-radius: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font: inherit;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.field input:user-invalid { border-color: var(--red); }
.field-hint { font-size: .8125rem; color: var(--muted-on-dark); }
.form-consent { font-size: .8125rem; color: var(--muted-on-dark); }
.form-consent a { color: var(--text-on-dark); }

.contact-form .field-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border-accent); }
.contact-form .field-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--yellow); cursor: pointer; }
.contact-form .field-check label { font-size: .9375rem; font-weight: 500; line-height: 1.4; cursor: pointer; }
.form-status { padding: 12px 16px; border-left: 4px solid var(--yellow); font-size: .9375rem; line-height: 1.5; }
.form-status a { color: inherit; font-weight: 700; }

@media (min-width: 768px) { .contact-form { padding: 40px; grid-template-columns: repeat(2, 1fr); } .contact-form > :is(.form-consent, button, .field-check, .field--full, .form-status) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 50fr 50fr; gap: var(--gap-lg); align-items: center; } }

/* Rodapé ---------------------------------------------------------------- */

.site-footer { background: var(--bg-dark); color: var(--muted-on-dark); padding-top: var(--section-y); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand { display: grid; gap: 20px; justify-items: start; }
.footer-title {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.site-footer nav ul { display: grid; gap: 10px; }
.site-footer nav a, .footer-bottom a { text-decoration: none; }
.site-footer nav a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-address { display: grid; gap: 12px; font-style: normal; }
.footer-address a { text-decoration: none; }
.footer-address a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 64px;
  padding-block: 24px;
  border-top: 1px solid var(--divider-dark);
  font-size: .8125rem;
}
.footer-bottom small { font-size: inherit; }
/* Links do rodapé com área de toque de pelo menos 24 px e espaço entre eles */
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom ul a { display: inline-block; padding-block: 6px; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 30fr 16fr 22fr 32fr; } }

/* Movimento reduzido ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Faixa de hospedagem e alimentação (home e páginas de curso) ----------- */

.stay-band { background: var(--yellow); color: var(--on-yellow); padding-block: 48px; }
.stay-grid { display: grid; gap: 24px; justify-items: start; }
.stay-icons { display: flex; gap: 8px; }
.stay-icons span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--bg-dark);
  color: var(--yellow);
  font-size: 1.75rem;
}
.stay-text { display: grid; gap: 10px; max-width: 680px; }
.stay-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stay-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.stay-band :focus-visible { outline-color: var(--on-yellow); }

@media (min-width: 1024px) {
  .stay-band { padding-block: 56px; }
  .stay-grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
}

/* Créditos de criação e produção, em linha própria no rodapé */
.footer-credits { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--divider-dark); }
.footer-bottom .footer-credits a { color: var(--text-on-dark); text-decoration: underline; text-decoration-color: var(--border-accent); text-underline-offset: .2em; }
.footer-bottom .footer-credits a:hover { color: var(--yellow); }

/* Botão "Voltar ao topo" (criado por assets/js/voltar-topo.js) */
.voltar-topo {
  position: fixed;
  right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 55;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--yellow);
  background: var(--bg-dark);
  border: 2px solid var(--yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.voltar-topo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; }
.voltar-topo.is-visivel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.voltar-topo:hover { color: var(--bg-dark); background: var(--yellow); }
.voltar-topo:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 1023.98px) {
  .voltar-topo--acima { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .voltar-topo { right: 24px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .voltar-topo { transition: none; }
}
@media print {
  .voltar-topo { display: none; }
}
