/* ================================================================
   Clubinho Literário para Escolas — CSS Premium
   Paleta: Dourado + Bege + Marrom + Creme
   Tipografia: Cormorant Garamond / Montserrat / Playfair Display
   ================================================================ */

:root {
  --gold:        #C89B3C;
  --gold-light:  #E8C98D;
  --gold-pale:   #F5E9D6;
  --cream:       #FFF8EF;
  --cream-dk:    #FAF1E3;
  --brown:       #4B2F1C;
  --brown-dk:    #2B1B12;
  --green:       #2F4A35;
  --text:        #1D1D1D;
  --text-light:  #6B5B4E;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(75,47,28,.10);
  --shadow-lg:   0 12px 48px rgba(75,47,28,.16);
  --shadow-xl:   0 20px 60px rgba(75,47,28,.20);
  --radius:      14px;
  --radius-lg:   22px;
  --trans:       0.3s ease;
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--brown); }
img { max-width: 100%; height: auto; display: block; }

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--brown);
  line-height: 1.2;
  font-weight: 700;
}
.verse-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: .88rem; letter-spacing: .5px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--trans); text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}
.btn-gold {
  background: var(--gold); color: var(--brown-dk);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8891f; border-color: #b8891f; color: var(--brown-dk);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,155,60,.35);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12); color: var(--white);
  border-color: var(--white); transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold); color: var(--brown-dk);
  transform: translateY(-2px);
}
.btn-brown {
  background: var(--brown); color: var(--white);
  border-color: var(--brown);
}
.btn-brown:hover {
  background: var(--brown-dk); border-color: var(--brown-dk); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-sm { padding: 10px 22px; font-size: .8rem; }
.btn-lg { padding: 17px 44px; font-size: .95rem; }
.btn-whatsapp {
  background: #25D366; color: var(--white); border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5a; border-color: #1ebe5a; color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3);
}

/* ---- HEADER ---- */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,248,239,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,155,60,.15);
  box-shadow: 0 2px 20px rgba(75,47,28,.07);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 52px; width: auto; }
.logo-text .site-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--brown); font-weight: 700;
}
.logo-text .site-tagline { font-size: .68rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
  font-size: .82rem; color: var(--brown); transition: all var(--trans);
  letter-spacing: .3px; font-family: 'Montserrat', sans-serif;
}
nav a:hover, nav a.active { background: var(--gold-pale); color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: var(--trans); }

/* ---- CONTAINER GENÉRICO ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 1rem; max-width: 580px; margin: 0 auto; }

/* ================================================================
   SEÇÃO 1 — HERO com fundo biblioteca
   ================================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(43,27,18,.82) 0%, rgba(75,47,28,.70) 40%, rgba(47,74,53,.65) 100%),
    url('/assets/img/hero-biblioteca.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 100px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(200,155,60,.25);
}
.hero-avatar-placeholder {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 2.6rem;
  color: var(--brown-dk); font-weight: 700;
  border: 3px solid rgba(255,255,255,.4);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(200,155,60,.25);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,155,60,.18); border: 1px solid rgba(200,155,60,.4);
  border-radius: 50px; padding: 6px 18px;
  font-size: .72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--white);
  font-weight: 700; margin-bottom: 14px; line-height: 1.1;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.80); margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif; letter-spacing: .5px;
}
.hero-tags {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-tag {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: 5px 14px; font-size: .75rem;
  color: rgba(255,255,255,.85); font-weight: 500; letter-spacing: .5px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   SEÇÃO 2 — MISSÃO (3 colunas)
   ================================================================ */
.missao-section {
  background: linear-gradient(180deg, #FFF8EF, #FAF1E3);
  padding: 96px 0;
}
.missao-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.missao-card {
  text-align: center; padding: 48px 32px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: all var(--trans);
  border-bottom: 4px solid var(--gold);
  position: relative; overflow: hidden;
}
.missao-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.missao-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.missao-icon {
  font-size: 2.8rem; margin-bottom: 20px; display: block;
  filter: drop-shadow(0 4px 8px rgba(200,155,60,.3));
}
.missao-card h3 {
  font-size: 1.5rem; margin-bottom: 10px; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase; font-size: 1rem;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
}
.missao-card .missao-title {
  font-size: 1.8rem; color: var(--brown); margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
}
.missao-card p { color: var(--text-light); font-size: .92rem; }

/* ================================================================
   SEÇÃO 3 — O QUE É O CLUBINHO (split)
   ================================================================ */
.split-section { background: var(--cream); }
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.split-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); position: relative;
}
.split-img img { width: 100%; height: 480px; object-fit: cover; display: block; }
.split-img .img-placeholder {
  width: 100%; height: 480px;
  background: linear-gradient(135deg, var(--gold-pale), var(--cream-dk));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--gold); font-size: 4rem;
}
.split-img .img-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-light); }
.split-img::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(200,155,60,.2);
  border-radius: var(--radius-lg); pointer-events: none;
}
.split-content { padding: 20px 0; }
.split-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; }
.split-content .lead {
  font-size: 1.05rem; color: var(--text-light); margin-bottom: 32px; line-height: 1.8;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .95rem; color: var(--text);
}
.check-list li::before {
  content: ''; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%232B1B12' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}
.check-list li strong { color: var(--brown); }

/* ================================================================
   SEÇÃO 4 — PROJETOS (grid 2x2)
   ================================================================ */
.projetos-section { background: var(--cream-dk); }
.projetos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.projeto-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(200,155,60,.12);
}
.projeto-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.projeto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(75,47,28,.12);
}
.projeto-card-icon {
  font-size: 2.4rem; margin-bottom: 18px; display: block;
}
.projeto-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--brown); }
.projeto-card p { color: var(--text-light); font-size: .9rem; line-height: 1.7; }
.projeto-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .5px;
  text-transform: uppercase;
}
.projeto-card .card-link::after { content: '→'; transition: transform var(--trans); }
.projeto-card:hover .card-link::after { transform: translateX(4px); }

/* ================================================================
   SEÇÃO 5 — FORMAÇÃO LEITORES (fundo dourado suave)
   ================================================================ */
.leitores-section {
  background: linear-gradient(135deg, var(--gold-pale) 0%, #EDD99A 100%);
  position: relative; overflow: hidden;
}
.leitores-section::before {
  content: '"'; font-family: 'Cormorant Garamond', serif;
  font-size: 28rem; color: rgba(200,155,60,.08); line-height: 1;
  position: absolute; top: -80px; right: -40px; pointer-events: none;
}
.leitores-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.leitores-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 24px; }
.leitores-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.leitores-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.65); border-radius: 12px;
  padding: 14px 20px; font-size: .92rem; font-weight: 600; color: var(--brown);
  backdrop-filter: blur(4px); border: 1px solid rgba(200,155,60,.2);
  transition: all var(--trans);
}
.leitores-item:hover { background: rgba(255,255,255,.9); transform: translateX(4px); }
.leitores-item .li-icon { font-size: 1.4rem; flex-shrink: 0; }
.leitores-verse {
  background: rgba(255,255,255,.7); border-radius: var(--radius);
  padding: 24px 28px; border-left: 4px solid var(--gold);
}
.leitores-verse p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: var(--brown); margin-bottom: 8px; }
.leitores-verse cite { font-size: .8rem; color: var(--gold); font-weight: 700; }

/* ================================================================
   SEÇÃO 6 — CLUBES LITERÁRIOS (split invertido)
   ================================================================ */
.clubes-section { background: var(--brown-dk); color: var(--white); }
.clubes-section .split-content h2 { color: var(--white); }
.clubes-section .split-content .lead { color: rgba(255,255,255,.75); }
.clubes-section .check-list li { color: rgba(255,255,255,.85); }
.clubes-section .check-list li strong { color: var(--gold-light); }
.clubes-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.clubes-img img { width: 100%; height: 480px; object-fit: cover; }
.clubes-img .img-placeholder {
  width: 100%; height: 480px;
  background: linear-gradient(135deg, #3D2510, #4B2F1C);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; font-size: 4rem;
}
.clubes-img .img-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(255,255,255,.5); }

/* ================================================================
   SEÇÃO 7 — EDUCADORES
   ================================================================ */
.educadores-section { background: var(--green); color: var(--white); }
.educadores-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.educadores-inner h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; }
.educadores-inner .lead { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.edu-items { display: flex; flex-direction: column; gap: 10px; }
.edu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 500;
  transition: background var(--trans);
}
.edu-item:hover { background: rgba(255,255,255,.12); }
.edu-item .edu-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--brown-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; flex-shrink: 0;
}
.edu-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.edu-visual img { width: 100%; height: 460px; object-fit: cover; }
.edu-visual .img-placeholder {
  width: 100%; height: 460px;
  background: linear-gradient(135deg, #1F3327, #2F4A35);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; font-size: 4rem;
}
.edu-visual .img-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(255,255,255,.5); }

/* ================================================================
   SEÇÃO 8 — PAIS (fundo creme)
   ================================================================ */
.pais-section { background: linear-gradient(180deg, #FFF8EF, #FAF1E3); }
.pais-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pais-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; }
.pais-content .lead { color: var(--text-light); margin-bottom: 32px; }
.pais-items { display: flex; flex-direction: column; gap: 12px; }
.pais-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 12px;
  background: var(--white); box-shadow: 0 2px 12px rgba(75,47,28,.06);
  border-left: 3px solid var(--gold);
  transition: all var(--trans);
}
.pais-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.pais-item .pais-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 1px; }
.pais-item-text strong { font-size: .92rem; color: var(--brown); display: block; margin-bottom: 2px; }
.pais-item-text span { font-size: .83rem; color: var(--text-light); }
.pais-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.pais-visual img { width: 100%; height: 480px; object-fit: cover; }
.pais-visual .img-placeholder {
  width: 100%; height: 480px;
  background: linear-gradient(135deg, var(--gold-pale), #EDD99A);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; font-size: 4rem;
}
.pais-visual .img-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-light); }

/* ================================================================
   SEÇÃO 9 — DIFERENCIAIS (5 cards)
   ================================================================ */
.diferenciais-section { background: var(--cream); }
.diferenciais-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.diferencial-card {
  text-align: center; padding: 36px 20px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: all var(--trans);
  border-top: 3px solid transparent;
}
.diferencial-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.diferencial-card .dif-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.diferencial-card h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.diferencial-card .dif-title { font-size: 1.2rem; color: var(--brown); }
.diferencial-card p { font-size: .82rem; color: var(--text-light); margin-top: 8px; line-height: 1.6; }

/* ================================================================
   SEÇÃO 10 — CONTADORES
   ================================================================ */
.contadores-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dk) 100%);
  padding: 80px 0;
}
.contadores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contador-item { text-align: center; padding: 32px 20px; }
.contador-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 700;
  color: var(--gold-light); line-height: 1; display: block; margin-bottom: 8px;
}
.contador-label { font-size: .82rem; color: rgba(255,255,255,.70); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contador-divider { width: 1px; background: rgba(255,255,255,.1); }

/* ================================================================
   SEÇÃO 11 — VÍDEO
   ================================================================ */
.video-section { background: var(--cream-dk); }
.video-wrapper { max-width: 840px; margin: 0 auto; }
.video-embed-box {
  position: relative; width: 100%; padding-bottom: 56.25%;
  height: 0; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); background: #000;
}
.video-embed-box iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: var(--radius-lg); border: none;
}
.video-link-bar { display: flex; justify-content: flex-end; margin-top: 12px; }
.video-yt-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; color: var(--text-light);
  padding: 6px 14px; border-radius: 20px;
  background: rgba(0,0,0,.05); transition: all var(--trans);
}
.video-yt-link:hover { background: #FF0000; color: #fff; }

/* ================================================================
   SEÇÃO 12 — SOBRE AMÁLIA
   ================================================================ */
.amalia-section { background: var(--cream); }
.amalia-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.amalia-photo { position: relative; }
.amalia-photo img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); display: block;
}
.amalia-photo .img-placeholder {
  width: 100%; height: 500px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gold-pale), var(--cream-dk));
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; box-shadow: var(--shadow-xl);
}
.amalia-photo .img-placeholder .av-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 3.5rem;
  color: var(--brown-dk); font-weight: 700;
  box-shadow: 0 8px 32px rgba(200,155,60,.4);
}
.amalia-photo .img-placeholder span { font-size: 1rem; color: var(--text-light); font-family: 'Cormorant Garamond', serif; }
.amalia-photo .photo-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--gold); color: var(--brown-dk);
  padding: 12px 20px; border-radius: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .5px;
  box-shadow: var(--shadow);
}
.amalia-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 8px; }
.amalia-content .amalia-role {
  font-size: .82rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block;
}
.amalia-content .lead { color: var(--text-light); font-size: 1rem; margin-bottom: 28px; line-height: 1.85; }
.amalia-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.amalia-tag {
  background: var(--gold-pale); color: var(--brown); border-radius: 50px;
  padding: 6px 16px; font-size: .8rem; font-weight: 600;
  border: 1px solid rgba(200,155,60,.25);
}

/* ================================================================
   SEÇÃO 13 — CTA FINAL
   ================================================================ */
.cta-section {
  background:
    linear-gradient(160deg, rgba(43,27,18,.90) 0%, rgba(75,47,28,.85) 50%, rgba(47,74,53,.80) 100%),
    url('/assets/img/hero-biblioteca.jpg') center/cover no-repeat fixed;
  padding: 120px 0; text-align: center; color: var(--white);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white);
  margin-bottom: 16px; max-width: 700px; margin-inline: auto;
}
.cta-section p { color: rgba(255,255,255,.80); font-size: 1.05rem; margin-bottom: 40px; max-width: 540px; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-divider {
  width: 60px; height: 2px; background: var(--gold);
  margin: 0 auto 28px; border-radius: 2px;
}

/* ================================================================
   RODAPÉ
   ================================================================ */
footer {
  background: var(--brown-dk); color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .site-name { color: var(--white); }
.footer-brand .site-tagline { color: var(--gold); }
.footer-brand p { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.60); margin-bottom: 20px; }
.footer-verse {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: .88rem; color: var(--gold-light);
  border-left: 2px solid var(--gold); padding-left: 14px;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif; font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block; font-size: .88rem; color: rgba(255,255,255,.60);
  margin-bottom: 10px; transition: color var(--trans); line-height: 1.6;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.7); transition: all var(--trans);
  margin-bottom: 0;
}
.footer-social a:hover { background: var(--gold); color: var(--brown-dk); border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ================================================================
   FORMULÁRIO CONTATO
   ================================================================ */
.contato-section { background: linear-gradient(180deg, #FAF1E3, #FFF8EF); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contato-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.contato-info .lead { color: var(--text-light); margin-bottom: 36px; }
.contato-item {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.contato-item .ci-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; border: 1px solid rgba(200,155,60,.2);
}
.contato-item-text strong { display: block; font-size: .88rem; color: var(--brown); margin-bottom: 2px; }
.contato-item-text span { font-size: .85rem; color: var(--text-light); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .83rem; color: var(--brown); letter-spacing: .3px; }
.form-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(200,155,60,.25);
  border-radius: var(--radius); font-size: .9rem; background: var(--white);
  color: var(--text); transition: border-color var(--trans), box-shadow var(--trans);
  font-family: 'Montserrat', inherit;
}
.form-control:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,155,60,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }
.alert { padding: 12px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: .88rem; border-left: 4px solid; }
.alert-success { background: #d4edda; border-color: #28a745; color: #155724; }
.alert-error   { background: #f8d7da; border-color: #dc3545; color: #721c24; }

/* ================================================================
   CHAT WIDGET
   ================================================================ */
#chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
#chat-toggle {
  width: 66px; height: 66px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brown); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans); overflow: hidden;
}
#chat-toggle:hover { transform: scale(1.08); background: var(--brown-dk); }
#chat-toggle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
#chat-box {
  width: 360px; max-height: 520px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(.92) translateY(10px); opacity: 0; pointer-events: none;
  transition: all .3s ease; border: 1px solid var(--gold-pale);
}
#chat-box.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-header {
  background: linear-gradient(135deg, var(--brown), var(--brown-dk));
  color: var(--white); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.chat-header img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.chat-header-info .agent-name { font-weight: 700; font-size: .92rem; }
.chat-header-info .agent-status { font-size: .75rem; color: rgba(255,255,255,.7); }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #4CAF50; border-radius: 50%; margin-right: 4px; }
.chat-close { margin-left: auto; background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; opacity: .6; }
.chat-close:hover { opacity: 1; }
#chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.55; }
.msg-agent { background: var(--cream-dk); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user  { background: var(--brown); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-time  { font-size: .7rem; opacity: .55; margin-top: 3px; }
.typing-indicator { display: flex; gap: 4px; padding: 10px 14px; background: var(--cream-dk); border-radius: 16px; width: fit-content; }
.typing-indicator span { width: 7px; height: 7px; background: var(--text-light); border-radius: 50%; animation: typing .9s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }
.chat-input-area { padding: 12px 14px; border-top: 1px solid var(--cream-dk); display: flex; gap: 8px; align-items: flex-end; }
#chat-input { flex: 1; border: 1.5px solid rgba(200,155,60,.25); border-radius: 20px; padding: 10px 14px; font-size: .88rem; resize: none; max-height: 100px; font-family: inherit; color: var(--text); transition: border-color var(--trans); }
#chat-input:focus { outline: none; border-color: var(--gold); }
#chat-send { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--brown); color: var(--white); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--trans); flex-shrink: 0; }
#chat-send:hover { background: var(--brown-dk); }

/* ================================================================
   DASHBOARD CSS (mantido separado em dashboard.css)
   BADGES / UTILS GLOBAIS
   ================================================================ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.badge-green  { background: #d4edda; color: #155724; }
.badge-red    { background: #f8d7da; color: #721c24; }
.badge-yellow { background: #fff3cd; color: #856404; }
.badge-blue   { background: #cce5ff; color: #004085; }

/* ================================================================
   ANIMAÇÕES DE ENTRADA
   ================================================================ */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ================================================================
   RESPONSIVO
   ================================================================ */
@media (max-width: 1100px) {
  .diferenciais-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .missao-grid { grid-template-columns: 1fr; }
  .split-grid, .leitores-inner, .educadores-inner,
  .pais-grid, .amalia-grid, .contato-grid, .projetos-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .contadores-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .amalia-photo .img-placeholder { height: 340px; }
  .split-img img, .clubes-img img, .edu-visual img, .pais-visual img { height: 320px; }
}
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); z-index: 999; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 80px; min-height: auto; }
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 64px 0; }
  #chat-box { width: calc(100vw - 40px); }
  .amalia-photo .photo-badge { position: static; margin-top: 12px; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .contadores-grid { grid-template-columns: 1fr 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
