/* =============================================================
   components.css — botões, cards, citação, fotos, contato
   ============================================================= */

/* ── BOTÕES ── */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--primary-blue);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  border: 0;
  cursor: pointer;
}
.btn:hover {
  background: var(--gold-hover);
  color: var(--primary-blue);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: none;
  padding: 12px 38px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--primary-blue);
}

/* ── CARDS / GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 30px 40px;
}
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.info-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--primary-blue);
  margin: 0 0 8px;
}
.info-card p { font-size: 1rem; line-height: 1.65; margin: 0; color: var(--text); }

/* ── CITAÇÃO ── */
.quote-strip {
  background: var(--primary-blue);
  padding: 45px 30px;
  text-align: center;
  width: 100%;
}
.quote-strip .inner { max-width: var(--content-width); margin: 0 auto; }
.quote-strip p {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.65;
  margin: 0 0 10px;
}
.quote-strip .author {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* ── FOTOS ── */
.photo-block { width: 100%; overflow: hidden; }
.photo-block-wide { position: relative; }
.photo-block-wide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.photo-block-wide .photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,58,92,0.75));
  padding: 30px 30px 18px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.photo-grid .photo-item { position: relative; overflow: hidden; }
.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-grid .photo-item:hover img { transform: scale(1.04); }

/* ── CONTATO / WHATSAPP ── */
.contato-section {
  background: var(--primary-blue);
  padding: 45px 30px;
  text-align: center;
  width: 100%;
}
.contato-section .inner { max-width: 700px; margin: 0 auto; }
.contato-section h2 {
  font-family: var(--serif);
  font-size: 2rem;
  color: #fff;
  margin: 0 0 12px;
}
.contato-section p { color: rgba(255,255,255,0.8); margin: 0 0 22px; }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.whatsapp-link:hover { background: #20bd5a; color: #fff; transform: translateY(-2px); }

/* ── FIGURA DENTRO DE SEÇÃO ── */
.section-figure {
  margin: 22px auto 28px;
  text-align: center;
  max-width: 480px;
}
.section-figure img {
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.section-figure figcaption {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ── LISTA DE LIVROS ── */
.book-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  max-width: var(--content-width);
  margin: 0 auto 35px;
  padding: 0 30px;
  align-items: start;
}
.book-item img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.book-item h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin: 0 0 14px;
}
.book-item p {
  font-size: 1rem;
  margin: 0 0 12px;
}
.book-divider {
  border: 0;
  border-top: 1px solid rgba(201,168,76,0.35);
  max-width: 80px;
  margin: 25px auto;
}

/* ── ATRIBUIÇÃO DE TEXTO LONGO ── */
.attribution {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary-blue);
  text-align: right;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.3);
}

/* ── FORMULÁRIO ── */
.gmf-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-row .required { color: var(--gold); margin-left: 2px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(26,58,92,0.2);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-actions { text-align: center; margin-top: 28px; }

/* ── CONFIRMAÇÃO DO FORMULÁRIO ── */
.form-confirmation {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 30px;
  background: #fff;
  border-radius: 12px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 25px rgba(0,0,0,0.07);
  text-align: center;
}
.form-confirmation h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin: 0 0 12px;
}
.form-confirmation p {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

/* ── BOTÕES DE CANAL (e-mail / WhatsApp) ── */
.channel-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 22px 0 6px;
}
.btn-channel {
  font-size: 0.92rem;
  letter-spacing: 1px;
  padding: 14px 26px;
}
.btn-email {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,58,92,0.25);
}
.btn-email:hover { background: var(--primary-blue-mid); color: #fff; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover { background: #20bd5a; color: #fff; }

/* ── NOTA DE PRIVACIDADE ── */
.privacy-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ── FALLBACK DO BOTÃO MAILTO ── */
.channel-fallback {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 4px auto 16px;
  line-height: 1.55;
}
.channel-fallback a.email-mailto {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  word-break: break-all;
}
.channel-fallback a.email-mailto:hover { color: var(--gold); }

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .photo-block-wide img { height: 240px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid .photo-item:nth-child(n+3) { display: none; }
  .quote-strip p { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  .book-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .book-item img { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid .photo-item:not(:first-child) { display: none; }
  .btn { padding: 12px 30px; font-size: 0.92rem; }
}
