/* =========================================================================
   Hospedagem Emerick — Patrimônio da Penha (Alfredo Chaves/ES)
   Design system derivado das fotos: verde-montanha, sol amarelo, azul-flor,
   creme e madeira. Tema escuro como padrão. Zero dependência.
   ========================================================================= */

/* ---------------------------------------------------------------- Fontes */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------- Design tokens */
:root {
  /* Cores de marca (constantes nos dois temas) */
  --brand-green: #1f7a5e;
  --brand-green-bright: #4fb58e;
  --brand-sun: #f2c230;
  --brand-blue: #2f6bc4;
  --brand-wood: #8a5a32;

  /* Tema CLARO (override do dark logo abaixo) */
  --bg: #faf6ee;
  --surface: #ffffff;
  --surface-2: #f3ecdd;
  --text: #1c2b3a;
  --text-soft: #4a5a66;
  --heading: #15633f;
  --border: #e3d8c4;
  --accent: #1f7a5e;
  --accent-ink: #ffffff; /* texto sobre accent */
  --sun: #d99a00;
  --shadow: 0 1px 2px rgba(28, 43, 58, .06), 0 8px 24px rgba(28, 43, 58, .08);
  --shadow-lift: 0 6px 16px rgba(28, 43, 58, .12), 0 24px 48px rgba(28, 43, 58, .16);
  --hero-scrim: linear-gradient(180deg, rgba(18, 33, 28, .28) 0%, rgba(18, 33, 28, .55) 60%, rgba(18, 33, 28, .78) 100%);

  /* Forma & profundidade — madeira = cantos macios, sombra quente */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: light dark;
}

:root[data-theme='dark'] {
  --bg: #12211c;
  --surface: #1a2e27;
  --surface-2: #213a31;
  --text: #f1e9d8;
  --text-soft: #b9c4b8;
  --heading: #ebd9a8;
  --border: #2c4238;
  --accent: #4fb58e;
  --accent-ink: #0d1a15;
  --sun: #f2c230;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .38);
  --shadow-lift: 0 8px 20px rgba(0, 0, 0, .4), 0 28px 56px rgba(0, 0, 0, .5);
  --hero-scrim: linear-gradient(180deg, rgba(8, 16, 13, .35) 0%, rgba(8, 16, 13, .6) 55%, rgba(8, 16, 13, .85) 100%);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }

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

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

.visually-hidden {
  position: absolute; 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: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .8rem; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }

.section { padding-block: var(--section-y); }
.section.alt { background: var(--surface-2); }

/* -------------------------------------------------------------- Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out), color .18s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }

/* -------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-size: 1.05rem; color: var(--heading); }
.brand-text span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--radius-sm); font-weight: 500;
  font-size: .96rem; color: var(--text); transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface-2); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--border); color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme='dark'] .theme-toggle .sun { display: none; }
:root[data-theme='dark'] .theme-toggle .moon { display: block; }

.nav-toggle { display: none; }

/* Menu mobile */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.4rem; box-shadow: var(--shadow-lift);
    transform: translateY(-140%); transition: transform .32s var(--ease-out);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .85rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn { margin-top: .6rem; }
}

/* -------------------------------------------------------------- Hero */
.hero {
  position: relative; min-height: min(92svh, 820px);
  display: flex; align-items: flex-end;
  padding-top: 68px; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-scrim); }
.hero-inner { padding-block: clamp(2.5rem, 7vw, 5.5rem); max-width: 44rem; color: #fff; }
.hero .eyebrow { color: var(--brand-sun); }
.hero .eyebrow::before { background: var(--brand-sun); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1.02;
  margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero h1 em { font-style: italic; color: var(--brand-sun); }
.hero-sub { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 34rem; margin-bottom: 1.8rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2.2rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-fact b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-sun); }
.hero-fact span { font-size: .88rem; color: rgba(255, 255, 255, .82); }

/* ---------------------------------------------------------- Sobre / split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-lift); display: flex; gap: .7rem; align-items: center;
  max-width: 15rem;
}
.split-media .badge svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.split-media .badge b { font-family: var(--font-display); display: block; color: var(--heading); }
.split-media .badge span { font-size: .82rem; color: var(--text-soft); line-height: 1.3; }
.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--text-soft); font-size: 1.06rem; }
.prose h2 { color: var(--heading); }
@media (max-width: 820px) { .split-media .badge { left: 12px; } }

/* -------------------------------------------------------------- Cards ap. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.2rem, 3vw, 1.8rem); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--text-soft); font-size: .98rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .4rem; }
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: .3rem .7rem; border-radius: 999px;
}

/* -------------------------------------------------------------- Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: .8rem; }
.gallery::before { content: ""; width: 0; padding-bottom: 100%; grid-row: 1 / 1; grid-column: 1 / 1; }
.gallery > *:first-child { grid-row: 1 / 1; grid-column: 1 / 1; }
.gallery-item {
  position: relative; border: none; padding: 0; border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); background: var(--surface-2);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; } }

/* -------------------------------------------------------- Diferenciais */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem 1.1rem; text-align: center; box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out), border-color .2s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-ic {
  width: 52px; height: 52px; margin: 0 auto .8rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.feature-ic svg { width: 26px; height: 26px; }
.feature b { display: block; font-family: var(--font-display); color: var(--heading); font-size: 1.05rem; margin-bottom: .2rem; }
.feature span { font-size: .86rem; color: var(--text-soft); }

/* -------------------------------------------------------- Faixa parallax */
.quote-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(4rem, 11vw, 8rem); text-align: center; color: #fff;
}
.quote-band .hero-media img { transform: scale(1.12); }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(8, 16, 13, .62), rgba(8, 16, 13, .72)); }
.quote-band blockquote { max-width: 44rem; margin-inline: auto; }
.quote-band p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.3; color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}
.quote-band cite { display: block; margin-top: 1.4rem; font-style: normal; font-weight: 600; color: var(--brand-sun); letter-spacing: .04em; }

/* -------------------------------------------------------- Localização */
.map-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lift); background: var(--surface);
}
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.95); }
:root[data-theme='dark'] .map-card iframe { filter: saturate(.9) brightness(.85) contrast(1.05); }
.loc-list { display: grid; gap: 1rem; }
.loc-item { display: flex; gap: .9rem; align-items: flex-start; }
.loc-item svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.loc-item b { display: block; color: var(--heading); font-family: var(--font-display); }
.loc-item span { color: var(--text-soft); font-size: .96rem; }

/* -------------------------------------------------------- Avaliações */
.reviews-head { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.rating-big { display: flex; align-items: center; gap: 1rem; }
.rating-big .num { font-family: var(--font-display); font-size: 3rem; color: var(--heading); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--sun); }
.stars svg { width: 20px; height: 20px; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem;
}
.review .stars svg { width: 16px; height: 16px; }
.review p { color: var(--text); font-size: .98rem; }
.review footer { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
}
.review .who b { display: block; color: var(--heading); font-size: .95rem; }
.review .who span { font-size: .8rem; color: var(--text-soft); }

/* -------------------------------------------------------------- FAQ */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-weight: 600; color: var(--heading);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform .25s var(--ease-out); color: var(--accent); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }

/* -------------------------------------------------------------- CTA final */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  color: #fff; box-shadow: var(--shadow-lift);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--brand-green) 0%, #15633f 55%, #0f4a30 100%);
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: .8rem; }
.cta p { color: rgba(255, 255, 255, .92); max-width: 34rem; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta .btn-primary { background: var(--brand-sun); color: #2a2000; }
.cta .btn-primary:hover { background: #ffce3a; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand b { font-family: var(--font-display); font-size: 1.2rem; color: var(--heading); }
.site-footer .col p { color: var(--text-soft); font-size: .95rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.site-footer .col a { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); padding: .3rem 0; font-size: .96rem; transition: color .15s; }
.site-footer .col a:hover { color: var(--accent); }
.site-footer .col a svg { width: 18px; height: 18px; color: var(--accent); }
.socials { display: flex; gap: .6rem; margin-top: .4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; }
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; align-items: center; color: var(--text-soft); font-size: .86rem; }
.footer-bottom .credit a { color: var(--text-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .15s; }
.footer-bottom .credit a:hover { color: var(--accent); }

/* -------------------------------------------------------- WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* -------------------------------------------------------------- Lightbox */
.lightbox { border: none; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(6, 12, 10, .9); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; place-items: center; gap: .8rem; padding: 1rem; max-width: 96vw; }
.lb-figure img { max-width: 92vw; max-height: 80vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.lb-figure figcaption { color: rgba(255, 255, 255, .9); font-size: .95rem; text-align: center; }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background .15s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; transform: none; }
@media (max-width: 620px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-btn { width: 44px; height: 44px; } }

/* -------------------------------------------------------- Reveal / loader */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

#loader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: grid; place-items: center; transition: opacity .4s var(--ease-out), visibility .4s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader-mark { animation: none; } }
