:root {
  --primary: #00A9EF;
  --primary-dark: #0087c4;
  --primary-light: #e6f6fe;
  --text-muted-custom: #7a8799;
  --text-body: #5a6470;
  --white: #ffffff;
  --light-bg: #f8fbfe;
  --border-light: #dceef8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  margin: 0;
  padding: 0;
  background: #ffffff;
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  background: #ffffff;
  color: var(--text-body);
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--light-bg);
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-body);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-phone i {
  color: var(--primary);
  font-size: 0.85rem;
}

.topbar-phone:hover { color: var(--primary); }

.topbar-divider {
  width: 1px;
  height: 16px;
  background: var(--border-light);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-custom);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.topbar-social a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 4px 14px 4px 10px;
  gap: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.topbar-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,169,239,0.1);
}

.topbar-search i {
  color: var(--text-muted-custom);
  font-size: 0.78rem;
}

.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-body);
  font-size: 0.82rem;
  
  width: 180px;
}

.topbar-search input::placeholder {
  color: var(--text-muted-custom);
  opacity: 0.7;
}

/* ── NAV SUBMENUS ── */
nav.site-nav ul li {
  position: relative;
}

nav.site-nav ul li .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 28px rgba(0,169,239,0.12);
  min-width: 220px;
  z-index: 100;
  padding: 6px 0;
  list-style: none;
}

@media (min-width: 769px) {
  nav.site-nav ul li:hover .submenu {
    display: block;
    animation: fadeDown 0.2s ease;
  }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

nav.site-nav ul li .submenu li a {
  padding: 10px 20px;
  font-size: 0.83rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--text-body);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
}

nav.site-nav ul li .submenu li a::after { display: none; }

nav.site-nav ul li .submenu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 26px;
}

nav.site-nav ul li .submenu li a i {
  color: var(--primary);
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav-caret {
  font-size: 0.6rem;
  margin-left: 3px;
  opacity: 0.6;
  vertical-align: middle;
}

/* ── HORÁRIOS ── */
.schedule-section {
  background: var(--light-bg);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 575px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-card {
  background: var(--white);
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.schedule-card:hover {
  box-shadow: 0 6px 22px rgba(0,169,239,0.13);
  transform: translateY(-2px);
}

.schedule-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.schedule-info .schedule-day {
  font-weight: 700;
  font-size: 0.88rem;
  color: #3a4a5a;
  margin-bottom: 3px;
}

.schedule-info .schedule-time {
  font-size: 0.82rem;
  color: var(--text-muted-custom);
  line-height: 1.5;
}

.schedule-info .schedule-activity {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.schedule-header h3 {
  
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.schedule-badge {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── TOPBAR RESPONSIVE ── */
@media (max-width: 600px) {
  .topbar-search input { width: 120px; }
  .topbar-left { gap: 10px; }
  .topbar-divider { display: none; }
}

@media (max-width: 400px) {
  .topbar-search { display: none; }
}

/* ── HEADER ── */
header {
  background: var(--white);
  padding: 28px 0 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 12px -2px rgba(0,169,239,0.08);
  position: relative;
  z-index: 200;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.logo-box {
  width: 110px;
  height: 110px;
  background: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(0,169,239,0.28);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.logo-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: 18px;
}

.logo-box svg {
  width: 70px;
  height: 70px;
  fill: white;
  position: relative;
  z-index: 1;
}

.logo-name {
  
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  text-align: center;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-muted-custom);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* ── NAV ── */
nav.site-nav {
  background: var(--white);
  position: relative;
  z-index: 150;
}

nav.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

nav.site-nav ul li a {
  display: block;
  padding: 14px 22px;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

nav.site-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

nav.site-nav ul li a:hover,
nav.site-nav ul li a.active {
  color: var(--primary);
}

nav.site-nav ul li a:hover::after,
nav.site-nav ul li a.active::after {
  width: 60%;
}

/* ── CAROUSEL ── */
.carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 100vw;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  width: 100%;
}

/* Altura padrão desktop */
.carousel-slide {
  min-width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/*
  * Altura adaptável para imagens verticais no mobile.
  * O backend deve adicionar a classe "mobile-vertical" ao .carousel-section
  * quando as imagens mobile forem verticais (ex: 9:16 ou similar).
  * Exemplo PHP: <div class="carousel-section <?= $isMobile ? 'mobile-vertical' : '' ?>">
  *
  * Breakpoints disponíveis:
  *   .carousel-slide              → 480px (desktop padrão)
  *   .mobile-vertical .carousel-slide → usa padding-top aspect-ratio
  *
  * Para controle fino por slide, o backend pode também adicionar
  * data-height="500" em cada .carousel-slide e o JS lerá esse valor.
  */

/* Classe adicionada pelo backend quando usar imagens verticais no mobile */
@media (max-width: 768px) {
  .mobile-vertical .carousel-slide {
    height: auto;
    aspect-ratio: 9 / 16; /* proporção de imagem vertical */
  }
  .mobile-vertical .slide-bg {
    background-position: center center;
  }
}

/* ── Imagem de fundo ── */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}

.carousel-slide.is-active .slide-bg {
  transform: scale(1);
}

/* Escurecimento leve sobre a imagem inteira para evitar brancos extremos */
.slide-dimmer {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.25);
  z-index: 1;
}

/* ── Caixa de texto semitransparente ── */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 36px 44px;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  margin: 20px;
}

.slide-content h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.slide-content p {
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 11px 28px;
  font-size: 0.87rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.slide-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,169,239,0.35);
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s, transform 0.2s;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.30);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.4);
}

@media (max-width: 768px) {
  /* Banner vertical no mobile: altura maior que a largura (proporção 4:5) */
  .carousel-slide {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .slide-content { padding: 24px 26px; margin: 16px; }
}

@media (max-width: 480px) {
  /* Em telas menores, proporção ainda mais vertical (3:4) */
  .carousel-slide {
    aspect-ratio: 3 / 4;
  }
  .slide-content { padding: 20px 18px; margin: 12px; }
  .slide-content h2 { font-size: 1.3rem; }
  .slide-content p { font-size: 0.88rem; }
}

/* ── FRASES / CITAÇÕES ── */
.quotes-section {
  background: var(--primary);
  padding: 22px 40px;
}

.quote-single {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.quote-single .quote-icon {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  line-height: 1;
  align-self: flex-start;
}

.quote-single .quote-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-single .quote-text {
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
}

.quote-single .quote-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .quotes-section { padding: 18px 24px; }
  .quote-single { gap: 12px; }
  .quote-single .quote-icon { font-size: 1.3rem; }
  .quote-single .quote-text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .quote-single .quote-icon { display: none; }
  .quote-single .quote-text { font-size: 0.87rem; }
}

/* ── SECTIONS ── */
section {
  padding: 64px 0;
}

section:nth-child(even) {
  background: var(--light-bg);
}

.section-title {
  
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  margin-top: 10px;
}

.section-subtitle {
  color: var(--text-muted-custom);
  font-size: 0.9rem;
  margin-bottom: 32px;
  margin-top: 8px;
}

/* ── EVENTS LIST ── */
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  border-bottom: 1px solid var(--border-light);
}

.event-list li:first-child {
  border-top: 1px solid var(--border-light);
}

.event-list li a {
  display: flex;
  align-items: center;
  padding: 16px 4px;
  text-decoration: none;
  gap: 20px;
  transition: background 0.2s;
  border-radius: 6px;
}

.event-list li a:hover {
  background: var(--primary-light);
  padding-left: 12px;
}

.event-date {
  min-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1;
}

.event-date .day {
  
  font-size: 1.5rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2px;
}

.event-info {
  flex: 1;
}

.event-info .event-title {
  font-weight: 600;
  color: #3a4a5a;
  font-size: 0.97rem;
  margin-bottom: 3px;
}

.event-info .event-meta {
  font-size: 0.8rem;
  color: var(--text-muted-custom);
}

.event-arrow {
  color: var(--primary);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

.event-list li a:hover .event-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ── SPIRITISM LIST ── */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  border-bottom: 1px solid var(--border-light);
}

.article-list li:first-child {
  border-top: 1px solid var(--border-light);
}

.article-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  text-decoration: none;
  color: #3a4a5a;
  font-weight: 600;
  font-size: 0.97rem;
  gap: 12px;
  transition: color 0.2s, padding-left 0.2s;
  border-radius: 6px;
}

.article-list li a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.article-list li a i {
  color: var(--primary);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.article-list li a:hover i {
  opacity: 1;
  transform: translateX(4px);
}

.see-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  margin-top: 20px;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}

.see-more-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ── MISSIONARIES ── */
.missionary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.missionary-list li {
  border-bottom: 1px solid var(--border-light);
}

.missionary-list li:first-child {
  border-top: 1px solid var(--border-light);
}

.missionary-list li a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 4px;
  text-decoration: none;
  transition: background 0.2s, padding-left 0.2s;
  border-radius: 6px;
}

.missionary-list li a:hover {
  background: var(--primary-light);
  padding-left: 10px;
}

.missionary-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  
  font-size: 1.3rem;
  font-weight: 700;
  border: 2px solid var(--border-light);
}

.missionary-info .name {
  font-weight: 600;
  color: #3a4a5a;
  font-size: 0.97rem;
  margin-bottom: 2px;
}

.missionary-info .role {
  font-size: 0.8rem;
  color: var(--text-muted-custom);
}

.missionary-arrow {
  margin-left: auto;
  color: var(--primary);
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.missionary-list li a:hover .missionary-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ── DEPOIMENTOS ── */
.testimonials-section {
  background: var(--white);
  padding: 64px 0;
}

.testimonial-form-wrap {
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 48px;
}

.testimonial-form-wrap h4 {
  
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.testimonial-form-wrap p {
  font-size: 0.87rem;
  color: var(--text-muted-custom);
  margin-bottom: 22px;
}

/* Destaque visual para depoimentos especiais */

.testimonial-card.destaque {
  background: #fff8f0;
  border-color: #f0a030;
  box-shadow: 0 4px 18px rgba(240,160,48,0.15);
}

.testimonial-card.destaque .testimonial-accent {
  background: #f0a030;
  opacity: 1;
}

.testimonial-card.destaque::before {
  color: #fde8c0;
}

.testimonial-card.destaque .testimonial-author {
  border-top-color: #f5d49a;
}

.testimonial-card.destaque .testimonial-avatar {
  background: linear-gradient(135deg, #f0a030, #c97a10);
}

.destaque-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0a030;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.t-form-group {
  margin-bottom: 14px;
}

.t-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3a4a5a;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.t-form-group input,
.t-form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  
  color: var(--text-body);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}

.t-form-group input:focus,
.t-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,169,239,0.1);
}

.t-form-group textarea { height: 110px; }

.t-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 575px) {
  .t-form-row { grid-template-columns: 1fr; }
  .testimonial-form-wrap { padding: 22px 18px; }
}

.t-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 11px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.t-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,169,239,0.3);
}

.t-submit-btn:active { transform: translateY(0); }

/* Testimonial cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 26px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,169,239,0.11);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  right: 22px;
  
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  pointer-events: none;
}

.testimonial-accent {
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  margin-bottom: 14px;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #3a4a5a;
}

.testimonial-author-date {
  font-size: 0.76rem;
  color: var(--text-muted-custom);
  margin-top: 1px;
}

.testimonials-subheading {
  
  font-size: 1.05rem;
  font-weight: 700;
  color: #3a4a5a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonials-subheading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* Success message */
.t-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #e8f8ef;
  border: 1px solid #b2dfc5;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.88rem;
  color: #2e7d52;
  font-weight: 600;
  margin-top: 12px;
}

.t-success.show { display: flex; }

/* ── MAPA ── */
.map-section {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.map-iframe {
  width: 100% !important;
  min-width: 100%;
  height: 400px;
  border: none !important;
  display: block;
  filter: grayscale(15%) contrast(1.02);
}

/* ── FOOTER ── */
footer {
  background: #0d1f2d;
  color: rgba(255,255,255,0.75);
  padding: 52px 0 28px;
}

.footer-logo {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-logo svg {
  width: 38px;
  height: 38px;
  fill: white;
}

.footer-name {
  
  font-size: 1.1rem;
  color: white;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: var(--primary); }

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,169,239,0.1);
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(0,169,239,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.25s, box-shadow 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,169,239,0.5);
}

@media (max-width: 480px) {
  .back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }
}

/* ══════════════════════════════
    MOBILE — MENU HAMBÚRGUER
══════════════════════════════ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  border-top: 1px solid var(--border-light);
  border-radius: 0;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}

.nav-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-toggle i { font-size: 1rem; }

/* ══════════════════════════════
    RESPONSIVE — GERAL
══════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 44px 0; }

  /* ── Fix overflow global ── */
  .container { max-width: 100%; padding-left: 16px; padding-right: 16px; }
  .row { margin-left: 0; margin-right: 0; }
  [class*="col-"] { padding-left: 8px; padding-right: 8px; }

  /* ── Topbar ── */
  .topbar-search input { width: 110px; }
  .topbar-left { gap: 10px; }

  /* ── Menu hambúrguer ── */
  .nav-toggle { display: flex; }

  nav.site-nav { padding: 0; }
  nav.site-nav > .container { padding: 0; max-width: 100%; }

  nav.site-nav .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-light);
    background: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.site-nav .nav-menu.is-open {
    max-height: 600px;
    padding: 8px 0 12px;
  }

  nav.site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  nav.site-nav ul li {
    border-bottom: 1px solid var(--border-light);
  }

  nav.site-nav ul li:last-child { border-bottom: none; }

  nav.site-nav ul li a {
    padding: 13px 20px;
    font-size: 0.85rem;
    justify-content: space-between;
  }

  nav.site-nav ul li a::after { display: none; }

  /* Submenus mobile — exibem abaixo do item */
  nav.site-nav ul li .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-light);
    border-radius: 0;
    min-width: 100%;
    background: var(--light-bg);
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    animation: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.site-nav ul li.sub-open .submenu {
    max-height: 300px;
  }

  nav.site-nav ul li .submenu li a {
    padding: 10px 32px;
    border-bottom: none;
    font-size: 0.83rem;
    text-align: left;
    justify-content: flex-start;
  }

  /* ── Banner ── */
  .carousel-slide { height: auto; aspect-ratio: 4 / 5; }
  .slide-content {
    padding: 22px 20px;
    margin: 0 52px;
    max-width: calc(100% - 104px);
  }
  .slide-content h2 { font-size: 1.15rem; }
  .slide-content p { font-size: 0.84rem; margin-bottom: 16px; }
  .slide-btn { padding: 9px 18px; font-size: 0.8rem; }

  /* ── Formulário de depoimentos ── */
  .t-form-row { grid-template-columns: 1fr; }
  .testimonial-form-wrap { padding: 20px 16px; }
  .t-form-group input,
  .t-form-group textarea { max-width: 100%; }

  /* ── Schedule grid ── */
  .schedule-grid { grid-template-columns: 1fr; }

  /* ── Testimonials grid ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-contact-item { word-break: break-word; }
}

@media (max-width: 480px) {
  .topbar-search { display: none; }
  .topbar-divider { display: none; }

  .carousel-slide { aspect-ratio: 3 / 4; }
  .slide-content {
    margin: 0 44px;
    max-width: calc(100% - 88px);
    padding: 18px 14px;
  }
  .slide-content h2 { font-size: 1rem; }
  .slide-content p { font-size: 0.8rem; margin-bottom: 12px; }

  nav.site-nav ul li a { font-size: 0.82rem; }
}

/* Decorative accent */
.section-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* ── ARTIGO INTERNO ── */
.article-hero {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 420px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 30px;
}

.article-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .article-hero { border-radius: 10px; max-height: 260px; }
  .article-title { font-size: 1.3rem; }
}

/* ── FALE CONOSCO ── */
.contact-form-wrap {
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 36px;
}

.contact-form-wrap h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-form-wrap p {
  font-size: 0.87rem;
  color: var(--text-muted-custom);
  margin-bottom: 22px;
}

@media (max-width: 575px) {
  .contact-form-wrap { padding: 22px 18px; }
}

/* ── PAGINADOR MURAL ── */

.mural-paginador {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
  padding-bottom: 8px;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pag-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.pag-btn.ativo {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  pointer-events: none;
}

.pag-ellipsis {
  color: var(--text-muted-custom);
  font-size: 0.88rem;
  padding: 0 4px;
}
