/* ==========================================================================
   Galetos Brasa Rio — site institucional
   --------------------------------------------------------------------------
   MOBILE FIRST: os estilos-base são para celular. Telas maiores recebem
   ajustes progressivos com min-width:
     36em  (~576px)  celular grande / horizontal
     48em  (~768px)  tablet
     64em  (~1024px) desktop
   Paleta derivada da logo: preto quente, laranja brasa, vermelho de detalhe,
   creme para contraste e cobre com moderação.
   ========================================================================== */

:root {
  /* Cores */
  --c-bg: #141110;          /* fundo principal (preto quente da logo) */
  --c-bg-2: #1c1816;        /* superfícies */
  --c-bg-3: #26201d;        /* superfícies elevadas */
  --c-line: #3a302a;        /* divisórias */
  --c-ember: #ec8a32;       /* laranja brasa (logo) — 7.9:1 sobre --c-bg */
  --c-ember-strong: #f39a45;
  --c-red: #d8392b;         /* vermelho dos detalhes (anel e crista da logo) */
  --c-copper: #c89464;      /* cobre — uso pontual */
  --c-cream: #f7ecdf;       /* texto principal */
  --c-muted: #c3b5a6;       /* texto secundário — 9:1 sobre --c-bg */
  --c-ink: #141110;         /* texto sobre laranja */

  /* Tipografia */
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida (cresce com a tela) */
  --fs-hero: clamp(3.6rem, 17vw, 8rem);
  --fs-h2: clamp(2.3rem, 9vw, 4rem);
  --fs-h3: clamp(1.5rem, 5vw, 1.9rem);
  --fs-lead: clamp(1.05rem, 2.6vw, 1.3rem);

  /* Espaçamento */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3.5rem, 10vw, 7.5rem);
  --gutter: clamp(1rem, 5vw, 2.5rem);
  --maxw: 1200px;

  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --logo: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 64em) {
  :root { --header-h: 104px; --logo: 88px; }
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-cream);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 48em) { body { font-size: 1.0625rem; line-height: 1.65; } }

[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .005em;
  margin: 0 0 .4em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.05; }

::selection { background: var(--c-ember); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-ember-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 200;
  background: var(--c-ember);
  color: var(--c-ink);
  padding: .75rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--c-ember);
  --btn-fg: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;               /* alvo de toque confortável */
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--c-ember-strong); }
.btn:active { transform: scale(.98); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn--ghost {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(247, 236, 223, .45);
}
.btn--ghost:hover { background: rgba(247, 236, 223, .08); border-color: var(--c-cream); }
.btn--small { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

/* Grupo de botões: empilhados e largura total no celular, lado a lado depois */
.btn-group { display: flex; flex-direction: column; gap: .75rem; }
.btn-group .btn { width: 100%; }
@media (min-width: 36em) {
  .btn-group { flex-direction: row; flex-wrap: wrap; }
  .btn-group .btn { width: auto; }
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(20, 17, 16, .94);
  box-shadow: 0 1px 0 var(--c-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex: none;
  margin-right: auto;
}
.brand img {
  width: var(--logo);
  height: var(--logo);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  transition: width .25s var(--ease), height .25s var(--ease);
}
.brand__text {
  display: none;                   /* no celular a logo já diz o nome */
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: .95;
  letter-spacing: .02em;
}
.brand__text small {
  display: block;
  font-size: .7em;
  letter-spacing: .28em;
  color: var(--c-muted);
  font-weight: 700;
}
@media (min-width: 30em) { .brand__text { display: block; } }

/* Seletor de idioma (links para /, /en/) */
.lang-switch {
  display: inline-flex;
  flex: none;
  list-style: none;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(20, 17, 16, .6);
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 38px;
  padding: 0 .6rem;
  border-radius: 999px;
  color: var(--c-muted);
  font: 700 .82rem/1 var(--f-body);
  letter-spacing: .06em;
  text-decoration: none;
}
.lang-switch a:hover { color: var(--c-cream); }
.lang-switch a[aria-current="page"] { background: var(--c-ember); color: var(--c-ink); }

/* Botão do menu (celular/tablet) */
.nav-toggle {
  display: inline-flex;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--c-line);
  background: var(--c-bg-2);
  color: var(--c-cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
  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); }

/* Navegação — base: painel em tela cheia no celular */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-3) var(--gutter) var(--space-5);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-cream);
  transition: color .2s;
}
.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--c-ember-strong); }
.nav .btn { width: 100%; }

/* Desktop: navegação em linha */
@media (min-width: 64em) {
  .site-header__inner { gap: var(--space-3); }
  .site-header.is-scrolled { --logo: 68px; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: .25rem; }
  .nav__link {
    display: inline-block;
    padding: .55rem .85rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
  }
  .nav .btn { width: auto; }
  .lang-switch { order: 3; }
}

/* ---------- Abertura (hero) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-3)) 0 var(--space-5);
  isolation: isolate;
  overflow: hidden;
  background: #0a0706;
  text-align: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media picture { display: block; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* Escurece o centro (onde fica o texto) e preserva o fogo nas bordas */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 95% 55% at 50% 50%, rgba(10, 7, 6, .68) 0%, rgba(10, 7, 6, .38) 70%, rgba(10, 7, 6, .25) 100%),
    linear-gradient(180deg, rgba(10, 7, 6, .7) 0%, rgba(10, 7, 6, 0) 22%),
    linear-gradient(0deg, var(--c-bg) 0%, rgba(20, 17, 16, 0) 22%);
}
.hero__content {
  max-width: 820px;
  margin-inline: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 var(--space-2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-ember);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--c-red);
}
.hero .eyebrow { justify-content: center; max-width: 22em; }
.hero .eyebrow::after {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--c-red);
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: .86;
  margin: 0 0 var(--space-3);
}
.hero__title .t-small {
  display: block;
  font-size: .34em;
  letter-spacing: .32em;
  margin-bottom: .25em;
  font-weight: 700;
}
.hero__title .t-line { display: block; }
.hero__title .t-ember { color: var(--c-ember); }

.hero__lead {
  font-size: var(--fs-lead);
  max-width: 32em;
  margin: 0 auto var(--space-4);
}
.hero__actions { justify-content: center; }
.hero__actions .btn { text-shadow: none; }

.hero__badge { display: none; }

@media (min-width: 36em) {
  .eyebrow { font-size: .82rem; letter-spacing: .22em; }
  .eyebrow::before, .hero .eyebrow::after { width: 28px; }
  .hero .eyebrow { max-width: none; }
}
@media (min-width: 64em) {
  .hero { min-height: min(100svh, 940px); padding-bottom: var(--space-6); }
  .hero::before {
    background:
      radial-gradient(ellipse 55% 60% at 50% 50%, rgba(10, 7, 6, .62) 0%, rgba(10, 7, 6, .38) 60%, rgba(10, 7, 6, .2) 100%),
      linear-gradient(180deg, rgba(10, 7, 6, .7) 0%, rgba(10, 7, 6, 0) 22%),
      linear-gradient(0deg, var(--c-bg) 0%, rgba(20, 17, 16, 0) 28%);
  }
}
@media (min-width: 80em) {
  .hero__badge {
    position: absolute;
    right: var(--gutter);
    bottom: var(--space-5);
    width: 132px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(216, 57, 43, .9);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .85rem;
    line-height: 1.25;
    background: rgba(20, 17, 16, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  .hero__badge strong { display: block; color: var(--c-ember); font-size: 1.5rem; letter-spacing: .06em; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--space-6); position: relative; }
.section--alt { background: var(--c-bg-2); }
.section--flush-top { padding-top: 0; }

.section__head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  max-width: 720px;
}
.section__head h2 { margin: 0; }
.section__head p { color: var(--c-muted); font-size: var(--fs-lead); margin: 0; }
.section__head .eyebrow,
.house__body .eyebrow,
.feature__body .eyebrow { color: var(--c-ember); }
.feature__body .eyebrow { margin-bottom: .5rem; }
@media (min-width: 48em) { .section__head { margin-bottom: var(--space-5); } }

/* Linha vermelha fina — eco do anel da logo */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-red) 20%, var(--c-red) 80%, transparent);
  opacity: .7;
  border: 0;
  margin: 0;
}
.rule--spaced { margin-bottom: var(--space-6); }

/* ---------- Especialidades ---------- */
.feature {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}
.feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-3);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 57, 43, .7);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.feature__body h3 { font-size: clamp(2rem, 8vw, 3.1rem); }
.feature__body p { color: var(--c-muted); }
.feature__list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 var(--space-4);
  display: grid;
  gap: .75rem;
}
.feature__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .75rem;
  align-items: start;
}
.feature__list svg { color: var(--c-ember); width: 22px; height: 22px; margin-top: .15em; }
.feature__body .btn { width: 100%; }

@media (min-width: 36em) { .feature__body .btn { width: auto; } }
@media (min-width: 56em) {
  .feature { grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 4rem); margin-bottom: var(--space-6); }
}

.sides {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.side-card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.side-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-3); }
.side-card__media img { width: 100%; height: 100%; object-fit: cover; }
.side-card__body { padding: var(--space-2) var(--space-3) var(--space-3); }
.side-card__body h3 { margin-bottom: .3em; }
.side-card__body p { color: var(--c-muted); margin: 0; font-size: 1rem; }

@media (min-width: 36em) { .sides { grid-template-columns: 1fr 1fr; gap: var(--space-3); } }
@media (min-width: 70em) { .sides { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 64em) {
  .side-card:hover { transform: translateY(-4px); border-color: rgba(236, 138, 50, .5); }
}

/* ---------- Chamada (WhatsApp / Instagram) ---------- */
.menu-cta {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--c-bg-3);
  border: 1px solid var(--c-line);
}
.menu-cta p { margin: 0; color: var(--c-muted); max-width: 34em; }
@media (min-width: 56em) {
  .menu-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
  }
  .menu-cta .btn-group { flex: none; flex-wrap: nowrap; }
}

/* ---------- A casa ---------- */
.house {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.house__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-3);
}
.house__media img { width: 100%; height: 100%; object-fit: cover; }
.house__body p { color: var(--c-muted); }
.house__body p.lead { color: var(--c-cream); font-size: var(--fs-lead); }

.pillars {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  border-top: 1px solid var(--c-red);
}
.pillars li {
  display: grid;
  gap: .15rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--c-line);
}
.pillars strong {
  font-family: var(--f-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--c-ember);
  line-height: 1.1;
}
.pillars span { color: var(--c-muted); line-height: 1.5; }

@media (min-width: 36em) {
  .pillars li { grid-template-columns: 9.5rem 1fr; gap: var(--space-2); align-items: baseline; }
}
@media (min-width: 56em) {
  .house { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
  .house__media { aspect-ratio: 5 / 6; }
}

/* ---------- Contato ---------- */
.contact { display: grid; gap: var(--space-3); }
.info-grid { display: grid; gap: var(--space-2); }
.info-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  color: var(--c-ember);
  margin-bottom: .6rem;
}
.info-card h3 svg { width: 22px; height: 22px; flex: none; }
.info-card p, .info-card address { margin: 0; font-style: normal; color: var(--c-cream); }
.info-card a { color: var(--c-cream); text-underline-offset: 3px; }
.info-card a:hover { color: var(--c-ember-strong); }

.hours { margin: 0; display: grid; gap: .45rem; }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; }
.hours dt { color: var(--c-muted); }
.hours dd { margin: 0; text-align: right; font-weight: 500; white-space: nowrap; }

.map {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(236, 138, 50, .14), transparent 55%),
    repeating-linear-gradient(0deg, rgba(247,236,223,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(247,236,223,.04) 0 1px, transparent 1px 44px),
    var(--c-bg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-4);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map__pin {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-red);
  color: var(--c-cream);
  box-shadow: 0 0 0 10px rgba(216, 57, 43, .18);
}
.map__pin svg { width: 26px; height: 26px; }
.map p { color: var(--c-muted); max-width: 26em; margin-inline: auto; }

@media (min-width: 36em) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-card--wide { grid-column: 1 / -1; }
}
@media (min-width: 48em) { .map { min-height: 340px; } }
@media (min-width: 64em) {
  .contact { grid-template-columns: 1fr 1.1fr; gap: var(--space-4); align-items: stretch; }
  .map { min-height: 380px; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: #0e0c0b;
  border-top: 1px solid var(--c-line);
  padding: var(--space-6) 0 calc(var(--space-4) + 76px);   /* espaço para o botão flutuante */
  font-size: .98rem;
}
.footer-grid { display: grid; gap: var(--space-4); }
.footer-brand img { width: 104px; height: 104px; border-radius: 50%; margin-bottom: var(--space-2); }
.footer-brand p { color: var(--c-muted); max-width: 22em; }
.site-footer h2 {
  font-size: 1.15rem;
  letter-spacing: .14em;
  color: var(--c-ember);
  margin-bottom: var(--space-2);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-list a { color: var(--c-cream); text-decoration: none; display: inline-block; padding-block: .15rem; }
.footer-list a:hover { color: var(--c-ember-strong); text-decoration: underline; text-underline-offset: 3px; }
.footer-list--plain li { color: var(--c-muted); line-height: 1.5; }

.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  color: var(--c-cream);
  transition: border-color .2s, color .2s;
}
.social a:hover { border-color: var(--c-ember); color: var(--c-ember); }
.social svg { width: 20px; height: 20px; }

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  color: var(--c-muted);
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.credits summary { cursor: pointer; }
.credits summary:hover { color: var(--c-cream); }
.credits p { margin-top: .6rem; }
.credits a { color: var(--c-muted); }

@media (min-width: 36em) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .site-footer { padding-bottom: var(--space-4); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { width: 120px; height: 120px; }
}

/* ---------- Botão flutuante de WhatsApp (celular/tablet) ----------
   Aparece só depois que a abertura sai da tela (ela já tem o botão). */
.fab {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-ember);
  color: var(--c-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  text-decoration: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.fab svg { width: 28px; height: 28px; }
.fab.is-hidden { opacity: 0; transform: translateY(12px) scale(.9); visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
@media (min-width: 64em) { .fab { display: none; } }

/* ---------- Revelação discreta ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media print {
  .site-header, .fab, .hero__media, .map { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ===================== PÁGINA 404 (src/404.html) ===================== */
.notfound {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding-block: var(--space-6);
  text-align: center;
}
.notfound__logo { margin: 0 auto 1.5rem; border-radius: 50%; }
.notfound h1 { margin: .5rem 0 1rem; }
.notfound p { margin: 0 auto .5rem; max-width: 34rem; }
.notfound__en { opacity: .75; font-size: .95rem; }
.notfound__actions { justify-content: center; margin-top: 2rem; }
