/*
Theme Name: Clube Theme
Theme URI: https://example.com
Author: Clube
Description: Tema institucional e comercial para clube de campo (chalés, camping, day use, eventos, sócios).
Version: 1.0.0
Text Domain: clube-theme
*/

:root {
  --color-primary: #d2410a;
  --color-primary-dark: #992f00;
  --color-accent: #ffc300;
  --color-text: #222222;
  --color-text-muted: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #fff6e8;
  --color-border: #e8ddcd;
  --color-whatsapp: #25d366;
  --font-base: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --radius: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--color-primary-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Conforto de leitura: linha de 130 caracteres cansa e faz o olho se perder
   ao voltar para a esquerda. Limita só os parágrafos corridos — tabelas,
   listas, galerias e caixas de aviso seguem usando a largura toda. */
.section > .container > p:not(.aviso-datas) { max-width: 68ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  min-height: 44px;
  font-size: 1rem;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebd59; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
/* Faixa em degradê que retoma as cores da logo */
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}
/* Ritmo do cabeçalho: a separação entre a marca e o menu é sempre bem maior
   que a separação entre os itens, para o nome do clube não ser lido como
   mais um item de menu. */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 64px);
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

/* Abaixo de 360px (o mínimo do projeto) a marca pode encolher, para o botão
   de menu nunca ser empurrado para fora da tela. */
@media (max-width: 359px) {
  .site-logo { flex-shrink: 1; }
  .site-logo-name { min-width: 0; overflow: hidden; }
  .site-logo-name-main,
  .site-logo-name-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-logo-mark { height: 38px; }
}
.site-logo:hover { text-decoration: none; }
.site-logo-mark { height: 44px; width: auto; flex-shrink: 0; }
.site-logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  color: var(--color-primary-dark);
}
.site-logo-name-main {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.site-logo-name-sub {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: none; }
.menu-toggle svg { width: 28px; height: 28px; }

.primary-menu {
  list-style: none;
  display: none;
  gap: clamp(12px, 1.4vw, 26px);
  margin: 0;
  padding: 0;
}
.primary-menu li a {
  color: var(--color-text);
  font-weight: 600;
  padding: 8px 4px;
  display: inline-block;
  white-space: nowrap;
}
.primary-menu li a:hover { color: var(--color-primary); text-decoration: none; }

.site-header.nav-open .primary-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

/* São 8 itens de menu mais a marca: abaixo de 1060px o menu horizontal não
   cabe e os itens se espremem. Nessa faixa vale o menu sanduíche. */
@media (min-width: 1060px) {
  .menu-toggle { display: none; }
  .primary-menu { display: flex; flex-direction: row; }
  .site-header.nav-open .primary-menu { position: static; padding: 0; border: none; }
}

/* No menu sanduíche os itens ficam empilhados, com respiro igual entre eles. */
@media (max-width: 1059px) {
  .site-header.nav-open .primary-menu { gap: 4px; }
  .site-header.nav-open .primary-menu li a { padding: 12px 4px; display: block; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  background: var(--color-whatsapp);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float:hover { background: #1ebd59; }

/* Hero */
.hero { position: relative; color: #fff; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 560px; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* Carrossel do banner: as fotos se sobrepõem e trocam por transparência,
   sem deslocar o texto que fica por cima. */
.hero-carrossel .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-carrossel .hero-slide.is-ativo { opacity: 1; pointer-events: auto; }
.hero-carrossel .hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.hero-seta svg { width: 24px; height: 24px; }
.hero-seta:hover { background: #fff; }
.hero-seta:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.hero-seta-ant { left: 14px; }
.hero-seta-prox { right: 14px; }

.hero-pontos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-ponto {
  width: 32px;
  height: 20px;
  padding: 8px 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.hero-ponto::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
  transition: background .25s ease;
}
.hero-ponto.is-ativo::before { background: #fff; }
.hero-ponto:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 599px) {
  .hero-seta { width: 40px; height: 40px; }
  .hero-seta-ant { left: 8px; }
  .hero-seta-prox { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carrossel .hero-slide { transition: none; }
}

.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px; z-index: 2; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-content .container { width: 100%; }
/* Véu escuro só atrás do texto, no lado esquerdo. O resto da foto continua
   com as cores originais, e o texto ganha contraste suficiente para leitura
   mesmo sobre água e céu claros (RNF28). */
.hero-content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(72%, 900px);
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.72) 45%,
    rgba(0,0,0,.55) 70%,
    rgba(0,0,0,.22) 88%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-content .container { position: relative; z-index: 1; }

.hero-content h1,
.hero-content p {
  text-shadow:
    0 1px 3px rgba(0,0,0,.85),
    0 2px 12px rgba(0,0,0,.6);
}

@media (max-width: 767px) {
  /* No celular o texto ocupa a largura toda, então o véu também. */
  .hero-content::before { width: 100%; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72)); }

  /* Na proporção 16/9 o banner fica baixo demais no celular e o texto
     escapa por baixo. A altura mínima garante espaço para título,
     descrição e botão. */
  .hero-media { min-height: 340px; }
  .hero-content h1 { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .hero-content p { font-size: 1rem; margin-bottom: 1.1em; }
}
.hero-content h1 { color: #fff; max-width: 700px; }
.hero-content p { max-width: 600px; font-size: 1.1rem; margin-bottom: 1.4em; }

/* Section spacing */
.section { padding: 56px 0; }
.section-alt { background: var(--color-bg-alt); }

/* As seções alternam fundo claro e bege, e é a troca de cor que marca onde uma
   termina e a outra começa. Quando duas de mesmo fundo caem lado a lado — o
   que acontece, por exemplo, quando o bloco de notícias some por falta de
   post —, uma linha discreta faz essa separação. */
.section:not(.section-alt) + .section:not(.section-alt),
.section-alt + .section-alt {
  border-top: 1px solid var(--color-border);
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 36px; }

/* Card grid */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-price { font-weight: 700; color: var(--color-primary-dark); font-size: 1.05rem; }
.card-meta { color: var(--color-text-muted); font-size: .92rem; }
/* O botão desce para a base do cartão, para os três ficarem alinhados
   mesmo quando um dos textos ocupa uma linha a mais. */
.card-body .btn { margin-top: auto; }

/* Destaque da marina na home */
.marina-destaque { align-items: center; }
.marina-destaque h2 { margin-bottom: .4em; }
.marina-destaque > div > p { max-width: 46ch; }

.numeros {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.numeros li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}
.numeros strong {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-primary-dark);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.numeros span { color: var(--color-text-muted); font-size: .96rem; }

.marina-foto { margin: 0; border-radius: var(--radius); overflow: hidden; }
.marina-foto img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }

@media (max-width: 639px) {
  .marina-foto img { max-height: 260px; }
  .numeros strong { font-size: 1.6rem; }
  /* Lado a lado, a legenda quebra em duas linhas e desalinha do numero.
     Empilhada, cada uma ocupa a largura toda. */
  .numeros li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .numeros span { font-size: .92rem; line-height: 1.35; }
}

/* Mosaico de fotos sobre 6 colunas. A posição de cada foto vem calculada do
   PHP, em blocos que sempre fecham a linha — nunca sobra um quadrado solto. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 14.5vw, 215px);
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  min-width: 0;
  margin: 0;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  /* As variáveis --c/--cs/--r/--rs são escritas pelo PHP em cada item */
  .gallery-item[style*="--c"] {
    grid-column: var(--c) / span var(--cs);
    grid-row: var(--r) / span var(--rs);
  }
}

@media (max-width: 639px) {
  /* No celular o mosaico não cabe: vira duas colunas, com a primeira
     foto ocupando a largura toda. */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(120px, 32vw, 190px);
    gap: 10px;
  }
  .gallery-item:first-child { grid-column: 1 / -1; grid-row: span 2; }
  /* Com a primeira ocupando a linha toda, sobra uma solta quando o total é
     par. Nesse caso a última também atravessa, para não ficar um vão ao lado. */
  .gallery-item:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* Mapa: prévia clicável que só carrega o Google depois do clique */
.mapa-bloco { display: flex; flex-direction: column; gap: 12px; }

.mapa-quadro {
  position: relative;
  width: 100%;
  height: var(--mapa-altura, 340px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.mapa-facade {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.mapa-facade:hover { text-decoration: none; }
.mapa-facade:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; }

.mapa-imagem { width: 100%; height: 100%; object-fit: cover; display: block; }

.mapa-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35));
  pointer-events: none;
}

.mapa-selo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: .98rem;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  min-height: 44px;
}
.mapa-selo svg { width: 20px; height: 20px; fill: var(--color-accent); flex-shrink: 0; }
.mapa-facade:hover .mapa-selo { background: var(--color-primary); color: #fff; }
.mapa-facade:hover .mapa-selo svg { fill: #fff; }

/* Prévia quando o clube ainda não enviou o print do mapa */
.mapa-vazio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--color-bg-alt) 0 14px, #eeeae0 14px 28px);
}
.mapa-vazio svg { width: 40px; height: 40px; fill: var(--color-accent); }
.mapa-vazio-endereco {
  font-weight: 600;
  color: var(--color-text-muted);
  max-width: 34ch;
  font-size: .95rem;
}

.mapa-quadro iframe { width: 100%; height: 100%; border: 0; display: block; }

.mapa-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.mapa-aviso { margin: 0; font-size: .85rem; color: var(--color-text-muted); }


/* Chamada para o WhatsApp no lugar de formulário */
.chamada-whatsapp {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  text-align: center;
}
.chamada-whatsapp h2 { margin-bottom: .3em; }
.chamada-whatsapp p { margin: 0 auto 1.2em; max-width: 46ch; color: var(--color-text-muted); }

/* Espaço reservado de foto: some sozinho quando a foto é enviada */
.foto-slot {
  /* Sem proporção fixa: o quadro acompanha a altura da linha do mosaico,
     para o espaço vazio ter o mesmo formato da foto que vai entrar ali. */
  width: 100%;
  height: 100%;
  border: 2px dashed var(--color-rule, #cfc4ae);
  border-radius: 8px;
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 10px;
}
.foto-slot svg { width: 30px; height: 30px; fill: var(--color-accent); opacity: .65; }
.foto-slot-num { font-weight: 700; font-size: .9rem; color: var(--color-primary-dark); }
.foto-slot-txt { font-size: .8rem; }

/* Aviso de datas comemorativas */
.aviso-datas {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: .95rem;
  color: var(--color-text);
}
.aviso-datas svg { width: 20px; height: 20px; fill: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th, .price-table td { padding: 12px 14px; border: 1px solid var(--color-border); text-align: left; }
.price-table th { background: var(--color-bg-alt); }

/* Rules list */
.rules-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.rules-list li { padding: 12px 14px; background: var(--color-bg-alt); border-radius: 8px; }
.rules-list strong { color: var(--color-primary-dark); }

/* Aplicativo do sócio: os três caminhos de acesso */
.app-links { margin: 24px 0 8px; }
.app-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
}
.app-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  text-decoration: none;
}
.app-link-icone {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
}
.app-link-icone svg { width: 24px; height: 24px; fill: var(--color-primary-dark); }
.app-link-texto { display: flex; flex-direction: column; gap: 2px; }
.app-link-texto strong { color: var(--color-primary-dark); }
.app-link-texto span { font-size: .9rem; color: var(--color-text-muted); }

/* Passos numerados do primeiro acesso ao aplicativo */
.passos-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: passo;
}
.passos-lista li {
  counter-increment: passo;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--color-bg-alt);
  border-radius: 8px;
}
.passos-lista li::before {
  content: counter(passo);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

/* Footer */
.site-footer { background: var(--color-primary-dark); color: #eef2ef; padding: 48px 0 24px; margin-top: 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { color: #fff; margin-bottom: .6em; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
}
.social-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.social-btn:hover { text-decoration: none; color: #fff; }
.social-btn--instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: transparent; }
.social-btn--facebook:hover { background: #1877f2; border-color: transparent; }
.social-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Variante para fundo claro: aqui o botão vem preenchido, senão o contorno
   claro sobre fundo claro quase some. */
.social-links--claro { margin-top: 0; }
.social-links--claro .social-btn {
  color: #fff;
  border-color: transparent;
}
.social-links--claro .social-btn--instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.social-links--claro .social-btn--facebook { background: #1877f2; }
.social-links--claro .social-btn:hover { color: #fff; filter: brightness(1.08); }

/* Botões de contato empilhados, um sob o outro, com respiro em relação
   à lista de endereço e horários que vem acima. */
.contato-botoes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .85rem; color: #cdd6d0; text-align: center; }

/* Cookie banner */
/* O atributo hidden do HTML perde para esta classe: sem a regra abaixo,
   o aviso continua na tela mesmo depois de aceito. */
.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #1c1c1c; color: #fff; padding: 16px 20px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .92rem; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { min-height: 40px; padding: 10px 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; }
.cookie-accept { background: var(--color-primary); color: #fff; }
.cookie-decline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4) !important; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Atalho de teclado: invisivel ate receber foco. */
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 200;
	background: var(--color-surface, #fff); color: var(--color-primary, #b8390e);
	border: 2px solid var(--color-primary, #b8390e); border-radius: 4px;
	padding: 10px 16px; font-weight: 600; text-decoration: none;
}
/* Sem transicao: o atalho tem de aparecer no instante do foco. */
.skip-link:focus { top: 8px; }
#conteudo:focus { outline: none; }
