/* =========================================================
   Maro Camargo — identidade visual baseada na capa do livro
   "Ponto de Encontro" (tons de verde-água / teal + branco)
   ========================================================= */

:root {
  --teal-950: #072f30;
  --teal-900: #0a3f40;
  --teal-800: #0e5657;
  --teal-700: #146c6d;
  --teal-600: #1a8586;
  --teal-500: #229c9c;
  --teal-400: #4fb8b6;
  --teal-300: #8fd7d3;
  --teal-200: #bfe9e6;
  --teal-100: #e5f6f5;
  --teal-50:  #f3fbfa;

  --accent-600: #b5652f;
  --accent-500: #c97b45;
  --accent-100: #f6e3d3;

  --ink: #103334;
  --ink-soft: #3d5f60;
  --white: #ffffff;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;

  --shadow-soft: 0 20px 45px -20px rgba(10, 63, 64, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(10, 63, 64, 0.25);

  --container-w: 1140px;

  /* ---- Tema (claro por padrão) ---- */
  --bg-page: var(--white);
  --bg-surface: var(--white);
  --bg-tint: var(--teal-50);
  --text-body: var(--ink);
  --text-heading: var(--teal-900);
  --text-soft: var(--ink-soft);
  --border-soft: var(--teal-100);
  --header-bg: rgba(255, 255, 255, 0.92);
  --tag-bg: var(--teal-100);
  --tag-text: var(--teal-800);
  --alert-error-bg: #fbeae7;
  --alert-error-text: #a63a2b;
  --alert-error-border: #f2c6bd;
  --alert-success-bg: #e4f5ee;
  --alert-success-text: #1e7a52;
  --alert-success-border: #bfe6d4;
  --whatsapp-bg: #25d366;
  --whatsapp-fg: #ffffff;
}

[data-theme="dark"] {
  --bg-page: #0b2223;
  --bg-surface: #123534;
  --bg-tint: #0e2b2b;
  --text-body: #d7ece9;
  --text-heading: #f2fbf9;
  --text-soft: #a9c7c4;
  --border-soft: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(11, 34, 35, 0.88);
  --tag-bg: rgba(255, 255, 255, 0.07);
  --tag-text: #bfe9e6;
  --shadow-soft: 0 20px 45px -20px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --alert-error-bg: #3a1f1a;
  --alert-error-text: #f3b3a3;
  --alert-error-border: #5c2c22;
  --alert-success-bg: #123a2c;
  --alert-success-text: #8fe0bb;
  --alert-success-border: #1c5a41;
  --whatsapp-bg: #22c35e;
  --whatsapp-fg: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text-heading);
}
p { margin: 0 0 1em; }
a { color: var(--teal-700); text-decoration: none; }
[data-theme="dark"] a { color: var(--teal-300); }
a:hover { color: var(--teal-500); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark {
  background: linear-gradient(160deg, var(--teal-950), var(--teal-800));
  color: var(--teal-50);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
[data-theme="dark"] .eyebrow { color: var(--teal-300); }
.section--dark .eyebrow { color: var(--teal-300); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--teal-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--teal-800); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--teal-100); color: var(--teal-900); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-accent { background: var(--accent-600); color: var(--white); }
.btn-accent:hover { background: var(--accent-500); color: var(--white); }
.btn-teal { background: var(--teal-700); color: var(--white); }
.btn-teal:hover { background: var(--teal-600); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-200); }
[data-theme="dark"] .btn-ghost { color: var(--teal-200); border-color: var(--border-soft); }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-danger { background: #b3392f; color: var(--white); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-heading);
}
.brand span { color: var(--teal-500); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo--footer { height: 52px; margin-bottom: 10px; }
[data-theme="dark"] .brand-logo:not(.brand-logo--footer) { filter: brightness(0) invert(1); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-body);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--teal-600); border-color: var(--teal-500); }
[data-theme="dark"] .site-nav a:hover, [data-theme="dark"] .site-nav a.is-active { color: var(--teal-300); border-color: var(--teal-300); }
.site-nav a.nav-cta {
  background: var(--teal-700);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
}
.site-nav a.nav-cta:hover { background: var(--teal-600); }

.header-utils { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.lang-switch { display: flex; gap: 2px; background: var(--bg-tint); border-radius: 999px; padding: 3px; }
.lang-switch a.site-nav-lang {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--text-soft) !important;
  font-family: var(--font-heading);
  border: none !important;
}
.lang-switch a.site-nav-lang.is-active { background: var(--teal-700); color: var(--white) !important; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-heading);
  font-size: 1.05rem;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover { background: var(--bg-tint); }
.theme-toggle .icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .icon-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-dark { display: inline; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text-heading); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 15%, var(--teal-300) 0%, var(--teal-500) 24%, var(--teal-800) 55%, var(--teal-950) 100%);
  color: var(--white);
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -8%;
  width: 620px; height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero::after {
  content: "";
  position: absolute;
  top: 4%; right: 6%;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-200);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--teal-200); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--teal-100);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-portrait img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
  border: 6px solid rgba(255,255,255,0.15);
}

/* ---------- Cards genéricos ---------- */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.credentials { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.credentials li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-tint);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
}
.topics-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.topics-tags span {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Livro ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.book-cover img { border-radius: var(--radius-md); box-shadow: 0 25px 55px -20px rgba(0,0,0,0.5); }
.book-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-heading);
  border-left: 4px solid var(--accent-500);
  padding-left: 20px;
  margin: 24px 0;
}

/* ---------- Palestras & Consultorias ---------- */
.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 36px 30px;
  border-top: 5px solid var(--teal-500);
}
.service-card h3 { font-size: 1.3rem; }
.service-card ul { color: var(--text-soft); padding-left: 1.1em; }

/* ---------- Agenda ---------- */
.agenda-list { display: grid; gap: 22px; }
.agenda-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 26px;
  align-items: center;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  border: 1px solid var(--border-soft);
}
.agenda-date {
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  color: var(--white);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 16px 8px;
  font-family: var(--font-heading);
}
.agenda-date .dia { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1; }
.agenda-date .mes { display: block; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; margin-top: 4px; color: var(--teal-200); }
.agenda-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.agenda-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--text-soft); margin-bottom: 6px; }
.agenda-meta strong { color: var(--teal-600); }
[data-theme="dark"] .agenda-meta strong { color: var(--teal-300); }
.agenda-badge {
  display: inline-block;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
[data-theme="dark"] .agenda-badge { background: rgba(201, 123, 69, 0.22); color: #f0b083; }
.agenda-video {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  margin: 12px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.agenda-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.agenda-vagas { font-size: 0.82rem; color: var(--teal-700); font-weight: 600; }
[data-theme="dark"] .agenda-vagas { color: var(--teal-300); }
.agenda-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.agenda-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-soft);
  background: var(--bg-tint);
  border-radius: var(--radius-md);
}

/* ---------- Blog ---------- */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text-body); }
.blog-card:hover { color: var(--text-body); }
.blog-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card__body { padding: 22px 24px 26px; }
.blog-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card__body p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 12px; }
.blog-card__date { font-size: 0.78rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.blog-pagination a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-tint); color: var(--text-body); font-weight: 600; font-size: 0.9rem;
}
.blog-pagination a.is-active { background: var(--teal-700); color: var(--white); }
.blog-content { font-size: 1.05rem; line-height: 1.75; }
.blog-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.blog-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.blog-content blockquote {
  border-left: 4px solid var(--accent-500);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-soft);
  font-style: italic;
}
.blog-content img { border-radius: var(--radius-sm); margin: 16px 0; }
.blog-content a { text-decoration: underline; }
.blog-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border-soft); }
.blog-share__label { font-weight: 600; color: var(--text-heading); margin: 0; font-size: 0.9rem; }

/* ---------- Em breve (placeholders) ---------- */
.coming-soon {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
}
.coming-soon__badge {
  display: inline-block;
  background: var(--accent-100);
  color: var(--accent-600);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
[data-theme="dark"] .coming-soon__badge { background: rgba(201, 123, 69, 0.22); color: #f0b083; }
.coming-soon p { color: var(--text-soft); margin-bottom: 26px; }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 22, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay figure { margin: 0; max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-overlay img { max-width: 100%; max-height: 78vh; border-radius: var(--radius-sm); display: inline-block; }
.lightbox-overlay figcaption { color: var(--teal-100); margin-top: 14px; font-size: 0.92rem; }
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.admin-photo-card { background: var(--bg-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.admin-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.admin-photo-card__body { padding: 16px 18px; }
.admin-photo-card__evento { font-weight: 600; font-size: 0.9rem; color: var(--text-heading); margin: 0 0 4px; }
.admin-photo-card__legenda { font-size: 0.85rem; color: var(--text-soft); margin: 0 0 8px; }

/* ---------- Loja ---------- */
.produto-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text-body); }
.produto-card:hover { color: var(--text-body); }
.produto-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.produto-card__body { padding: 20px 22px 24px; }
.produto-card__body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.produto-card__preco { color: var(--teal-600); font-weight: 700; margin: 0; }
[data-theme="dark"] .produto-card__preco { color: var(--teal-300); }
.produto-card--esgotado { opacity: 0.6; }
.produto-card__badge {
  display: inline-block; margin-top: 8px; background: #b3392f; color: #fff;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- Frete ---------- */
.frete-opcoes { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 20px; }
.frete-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
}
.frete-opcao input { width: 16px; height: 16px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  color: var(--text-body);
  font-weight: 600;
}
.contact-list a:hover { color: var(--teal-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--teal-950), var(--teal-900));
  color: var(--teal-100);
  padding-top: 64px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__heading {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer__links, .site-footer__social { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--teal-100); }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom { padding: 20px 0; }
.site-footer__bottom p { margin: 0; font-size: 0.85rem; color: var(--teal-300); text-align: center; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp-bg);
  color: var(--whatsapp-fg) !important;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); color: var(--whatsapp-fg); }
.whatsapp-float:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}
@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-page); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: linear-gradient(160deg, var(--teal-950), var(--teal-800));
  color: var(--white);
  padding: 32px 22px;
  flex-shrink: 0;
}
.admin-sidebar .brand { color: var(--white); display: block; margin-bottom: 40px; }
.admin-sidebar .brand span { color: var(--teal-300); }
.admin-nav { display: flex; flex-direction: column; gap: 6px; }
.admin-nav a {
  color: var(--teal-100);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.94rem;
}
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255,255,255,0.12); color: var(--white); }
.admin-main { flex: 1; padding: 40px 44px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { margin: 0; font-size: 1.6rem; }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 80% 10%, var(--teal-400), var(--teal-800) 60%, var(--teal-950));
  padding: 24px;
  position: relative;
}
.login-shell .theme-toggle { position: absolute; top: 24px; right: 24px; }
.login-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 44px;
  width: 100%;
  max-width: 400px;
}
.login-card h1 { text-align: center; font-size: 1.4rem; }
.login-card p.sub { text-align: center; color: var(--text-soft); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text-heading); }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--bg-surface);
  color: var(--text-body);
}
.form-control:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--bg-tint); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: 0.8rem; color: var(--text-soft); margin-top: 4px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; }
.alert-error { background: var(--alert-error-bg); color: var(--alert-error-text); border: 1px solid var(--alert-error-border); }
.alert-success { background: var(--alert-success-bg); color: var(--alert-success-text); border: 1px solid var(--alert-success-border); }

.admin-table { width: 100%; border-collapse: collapse; background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table th, .admin-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 0.92rem; color: var(--text-body); }
.admin-table th { background: var(--bg-tint); font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); }
.admin-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; }
.status-pill.ativo { background: var(--alert-success-bg); color: var(--alert-success-text); }
.status-pill.inativo { background: var(--bg-tint); color: var(--text-soft); }
.table-actions { display: flex; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-portrait { order: -1; }
  .about-grid, .book-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 28px 20px; }
}
@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    box-shadow: var(--shadow-card);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .header-utils { margin-left: 0; }
  .nav-toggle { display: flex; }
  .agenda-card { grid-template-columns: 90px 1fr; }
  .agenda-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
