/*
Theme Name: Inspíria Nutrição Comportamental
Theme URI: https://inspiria.com.br
Author: C.E. Afonso Soluções Digitais
Author URI: https://ceafonso.com.br
Description: Tema profissional para Inspíria Nutrição Comportamental
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: inspiria
*/

/* ============================================================
   DESIGN SYSTEM — TOKENS
   ============================================================ */
:root {
  --verde-escuro: #6B7E5F;
  --off-white:    #F3F4ED;
  --verde-claro:  #6BC430;
  --branco:       #FFFFFF;
  --cinza-texto:  #444444;
  --cinza-claro:  #CCCCCC;
  --sombra:       0 4px 24px rgba(107,126,95,0.12);
  --radius:       12px;
  --transition:   0.3s ease;

  /* Fontes */
  --font-headings: 'Outfit', sans-serif;
  --font-body:     'Nunito', sans-serif;

  /* Espaçamentos (grade 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--cinza-texto);
  background: var(--off-white);
  line-height: 1.85;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-headings);
  line-height: 1.35;
  color: var(--verde-escuro);
}
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 600; }
h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; }
h3 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }
p  { font-size: 16px; line-height: 1.85; margin-bottom: var(--sp-2); }

/* ============================================================
   CONTAINER & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-3);
}

/* ============================================================
   FAIXA INFORMATIVA (TOP BAR)
   ============================================================ */
.top-bar {
  background: var(--verde-escuro);
  color: var(--off-white);
  font-size: 13px;
  padding: var(--sp-1) 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.top-bar-item {
  flex: 1;
}
.top-bar-left {
  text-align: left;
}
.top-bar-center {
  text-align: center;
}
.top-bar-right {
  text-align: right;
}
.top-bar a {
  color: var(--verde-claro);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition);
}
.top-bar a:hover { opacity: 0.8; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  background: var(--branco);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.site-logo img { height: 56px; width: auto; }

.nav-menu {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}
.nav-menu a {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 15px;
  color: var(--verde-escuro);
  position: relative;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--verde-claro);
  transition: width var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--verde-claro); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-cta {
  background: var(--verde-claro);
  color: var(--branco) !important;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--verde-escuro) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--verde-escuro);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(107,196,48,0.3); }

.btn-primary {
  background: var(--verde-claro);
  color: var(--branco);
}
.btn-primary:hover { background: #5aaa28; }

.btn-secondary {
  background: transparent;
  color: var(--verde-escuro);
  border: 2px solid var(--verde-escuro);
}
.btn-secondary:hover { background: var(--verde-escuro); color: var(--branco); }

.btn-outline-white {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--branco);
}
.btn-outline-white:hover { background: var(--branco); color: var(--verde-escuro); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--verde-escuro) 0%, #4a5c3f 60%, #3d4f33 100%);
  overflow: hidden;
  padding: var(--sp-12) 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(107,126,95,0.98) 0%, rgba(107,126,95,0.95) 35%, rgba(107,126,95,0.85) 45%, rgba(107,126,95,0.0) 58%, rgba(107,126,95,0.0) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-badge {
  display: inline-block;
  background: rgba(107,196,48,0.2);
  border: 1px solid var(--verde-claro);
  color: var(--verde-claro);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-headings);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: var(--sp-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero h1 { color: var(--branco); margin-bottom: var(--sp-3); }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: var(--sp-5);
}
.hero-btns { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.section { padding: var(--sp-12) 0; }
.section-light { background: var(--branco); }
.section-off { background: var(--off-white); }
.section-dark { background: var(--verde-escuro); }

.section-header { text-align: center; margin-bottom: var(--sp-8); }
.section-header .section-label {
  display: inline-block;
  color: var(--verde-claro);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.section-header h2 { margin-bottom: var(--sp-2); }
.section-header p { color: #666; max-width: 600px; margin: 0 auto; }

/* ============================================================
   CARDS DE SERVIÇO
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.service-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--sombra);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-claro), var(--verde-escuro));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(107,126,95,0.2); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde-escuro));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  font-size: 28px;
}
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { color: #666; font-size: 15px; margin-bottom: var(--sp-3); }
.service-link {
  color: var(--verde-claro);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* Card com imagem de capa: remove padding do topo e ajusta layout */
.service-card--has-image {
  padding-top: 0;
}
.service-card-thumb {
  /* sangra até as bordas do card, ignorando o padding lateral */
  margin: 0 calc(-1 * var(--sp-5)) var(--sp-4);
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.service-card:hover .service-card-thumb img {
  transform: scale(1.05);
}

/* ============================================================
   SEÇÃO SOBRE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  display: block;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 200px; height: 200px;
  background: var(--verde-claro);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.3;
  display: none !important; /* Removed as requested */
}
.about-content .section-label { display: block; margin-bottom: var(--sp-2); }
.about-content h2 { margin-bottom: var(--sp-3); }
.about-content p { color: #555; margin-bottom: var(--sp-4); }
.about-stats {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-headings);
  font-size: 36px;
  font-weight: 700;
  color: var(--verde-claro);
  display: block;
}
.stat-label { font-size: 13px; color: #888; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.testimonial-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--sombra);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 80px;
  color: var(--verde-claro);
  opacity: 0.2;
  position: absolute;
  top: -8px; left: var(--sp-3);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-4);
}
.testimonial-author { display: flex; align-items: center; gap: var(--sp-2); }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--verde-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--branco);
  font-family: var(--font-headings);
}
.author-name { font-family: var(--font-headings); font-weight: 600; font-size: 15px; }
.author-role { font-size: 13px; color: #888; }
.stars { color: var(--verde-claro); font-size: 14px; margin-bottom: 4px; }

/* ============================================================
   SEÇÃO CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--verde-claro) 0%, var(--verde-escuro) 100%);
  padding: var(--sp-10) 0;
  text-align: center;
}
.cta-banner h2, .cta-banner p { color: var(--branco); }
.cta-banner h2 { margin-bottom: var(--sp-2); }
.cta-banner p { opacity: 0.9; margin-bottom: var(--sp-5); font-size: 18px; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.blog-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-card-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--verde-claro);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-1);
  flex-shrink: 0;
}
.blog-card h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--verde-escuro) !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 78px !important; /* height for exactly 3 lines */
  flex-shrink: 0;
}
.blog-card p.blog-excerpt {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #666 !important;
  margin: 0 0 16px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 67px !important; /* height for exactly 3 lines of excerpt */
  flex-shrink: 0;
}
.blog-meta {
  font-size: 13px;
  color: #aaa;
  margin-top: auto !important; /* Push to bottom of the card body */
  margin-bottom: 8px !important;
  flex-shrink: 0;
}

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-form {
  background: var(--branco);
  padding: var(--sp-6);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}
.form-group { margin-bottom: var(--sp-3); }
.form-group label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 14px;
  color: var(--verde-escuro);
  margin-bottom: var(--sp-1);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px var(--sp-2);
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cinza-texto);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--verde-claro);
  box-shadow: 0 0 0 4px rgba(107,196,48,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info h3 { margin-bottom: var(--sp-3); }
.contact-item {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--verde-claro);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a2416;
  color: rgba(255,255,255,0.75);
  padding: var(--sp-10) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img {
  max-height: 135px;
  width: auto;
  max-width: 100%;
  margin-bottom: var(--sp-3);
  display: block;
}
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 16px;
}
.social-icon:hover { background: var(--verde-claro); }

.footer-col h4 {
  color: var(--branco);
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-1); }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--verde-claro); }

.footer-bottom {
  padding: var(--sp-3) 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse-wa 2s infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--branco); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,0.8), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ============================================================
   PAGE HERO (internas)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--verde-escuro), #3d4f33);
  padding: var(--sp-10) 0;
  text-align: center;
}
.page-hero h1 { color: var(--branco); }
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-2);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.page-hero .breadcrumb a { color: var(--verde-claro); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid     { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .hero-image     { width: 55%; opacity: 0.85; }
}

/* Mobile */
@media (max-width: 768px) {
  .top-bar .container { justify-content: center; flex-direction: column; gap: 6px; }
  .top-bar-item { text-align: center; flex: none; width: 100%; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--branco);
    padding: var(--sp-4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: var(--sp-3);
  }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }

  .hero {
    min-height: 80vh;
    padding: var(--sp-10) 0;
  }
  .hero-image {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(107,126,95,0.9) 0%, rgba(107,126,95,0.7) 60%, rgba(107,126,95,0.45) 100%);
  }

  .about-stats { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  :root { --sp-12: 56px; --sp-10: 48px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-enabled .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   ESTRUTURA DO BLOG (LAYOUT DE DUAS COLUNAS COM SIDEBAR)
   ============================================================ */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
@media (min-width: 992px) {
  .blog-layout-grid {
    grid-template-columns: 8fr 4fr;
    gap: var(--sp-8);
  }
}

.blog-post-card {
  display: flex;
  gap: var(--sp-4);
  background: var(--branco);
  padding: var(--sp-5);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: var(--sp-4);
  transition: transform var(--transition);
}
.blog-post-card:hover {
  transform: translateY(-2px);
}
.post-date-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--off-white);
  border: 1px solid var(--cinza-claro);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  color: var(--verde-escuro);
  line-height: 1.1;
  text-align: center;
}
.post-date-badge .day {
  font-size: 20px;
  font-weight: 700;
}
.post-date-badge .month {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.post-card-inner {
  flex-grow: 1;
}
.post-card-title {
  font-size: clamp(15px, 1.5vw, 18px);
  margin-bottom: var(--sp-3);
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-title a {
  color: var(--verde-escuro);
  transition: color var(--transition);
}
.post-card-title a:hover {
  color: var(--verde-claro);
}

.post-card-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-3);
  aspect-ratio: 16/9;
}
.post-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card-image-wrap:hover img {
  transform: scale(1.03);
}

.post-card-excerpt {
  color: var(--cinza-texto);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}
.post-card-btn {
  display: inline-block;
  background: var(--verde-escuro);
  color: var(--branco) !important;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.post-card-btn:hover {
  background: var(--verde-claro);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .blog-post-card {
    flex-direction: column;
    gap: var(--sp-3);
  }
  .post-date-badge {
    flex-direction: row;
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: var(--sp-1) var(--sp-3);
    align-self: flex-start;
    gap: 6px;
  }
  .post-date-badge .day { font-size: 16px; }
  .post-date-badge .month { font-size: 13px; }
}

/* SIDEBAR */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.sidebar-widget {
  background: var(--branco);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--sombra);
}
.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid var(--off-white);
  position: relative;
}
.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--verde-claro);
}

.widget-categories-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.widget-categories-list li a {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--cinza-texto);
  transition: color var(--transition), padding-left var(--transition);
}
.widget-categories-list li a:hover {
  color: var(--verde-claro);
  padding-left: 6px;
}
.widget-categories-list li a::before {
  content: '🌿';
  margin-right: 8px;
  font-size: 12px;
}

.widget-recent-posts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.recent-post-item {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}
.recent-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.recent-post-thumb img,
.recent-post-thumb .recent-post-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-post-thumb .recent-post-placeholder {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-claro));
}
.recent-post-info {
  display: flex;
  flex-direction: column;
}
.recent-post-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2px;
}
.recent-post-title a {
  color: var(--verde-escuro);
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post-title a:hover {
  color: var(--verde-claro);
}
.recent-post-date {
  font-size: 12px;
  color: #888;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-1);
  margin-top: var(--sp-6);
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cinza-claro);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  color: var(--verde-escuro);
  transition: all var(--transition);
}
.pagination .prev, .pagination .next {
  width: auto;
  padding: 0 var(--sp-2);
  border-radius: 50px;
  white-space: nowrap;
}
.pagination a:hover {
  background: var(--verde-claro);
  color: var(--branco);
  border-color: var(--verde-claro);
  transform: translateY(-2px);
}
.pagination span.current {
  background: var(--verde-escuro);
  color: var(--branco);
  border-color: var(--verde-escuro);
}

@media (max-width: 480px) {
  .pagination {
    gap: 4px;
  }
  .pagination a, .pagination span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .pagination .prev, .pagination .next {
    width: auto;
    padding: 0 var(--sp-1);
  }
}

/* ============================================================
   ESTRUTURA DE CONTATO
   ============================================================ */
.contact-page-map {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: var(--sp-6);
  overflow: hidden;
}
.contact-page-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-info-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--sombra);
  text-align: center;
  transition: transform var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-5px);
}
.contact-card-icon {
  width: 50px;
  height: 50px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto var(--sp-3);
  color: var(--verde-claro);
}
.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--verde-escuro);
}
.contact-info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cinza-texto);
  margin: 0;
}

/* ============================================================
   ESTRUTURA DE SERVIÇOS
   ============================================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
@media (min-width: 768px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.services-page-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.services-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(107,126,95,0.2);
}
.services-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.services-card-img-wrap img,
.services-card-img-wrap .services-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.services-card-img-wrap .services-card-placeholder {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-claro));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.services-page-card:hover .services-card-img-wrap img {
  transform: scale(1.05);
}
.services-card-content {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.services-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: var(--sp-2);
}
.services-card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cinza-texto);
  margin-bottom: var(--sp-3);
  flex-grow: 1;
}
.services-card-btn {
  align-self: flex-start;
  background: var(--verde-claro);
  color: var(--branco) !important;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.services-card-btn:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
}

/* ============================================================
   SERVICES MARQUEE (INFINITE LATERAL SCROLL)
   ============================================================ */

/* Wrapper: holds arrows + scroll area, establishes stacking context */
.services-marquee-wrapper {
  position: relative;
  width: 100%;
}

/* Scrollable track — overflow clips content, NOT the arrows */
.services-marquee-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  width: 100%;
  position: relative;
  padding: var(--sp-4) 0;
  scroll-behavior: smooth;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.services-marquee-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Arrows: positioned on wrapper, so they sit above the overflow */
.services-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--branco);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(107,126,95,0.25);
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
}
.services-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--verde-escuro);
  flex-shrink: 0;
}
.services-arrow:hover {
  background: var(--verde-claro);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.services-arrow:hover svg { fill: var(--branco); }
.services-arrow-left  { left: 0; }
.services-arrow-right { right: 0; }


.services-marquee-track {
  display: flex;
  width: max-content;
}

.services-marquee-content {
  display: flex;
  gap: var(--sp-4);
  padding-right: var(--sp-4);
}

.services-marquee-content .service-card {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
}

.services-marquee-content .service-card .service-link {
  margin-top: auto;
}

/* Services Marquee Arrows */
.services-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--branco);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform var(--transition), background var(--transition);
}
.services-arrow:hover {
  background: var(--verde-claro);
  transform: translateY(-50%) scale(1.1);
}
.services-arrow:hover svg {
  fill: var(--branco);
}
.services-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--verde-escuro);
  transition: fill var(--transition);
}
.services-arrow-left {
  left: 20px;
}
.services-arrow-right {
  right: 20px;
}

@media (max-width: 576px) {
  .services-marquee-content .service-card {
    flex: 0 0 280px;
  }
  .services-arrow {
    width: 36px;
    height: 36px;
  }
  .services-arrow-left {
    left: 10px;
  }
  .services-arrow-right {
    right: 10px;
  }
}

/* ============================================================
   PALESTRAS GALLERY (PAGE)
   ============================================================ */
.palestras-gallery-section {
  width: 100%;
}
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.gallery-carousel {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  padding: var(--sp-2) 0;
}
.gallery-carousel::-webkit-scrollbar {
  display: none;
}
.gallery-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--sombra);
}
@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc((100% - var(--sp-4)) / 2);
  }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--branco);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform var(--transition), background var(--transition);
}
.gallery-arrow:hover {
  background: var(--verde-claro);
  transform: translateY(-50%) scale(1.1);
}
.gallery-arrow:hover svg {
  fill: var(--branco);
}
.gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--verde-escuro);
  transition: fill var(--transition);
}
.gallery-arrow-left {
  left: -22px;
}
.gallery-arrow-right {
  right: -22px;
}
@media (max-width: 768px) {
  .gallery-arrow {
    width: 36px;
    height: 36px;
  }
  .gallery-arrow-left {
    left: -10px;
  }
  .gallery-arrow-right {
    right: -10px;
  }
}

/* ============================================================
   LIGHTBOX GALERIA
   ============================================================ */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.gallery-lightbox-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-lightbox.active .gallery-lightbox-container {
  transform: scale(1) translateY(0);
}
.gallery-lightbox-img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  user-select: none;
}
.gallery-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background var(--transition), transform var(--transition);
}
.gallery-lightbox-close:hover {
  background: var(--verde-claro);
  border-color: var(--verde-claro);
  transform: scale(1.1) rotate(90deg);
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background var(--transition), transform var(--transition);
}
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--verde-claro);
  border-color: var(--verde-claro);
  transform: translateY(-50%) scale(1.1);
}
.gallery-lightbox-prev svg,
.gallery-lightbox-next svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
}
.gallery-lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  letter-spacing: 1px;
  pointer-events: none;
}
.gallery-lightbox-caption {
  position: fixed;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 70vw;
  pointer-events: none;
}
@media (max-width: 768px) {
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }
  .gallery-lightbox-prev,
  .gallery-lightbox-next { width: 40px; height: 40px; }
  .gallery-lightbox-prev svg,
  .gallery-lightbox-next svg { width: 20px; height: 20px; }
}


/* ============================================================
   SERVICES GRID — Layout 3+2 (5 cards)
   ============================================================ */

/* Homepage: 3 colunas fixas para 5 serviços */
.services-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}
/* Cards 4 e 5 ficam na 2ª linha centralizados */
.services-grid-5 .service-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
}
.services-grid-5 .service-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* Página de Serviços: mesmo padrão 3+2 */
.services-page-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}
.services-page-grid-5 .services-page-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
}
.services-page-grid-5 .services-page-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* Tablet: volta para 2 colunas automáticas */
@media (max-width: 900px) {
  .services-grid-5,
  .services-page-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-5 .service-card:nth-child(4),
  .services-grid-5 .service-card:nth-child(5),
  .services-page-grid-5 .services-page-card:nth-child(4),
  .services-page-grid-5 .services-page-card:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
  }
  /* Centraliza o 5º card se ficar sozinho na linha */
  .services-grid-5 .service-card:last-child:nth-child(odd),
  .services-page-grid-5 .services-page-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* Mobile: 1 coluna */
@media (max-width: 576px) {
  .services-grid-5,
  .services-page-grid-5 {
    grid-template-columns: 1fr;
  }
  .services-grid-5 .service-card:last-child:nth-child(odd),
  .services-page-grid-5 .services-page-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}

/* ============================================================
   NOVA SEÇÃO: DEPOIMENTOS DE MÍDIA (CARROSSEL E MODAL)
   ============================================================ */
.testimonials-box-container {
  background: #F7FAF5;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(107, 126, 95, 0.04); /* Extremely soft shadow */
  padding: var(--sp-8) var(--sp-6);
  width: 100%;
  margin: 0 auto;
}
.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
}
.testimonials-carousel {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: var(--sp-2) 0;
}
.testimonials-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.testimonial-media-card {
  flex: 0 0 calc((100% - 2 * var(--sp-4)) / 3); /* 3 cards side by side on desktop */
  scroll-snap-align: start;
  background: var(--branco);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: 0 4px 20px rgba(107, 126, 95, 0.05); /* Extremely soft shadow */
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: auto;
  border-bottom: none; /* Reset if standard cards have border-bottom */
}
.testimonial-media-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(107, 126, 95, 0.1);
}
.testimonial-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin-bottom: var(--sp-2);
  background: #000;
}
.testimonial-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.testimonial-media-card:hover .testimonial-media-img {
  transform: scale(1.03);
}
.testimonial-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.testimonial-media-card:hover .testimonial-media-overlay {
  background: rgba(0, 0, 0, 0.25);
}
.play-btn-icon {
  width: 54px;
  height: 54px;
  background: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform var(--transition), background var(--transition);
}
.play-btn-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--verde-escuro);
  margin-left: 4px;
  transition: fill var(--transition);
}
.testimonial-media-card:hover .play-btn-icon {
  transform: scale(1.08);
  background: var(--verde-claro);
}
.testimonial-media-card:hover .play-btn-icon svg {
  fill: var(--branco);
}

.zoom-btn-icon {
  width: 54px;
  height: 54px;
  background: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform var(--transition), background var(--transition);
}
.zoom-btn-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--verde-escuro);
  transition: fill var(--transition);
}
.testimonial-media-card:hover .zoom-btn-icon {
  transform: scale(1.08);
  background: var(--verde-claro);
}
.testimonial-media-card:hover .zoom-btn-icon svg {
  fill: var(--branco);
}

.testimonial-media-caption {
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 600;
  color: var(--verde-escuro);
  text-align: center;
  margin-top: auto;
  padding: var(--sp-2) var(--sp-1) 0;
  line-height: 1.4;
}

.carousel-dots-container {
  display: none; /* Only visible on mobile/tablet */
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-4);
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cinza-claro);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--verde-claro);
  transform: scale(1.2);
}

/* Modais */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.testimonial-modal.active {
  opacity: 1;
  pointer-events: all;
}
.testimonial-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 36, 22, 0.8);
  backdrop-filter: blur(4px);
}
.testimonial-modal-container {
  position: relative;
  z-index: 10001;
  width: 90%;
  max-width: 420px; /* Slim vertical aspect ratio for 9:16 vertical videos */
  aspect-ratio: 9/16;
  max-height: 85vh;
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.testimonial-modal.active .testimonial-modal-container {
  transform: scale(1);
}
.testimonial-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10002;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-escuro);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.testimonial-modal-close:hover {
  background: var(--verde-claro);
  color: var(--branco);
  transform: scale(1.1);
}
.testimonial-modal-content {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.testimonial-modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Responsividade */

/* Tablet */
@media (max-width: 1024px) {
  .testimonials-box-container {
    padding: var(--sp-6) var(--sp-4);
    border-radius: 28px;
  }
  .testimonial-media-card {
    flex: 0 0 calc((100% - var(--sp-4)) / 2); /* 2 cards side by side */
  }
  .carousel-dots-container {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .testimonials-box-container {
    padding: var(--sp-5) var(--sp-3);
    border-radius: 24px;
  }
  .testimonial-media-card {
    flex: 0 0 100%; /* 1 card side by side */
  }
  .carousel-dots-container {
    display: flex;
  }
  .testimonial-modal-container {
    max-height: 80vh;
  }
}

