/* ══════════════════════════════════════  A GALINHA DA ALDEIA — Landing Page  - style.css ══════════════════════════════════════ */

:root {
  --verde: #2d5a27;
  --verde-claro: #4a7c3f;
  --amarelo: #e8b84b;
  --amarelo-claro: #f5d98a;
  --amarelo-suave: rgba(232, 184, 75, 0.7);
--branco-suave: rgba(255, 255, 255, 0.8);
  --terracota: #c0522a;
  --creme: #faf5e9;
  --castanho: #5c3d1e;
  --castanho-medio: #7a6045;
  --branco: #ffffff;
    --azul-ceu: #69f0eb; 
    --azul-capa: #29B6F6;

      /* ══════════════════════════════════════ NOVAS VARIÁVEIS DE TIPOGRAFIA ══════════════════════════════════════ */
  --fonte-titulos: 'Fredoka', 'Segoe UI', sans-serif;  /* redondinha, amigável */
  --fonte-corpo: 'Inter', 'Open Sans', sans-serif;      /* legível, moderna */
  --fonte-destaque: 'Sour Gummy', 'Comic Sans MS', cursive; /* brincalhona, opcional */
  
  --peso-normal: 400;
  --peso-medio: 500;
  --peso-semi: 600;
  --peso-bold: 700;
  
  --altura-linha-corpo: 1.5;
  --altura-linha-titulo: 1.2;
  
  --espaçamento-letras: 0.3px; /* para não ficar colado */
  
  /* ══════════════════════════════════════ TAMANHOS ( fontes) ══════════════════════════════════════ */
  --tipo-xs: 0.75rem;   /* 12px */
  --tipo-sm: 0.875rem;  /* 14px */
  --tipo-base: 1rem;    /* 16px */
  --tipo-md: 1.125rem;  /* 18px */
  --tipo-lg: 1.25rem;   /* 20px */
  --tipo-xl: 1.5rem;    /* 24px */
  --tipo-2xl: 2rem;     /* 32px */
  --tipo-3xl: 2.5rem;   /* 40px */
  --tipo-4xl: 3rem;     /* 48px */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--fonte-corpo);
  font-size: var(--tipo-base);
  line-height: var(--altura-linha-corpo);
  background: var(--creme);
  color: var(--castanho);
  overflow-x: hidden;
}

h2 {
  font-family: var(--fonte-titulos);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em; /* Um respiro padrão para a Fredoka */
  text-align: center;
}

/* ══════════════════════════════════════ SECÇÃO LABELS ══════════════════════════════════════ */
.section-label {
  display: block;                /* Garante que fica numa linha sozinha */
  font-family: var(--fonte-destaque); /* Usa a tua fonte divertida */
  color: var(--verde-claro);     /* Uma cor mais suave para não gritar mais que o h2 */
  font-size: var(--tipo-md);           /* Tamanho pequeno e elegante */
  text-transform: uppercase;     /* Maiúsculas ajudam a identificar que é uma etiqueta */
  letter-spacing: 0.15em;        /* Dá aquele "ar" de design profissional */
  margin-bottom: 0.5rem;         /* Distância curta para o h2 que vem logo abaixo */
  text-align: center;            /* Para acompanhar o alinhamento dos teus títulos */
}
/*
.section-label { 
font-size: 0.9rem;  
  font-size: var(--tipo-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terracota);
  margin-bottom: 0.5rem;
  font-weight: var(--peso-semi);
}
*/
/* ══════════════════════════════════════ HERO ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--azul-ceu) 0%, #2d6e45 35%, #1e3d18 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(232,184,75,0.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.olive-left {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  opacity: 0.1;
  user-select: none;
  filter: blur(1px);
}
/* galho de oliveira  esquerdo  inicial transparente*/
.olive-left img {
  width: 30vw;   /*largura da viewport */
  height: auto;
  min-width: 150px;
  max-width: 300px;
}
/*-------- azeitonas espalahadas ----------- */
.hero-azeitonas {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  width: 20vw;
  opacity: 0.10;
  pointer-events: none;
  position: absolute;
  right: -40px;
  bottom: 10px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background: var(--creme);
  color: var(--castanho);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  animation: fadeDown 0.6s ease both;
}

.hero h1 {
  font-family: var(--fonte-titulos); 
  letter-spacing: 0.02em; /* Um respiro padrão para a Fredoka */
  font-size: clamp(2.8rem, 8vw, 4.5rem); /*  8vw para 8vw para brilhar no Hero */
  font-weight: 700; /* Fredoka, 700 é o ideal */
  line-height: 1.1;
  color: var(--branco);
  margin-bottom: 12px;
  animation: fadeDown 0.7s ease 0.1s both;
}

.hero h1 em {
  color: var(--amarelo);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeDown 0.7s ease 0.2s both;
}

.stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  animation: fadeDown 0.7s ease 0.3s both;
}

.stars .star-icons {
  color: var(--amarelo);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.stars span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ----- div que contém os dois botões ----- */
.hero-cta {
  display: flex;
 
  gap: 14px;
  animation: fadeDown 0.7s ease 0.4s both;
  
}

/* ── ---------------- BOTÕES ------------------------ ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--amarelo);
  color: var(--castanho);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 36px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,184,75,0.4);
  letter-spacing: 0.03em;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232,184,75,0.6);
  filter: brightness(1.1);
}

.btn-primary.large {
  font-size: 1.1rem;
  padding: 20px 44px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 28px;
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
  width: fit-content;
}

.btn-secondary:hover {
  border-color: var(--amarelo);
  color: var(--amarelo);
}

/* ── MOCKUP DO LIVRO ── */
.book-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.9s ease 0.3s both;
}
/*  controla o mockup do livro */
.book-mockup-img { 
  width: 100%;
  max-width: 700px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  object-fit: cover;
}

/* ══════════════════════════════════════ PROBLEM ══════════════════════════════════════ */
.problem {
  background: var(--branco);
  padding: 80px 40px;
  text-align: center;
overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  
}
/* ------------ imagem do galho a direita ----------------------*/
.problem-oliveira {
  position: absolute;
  right: -40px;
  bottom: 10px;
  width: 220px;
}

.problem h2 {
 /* 1. peso 400 ou 500 (em vez do negrito padrão 700) */
  font-weight: 500; 
  /* 2. Aumenta o espaço entre as letras ligeiramente */
  letter-spacing: 0.01em; 
  /* 3. Aumenta o espaço entre as linhas */
  line-height: 1.4;
 font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--castanho);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.3;
}

.problem p {
  font-family: var(--fonte-corpo);
  font-size: 1.1rem;
  color: #7a6045;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* pre título - label */
.problem .section-label {
  color: var(--terracota);
}

/* ══════════════════════════════════════ ABOUT - sobre a história ══════════════════════════════════════ */
.about {
  background: var(--creme);
  padding: 90px 40px;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}

.about-card {
  background: linear-gradient(180deg, var(--azul-ceu) 0%, var(--verde) 40%);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  color: white;
  position: relative;
  overflow: visible;
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.about-card 
.emoji-big {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.about-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

.about-tag {
    position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  display: inline-block;
  margin-top: 20px;
  background: var(--amarelo);
  color: var(--castanho);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--castanho);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  font-size: 1rem;
  color: #7a6045;
  line-height: 1.85;
  margin-bottom: 16px;
  font-weight: 300;
}
/* pre título - label */
.about-text .section-label {
  color: var(--verde);
}

/* ══════════════════════════════════════ BENEFITS ══════════════════════════════════════ */
.benefits {
  background: var(--verde);
  padding: 90px 40px;
  color: var(--branco);
}

.benefits-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.benefits-header {
  text-align: center;
  margin-bottom: 56px;
}

.benefits-header .section-label {
  color: var(--amarelo-claro);
}

.benefits-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--branco);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(191, 18, 18, 0.12);
  border-radius: 14px;
  padding: 32px 28px;
  transition: background 0.2s, transform 0.2s;
}

.benefit-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  width: 48px;
  height: 48px;
  stroke: var(--amarelo-claro);    /* cor do traço */
  stroke-width: 2;
  fill: none;
  margin-bottom: 1rem;
}
/* --------------------------- ícone -------------------------- */
.benefit-icon i {
  font-size: 2.5rem;
  color: var(--amarelo-claro);     /* combinando  */
  
}

.benefit-card h3 {
  font-family: var(--fonte-corpo);
  font-size: 1.15rem;
  color: var(--amarelo-claro);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.92rem;
  opacity: 0.8;
  line-height: 1.7;
  font-weight: 300;
}

/* ══════════════════════════════════════
   STORY QUOTE
══════════════════════════════════════ */
.story {
  background: var(--creme);
  padding: 90px 40px;
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--castanho);
  margin-bottom: 16px;
}

.story-quote {
  font-family: var(--verde);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--verde);
  margin: 36px 0;
  padding: 28px 40px;
  border-left: 4px solid var(--amarelo);
  background: white;
  border-radius: 0 12px 12px 0;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  line-height: 1.6;
}

.story p {
  font-size: 1.05rem;
  color: #7a6045;
  line-height: 1.85;
  font-weight: 300;
}



/* ══════════════════════════════════════ TESTIMONIALS ══════════════════════════════════════ */
.testimonials {
  background: var(--verde);
  padding: 90px 40px;
}

.testimonials-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--creme);
}

.testimonials-header .section-label {
  color: var(--amarelo-claro);
}

/* ---------- botão --------- */
.testimonials-cta {
  margin-top: 30px; /* Dá espaço depois do título */
}

.btn-amazon-ghost { /* botão das estrelas da amazona */
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid #ffffff; /* Linha fina e branca */
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--fonte-titulos); /* Ou a que estás a usar */
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 4px; /* Cantos levemente arredondados para um ar moderno */
  transition: all 0.3s ease;
}

.btn-amazon-ghost:hover {
  background-color: #ffffff; /* Quando passa o rato, o botão enche de branco */
  color: #3d4f2b; /* A cor do texto muda para o verde da seção (ajusta o HEX se souberes o teu exato) */
  transform: translateY(-2px); /* Pequeno salto para dar feedback de clique */
}

/* ══════════════════════════════════════ PERSONAGENS ══════════════════════════════════════ */



.personagens-header p {
  color: var(--castanho); /* TÍTULO  e parágrafo DA SEÇÃO PERSONAGENS*/
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

.personagens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.personagem-card:hover { transform: translateY(-4px); }

.personagem-card.estrela {
  background: white;
  border: 2px solid var(--amarelo);
  box-shadow: 0 4px 16px rgba(232,184,75,0.2);
}




.personagem-card.pintinhos { /*1*/
  background: var(--verde);
  border: 2px solid var(--verde);
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 32px;
}

.personagem-card.pintinhos .personagem-emoji {
  width: 280px;
  height: auto;
  margin-bottom: 8px;
}

.personagem-card.pintinhos  {
  color: var(--amarelo-claro);
  font-size: 1.2rem;
}

.personagem-card.pintinhos .personagem-tipo {
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.personagem-card.pintinhos .personagem-desc {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

.pintinhos .personagem-nome { color: var(--amarelo-claro); }



.pintinhos .personagem-tipo { color: rgba(255,255,255,0.6); }



.pintinhos .personagem-desc { color: rgba(255,255,255,0.85); }



/* ______________________________ PERSONAGENS   _____________________________*/


/* SECÇÃO PERSONAGENS */
.personagens {
  background-color: var(--branco); /* fundo dos cards de personagens*/
  padding: 4rem 1rem;
}

.personagens-inner {
  max-width: 1200px;
  margin: 0 auto;
}


.personagens-header { /* novo teste*/
  width: 100% !important; /* Força a largura total */
  max-width: none !important; /* Remove qualquer trava de tamanho */
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.personagens-header h2 {
  color: var(--verde);
  /* Usando o clamp com um valor ideal um pouco menor (4vw) */
  font-size: clamp(1.2rem, 4vw + 0.5rem, var(--tipo-3xl));
  
  /* Garante que o texto não tenha margens internas que o esmaguem */
  display: block;
  width: 100%;
  
  /* Evita quebras de linha automáticas até que seja estritamente necessário */
  white-space: normal; 
}





.header-description {
  font-size: var(--tipo-lg);
  color: var(--castanho);
  opacity: 0.8;
}

/* ------------ GRID ------------- */
.personagens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* --------------- CARD BASE ------------------ */
.personagem-card {
  background-color: var(--branco); /* 3 personagens - parte do texto*/
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
}

.personagem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(93, 61, 30, 0.1);
}

/* ------------ DESTAQUE vs CONFLITO (diferença subtil) ----------- */
.personagem-card.destaque {
  border-bottom: 4px solid var(--amarelo);
}

.personagem-card.conflito {
  border-bottom: 4px solid var(--terracota);
  opacity: 0.95;

/* feito no início */
  background: white;
  border: 2px solid #e8d5c0;
}


/* -------------- IMAGEM - card de cima ------------------*/
.card-imagem { 
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--creme), var(--amarelo-claro)); /* parte de cima dos personagens, onde está a imagem */
  border-bottom: 1px solid rgba(93, 61, 30, 0.05);
}

.personagem-img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.emoji-grande {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

/* ------------------------ CONTEÚDO DO CARD -------------------------- */

.card-conteudo {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.personagem-nome { /**/
  font-size: var(--tipo-2xl);
  font-weight: var(--peso-bold);
  color: var(--verde);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.personagem-tipo {
  font-size: var(--tipo-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terracota);
  font-weight: var(--peso-semi);
  margin-bottom: 1rem;
 /* velho */
  letter-spacing: 0.1em;
 
}


.personagem-desc { /**/
  font-size: var(--tipo-base);
  line-height: var(--altura-linha-corpo);
  color: var(--castanho);
  margin: 0 0 1rem 0;
  flex: 1;

  line-height: 1.65;
  font-weight: 300;
}

/* NOTA ESPECIAL PARA BIMBY */
.bimby-nota {
  font-size: var(--tipo-xs);
  color: var(--terracota);
  background-color: var(--amarelo-claro);
  padding: 0.5rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  margin-top: 0.5rem;
  font-style: italic;
}



/* ══════════════════════════════════════ GLOSSÁRIO ══════════════════════════════════════ */

.secao-glossario {
  background: var(--creme);
  padding: 90px 40px;
}

.container-glossario {
  max-width: 900px; /* controla a largura do card */
  margin: 0 auto;
}

.glossario-header {
  text-align: center;
  margin-bottom: 52px;
}

.glossario-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--castanho);
  margin-bottom: 14px;
}

.glossario-header p {
  color: var(--castanho-medio); /* nova cor */
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* Card principal — estilo excerto */
.card-glossario-destaque {
  background: var(--branco);
  border-radius: 0 12px 12px 0;
  border-left: 4px solid var(--amarelo);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.img-prensa {
  max-width: 200px;    /* Garante que a prensa nunca ultrapassa o tamanho do card */
  height: auto;       /* Mantém a proporção para não "esmagar" o desenho */
  display: block;     /* Remove espaços vazios indesejados por baixo da imagem */
  margin: 0 auto;     /* Centraliza a imagem se ela for menor que o espaço */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); /* Uma sombra leve para a prensa não "flutuar" no vazio */
}


.conteudo-glossario h3 {
  font-family: var(--fonte-titulos);
  font-size: 2rem;
  color: var(--castanho);
  margin-bottom: 16px;
}

.conteudo-glossario p {
  font-family: var(--fonte-corpo);
  font-size: 1.2rem;
  color: var(--verde);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 24px;
}

.nota-glossario {
  /* 1. Mantemos a tua base que funciona */
  background: var(--castanho-medio);
  color: var(--branco);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: normal;

  /* 2. O segredo para a delicadeza: display e largura */
  display: inline-block; /* Faz a caixa envolver apenas o texto */
  max-width: 350px;      /* Impede que ela fique gigante no PC */
  text-align: left;      /* Garante que o texto dentro da caixa fica bonito */
  
  /* 3. Margem para não colar no que está em cima */
  margin-top: 20px;
}

.nota-glossario p {
  color: var(--branco);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: var(--fonte-corpo);
  margin-bottom: 0;
}

.nota-glossario strong {
  color: var(--amarelo-claro);
}

/* Nota pedagógica */
.glossario-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: #a08060;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .card-glossario-destaque {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .img-prensa {
    width: 160px;
    margin: 0 auto;
    display: block;
  }
}
/* ══════════════════════════════════════ AUTORA ══════════════════════════════════════ */
/* ----------- TESTES ---------------- */
.autora {
  background: var(--branco);
  padding: 80px 40px;
}

.autora-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.autora-avatar {
  text-align: center;
}

.autora-avatar .avatar-circle {
  width: 180px;
  height: auto;
  /*background: var(--verde);*/
  /*border-radius: 50%;*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 16px;
  /*box-shadow: 0 8px 24px rgba(45,90,39,0.3);*/
}

.autora-avatar .avatar-name {
  font-weight: 700;
  color: var(--castanho);
  font-size: 1rem;
}

.autora-avatar .avatar-role {
  font-size: 0.82rem;
  color: var(--castanho-medio);
}

.autora-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.autora-link {
  display: inline-block;
  padding: 12px 30px; /* Mantém o tamanho bom para clicar */
  
  /* A MUDANÇA MÁGICA: */
  border-radius: 4px; /* Ou 8px, para alinhar com os teus cartões de detalhes */
  
  /* Mantendo a cor castanha que já tens, mas adicionando uma borda para sofisticação */
  background-color: transparent; 
  border: 1.5px solid #8c7355; /* A cor castanha do teu botão atual */
  color: #8c7355; /* Texto na cor da borda */
  
  text-decoration: none;
  font-family: var(--fonte-corpo); /* Ou a de títulos, se preferires */
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease; /* Para o efeito suave ao passar o rato */
  text-align: center;
}

.autora-link:hover {
  background-color: var(--castanho-medio); /* Enche com a cor castanha */
  color: var(--branco); /* Texto fica branco */
  transform: translateY(-2px); /* Pequeno salto */
}

.autora-text p {
  color: var(--castanho-medio);
  line-height: 1.85;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 12px;
}


.autora-header {
  text-align: center;
  margin-bottom: 56px;
}


.autora-header h2 { /* título da aultora */
  font-size: clamp(1.2rem, 4vw + 0.5rem, var(--tipo-3xl));
  color: var(--verde);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}


/* ══════════════════════════════════════ DETALHES ══════════════════════════════════════ */
.details {
  background: var(--creme);
  padding: 70px 40px;
  border-top: 1px solid #e8ddc8;
}

.details-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.details h2 {
  font-size: 2rem;
  color: var(--castanho);
  margin-bottom: 32px;
}

.details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
}

.details-list li {
  background: white;
  border: 1.5px solid #e0d0b0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: var(--castanho);
  display: flex;
  align-items: center;
  gap: 8px;
}

.details-list li span {
  font-weight: 700;
  color: var(--verde);
}

/* ══════════════════════════════════════  CTA FINAL ══════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, #1a3314 0%, #2d5a27 60%, #4a7c3f 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ---------- GALHO FINAL --------------*/
.cta-final::before {
  content: ""; /* Remove o emoji */
  position: absolute;
  
  /* posicionamento do galho 2 esquerdo */
  top: -10px; /* controla o topo*/
  left: -60px;
  
  /* tamanho da "caixa" do galho */
  width: 400px; /* Galhos costumam ser longos, ajusta conforme a imagem */
  height: 400px;
  
  /* imagem do Galho 2 */
  background-image: url('images/galho2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left; /* Garante que ele "nasça" no canto superior esquerdo */
  opacity: 0.1;
  /* Garante que o galho não atrapalhe cliques no botão CTA */
  pointer-events: none;
  z-index: 1; /* Fica atrás de qualquer texto ou botão */
}

/* ---------- CESTO FINAL -------------- */
.cta-final::after {
  content: ""; /* Tiramos o emoji para dar lugar à imagem */
  position: absolute;
  
  /* Mantemos as tuas coordenadas que já funcionam */
  bottom: -40px;
  right: -20px;
  
  /* Define o tamanho da "caixa" do cesto */
  width: 300px;  /* Ajusta conforme o tamanho real da tua imagem */
  height: 300px;
  
  /*-------------- a imagem do cesto --------------- */
  background-image: url('images/cesto.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.1;
  /* Garante que o cesto não atrapalhe cliques no botão CTA */
  pointer-events: none;
  z-index: 1;
}

.cta-final-inner {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-final h2 em {
  color: var(--amarelo);
  font-style: italic;
}

.cta-final p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.manuela-cta {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.guarantee {
  margin-top: 28px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ══════════════════════════════════════ FOOTER ═════════════════════════════════════ */

.rodape-principal {
  text-align: center;
  padding: 60px 20px;
  padding-top: 40px; /* Reduz de 80 ou 100 para algo mais equilibrado */
  color: var(--creme); 
  background-color: var(--castanho); /* Cor de fundo */
}

.linha-separadora {
  border-top: 1px solid  var(--castanho-medio);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.titulo-rodape {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.info-tecnica {
  font-size: 0.85rem;
  opacity: 0.9; /* número de opacidade para não "sumir" */
  margin: 10px 0;
}

.links-sociais {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Importante para o telemóvel não cortar os botões */
    gap: 25px;       /* Aumenta aqui para dar o tal respiro */
    margin: 40px 0;  /* Dá distância do ISBN e da Política de Privacidade */
}

.links-sociais a {
    display: inline-block;
    color: var(--amarelo);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 10px 25px; /* Mais respiro dentro do botão para ele não parecer "apertado" */
    white-space: nowrap; /* Garante que o texto não quebra em duas linhas dentro do botão */
    border: 1.5px solid var(--amarelo); /* Uma linha ligeiramente mais firme */
    display: inline-block;
}

.links-sociais a:hover {
    background-color:var(--amarelo);
    color: var(--castanho); 
}


.links-legais a {
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.7;
}

.copyright {
  font-size: 0.75rem;
  margin-top: 40px;
  opacity: 0.6;
  line-height: 1.5;
}

/* ═════════════════════════════════════ ANIMAÇÕES ══════════════════════════════════════ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ══════════════════════════════════════ RESPONSIVIDADE ══════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-inner,
  .about-inner,
  .autora-inner,
  .glossario-content { grid-template-columns: 1fr; gap: 40px; }

  .book-wrap { order: -1; }
  .benefits-grid,
  .testi-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 20px; }
  
}
/* ------------ GRADE DE PERSONAGENS ----------------- */
  @media (max-width: 768px) {
  .personagens-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; /* Um espaço menor entre os cards para ganhar largura no texto */
    padding: 10px; 
  }

  .personagem-card {
    padding: 15px; /* Reduz o preenchimento interno para o texto respirar */
  }

  /* Garante que os títulos não fiquem gigantes e quebrem o layout */
  .personagem-card h3 { 
    font-size: 1.1rem; 
    line-height: 1.2;
  }

  .personagem-card.pintinhos {
    grid-column: span 2;
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/*-----------------*/
/* Ajuste rápido para o Telemóvel */
@media (max-width: 768px) {
  .problem-oliveira {
    width: 150px; /* Menor no telemóvel para não ser "invasivo" */
    bottom: 10px;
    opacity: 0.7; /* Fica mais suave */
  }
}
/* ---------- CTA -------------- */
@media (max-width: 768px) {
  .cta-final::after {
    width: 180px; /* Um pouco menor para não ocupar o ecrã todo do telemóvel */
    height: 180px;
    right: -10px;
    bottom: -20px;
  }
}