/* =========================================================
   Parque Ibiti do Paço — folha de estilo
   Identidade: verde do logo, sol amarelo, céu azul, folhas.
   ========================================================= */

:root {
  /* Verdes (menu, faixas e colinas do logo) */
  --verde-950: #002202;
  --verde-900: #003e00;
  --verde-800: #004b00;
  --verde-700: #0a5f12;
  --verde-600: #1e7a1e;
  --verde-500: #2a8f2a;
  --verde-100: #e4f2e0;
  --verde-50: #f1f8ef;

  /* Sol do logo */
  --sol-300: #fcf04e;
  --sol-500: #fcd731;
  --sol-700: #e0b100;

  /* Céu (fundo original do site) */
  --ceu-300: #a5ceef;
  --ceu-200: #c5e6f7;
  --ceu-100: #e4f1fa;
  --ceu-50: #f4f9fd;

  /* Neutros */
  --ink: #152616;
  --ink-2: #4b5a4c;
  --ink-3: #74827a;
  --line: #d9e6d8;
  --white: #ffffff;

  /* Tipografia */
  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Tahoma, sans-serif;

  /* Métricas */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 38, 22, 0.06), 0 2px 8px rgba(21, 38, 22, 0.05);
  --shadow: 0 10px 30px -12px rgba(0, 62, 0, 0.25);
  --shadow-lg: 0 30px 60px -24px rgba(0, 62, 0, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ceu-50);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--verde-700); text-decoration: none; }
a:hover { color: var(--verde-900); text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
input, button, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sol-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--verde-600);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--sol-300), var(--sol-500) 60%, var(--sol-700));
  box-shadow: 0 0 0 3px rgba(252, 215, 49, 0.25);
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); text-wrap: balance; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: 0.92rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--verde-800); color: var(--white); box-shadow: 0 8px 20px -10px rgba(0, 75, 0, 0.7); }
.btn-primary:hover { background: var(--verde-900); color: var(--white); box-shadow: 0 14px 26px -12px rgba(0, 75, 0, 0.8); }
.btn-sun { background: var(--sol-500); color: var(--verde-950); box-shadow: 0 8px 20px -10px rgba(224, 177, 0, 0.9); }
.btn-sun:hover { background: var(--sol-300); color: var(--verde-950); }
.btn-outline { background: transparent; color: var(--verde-800); border-color: var(--verde-800); }
.btn-outline:hover { background: var(--verde-800); color: var(--white); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--verde-900); border-color: rgba(0, 75, 0, 0.15); }
.btn-ghost:hover { background: var(--white); color: var(--verde-900); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--verde-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(0, 75, 0, 0.08);
}
.site-header::after {
  /* faixa verde fina, herdada do site original */
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--verde-800), var(--verde-500) 50%, var(--verde-800));
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1; color: var(--verde-900); }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem; color: var(--ink-2); white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--verde-900); background: var(--verde-50); text-decoration: none; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sol-500); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta-item { display: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  align-items: center; justify-content: center; color: var(--verde-900);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* =========================================================
   HERO — o "arco do sol"
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(252, 240, 78, 0.35), transparent 70%),
    linear-gradient(180deg, var(--ceu-200) 0%, var(--ceu-100) 55%, var(--ceu-50) 100%);
  padding-top: clamp(40px, 6vw, 72px);
}
.hero-leaves {
  position: absolute; inset: 0 0 auto 0; height: 200px; pointer-events: none;
  background: url("../assets/img/folhas.webp") top center / 1280px auto no-repeat;
  opacity: 0.75;
  mix-blend-mode: multiply;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(96px, 12vw, 160px);
}
.hero-copy { animation: rise 0.9s var(--ease-out) both; }
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; margin: 18px 0 20px;
  color: var(--verde-900); text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--verde-600); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.18em; z-index: -1;
  background: var(--sol-500); border-radius: 999px; opacity: 0.85;
}
.hero-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--verde-600); }

/* O arco */
.arch-wrap { position: relative; justify-self: center; width: min(100%, 540px); animation: rise 1s 0.15s var(--ease-out) both; }
.arch-sun {
  position: absolute; z-index: 0; width: 82%; aspect-ratio: 1; border-radius: 50%;
  top: -7%; left: -9%;
  background: radial-gradient(circle at 45% 40%, var(--sol-300) 0%, var(--sol-500) 55%, var(--sol-700) 100%);
  box-shadow: 0 0 80px 10px rgba(252, 215, 49, 0.45);
  animation: sun-breathe 7s ease-in-out infinite;
}
.arch {
  position: relative; z-index: 1;
  aspect-ratio: 9 / 10.4; width: 100%;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 46% 46% var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--verde-800);
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--white), 0 0 0 7px rgba(0, 75, 0, 0.12);
}
.arch-hills {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 34%;
  pointer-events: none;
}
.arch-hills svg { width: 100%; height: 100%; }
.arch-caption {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--white);
}
.arch-caption strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0, 34, 2, 0.5); }

/* Carrossel dentro do arco */
.carousel { position: absolute; inset: 0; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 7s linear;
}
.carousel-slide.is-active img { transform: scale(1.12); }
.carousel-controls { display: flex; gap: 6px; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 34, 2, 0.45); color: var(--white); display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background-color 0.2s;
}
.carousel-btn:hover { background: rgba(0, 34, 2, 0.75); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 72px; display: flex; gap: 6px; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.55); transition: width 0.3s var(--ease-out), background-color 0.2s;
}
.carousel-dots button[aria-current="true"] { width: 22px; border-radius: 999px; background: var(--sol-500); }

/* Colinas na base do hero */
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-hills svg { width: 100%; height: clamp(50px, 9vw, 120px); display: block; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin-top: 10px; }

/* Faixa de avisos (bloco verde após o hero) */
.section-avisos { background: var(--verde-800); color: var(--white); padding-block: clamp(48px, 7vw, 80px); position: relative; }
.section-avisos .eyebrow { color: var(--sol-500); }
.section-avisos .section-title, .section-avisos h3 { color: var(--white); }
.section-avisos .lead { color: rgba(255, 255, 255, 0.78); }
.section-avisos .link-arrow { color: var(--sol-500); }
.section-avisos .link-arrow:hover { color: var(--sol-300); }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); transition: background-color 0.25s, transform 0.3s var(--ease-out);
}
.news-card:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-3px); }
.news-date { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sol-500); }
.news-date time { color: rgba(255, 255, 255, 0.85); letter-spacing: 0; font-weight: 700; text-transform: none; }
.news-card h3 { font-size: 1.3rem; color: var(--white); }
.news-card h3 a { color: inherit; }
.news-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; flex: 1; }

/* Grade principal: conteúdo + lateral */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 48px); align-items: start; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.card-body { padding: 24px; }
.card h3 { font-size: 1.35rem; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--verde-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--verde-100); color: var(--verde-800); }
.tag-sun { background: rgba(252, 215, 49, 0.35); color: #6e5600; }

.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { gap: 20px; }
.stack > .tag, .stack > .link-arrow { align-self: flex-start; }

/* Card de login (área do proprietário) */
.login-card { position: sticky; top: 104px; }
.login-card .card-body { padding: 28px; }
.login-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.login-head .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--verde-100); color: var(--verde-800); display: grid; place-items: center; flex: none; }
.login-head .icon svg { width: 22px; height: 22px; }
.login-head h3 { font-size: 1.2rem; }
.login-head p { font-size: 0.9rem; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 800; color: var(--ink-2); }
.field input {
  min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ceu-50);
  font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input:focus { outline: none; border-color: var(--verde-600); background: var(--white); box-shadow: 0 0 0 4px rgba(42, 143, 42, 0.15); }
.field-hint { font-size: 0.85rem; color: var(--ink-3); }
.form-error { display: none; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-size: 0.9rem; font-weight: 700; }
.form-error.is-visible { display: block; }
.form-success { display: none; padding: 10px 14px; border-radius: 10px; background: var(--verde-100); color: var(--verde-900); font-size: 0.9rem; font-weight: 700; }
.form-success.is-visible { display: block; }

/* Telefones rápidos */
.phone-list { display: flex; flex-direction: column; }
.phone-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.phone-list li:first-child { border-top: 0; padding-top: 0; }
.phone-list span { font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.phone-list a { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--verde-800); white-space: nowrap; }

/* App banner */
.app-card { background: linear-gradient(135deg, var(--verde-900), var(--verde-700)); color: var(--white); border: 0; }
.app-card .card-body { display: flex; gap: 16px; align-items: center; }
.app-card img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.app-card h3 { color: var(--white); font-size: 1.1rem; }
.app-card p { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.app-card a { color: var(--sol-500); font-weight: 800; }

/* História */
.section-historia { background: var(--white); position: relative; overflow: hidden; }
.historia-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.historia-photo { position: relative; }
.historia-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.historia-photo figcaption {
  position: absolute; right: -12px; bottom: 28px; max-width: 240px;
  background: var(--sol-500); color: var(--verde-950); padding: 14px 18px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25;
  box-shadow: var(--shadow);
}
.historia-photo figcaption small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 4px; }
.historia-text p + p { margin-top: 14px; }
.historia-text .quote {
  margin: 24px 0; padding: 18px 22px; border-radius: var(--radius); background: var(--verde-50);
  border-left: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--verde-900); line-height: 1.35;
}
.historia-text .quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--ink-3); margin-top: 8px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.fact { padding: 16px 18px; border-radius: 14px; background: var(--ceu-100); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--verde-800); line-height: 1; }
.fact span { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); margin-top: 6px; }

/* Lazer / galeria */
.section-lazer { background: linear-gradient(180deg, var(--ceu-50), var(--ceu-100)); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--verde-100); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); color: var(--verde-900); font-size: 0.8rem; font-weight: 800;
}

/* Lista de atividades do clube */
.amenities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.amenities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; color: var(--ink-2); }
.amenities svg { width: 18px; height: 18px; color: var(--verde-600); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { position: relative; background: linear-gradient(180deg, var(--verde-800), var(--verde-900) 60%, var(--verde-950)); color: rgba(255, 255, 255, 0.85); }
.footer-hills { line-height: 0; background: var(--ceu-100); }
.footer-hills svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; gap: 32px; padding-block: clamp(40px, 6vw, 64px) 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--white); display: block; line-height: 1.1; }
.footer-brand small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.site-footer h4 { color: var(--sol-500); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body); font-weight: 800; margin-bottom: 14px; }
.site-footer ul li + li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; flex-direction: column; }
.footer-contact span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.footer-contact a { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--white); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: var(--white); font-size: 1rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--sol-500); box-shadow: 0 0 0 4px rgba(252, 215, 49, 0.2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(252, 240, 78, 0.35), transparent 70%),
    linear-gradient(180deg, var(--ceu-200), var(--ceu-100));
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 120px);
}
.page-hero .hero-leaves { opacity: 0.55; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); color: var(--verde-900); margin: 14px 0 12px; text-wrap: balance; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.breadcrumb a { color: var(--verde-700); }
.page-body { padding-block: clamp(40px, 6vw, 72px); }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 12px; color: var(--verde-900); }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose blockquote { margin: 24px 0; padding: 18px 22px; border-radius: var(--radius); background: var(--verde-50); font-family: var(--font-display); font-size: 1.2rem; color: var(--verde-900); }
.prose .credit { font-size: 0.85rem; color: var(--ink-3); margin-top: 28px; }

.side-nav { display: flex; flex-direction: column; gap: 6px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); }
.side-nav a:hover { color: var(--verde-900); border-color: var(--verde-500); text-decoration: none; }
.side-nav svg { width: 16px; height: 16px; }

/* Notícias (lista) */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s; }
.news-item:hover { border-color: var(--verde-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.news-item time { font-family: var(--font-display); font-weight: 600; color: var(--verde-800); font-size: 1.05rem; line-height: 1.2; }
.news-item time small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.news-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.news-item p { color: var(--ink-2); font-size: 0.98rem; }

/* Telefones úteis (tabela) */
.phone-table { display: flex; flex-direction: column; gap: 10px; }
.phone-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.phone-row strong { font-weight: 800; color: var(--ink); }
.phone-row .nums { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--font-display); font-weight: 600; color: var(--verde-800); }
.phone-row .nums a { white-space: nowrap; }
.phone-row.is-emergency { background: var(--verde-50); border-color: var(--verde-500); }
.phone-filter { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); width: 100%; max-width: 420px; font-size: 1rem; margin-bottom: 20px; }
.phone-filter:focus { outline: none; border-color: var(--verde-600); box-shadow: 0 0 0 4px rgba(42, 143, 42, 0.15); }

/* Galeria (página) */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.album { display: block; color: inherit; }
.album:hover { text-decoration: none; }
.album .card-media { aspect-ratio: 4 / 3; }
.album h3 { font-size: 1.15rem; margin-bottom: 4px; }
.album p { font-size: 0.9rem; color: var(--ink-2); }

/* Eventos */
.event-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.event-card .card-media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.event-when { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.event-when li { display: inline-flex; align-items: center; gap: 8px; }
.event-when svg { width: 18px; height: 18px; color: var(--verde-600); }

/* Estado vazio */
.empty { padding: 32px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); background: var(--white); }

/* =========================================================
   REVELAÇÃO AO ROLAR
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes sun-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .carousel-slide img, .carousel-slide.is-active img { transform: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid .news-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; }
}

@media (max-width: 1100px) {
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; padding: 12px var(--gutter) 20px;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { width: 100%; min-height: 48px; border-radius: 12px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-header { display: none; }
  .nav-cta-item { display: block; margin-top: 8px; }
  .nav-cta-item a { justify-content: center; background: var(--verde-800); color: var(--white); }
  .nav-cta-item a:hover, .nav-cta-item a[aria-current="page"] { background: var(--verde-900); color: var(--white); box-shadow: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .arch-wrap { width: min(100%, 460px); }
  .layout-side { grid-template-columns: 1fr; }
  .login-card { position: static; }
  .historia-grid { grid-template-columns: 1fr; }
  .historia-photo { max-width: 480px; }
  .historia-photo figcaption { right: 8px; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.05rem; }
  .brand img { width: 46px; height: 46px; }
  .news-grid, .two-up, .facts, .album-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .phone-row { grid-template-columns: 1fr; gap: 6px; }
  .hero-actions .btn { width: 100%; }
  .arch-caption strong { font-size: 0.95rem; }
  .carousel-dots { bottom: 64px; }
}
