/* ============================================
   EBC - HOME PAGE STYLES
   Específico para page home + seções gerais
   ============================================ */

/* ============================================
   PADDING PARA NAVBAR FIXED
   ============================================ */

/* body sem padding-top: navbar é fixed, banner-slider usa top offset */

/* ============================================
   SEÇÕES ESPECÍFICAS
   ============================================ */

.section-info {
  padding: var(--space-3xl) var(--space-md);
  position: relative;
}

.sobre-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 768px) {
  .sobre-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .sobre-grid > div {
    width: 100%;
    min-width: 0;
  }
  .sobre-grid img {
    max-width: 100%;
    height: auto;
  }
}

.section-segments,
.section-diferenciais {
  padding: var(--space-3xl) var(--space-md);
}

.section-segments.bg-light {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   FEATURE LIST
   ============================================ */

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) 0;
}

.feature-item {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-main);
  border-radius: 8px;
  transition: all var(--transition-base);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  background-color: var(--bg-white);
}

.feature-item strong {
  color: var(--primary-main);
  display: block;
  margin-bottom: var(--space-xs);
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: calc(70vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-top: -70px;
  padding-top: 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  width: 100%;
  padding: 0 var(--space-md);
}

.hero-text {
  animation: slideUp 0.8s ease-out;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.3s both;
}

/* ============================================
   HERO CAROUSEL / SLIDER
   ============================================ */

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #FFFAFA;
  margin-top: -70px;
}

.hero-slides-container {
  position: relative;
  width: 100%;
  height: 70vh;
  padding-top: 70px;
  overflow: hidden;
  background-color: #FFFAFA;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  text-align: center;
  color: white;
  max-width: 900px;
  width: 100%;
  padding: 0 var(--space-md);
  animation: slideUp 0.8s ease-out;
}

.hero-slide .hero-text {
  animation: slideUp 0.8s ease-out;
}

.hero-slide .hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-slide .hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.8;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-slide .hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-slide .btn-outline {
  background-color: transparent;
  border-color: white;
  color: white;
}

.hero-slide .btn-outline:hover {
  background-color: white;
  color: var(--primary-main);
}

/* Carousel Controls */
.hero-controls {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  pointer-events: auto;
}

.hero-dots {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
  background-color: white;
  border-color: white;
  transform: scale(1.3);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  font-size: 0;
}

.hero-arrow:hover {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: white;
  transform: scale(1.1);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ============================================
   ROW COM ALIGN-ITEMS-CENTER
   Bootstrap compatibility
   ============================================ */

.row.align-items-center {
  align-items: center;
}

.row.gap-4 {
  gap: var(--space-xl);
}

/* ============================================
   IMAGE STYLING
   ============================================ */

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-lg {
  border-radius: 16px;
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .hero {
    min-height: auto;
    background-attachment: scroll;
  }

  .hero-carousel {
    margin-top: -60px;
  }

  .hero-slides-container {
    height: auto;
    min-height: 500px;
    padding-top: 60px;
  }

  .hero-slide {
    position: relative;
    height: auto;
    min-height: 500px;
  }

  .hero-text {
    padding: 0 var(--space-md);
  }

  .section-title {
    padding: 0 var(--space-sm);
  }

  .section-subtitle {
    max-width: 100%;
    padding: 0 var(--space-sm);
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-controls {
    bottom: var(--space-lg);
    gap: var(--space-md);
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }

  .hero-carousel {
    margin-top: -60px;
  }

  .hero-slides-container {
    height: 500px;
    padding-top: 60px;
  }

  .hero-slide {
    height: 500px;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-controls {
    bottom: var(--space-md);
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-arrow svg {
    width: 16px;
    height: 16px;
  }

  .hero-dots {
    gap: var(--space-sm);
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   SCROLLREVEAL ANIMATIONS
   ============================================ */

.scroll-reveal {
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

.scroll-reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.scroll-reveal:nth-child(3) {
  animation-delay: 0.2s;
}

.scroll-reveal:nth-child(4) {
  animation-delay: 0.3s;
}

.scroll-reveal:nth-child(5) {
  animation-delay: 0.4s;
}

/* ============================================
   ANIMATE STAGGER
   ============================================ */

.animate-stagger > * {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-stagger > :nth-child(1) {
  animation-delay: 0s;
}

.animate-stagger > :nth-child(2) {
  animation-delay: 0.1s;
}

.animate-stagger > :nth-child(3) {
  animation-delay: 0.2s;
}

.animate-stagger > :nth-child(4) {
  animation-delay: 0.3s;
}

.animate-stagger > :nth-child(5) {
  animation-delay: 0.4s;
}

.animate-stagger > :nth-child(6) {
  animation-delay: 0.5s;
}

/* ============================================
   EDUCAÇÃO INTEGRAL - IMAGEM QUADRADA
   ============================================ */

.integral-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integral-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* DEPOIMENTOS */
.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(128,15,148,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-main);
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: serif;
}

.testimonial-author {
  text-align: right;
  color: var(--primary-main);
  font-weight: 600;
}

.testimonial-author small {
  color: var(--text-gray);
  font-weight: 400;
}

/* ============================================
   SEÇÃO SOBRE A EBC — Institucional Elegante
   ============================================ */

.ebc-sobre-section {
  padding: 5rem 1rem 4.5rem;
  background: linear-gradient(160deg, #FFFAFA 0%, #FDF5FF 50%, #FFFAFA 100%);
  position: relative;
  overflow: hidden;
}

.ebc-sobre-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128,15,148,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ebc-sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Conteúdo de texto ── */
.ebc-sobre-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ebc-sobre-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-main);
  background: rgba(128, 15, 148, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  width: fit-content;
}

.ebc-sobre-tag::before {
  content: '✦';
  font-size: 0.65rem;
}

.ebc-sobre-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

.ebc-sobre-title-accent {
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ebc-sobre-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-gray);
  margin: 0;
  border-left: 3px solid var(--primary-light);
  padding-left: 1.2rem;
}

/* ── Pilares ── */
.ebc-sobre-pillars {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ebc-pillar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid rgba(128, 15, 148, 0.12);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(128, 15, 148, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ebc-pillar:hover {
  box-shadow: 0 4px 16px rgba(128, 15, 148, 0.13);
  transform: translateY(-2px);
}

.ebc-pillar-icon {
  font-size: 1rem;
  line-height: 1;
}

.ebc-sobre-btn {
  width: fit-content;
  margin-top: 0.5rem;
}

/* ── Coluna visual ── */
.ebc-sobre-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebc-sobre-bg-circle {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(128,15,148,0.10) 0%, rgba(96,0,112,0.05) 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ebc-sobre-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(128, 15, 148, 0.13);
  border: 1px solid rgba(128, 15, 148, 0.09);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebc-sobre-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(128, 15, 148, 0.18);
}

.ebc-sobre-card-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-main);
  line-height: 1;
}

.ebc-sobre-card-desc {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
  max-width: 110px;
  line-height: 1.3;
}

.ebc-sobre-card-1 { top: 5%;  left: 5%;  width: 150px; animation: floatCard1 6s ease-in-out infinite; }
.ebc-sobre-card-2 { top: 5%;  right: 0%; width: 150px; animation: floatCard2 7s ease-in-out infinite; }
.ebc-sobre-card-3 { bottom: 8%; left: 18%; width: 160px; animation: floatCard3 8s ease-in-out infinite; }

@keyframes floatCard1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes floatCard2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes floatCard3 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Responsivo ── */
@media (max-width: 992px) {
  .ebc-sobre-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ebc-sobre-visual {
    min-height: 240px;
    order: -1;
  }
  .ebc-sobre-card-1 { top: 0;  left: 2%; }
  .ebc-sobre-card-2 { top: 0;  right: 2%; }
  .ebc-sobre-card-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
  .ebc-sobre-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .ebc-sobre-section { padding: 3.5rem 1rem 3rem; }
  .ebc-sobre-title { font-size: 1.55rem; }
  .ebc-sobre-text { font-size: 0.97rem; }
  .ebc-sobre-pillars { gap: 0.6rem; }
  .ebc-pillar { padding: 0.45rem 0.75rem; font-size: 0.78rem; }
  .ebc-sobre-card { padding: 1rem 1.1rem; }
  .ebc-sobre-card-num { font-size: 1.6rem; }
  .ebc-sobre-card-3 { bottom: -10px; }
}
