/* ══════════════════════════════════════════════════════════════════════════
   HOTEL RINKÃO — Landing page de conversão
   Design system: "Serra capixaba em tom nobre" — verde profundo + creme + dourado
   Mobile first. Media queries só em min-width.
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Azul-marinho da marca Rinkão (base escura) — extraído do logotipo #02094D */
  --c-dark:        #0A1240;
  --c-surface:     #131E5C;
  --c-surface-2:   #1E2C78;
  --c-border-dark: #2C3B8C;

  /* Vermelho da marca (acento) — #D94541 do logotipo.
     Nome da variável mantido (--c-gold) para não reescrever 23 usos; é o acento. */
  --c-gold:       #D94541;
  --c-gold-hover: #E85D58;
  --c-gold-a12:   rgba(217, 69, 65, .12);
  --c-gold-a28:   rgba(217, 69, 65, .30);

  /* Claros (branco levemente azulado = limpo e premium) */
  --c-white: #FFFFFF;
  --c-cream: #F5F6FB;
  --c-sand:  #E4E6F1;

  /* Texto */
  --c-on-dark:        #EEF0FB;
  --c-on-dark-muted:  #AAB2DB;
  --c-on-light:       #0E1338;
  --c-on-light-muted: #545A7D;

  /* Neutros */
  --c-gray-300: #D5D7E4;
  --c-gray-500: #868BA6;

  /* WhatsApp — verde oficial, não negociável */
  --c-wa:        #25D366;
  --c-wa-hover:  #1EBE5A;
  --c-wa-active: #17A34A;
  --c-wa-ink:    #06231C;   /* branco sobre #25D366 dá 1.98:1 — reprova WCAG */

  --c-star: #F5B301;

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-h1:      clamp(1.875rem,  1.161rem + 3.17vw, 4rem);
  --fs-h2:      clamp(1.75rem,   1.417rem + 1.48vw, 2.75rem);
  --fs-h3:      clamp(1.25rem,   1.125rem + 0.56vw, 1.625rem);
  --fs-lead:    clamp(1.0625rem, 0.979rem + 0.37vw, 1.3125rem);
  --fs-body:    clamp(1rem,      0.958rem + 0.19vw, 1.125rem);
  --fs-small:   clamp(0.8125rem, 0.792rem + 0.09vw, 0.875rem);
  --fs-btn:     clamp(1rem,      0.979rem + 0.09vw, 1.0625rem);
  --fs-eyebrow: clamp(0.6875rem, 0.667rem + 0.09vw, 0.78125rem);

  /* Espaçamento */
  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 40px; --sp-8: 48px; --sp-9: 64px;

  --container: 1200px;
  --gutter: 20px;
  --section-y: 72px;
  --nav-h: 62px;

  /* Raios */
  --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --r-full: 999px;

  /* Sombras */
  --sh-1: 0 1px 2px rgba(10,18,63,.07), 0 2px 8px rgba(10,18,63,.06);
  --sh-2: 0 4px 12px rgba(10,18,63,.10), 0 12px 32px rgba(10,18,63,.10);
  --sh-3: 0 18px 48px rgba(10,18,63,.18);
  --sh-wa:       0 6px 18px rgba(37,211,102,.32);
  --sh-wa-hover: 0 10px 28px rgba(37,211,102,.42);
  --sh-float:    0 8px 24px rgba(37,211,102,.38), 0 2px 6px rgba(10,18,63,.24);

  /* Movimento */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 90ms;
  --dur-hover: 180ms;
  --dur-ui: 260ms;
  --dur-reveal: 600ms;
}

@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --section-y: 112px; --nav-h: 74px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ─── 2. RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* overflow-x no html além do body: sozinho no body ele nem sempre segura o
   scroll lateral. `clip` não cria contexto de rolagem, então não quebra sticky. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-on-light);
  background: var(--c-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* Toque: remove o atraso de double-tap-zoom e define o realce de toque de
   propósito (o feedback fica por conta do :active e do :focus-visible). */
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Âncoras (skip link + títulos com id) não colam no topo ao receber o foco/scroll. */
:where(main[id], h2[id]) { scroll-margin-top: 24px; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.30; letter-spacing: -.01em; }

:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Espaço para o botão flutuante não cobrir o rodapé */
@media (max-width: 1023px) { body { padding-bottom: 88px; } }

/* ─── 3. UTILITÁRIOS ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}
/* Vermelho da marca sobre fundo claro tem baixo contraste — em seções claras usa navy-muted. */
.eyebrow--dark { color: var(--c-on-light-muted); }
/* No hero o eyebrow fica sobre a foto: sombra garante leitura do vermelho. */
.hero .eyebrow { text-shadow: 0 1px 6px rgba(10,18,63,.85); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-on-dark-muted);
  max-width: 62ch;
}
.lead--dark { color: var(--c-on-light-muted); }

.rule {
  display: block;
  width: 48px; height: 3px;
  background: var(--c-gold);
  border-radius: var(--r-full);
}
.rule--center { margin-inline: auto; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
}

/* Skip link: escondido acima da viewport, desce ao receber o foco pelo teclado. */
.skip-link {
  position: fixed;
  left: var(--gutter);
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-on-light);
  font-size: var(--fs-small);
  font-weight: 600;
  box-shadow: var(--sh-2);
  transition: top var(--dur-ui) var(--ease-standard);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top)); }

/* ─── 4. BOTÕES ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--dur-hover) var(--ease-standard),
    transform var(--dur-hover) var(--ease-standard),
    box-shadow var(--dur-hover) var(--ease-standard);
}

.btn--wa {
  background: var(--c-wa);
  color: var(--c-wa-ink);
  box-shadow: var(--sh-wa);
}
.btn--wa:active { background: var(--c-wa-active); transform: scale(.985); box-shadow: var(--sh-wa); transition-duration: var(--dur-fast); }

.btn--ghost {
  background: transparent;
  color: var(--c-gold);
  border: 1.5px solid var(--c-gold);
}
.btn--ghost:active { transform: scale(.985); }

.btn--block { width: 100%; }
.btn--lg { min-height: 60px; padding: 0 34px; }

.ico-wa { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }

.btn__micro {
  margin-top: 10px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-on-dark-muted);
}

@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: var(--c-wa-hover); transform: translateY(-2px); box-shadow: var(--sh-wa-hover); }
  .btn--ghost:hover { background: var(--c-gold-a12); border-color: var(--c-gold-hover); color: var(--c-gold-hover); }
}

/* Mobile: CTA de largura total até 480px */
@media (max-width: 480px) {
  .hero__cta .btn, .cta .btn { width: 100%; }
}

/* ─── 5. HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 88svh;
  padding-block: var(--sp-6) var(--sp-7);
  background: var(--c-dark);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 1200ms var(--ease-out-expo) both;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1); } }

/* Overlay mobile: vertical puro — o texto vive na base escura, o céu respira */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,18,63,.95) 0%,
    rgba(10,18,63,.88) 44%,
    rgba(10,18,63,.66) 72%,
    rgba(10,18,63,.28) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  margin-top: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__inner .rule { margin-bottom: 14px; }
.hero .eyebrow { margin-bottom: 14px; }

.hero__title { color: var(--c-on-dark); margin-bottom: 18px; }
/* Destaque na parte da headline que carrega o diferencial. Usa o tom mais claro
   do acento: o #D94541 puro fica no limite do contraste sobre o hero escuro. */
.hero__title .hl { color: var(--c-gold-hover); }
.hero__lead  { color: var(--c-on-dark-muted); font-size: var(--fs-lead); line-height: 1.55; margin-bottom: var(--sp-5); }
/* Mobile-first: versão curta do lead. A detalhada só entra no desktop. */
.hero__lead-d { display: none; }
@media (min-width: 1024px) {
  .hero__lead-m { display: none; }
  .hero__lead-d { display: inline; }
}
.hero__cta   { margin-top: var(--sp-5); width: 100%; }
@media (min-width: 768px) { .hero__cta { margin-top: var(--sp-7); } }

@media (min-width: 1024px) {
  .hero {
    min-height: 92svh;
    max-height: 900px;
    padding-block: var(--sp-7) var(--sp-9);
  }
  /* Desktop: escurece a esquerda (onde o texto mora) + assenta a base */
  .hero::after {
    background:
      linear-gradient(100deg,
        rgba(10,18,63,.92) 0%,
        rgba(10,18,63,.78) 34%,
        rgba(10,18,63,.42) 62%,
        rgba(10,18,63,.14) 100%),
      linear-gradient(to top,
        rgba(10,18,63,.85) 0%,
        rgba(10,18,63,.30) 26%,
        rgba(10,18,63,0) 55%);
  }
  .hero__inner { text-align: left; align-items: flex-start; }
  .hero__inner > * { max-width: 620px; }
  .hero__cta { width: auto; }
}

/* Selos de diferenciais do hero */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(244,242,237,.18);
  backdrop-filter: blur(8px);
  color: var(--c-on-dark);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip__ico { width: 16px; height: 16px; flex: none; color: var(--c-gold); }

@media (min-width: 1024px) { .chips { justify-content: flex-start; } }

/* ─── 6. SEÇÕES ─────────────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--light   { background: var(--c-cream); color: var(--c-on-light); }
.section--dark    { background: var(--c-dark);  color: var(--c-on-dark); }
.section--surface { background: var(--c-surface); color: var(--c-on-dark); }

.section--dark h2, .section--surface h2 { color: var(--c-on-dark); }
.section--light h2 { color: var(--c-on-light); }

.section__head { margin-bottom: var(--sp-7); }
.section__head .eyebrow { margin-bottom: var(--sp-3); }
.section__head h2 { margin-bottom: var(--sp-4); }

.section__note {
  margin-top: var(--sp-7);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--c-on-dark-muted);
}
.section__note--dark { color: var(--c-on-light-muted); }

@media (min-width: 1024px) { .section__head { margin-bottom: var(--sp-8); } }

/* ─── 7. GRIDS ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--sp-5); }
.grid--6 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}
@media (min-width: 1024px) {
  .grid { gap: var(--sp-6); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .grid--rooms { max-width: 940px; margin-inline: auto; }
}

/* ─── 8. PROVA SOCIAL ───────────────────────────────────────────────────── */
.gscore {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}
.gscore__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 2.2vw, 3.5rem);
  line-height: 1;
  color: var(--c-on-light);
  font-variant-numeric: tabular-nums;
}
.gscore__label { font-size: var(--fs-small); color: var(--c-on-light-muted); margin-top: 2px; }

/* Estrelas: camada preenchida clipada por --pct sobre a camada vazia */
.stars {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
}
.stars--sm { font-size: 16px; }
.stars__bg { color: var(--c-gray-300); }
/* Sem JS as estrelas nascem preenchidas; só com JS elas crescem da esquerda. */
.stars__fill {
  position: absolute; inset: 0;
  color: var(--c-star);
  overflow: hidden;
  white-space: nowrap;
  width: var(--pct);
}
.js .stars__fill {
  width: 0;
  transition: width 700ms var(--ease-out-expo) 120ms;
}
.js .is-visible .stars__fill { width: var(--pct); }

.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-sand);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-1);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
/* Cartão no formato de avaliação real do Google: cabeçalho (avatar + nome +
   data + logo G) → estrelas → texto em sans-serif. */
.tcard__top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: 14px;
}
.tcard__id { flex: 1; min-width: 0; }
.tcard__id strong { display: block; font-size: 15px; font-weight: 600; color: var(--c-on-light); }
.tcard__id small  { display: block; font-size: 13px; color: var(--c-on-light-muted); }
.tcard__g { width: 20px; height: 20px; flex-shrink: 0; }

.tcard .stars { margin-bottom: 12px; }

.tcard__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink-soft, #3a4152);
  margin: 0;
  flex: 1;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-full);
  background: var(--av, var(--c-surface));
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .tcard:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
}

/* ─── 9. ACOMODAÇÕES ────────────────────────────────────────────────────── */
.room {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  transition: transform var(--dur-ui) var(--ease-out-expo), box-shadow var(--dur-ui) var(--ease-out-expo);
}
.room__media { position: relative; overflow: hidden; }
.room__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}
.badge {
  position: absolute; top: 16px; left: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--c-gold);
  color: var(--c-on-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.room__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
  color: var(--c-on-light);
}
.room__body h3 { margin-bottom: var(--sp-2); }
.room__pos { font-size: 15px; color: var(--c-on-light-muted); margin-bottom: var(--sp-4); }

.amen { flex: 1; margin-bottom: var(--sp-5); }
.amen li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-on-light-muted);
  margin-bottom: var(--sp-2);
}
.amen li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--c-gold-a28);
  border: 1.5px solid var(--c-gold);
}

@media (hover: hover) and (pointer: fine) {
  .room:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
  .room:hover .room__media img { transform: scale(1.05); }
}

/* ─── 10. DIFERENCIAIS ──────────────────────────────────────────────────── */
.fcard {
  background: var(--c-white);
  border: 1px solid var(--c-sand);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-1);
  transition: transform 200ms var(--ease-standard),
              box-shadow 200ms var(--ease-standard),
              border-color 200ms var(--ease-standard);
}
.fcard__ico {
  display: block;
  box-sizing: content-box;
  width: 24px; height: 24px;
  padding: 11px;                       /* 24 + 11*2 = 48px, a caixa original */
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-gold-a12);
  border: 1px solid var(--c-gold-a28);
  color: var(--c-gold);
  transition: transform 200ms var(--ease-standard);
}
.fcard h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--c-on-light);
  margin-bottom: 6px;
}
.fcard p { font-size: 15px; line-height: 1.55; color: var(--c-on-light-muted); }

@media (hover: hover) and (pointer: fine) {
  .fcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--c-gold-a28); }
  .fcard:hover .fcard__ico { transform: scale(1.06); }
}

/* ─── 11. GALERIA ───────────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
.gitem {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(244,242,237,.08);
}
.gitem img {
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.95);
  transition: transform 420ms var(--ease-out-expo), filter 420ms var(--ease-out-expo);
}
.gitem figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-3);
  background: linear-gradient(to top, rgba(10,18,63,.88), rgba(10,18,63,0));
  color: var(--c-on-dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 420ms var(--ease-out-expo);
}

@media (min-width: 768px) {
  /* 3 colunas, não 4: o item destacado ocupa 2x2 (4 células) e sobram 5 itens
     de 1 célula = 9 no total, que é exatamente 3 colunas x 3 linhas.
     Com 4 colunas sobrava um tile órfão na última linha. */
  .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .gitem--wide { grid-column: span 2; grid-row: span 2; }
}

/* Em touch a legenda fica sempre visível — não há hover para revelá-la */
@media (hover: none) { .gitem figcaption { opacity: 1; } }

@media (hover: hover) and (pointer: fine) {
  .gitem:hover img { transform: scale(1.06); filter: saturate(1.05); }
  .gitem:hover figcaption { opacity: 1; }
}

/* ─── 12. LOCALIZAÇÃO ───────────────────────────────────────────────────── */
.loc { display: grid; gap: var(--sp-6); }

.loc__map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-dark);
  background: var(--c-surface-2);
}
.loc__map iframe { width: 100%; height: 320px; }

/* Placeholder da marca POR CIMA do iframe: esconde o flash branco do embed do
   Google enquanto carrega e some (fade) no evento load. Camada navy = ::after,
   spinner = ::before. */
.loc__map::after {
  content: "Carregando o mapa…";
  position: absolute; inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding-top: 46px;
  background: var(--c-surface-2);
  color: var(--c-on-dark-muted);
  font-size: var(--fs-small);
  transition: opacity 380ms var(--ease-out-expo);
}
.loc__map::before {
  content: "";
  position: absolute;
  top: calc(50% - 24px); left: 50%;
  z-index: 3;
  width: 26px; height: 26px;
  border-radius: var(--r-full);
  border: 3px solid var(--c-border-dark);
  border-top-color: var(--c-gold);
  transform: translateX(-50%);
  transform-origin: center;
  animation: map-spin 800ms linear infinite;
  transition: opacity 380ms var(--ease-out-expo);
}
.loc__map.is-loaded::before,
.loc__map.is-loaded::after { opacity: 0; pointer-events: none; }
@keyframes map-spin { to { transform: translateX(-50%) rotate(360deg); } }

.addr {
  font-style: normal;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-on-dark-muted);
  margin-bottom: var(--sp-4);
}
.addr strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-on-dark);
  margin-bottom: var(--sp-2);
}
.loc__text { color: var(--c-on-dark-muted); margin-bottom: var(--sp-5); max-width: 52ch; }

@media (min-width: 1024px) {
  .loc { grid-template-columns: 1.15fr 1fr; gap: var(--sp-8); align-items: center; }
  .loc__map iframe { height: 420px; }
}

/* ─── 13. CTA FINAL ─────────────────────────────────────────────────────── */
.section--cta { padding-block: var(--section-y); }

.cta {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--sp-7) var(--sp-5);
  border-radius: var(--r-2xl);
  background: var(--c-surface-2);
  border: 1px solid var(--c-gold-a28);
  text-align: center;
}
.cta .rule { margin-bottom: var(--sp-5); }
.cta h2 { margin-bottom: var(--sp-4); }
.cta .lead { margin-inline: auto; margin-bottom: var(--sp-7); }
.cta__contacts {
  margin-top: var(--sp-5);
  font-size: var(--fs-small);
  color: var(--c-on-dark-muted);
}
.cta__contacts a {
  color: var(--c-gold);
  font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--c-gold-a28);
}

@media (min-width: 768px) { .cta { padding: var(--sp-9) var(--sp-8); } }

/* ─── 14. RODAPÉ ────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  padding-block: var(--sp-7);
  text-align: center;
}
.footer__inst { color: var(--c-on-dark-muted); font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.footer__inst strong { color: var(--c-on-dark); }
.footer__copy { color: var(--c-gray-500); font-size: 12px; }

/* ─── 15. BOTÃO FLUTUANTE ───────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: var(--r-full);
  background: var(--c-wa);
  color: var(--c-wa-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--sh-float);

  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.92);
  transition: opacity 320ms var(--ease-out-expo),
              transform 320ms var(--ease-out-expo),
              visibility 0s linear 320ms;
}
.wa-float.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.wa-float:active { transform: scale(.95); transition-duration: var(--dur-fast); }
.wa-float .ico-wa { width: 24px; height: 24px; }

/* Pulse: 3 ciclos e para. O JS re-arma após 20s de inatividade. */
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.wa-float.is-pulsing::before {
  animation: wa-pulse 2.6s cubic-bezier(.4,0,.6,1) 3;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Abaixo de 360px o rótulo não cabe — colapsa para círculo */
@media (max-width: 359px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float__label { display: none; }
}

/* Desktop tem CTAs suficientes na página; o flutuante só atrapalharia */
@media (min-width: 1024px) { .wa-float { display: none; } }

/* ─── 16. SCROLL REVEAL ─────────────────────────────────────────────────── */
/* Escondido só quando o JS está vivo (html.js) — sem JS, nada some. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out-expo),
              transform var(--dur-reveal) var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Variantes de reveal: movimento premium, sutil e com direção/intenção ─── */
.js .reveal--rise  { transform: translateY(46px); }
.js .reveal--scale { transform: translateY(20px) scale(.972); }

/* No mobile, mapa e texto ficam empilhados e ocupam a largura toda: deslocá-los
   na horizontal criaria scroll lateral. Entram subindo; só viram movimento
   horizontal a partir de 1024px, onde ficam lado a lado e a direção faz sentido. */
.js .reveal--left,
.js .reveal--right { transform: translateY(24px); }
@media (min-width: 1024px) {
  .js .reveal--left  { transform: translateX(-34px); }
  .js .reveal--right { transform: translateX(34px); }
}
.js .reveal--rise.is-visible,
.js .reveal--left.is-visible,
.js .reveal--right.is-visible,
.js .reveal--scale.is-visible { transform: none; }

/* Régua da marca: "desenha" da esquerda quando entra em cena */
.js .rule.reveal--rule {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 640ms var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.js .rule.reveal--rule.is-visible { transform: scaleX(1); }
.js .rule--center.reveal--rule { transform-origin: center; }

/* Ícones dos diferenciais: leve "pop" em sincronia com o stagger do card */
.js .fcard.reveal.is-visible .fcard__ico {
  animation: ico-pop 540ms var(--ease-out-expo) both;
  animation-delay: calc(var(--d, 0ms) + 90ms);
}
@keyframes ico-pop { 0% { opacity: 0; transform: translateY(6px) scale(.7); } 100% { opacity: 1; transform: none; } }

/* Micro-interação: o ícone do WhatsApp avança um toque no hover */
.btn--wa .ico-wa { transition: transform var(--dur-hover) var(--ease-out-expo); }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover .ico-wa { transform: translateX(3px); }
}

/* ─── 17. MOVIMENTO REDUZIDO ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Não confiar só na duração zerada: o conteúdo nasce visível */
  .js .reveal { opacity: 1; transform: none; }
  .hero__img { animation: none; }
  .wa-float.is-pulsing::before { animation: none; }
  .js .stars__fill { width: var(--pct); }
  .js .rule.reveal--rule { transform: none; }
  .js .fcard.reveal.is-visible .fcard__ico { animation: none; }
}

/* ─── LOGO DA MARCA (Rinkão) ─────────────────────────────────────────────── */
.hero__brand {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.hero__logo {
  width: clamp(140px, 30vw, 190px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(10,18,63,.45));
}
@media (min-width: 1024px) {
  .hero__brand { justify-content: flex-start; }
  .hero__logo { width: 190px; }
}
.footer__logo {
  width: clamp(150px, 34vw, 180px);
  height: auto;
  margin: 0 auto var(--sp-4);
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════
   18. NAVEGAÇÃO DO SITE (multi-página) — sticky, dropdown, menu mobile
   ══════════════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 95;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-ui) var(--ease-standard),
              border-color var(--dur-ui) var(--ease-standard),
              box-shadow var(--dur-ui) var(--ease-standard);
}
/* Sólida: no scroll (home) e sempre nas páginas internas (.site-nav--solid) */
.site-nav.is-solid,
.site-nav--solid {
  background: rgba(10, 18, 63, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--c-border-dark);
  box-shadow: 0 6px 24px rgba(10, 18, 63, .28);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 100%;
}
.site-nav__logo { display: inline-flex; flex: none; }
.site-nav__logo img {
  width: clamp(104px, 22vw, 132px);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(10, 18, 63, .5));
}

/* Botão hambúrguer (mobile) */
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: none;
  background: transparent;
  color: var(--c-on-dark);
  cursor: pointer;
}
.site-nav__bars, .site-nav__bars::before, .site-nav__bars::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-hover) var(--ease-standard),
              opacity var(--dur-hover) var(--ease-standard);
}
.site-nav__bars { position: relative; }
.site-nav__bars::before { position: absolute; top: -7px; left: 0; }
.site-nav__bars::after  { position: absolute; top:  7px; left: 0; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::before { transform: translateY(7px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Menu — mobile: painel que desce abaixo da barra */
.site-nav__menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  max-height: calc(100svh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-6);
  background: rgba(10, 18, 63, .98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-dark);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-ui) var(--ease-standard),
              transform var(--dur-ui) var(--ease-standard),
              visibility 0s linear var(--dur-ui);
}
.site-nav__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.site-nav__list { display: flex; flex-direction: column; gap: 2px; }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 13px 8px;
  border: none;
  background: transparent;
  color: var(--c-on-dark);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border-radius: var(--r-md);
}
a.site-nav__link[aria-current="page"] { color: var(--c-gold-hover); }
.site-nav__caret { width: 16px; height: 16px; transition: transform var(--dur-hover) var(--ease-standard); margin-left: auto; }
.site-nav__sub-toggle[aria-expanded="true"] .site-nav__caret { transform: rotate(180deg); }

/* Submenu — mobile: acordeão */
.site-nav__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-ui) var(--ease-standard);
}
.site-nav__sub-toggle[aria-expanded="true"] + .site-nav__sub { grid-template-rows: 1fr; }
.site-nav__sub > ul { overflow: hidden; }
.site-nav__sub a {
  display: block;
  padding: 11px 8px 11px 20px;
  color: var(--c-on-dark-muted);
  font-size: 15px;
  border-radius: var(--r-md);
}
.site-nav__sub a[aria-current="page"] { color: var(--c-gold-hover); }
.btn--nav { min-height: 48px; margin-top: var(--sp-3); }

/* Realce de foco/hover coerente */
@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover, .site-nav__sub a:hover { color: var(--c-gold-hover); }
}

/* ── Desktop: barra horizontal + dropdown ─────────────────────────────────── */
@media (min-width: 1024px) {
  .site-nav__toggle { display: none; }
  .site-nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-2);
    max-height: none;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }
  .site-nav__list { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav__item { position: relative; }
  .site-nav__link { width: auto; padding: 8px 14px; font-size: 15px; font-weight: 600; white-space: nowrap; border-radius: var(--r-md); }
  .site-nav__caret { margin-left: 2px; }

  .site-nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: block;
    min-width: 268px;
    padding: 8px;
    border-radius: var(--r-lg);
    background: rgba(15, 23, 74, .98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--c-border-dark);
    box-shadow: var(--sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--dur-hover) var(--ease-standard),
                transform var(--dur-hover) var(--ease-standard),
                visibility 0s linear var(--dur-hover);
  }
  .site-nav__item--has-sub:hover .site-nav__sub,
  .site-nav__item--has-sub:focus-within .site-nav__sub,
  .site-nav__sub-toggle[aria-expanded="true"] + .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .site-nav__sub > ul { overflow: visible; }
  .site-nav__sub a { padding: 10px 12px; font-size: 14.5px; white-space: nowrap; }
  .btn--nav { min-height: 42px; margin-top: 0; margin-left: var(--sp-3); padding: 0 18px; font-size: 15px; }
}

/* ── Cabeçalho de página interna (band no topo, abaixo da nav) ─────────────── */
.page-head {
  background: var(--c-dark);
  color: var(--c-on-dark);
  padding-top: calc(var(--nav-h) + var(--sp-7));
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--c-border-dark);
}
@media (min-width: 1024px) {
  .page-head { padding-top: calc(var(--nav-h) + var(--sp-8)); padding-bottom: var(--sp-8); }
}
.page-head h1 { color: var(--c-on-dark); margin-bottom: var(--sp-4); max-width: 20ch; }
.page-head .lead { color: var(--c-on-dark-muted); }
.page-head .eyebrow { margin-bottom: var(--sp-3); }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--sp-4); font-size: 13px; color: var(--c-on-dark-muted); }
.crumbs a { color: var(--c-on-dark-muted); box-shadow: inset 0 -1px 0 rgba(170,178,219,.3); }
.crumbs a:hover { color: var(--c-on-dark); }
.crumbs span[aria-current] { color: var(--c-on-dark); }
.crumbs .sep { opacity: .5; }

/* Impede que âncoras fiquem sob a nav fixa */
:where(main[id], section[id], h2[id]) { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* No-scroll do body quando o menu mobile está aberto */
body.nav-open { overflow: hidden; }

/* Prosa das páginas de conteúdo/SEO */
.prose { max-width: 72ch; }
.prose p { margin-bottom: var(--sp-4); }
.prose h2 { margin-top: var(--sp-8); margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose ul.bullets { margin: 0 0 var(--sp-4); }
.prose ul.bullets li { position: relative; padding-left: 22px; margin-bottom: var(--sp-2); color: inherit; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 999px; background: var(--c-gold-a28); border: 1.5px solid var(--c-gold); }
.prose a.inline { color: var(--c-gold); box-shadow: inset 0 -1px 0 var(--c-gold-a28); font-weight: 600; }
.section--light .prose a.inline { color: #b23a37; }

/* FAQ (acordeão nativo <details>) */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border: 1px solid var(--c-sand); border-radius: var(--r-md); background: var(--c-white); margin-bottom: var(--sp-3); overflow: hidden; }
.section--dark .faq__item, .section--surface .faq__item { background: var(--c-surface-2); border-color: var(--c-border-dark); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px; color: inherit;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--c-gold); flex: none; transition: transform var(--dur-hover) var(--ease-standard); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__a { padding: 0 20px 18px; color: var(--c-on-light-muted); font-size: 15px; line-height: 1.6; }
.section--dark .faq__item .faq__a, .section--surface .faq__item .faq__a { color: var(--c-on-dark-muted); }

/* Comparativo simples (tabela responsiva) */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--c-sand); }
.cmp thead th { font-family: var(--font-sans); font-weight: 700; color: var(--c-on-light); }
.cmp tbody th { font-weight: 600; color: var(--c-on-light); }
.cmp td { color: var(--c-on-light-muted); }
.cmp .cmp__me { background: var(--c-gold-a12); color: var(--c-on-light); font-weight: 600; }

/* ── Rodapé com mapa do site (multi-página) ───────────────────────────────── */
.footer__grid { display: grid; gap: var(--sp-6); text-align: left; }
.footer__col--brand { max-width: 40ch; }
.footer__col .footer__logo { margin: 0 0 var(--sp-4); }
.footer__h {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-on-dark);
  margin-bottom: var(--sp-3);
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { color: var(--c-on-dark-muted); font-size: 15px; }
.footer__col ul a:hover { color: var(--c-on-dark); }
.footer__col .addr { margin-bottom: var(--sp-3); }
.footer__btm { border-top: 1px solid var(--c-border-dark); margin-top: var(--sp-6); padding-top: var(--sp-5); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); }
}
