/* ============================================================
   Fazenda Gavião Real — Design System Principal
   Cáceres, MT - Portal do Pantanal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ─── CSS Variables ───────────────────────────────────────── */
:root {
  --cinza: #1e1e1e;
  --cinza-medio: #333333;
  --cinza-claro: #f5f4f0;
  --verde: #2D5A27;
  --verde-claro: #3d7a35;
  --verde-escuro: #1b3a18;
  --amarelo: #FBC02D;
  --amarelo-claro: #FFD54F;
  --branco: #ffffff;
  --overlay: rgba(27, 58, 24, 0.72);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .12);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .18);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .25);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-text: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  background: var(--cinza-claro);
  color: var(--cinza-medio);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ─── Utilidades ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--sm {
  max-width: 760px;
}

.container--md {
  max-width: 960px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--cinza-medio);
  color: var(--branco);
}

.section--green {
  background: var(--verde-escuro);
  color: var(--branco);
}

.section--light {
  background: var(--branco);
}

.text-center {
  text-align: center;
}

.text-verde {
  color: var(--verde);
}

.text-amarelo {
  color: var(--amarelo);
}

.text-branco {
  color: var(--branco);
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* ─── Typography ──────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: inherit;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: #777;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section--dark .section-sub,
.section--green .section-sub {
  color: rgba(255, 255, 255, .65);
}

/* ─── Botões ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--amarelo);
  color: var(--cinza-medio);
  border-color: var(--amarelo);
  box-shadow: 0 4px 15px rgba(251, 192, 45, .35);
}

.btn-primary:hover {
  background: var(--amarelo-claro);
  box-shadow: 0 6px 25px rgba(251, 192, 45, .6);
  transform: translateY(-2px);
}

.btn-verde {
  background: var(--verde);
  color: var(--branco);
  border-color: var(--verde);
}

.btn-verde:hover {
  background: var(--verde-claro);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--branco);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: .5rem 1.2rem;
  font-size: .85rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ─── Header / Navbar ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s;
  padding: 0 20px;
}

.header.scrolled {
  background: rgba(27, 58, 24, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--branco);
}

.navbar-brand .brand-logo-img {
  height: 78px;
  width: auto;
  transition: transform var(--transition);
}

.navbar-brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.navbar-brand .brand-text {
  line-height: 1.15;
}

.navbar-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.navbar-brand .brand-sub {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amarelo);
  opacity: .85;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-nav a {
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amarelo);
  transition: width var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--branco);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  margin-left: .5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--verde-escuro);
}

.hero-sm {
  min-height: 35vh;
  padding: 60px 0 30px;
}

.hero-sm h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}

.hero-sm .hero-logo img {
  height: 120px;
}

.hero-sm p {
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  animation: heroZoom 10s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(27, 58, 24, .85) 0%,
      rgba(27, 58, 24, .5) 60%,
      rgba(0, 0, 0, .3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo img {
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4));
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(251, 192, 45, .15);
  border: 1px solid rgba(251, 192, 45, .4);
  color: var(--amarelo);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--branco);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--amarelo);
}

.hero p {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-stats .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amarelo);
  font-family: var(--font-display);
  display: block;
}

.hero-stats .stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── Cards de Atividade ──────────────────────────────────── */
.grid-atividades {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card-atividade {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.card-atividade:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Detalhe da Atividade */
.atividade-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.itens-obrigatorios-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.card-atividade .card-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-atividade .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-atividade:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-atividade .badge-dificuldade {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.badge-Fácil {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-Moderada {
  background: #fff8e1;
  color: #f57f17;
}

.badge-Difícil {
  background: #fce4ec;
  color: #c62828;
}

.badge-MuitoDifícil {
  background: #880e4f;
  color: #fff;
}

.card-body {
  padding: 1.4rem;
}

.card-body h3 {
  font-size: 1.2rem;
  color: var(--cinza-medio);
  margin-bottom: .5rem;
}

.card-body p {
  font-size: .88rem;
  color: #777;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ─── Agenda Cards ────────────────────────────────────────── */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--branco);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--verde);
  transition: box-shadow var(--transition);
}

.agenda-item:hover {
  box-shadow: var(--shadow-md);
}

.agenda-date {
  min-width: 60px;
  text-align: center;
  background: var(--verde-escuro);
  color: var(--branco);
  border-radius: 10px;
  padding: .6rem .75rem;
}

.agenda-date .day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-date .month {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}

.agenda-info {
  flex: 1;
}

.agenda-info h4 {
  font-size: 1rem;
  color: var(--cinza-medio);
}

.agenda-info .meta {
  font-size: .83rem;
  color: #888;
  display: flex;
  gap: 1rem;
  margin-top: .25rem;
  flex-wrap: wrap;
}

.agenda-info .meta span {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.valor-destaque {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--verde);
}

/* ─── Galeria Masonry ─────────────────────────────────────── */
.galeria-masonry {
  column-count: 4;
  column-gap: 1rem;
}

.galeria-masonry .galeria-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galeria-masonry .galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.galeria-masonry .galeria-item:hover img {
  transform: scale(1.04);
}

.galeria-item .galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 24, .5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 1.8rem;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

/* ─── Filtros de Galeria ──────────────────────────────────── */
.filtros-galeria {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filtro-btn {
  padding: .4rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--verde);
  color: var(--verde);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}

.filtro-btn.ativo,
.filtro-btn:hover {
  background: var(--verde);
  color: var(--branco);
}

/* ─── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 50px rgba(0,0,0,.5);
  user-select: none;
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 10001;
  transition: transform .3s;
}

.lightbox-close:hover {
  color: var(--amarelo);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: var(--amarelo);
  color: var(--cinza-medio);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

@media (max-width: 768px) {
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 20px; right: 20px; font-size: 1.8rem; }
}

/* ─── Forms ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--cinza-medio);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: .95rem;
  background: var(--branco);
  color: var(--cinza-medio);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(45, 90, 39, .12);
}

.form-control.error {
  border-color: #e53935;
}

.form-hint {
  font-size: .78rem;
  color: #999;
  margin-top: .3rem;
}

/* ─── Checkout ────────────────────────────────────────────── */
.checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.checkout-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.checkout-summary {
  background: var(--verde-escuro);
  color: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.checkout-summary h4 {
  color: var(--amarelo);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.checkout-summary .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.checkout-summary .summary-total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amarelo);
  text-align: right;
  margin-top: 1rem;
}

.cpf-lookup-group {
  position: relative;
}

.cpf-loading {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--verde);
  font-size: 1.1rem;
  display: none;
}

.cpf-status {
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  margin-top: .4rem;
  display: none;
}

.cpf-status.encontrado {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.cpf-status.novo {
  background: #e3f2fd;
  color: #1565c0;
  display: block;
}

/* Pix Confirmation */
.pix-box {
  text-align: center;
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 480px;
  margin: 0 auto;
}

.pix-box .qrcode-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.pix-copia-cola {
  background: var(--cinza-claro);
  border-radius: 10px;
  padding: 1rem;
  font-size: .78rem;
  color: #555;
  word-break: break-all;
  margin: 1rem 0;
  position: relative;
}

.btn-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--verde);
  color: var(--branco);
  border: none;
  border-radius: 6px;
  padding: .3rem .6rem;
  font-size: .75rem;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-copy:hover {
  background: var(--verde-claro);
}

.pix-status-check {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #888;
  padding: .5rem 1rem;
  border-radius: 50px;
  background: var(--cinza-claro);
  margin-top: 1rem;
}

.pix-status-check .dot {
  width: 8px;
  height: 8px;
  background: #FFA000;
  border-radius: 50%;
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

/* ─── Auth / OTP ──────────────────────────────────────────── */
.auth-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--cinza-medio) 100%);
  padding: 20px;
}

.auth-card {
  background: var(--branco);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.auth-card .auth-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--verde), var(--verde-claro));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--branco);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(45, 90, 39, .35);
}

.auth-card h2 {
  font-size: 1.5rem;
  color: var(--cinza-medio);
  margin-bottom: .5rem;
}

.auth-card p {
  font-size: .9rem;
  color: #888;
  margin-bottom: 2rem;
}

.otp-inputs {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-inputs input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--cinza-claro);
}

.otp-inputs input:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(45, 90, 39, .12);
  background: var(--branco);
}

.otp-inputs input.filled {
  border-color: var(--verde);
  background: #e8f5e9;
}

/* ─── Dashboard do Cliente ────────────────────────────────── */
.dashboard-header {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
  color: var(--branco);
  padding: 100px 20px 40px;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  margin-bottom: .25rem;
}

.dashboard-header p {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}

.trilha-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.trilha-card .trilha-img {
  height: 160px;
  object-fit: cover;
  width: 100%;
}

.trilha-card .trilha-body {
  padding: 1.2rem;
  flex: 1;
}

.trilha-card .trilha-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.status-Pago {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-Finalizada {
  background: #fff3e0;
  color: #e65100;
}

.trilha-card .trilha-acoes {
  display: flex;
  gap: .5rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

/* ─── Admin ───────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100svh;
}

.admin-sidebar {
  width: 250px;
  background: var(--cinza-medio);
  color: var(--branco);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  overflow-y: auto;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--amarelo);
}

.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  transition: all var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255, 255, 255, .08);
  color: var(--branco);
  border-left: 3px solid var(--amarelo);
}

.sidebar-nav .nav-section {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .3);
  padding: 1.25rem 1.5rem .5rem;
}

.admin-main {
  margin-left: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--branco);
  padding: 1rem 2rem;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar h2 {
  font-size: 1.15rem;
}

.admin-content {
  padding: 2rem;
  flex: 1;
}

.table-wrap {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: .85rem 1.2rem;
  text-align: left;
  font-size: .88rem;
  border-bottom: 1px solid #f0f0f0;
}

.table-wrap th {
  background: var(--cinza-claro);
  font-weight: 700;
  color: var(--cinza-medio);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.table-wrap tr:last-child td {
  border: none;
}

.table-wrap tr:hover td {
  background: #fafafa;
}

.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
}

.badge-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-warning {
  background: #fff8e1;
  color: #f57f17;
}

.badge-danger {
  background: #fce4ec;
  color: #c62828;
}

.badge-info {
  background: #e3f2fd;
  color: #1565c0;
}

/* ─── Alerta / Flash ──────────────────────────────────────── */
.alert {
  padding: .9rem 1.2rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.alert-error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.alert-info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--cinza);
  color: rgba(255, 255, 255, .65);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo-img {
  height: 64px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand .brand-logo {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--branco);
  margin-bottom: .8rem;
}

.footer-brand .brand-logo span {
  color: var(--amarelo);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
}

.footer h5 {
  color: var(--branco);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: .5rem;
  font-size: .85rem;
}

.footer ul a:hover {
  color: var(--amarelo);
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--branco);
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--amarelo);
  color: var(--cinza-medio);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
}

/* ─── História / About ────────────────────────────────────── */
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-img-wrap {
  position: relative;
}

.historia-img-wrap img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.historia-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amarelo);
  color: var(--cinza-medio);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.historia-badge-float .num {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.historia-badge-float .txt {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── Diferenciais ────────────────────────────────────────── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.diferencial-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.diferencial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09);
}

.diferencial-card .di-icon {
  font-size: 2.5rem;
  color: var(--amarelo);
  margin-bottom: 1rem;
}

.diferencial-card h4 {
  color: var(--branco);
  font-size: 1rem;
  margin-bottom: .5rem;
}

.diferencial-card p {
  font-size: .83rem;
  color: rgba(255, 255, 255, .55);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .historia-grid {
    grid-template-columns: 1fr;
  }

  .historia-img-wrap {
    max-width: 480px;
  }

  .checkout-wrap {
    grid-template-columns: 1fr;
  }

  .galeria-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {

  .navbar-nav,
  .navbar-cta {
    display: none;
  }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hamburger {
    display: flex;
  }

  .navbar.mobile-open .navbar-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(27, 58, 24, .98);
    padding: 1rem 0;
    z-index: 999;
  }

  .navbar.mobile-open .navbar-nav a {
    padding: .9rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .navbar.mobile-open .navbar-cta {
    display: block;
    padding: 1rem 1.5rem;
  }

  .galeria-masonry {
    column-count: 2;
  }

  .grid-atividades {
    grid-template-columns: 1fr;
  }

  /* Detalhe da Atividade */
  .atividade-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .itens-obrigatorios-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: none;
  }

  .admin-main {
    margin-left: 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .galeria-masonry {
    column-count: 1;
  }

  .otp-inputs input {
    width: 40px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* ─── Loading / Skeleton ──────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ─── Spinner ─────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, .3);
  border-top-color: var(--branco);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── JSON-LD / SEO (ocultos) ─────────────────────────────── */
script[type="application/ld+json"] {
  display: none;
}