/* ==========================================================================
   Yasmin Quege · Fonoaudióloga — folha de estilos
   --------------------------------------------------------------------------
   0. Fontes (arquivos locais em ../fonts)
   1. Variáveis (cores oficiais da marca, fontes, espaçamentos)
   2. Base
   3. Componentes (botões, links, ícones, cards)
   4. Cabeçalho e menu
   5. Seções da página inicial (hero, sobre, atendimentos, jogos, contato)
   6. Página de jogos
   7. Rodapé e botão do WhatsApp
   8. Páginas internas (política de privacidade, créditos, 404)
   9. Animações e movimento reduzido
   ========================================================================== */

/* 0. Fontes ---------------------------------------------------------------
   As fontes oficiais da marca são Dayland (script) e Gabriola (texto), mas
   nenhuma das duas tem licença para uso na web nos arquivos recebidos.
   Enquanto isso, o site usa equivalentes livres (SIL OFL), escolhidas por
   semelhança visual com o logo:
     Gabriola → Alegreya      Dayland → Great Vibes
   Para trocar pelas oficiais (com licença web), substitua os arquivos e os
   nomes abaixo; as variáveis --font-text e --font-script fazem o resto. */
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* 1. Variáveis ------------------------------------------------------------ */
:root {
  /* ======================================================================
     IDENTIDADE VISUAL OFICIAL — NÃO ALTERAR
     Cores do manual da marca (marca/informacoes-cores-fontes.pdf).
     Não troque os valores nem acrescente outras cores de destaque.
     ====================================================================== */
  --marca-rosa: #F18FA5;         /* C0 M56 Y18 K0  · R241 G143 B165 */
  --marca-azul: #82BEDD;         /* C46 M0 Y0 K14  · R130 G190 B221 */
  --marca-amarelo: #FBDC9C;      /* C2 M15 Y46 K0  · R251 G220 B156 */
  --marca-rosa-claro: #F8C5CD;   /* C0 M31 Y11 K0  · R248 G197 B205 */
  --marca-azul-claro: #BDDFF2;   /* C27 M0 Y0 K5   · R189 G223 B242 */
  --marca-lilas: #E0C4DF;        /* C13 M28 Y0 K0  · R224 G196 B223 */

  /* Derivados, SOMENTE para fundos claros (-50) e para texto legível (-700).
     As cores pastel da marca não têm contraste como cor de texto. */
  --rosa-50: #FCEEF1;
  --azul-50: #EBF5FA;
  --amarelo-50: #FEF8EB;
  --lilas-50: #F9F3F9;
  --rosa-700: #A63D5A;           /* destaques em script e títulos (6,1:1 sobre branco) */
  --azul-700: #276D90;           /* links e foco (5,7:1 sobre branco) */

  /* Neutros */
  --white: #ffffff;
  --ink: #2A3B4D;                /* texto principal (≥ 4,5:1 sobre todas as cores da marca) */
  --muted: #4A5868;              /* texto secundário, só sobre branco e fundos -50 */
  --line: rgba(42, 59, 77, .12);

  --whatsapp: #25D366;           /* cor oficial do WhatsApp, só no botão dele */

  /* Tipografia (ver bloco 0) */
  --font-text: "Alegreya", "Gabriola", Georgia, serif;
  --font-script: "Great Vibes", "Dayland", cursive;
  --t-h1: clamp(2.5rem, 1.6rem + 2.8vw, 4.25rem);
  --t-h2: clamp(2.125rem, 1.5rem + 1.9vw, 3.25rem);
  --t-h3: clamp(1.3125rem, 1.15rem + .45vw, 1.5625rem);
  --t-lead: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem);
  --t-body: clamp(1.125rem, 1.03rem + .3vw, 1.3125rem);
  --t-small: clamp(1rem, .95rem + .15vw, 1.0938rem);

  /* Espaçamentos */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Layout */
  --nav: 84px;
  --gut: 72px;
  --max: 1240px;
  --pad: 112px;

  /* Cantos */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow: 0 1px 2px rgba(42, 59, 77, .06), 0 10px 30px -12px rgba(42, 59, 77, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1023px) {
  :root { --gut: 40px; --pad: 96px; }
}
@media (max-width: 639px) {
  :root { --nav: 68px; --gut: 20px; --pad: 72px; }
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

html {
  scroll-padding-top: var(--nav);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
strong, b { font-weight: 700; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--azul-700);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.wrap {
  width: min(100% - 2 * var(--gut), var(--max));
  margin-inline: auto;
}

/* Destaque em script (fonte da assinatura do logo) */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.32em;
  line-height: .9;
  color: var(--rosa-700);
  letter-spacing: 0;
  padding-inline: .04em;
}

/* 3. Componentes ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--rosa-700);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--marca-rosa);
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}

.section-head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: var(--s-8); }
.section-head .lead { margin: 0; }

/* Botões */
.btn {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  font: 700 var(--t-small)/1.2 var(--font-text);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(42, 59, 77, .55); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

.btn--primary { --bg: var(--ink); --fg: var(--white); }
.btn--primary:hover { --bg: #1C2A38; }
.btn--secondary { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { --bg: var(--ink); --fg: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: var(--white); }
.btn--sm { min-height: 44px; padding: 8px 20px; }

.actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* Link de texto com sublinhado que se desenha */
.link {
  color: var(--azul-700);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 2px; }

/* Ícone em círculo colorido */
.icon-dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--tint, var(--marca-azul-claro));
  color: var(--ink);
}
.icon-dot svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-dot--fill svg { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.tint-rosa { --tint: var(--marca-rosa-claro); }
.tint-azul { --tint: var(--marca-azul-claro); }
.tint-amarelo { --tint: var(--marca-amarelo); }
.tint-lilas { --tint: var(--marca-lilas); }

/* Foto em moldura arredondada (zoom leve no hover) */
.photo {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #ECEEEF;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.025); }

/* Seções */
.section { padding-block: var(--pad); position: relative; }
.section--rosa-50 { background: var(--rosa-50); }
.section--azul-50 { background: var(--azul-50); }

/* 4. Cabeçalho e menu ----------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--s-4); top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);   /* sem backdrop-filter: ele quebraria o menu mobile (position: fixed) */
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--nav);
}
.brand { display: block; flex: none; border-radius: 8px; }
.brand__logo { width: 210px; }
@media (max-width: 639px) { .brand__logo { width: 156px; } }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list { display: flex; align-items: center; gap: var(--s-2); }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--marca-rosa), var(--marca-rosa)) 50% calc(100% - 6px) / 0 2px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.nav__list a:hover,
.nav__list a[aria-current] { background-size: calc(100% - 28px) 2px; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--rosa-50);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--nav) 0 0 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-6);
    padding: var(--s-6) var(--gut) var(--s-7);
    background: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: flex;
    min-height: 60px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.375rem;
    background-position: 4px calc(100% - 12px);
  }
  .nav__list a:hover, .nav__list a[aria-current] { background-size: 40px 2px; }
  .nav .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* 5. Página inicial ------------------------------------------------------- */

/* Hero */
.hero {
  min-height: calc(100svh - var(--nav));
  display: grid;
  align-items: center;
  padding-block: var(--s-8);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--s-8);
  align-items: center;
}
.hero__text { display: grid; gap: var(--s-5); justify-items: start; }
.hero__text h1 { max-width: 15ch; }
.hero__text .eyebrow { margin-bottom: 0; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-2);
  font-size: var(--t-small);
  color: var(--muted);
}
.hero__facts li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__facts svg { width: 20px; height: 20px; fill: none; stroke: var(--rosa-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  margin: 0;
}
.portrait::before {             /* arco azul-claro atrás da foto */
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--marca-azul-claro);
}
.portrait__frame {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  aspect-ratio: 4 / 5;
  background: #6e6e70;
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.portrait:hover .portrait__frame img { transform: scale(1.025); }
.portrait__badge {
  position: absolute;
  left: -44px; bottom: 44px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 899px) {
  .hero { min-height: 0; padding-block: var(--s-7) var(--s-8); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .portrait { justify-self: center; width: min(100% - 28px, 400px); }
  .portrait__badge { left: -12px; bottom: 24px; width: 104px; height: 104px; }
}
@media (max-width: 639px) {
  .hero__text .actions, .hero__text .actions .btn { width: 100%; }
  .portrait::before { inset: 18px -18px -18px 18px; }
}

/* Sobre */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--s-8);
  align-items: start;
}
.about__intro { display: grid; gap: var(--s-5); align-content: start; }
.about__intro .eyebrow { margin-bottom: calc(var(--s-5) * -1 + var(--s-4)); }
.about__photo {
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  margin-top: var(--s-3);
}
.timeline { display: grid; gap: var(--s-3); counter-reset: none; }
.timeline li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: var(--s-5) var(--s-5) var(--s-5) 64px;
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.timeline li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.timeline li::before {
  content: "";
  position: absolute;
  left: 26px; top: calc(var(--s-5) + .45em);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--dot, var(--marca-rosa));
}
.timeline li:nth-child(6n+2) { --dot: var(--marca-azul); }
.timeline li:nth-child(6n+3) { --dot: var(--marca-amarelo); }
.timeline li:nth-child(6n+4) { --dot: var(--marca-lilas); }
.timeline li:nth-child(6n+5) { --dot: var(--marca-rosa-claro); }
.timeline li:nth-child(6n+6) { --dot: var(--marca-azul-claro); }
.timeline__kind { font-size: var(--t-small); font-weight: 700; color: var(--rosa-700); }
.timeline__title { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
.timeline__place { color: var(--muted); font-size: var(--t-small); }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { width: min(100%, 400px); }
}
@media (max-width: 639px) {
  .timeline li { padding: var(--s-4) var(--s-4) var(--s-4) 52px; }
  .timeline li::before { left: 20px; top: calc(var(--s-4) + .45em); width: 14px; height: 14px; }
}

/* Atendimentos */
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: var(--s-8);
  align-items: center;            /* texto centrado na altura da foto */
}
.section-head__text { display: grid; gap: var(--s-4); max-width: 640px; }
.section-head__text .eyebrow { margin-bottom: 0; }
.section-head__photo { aspect-ratio: 854 / 820; }
@media (max-width: 899px) {
  .section-head--split { grid-template-columns: 1fr; gap: var(--s-6); }
  .section-head__photo { width: min(100%, 460px); }
}

/* CAA (foto + frase) */
.feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: var(--s-8);
  align-items: center;
}
.feature__photo { width: min(100%, 460px); aspect-ratio: 4 / 5; }
.feature__text { display: grid; gap: var(--s-5); justify-items: start; }
.feature__text .eyebrow { margin-bottom: 0; }
.feature__text h2 { max-width: 16ch; }
@media (max-width: 899px) {
  .feature { grid-template-columns: 1fr; gap: var(--s-6); }
  .feature__text { order: -1; }
  .feature__photo { width: min(100%, 400px); }
}
@media (max-width: 639px) { .feature__text .btn { width: 100%; } }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}
.card {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card p { color: var(--muted); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards { grid-template-columns: 1fr; } .card { padding: var(--s-5); } }

/* Faixa dos jogos (fundo rosa oficial) */
.band {
  position: relative;
  overflow: hidden;
  padding-block: var(--pad);
  background: var(--marca-rosa);
  color: var(--ink);
}
.band__mark {
  position: absolute;
  right: max(-80px, calc((100vw - var(--max)) / 2 - 140px));
  top: 50%;
  width: min(62vw, 760px);
  transform: translateY(-50%);
  opacity: .55;
  pointer-events: none;
}
.band__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: var(--s-8);
  align-items: center;
}
.band__inner { display: grid; gap: var(--s-5); justify-items: start; max-width: 640px; }
.band__photo { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.band h2 { color: var(--ink); }
.band p { font-size: var(--t-lead); line-height: 1.55; }
.band .eyebrow { color: var(--ink); margin-bottom: 0; }
.band .eyebrow::before { background: var(--white); }
@media (max-width: 899px) {
  .band__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .band__photo { width: min(100%, 360px); }
  .band__mark { width: 520px; right: -200px; top: auto; bottom: -60px; transform: none; opacity: .35; }
}

/* Contato */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: stretch;
}
.contact__info { display: grid; gap: var(--s-6); align-content: start; }
.contact__info .eyebrow { margin-bottom: calc(var(--s-6) * -1 + var(--s-4)); }
.contact-list { display: grid; gap: var(--s-5); }
.contact-list li { display: flex; align-items: center; gap: var(--s-4); }
.contact-list strong { display: block; font-size: var(--t-small); color: var(--muted); font-weight: 700; }
.map {
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--r-lg);
  background: var(--azul-50);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
}
@media (max-width: 639px) {
  .contact__info .actions, .contact__info .actions .btn { width: 100%; }
}

/* 6. Página de jogos ------------------------------------------------------ */
.page-hero { padding-block: var(--s-8) var(--s-7); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: var(--s-8);
  align-items: center;
}
.page-hero__text { display: grid; gap: var(--s-5); justify-items: start; max-width: 760px; }
.page-hero__text .eyebrow { margin-bottom: 0; }
.page-hero__text h1 { font-size: var(--t-h2); }    /* título menor (pedido de 2026-11-12) */
.page-hero__photo.portrait { width: min(100%, 300px); }
.page-hero__photo.portrait::before { inset: 18px -18px -18px 18px; }
@media (max-width: 899px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .page-hero__photo.portrait { justify-self: center; width: min(100% - 28px, 260px); }
}

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 1023px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .games { grid-template-columns: 1fr; } }

/* Card de jogo (modelo no comentário de jogos.html) */
.game-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--white);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.game-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.game-card__cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint, var(--marca-azul-claro)); }
.game-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.game-card:hover .game-card__cover img { transform: scale(1.03); }
.game-card__body { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); }
.game-card__body p { color: var(--muted); font-size: var(--t-small); }
.game-card__go {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-3);
  font-weight: 700; color: var(--azul-700);
}
.game-card__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.game-card:hover .game-card__go svg { transform: translateX(4px); }

/* Aviso enquanto não há jogos publicados */
.games-empty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-7);
  border-radius: var(--r-lg);
  background: var(--white);
}
.games-empty img { width: 150px; }
.games-empty__text { display: grid; gap: var(--s-3); max-width: 62ch; }
.games-empty__text p { color: var(--muted); }
@media (max-width: 639px) {
  .games-empty { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-4); }
  .games-empty img { width: 110px; }
}

.tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.tips li { display: grid; gap: var(--s-3); align-content: start; }
.tips p { color: var(--muted); }
@media (max-width: 899px) { .tips { grid-template-columns: 1fr; gap: var(--s-5); } .tips li { grid-template-columns: auto 1fr; column-gap: var(--s-4); } .tips li .icon-dot { grid-row: span 2; } }

/* 7. Rodapé e WhatsApp ---------------------------------------------------- */
.site-footer {                 /* rodapé compacto (2026-11-12) */
  padding-block: var(--s-7) var(--s-4);
  background: var(--marca-azul);
  color: var(--ink);
  font-size: var(--t-small);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  padding-bottom: var(--s-5);
}
.footer__brand { display: grid; gap: var(--s-3); align-content: start; }
.footer__logo { width: 200px; }
.footer__title { margin-bottom: var(--s-1); font-size: var(--t-small); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.footer__list { display: flex; flex-wrap: wrap; column-gap: var(--s-5); }   /* itens curtos lado a lado */
.footer__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.footer__list a:hover { background-size: 100% 2px; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3) var(--s-6);
  padding-top: var(--s-2);
  border-top: 1px solid rgba(42, 59, 77, .2);
  font-size: var(--t-small);
}
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__links { display: flex; gap: var(--s-4); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 539px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); } .footer__logo { width: 180px; } }

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-2px) scale(1.04); }
.whatsapp-float:active { transform: scale(.96); }
body.menu-open .whatsapp-float { display: none; }

/* 8. Páginas internas ----------------------------------------------------- */
.page { padding-block: var(--s-8) var(--pad); }
.page__body { display: grid; gap: var(--s-4); max-width: 760px; }
.page__body h1 { margin-bottom: var(--s-3); }
.page__body h2 { margin-top: var(--s-6); font-size: var(--t-h3); font-weight: 700; }
.page__body p, .page__body li { color: var(--muted); }
.page__body ul { display: grid; gap: var(--s-2); padding-left: 1.2em; list-style: disc; }
.page__body a:not(.btn) { color: var(--azul-700); font-weight: 700; }
.page__back { margin-top: var(--s-6); }

.site-footer--small { padding-block: var(--s-5); }
.site-footer--small .footer__legal { padding-top: 0; border: 0; }

/* 9. Animações ------------------------------------------------------------ */
/* Entrada única do hero ao carregar a página (sem animação ao rolar) */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: enter .8s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .12s; }
  [data-enter] > *:nth-child(3) { animation-delay: .24s; }
  [data-enter] > *:nth-child(4) { animation-delay: .36s; }
  [data-enter] > *:nth-child(5) { animation-delay: .48s; }
  .portrait[data-enter-img] { animation: enter-img 1s .2s var(--ease) both; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enter-img { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
