/* =============================================
   Phorte Educacional – Custom CSS
   Bootstrap 5 complement
   ============================================= */

/* ---- Variáveis ---- */
:root {
  --phorte-blue: #1D345E;
  --phorte-blue-dark: #0A2347;
  --phorte-navy: #00116F;
  --phorte-orange: #D66D00;
  --phorte-light: #F5F5F5;
}

/* ---- Base ---- */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto Slab', serif;
}

/* =============================================
   HEADER
   ============================================= */
.phorte-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.header-logo {
  max-height: 75px;
  width: auto;
}

/* Desktop nav */
.phorte-nav {
  list-style: none;
}

.phorte-nav-link {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.phorte-nav-link:hover,
.phorte-nav-link.active {
  color: var(--phorte-navy);
  background: rgba(0, 17, 111, 0.06);
}

/* Mobile hamburger (uses Bootstrap default icon) */
.navbar-toggler {
  background: transparent;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}

.mobile-nav-collapse {
  border-top: 1px solid #eee;
  background: #fff;
}

.mobile-nav-link {
  display: block;
  padding: 0.6rem 0;
  color: #333;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--phorte-navy);
}

/* =============================================
   SECTION 1 – ESCOLA ABERTA (blue bg + mountains)
   ============================================= */
.escola-section {
  background-color: var(--phorte-blue);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Mountains shape divider top */
.shape-top,
.shape-bottom {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.shape-top {
  top: 0;
}

.shape-bottom {
  bottom: 0;
}

.shape-top svg,
.shape-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  fill: #fff;
}

.shape-top svg {
  height: 23px;
}

.shape-bottom svg {
  height: 49px;
}

.escola-section h2 {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
}

.escola-section p {
  color: #fff;
}

/* Botão Escola Aberta */
.btn-escola-aberta {
  background-color: #61CE70;
  /* accent original do kit */
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-escola-aberta:hover {
  background-color: #4ab55a;
  color: #fff;
}

/* Video box (white bg, shadow) */
.video-box {
  background: #fff;
  border-radius: 2px;
  box-shadow: 2px 1px 24px 1px rgba(255, 255, 255, 0.5);
  padding: 11px;
  overflow: hidden;
}

.video-box video,
.video-box iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* =============================================
   SERVICE CARDS (6 colored columns)
   ============================================= */
.service-card {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  color: #fff;
  overflow: hidden;
}

/* Background image overlay */
.service-card-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.service-card-content {
  position: relative;
  z-index: 1;
}

.service-card-content h2 {
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card-content p {
  color: #fff;
  font-size: 0.93rem;
  margin: 0;
}

/* =============================================
   SOBRE A PHORTE
   ============================================= */
.sobre-section {
  margin: 20px 0;
  padding: 20px 0 10px;
}

.sobre-section h2 {
  color: var(--phorte-blue);
}

.btn-sobre {
  background: #fff;
  color: var(--phorte-blue);
  border: 1px solid var(--phorte-blue);
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.btn-sobre:hover {
  background: var(--phorte-blue);
  color: #fff;
}

/* =============================================
   FACULDADE (dark red bg)
   ============================================= */
.faculdade-section {
  background-color: #A11617;
  padding: 25px 0;
}

.faculdade-section h2 {
  color: #fff;
  font-family: 'Roboto Slab', serif;
}

.faculdade-section p {
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: #fff;
}

/* =============================================
   ESPORTE (blue bg #1D345E)
   ============================================= */
.esporte-section {
  background-color: var(--phorte-blue);
  padding: 25px 0;
}

.esporte-section h2 {
  color: #fff;
  font-family: 'Roboto Slab', serif;
}

.esporte-section h2 a {
  color: #fff;
  text-decoration: none;
}

.esporte-section h2 a:hover {
  text-decoration: underline;
}

.esporte-section p {
  color: #fff;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimentos-heading {
  margin-top: 50px;
  text-align: center;
  color: var(--phorte-blue);
  font-family: 'Roboto Slab', serif;
}

.depoimento-author h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--phorte-blue);
  margin-top: 0.75rem;
  margin-bottom: 0.15rem;
}

.depoimento-author p {
  color: #555;
  font-size: 0.9rem;
}

/* =============================================
   PARCEIROS / INSTITUIÇÕES
   ============================================= */
.instituicoes-heading {
  margin-top: 50px;
  text-align: center;
  color: var(--phorte-blue);
  font-family: 'Roboto Slab', serif;
}

.ies-section {
  background-color: var(--phorte-light);
  margin-top: 50px;
}

.ies-heading {
  text-align: center;
  color: var(--phorte-blue);
  font-family: 'Roboto Slab', serif;
}

.partner-logo {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.phorte-footer {
  border-top: 10px solid var(--phorte-blue);
  padding: 40px 0 20px;
  background: #fff;
}

.footer-logo {
  max-height: 60px;
  width: auto;
}

.footer-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.footer-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--phorte-blue);
  margin-bottom: 0.85rem;
}

.footer-links a {
  display: block;
  color: #555;
  font-size: 1.2rem;
  text-decoration: none;
  line-height: 2;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--phorte-blue);
}

.footer-contact li {
  display: flex;
  align-items: center;
  color: #555;
  font-size: 1.2rem;
  line-height: 2.2;
}

.footer-contact a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--phorte-blue);
}

.footer-icon {
  color: var(--phorte-blue);
  flex-shrink: 0;
}

.footer-divider {
  border-color: #e0e0e0;
}

.footer-copy {
  font-size: 0.82rem;
  color: #888;
}

.footer-social {
  color: #888;
  transition: color 0.2s;
  display: inline-block;
}

.footer-social:hover {
  color: var(--phorte-blue);
}

/* =============================================
   INNER PAGES – page hero
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--phorte-blue-dark, #0A2347) 0%, var(--phorte-blue) 100%);
  padding: 55px 0 45px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.page-hero p {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.breadcrumb-item.active,
.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .5);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: .6rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--phorte-blue);
  box-shadow: 0 0 0 3px rgba(29, 52, 94, .1);
}

.btn-phorte {
  background-color: var(--phorte-blue);
  color: #fff;
  font-weight: 600;
  padding: .65rem 2rem;
  border-radius: 5px;
  border: none;
  transition: background .2s;
}

.btn-phorte:hover {
  background-color: var(--phorte-blue-dark, #0A2347);
  color: #fff;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-phorte {
  color: var(--phorte-blue) !important;
}

.text-orange {
  color: var(--phorte-orange) !important;
}

/* =============================================
   ESCOLA ABERTA – page styles
   ============================================= */

/* Hero */
.ea-hero {
  background: linear-gradient(135deg, #1D345E 0%, #0A2347 100%);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.ea-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.ea-hero .breadcrumb-item a,
.ea-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, .65);
}

.ea-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .4);
}

.ea-logo {
  max-width: 300px;
  width: 100%;
  display: block;
}

.ea-hero-lead {
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
  line-height: 1.65;
}

.ea-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

/* Badge */
.ea-badge {
  display: inline-block;
  background: #61CE70;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 20px;
}

/* Section headings */
.ea-heading {
  color: #1D345E;
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Impact section bg */
.ea-impacto-section {
  background: #F5F5F5;
}

/* Impact cards */
.ea-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
}

.ea-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gallery */
.ea-gallery-main {
  height: 400px;
  object-fit: cover;
}

.ea-gallery-side {
  height: 192px;
  object-fit: cover;
}

/* Activities */
.ea-activity-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border-radius: 8px;
  padding: .75rem 1rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .07);
  font-size: .9rem;
  font-weight: 500;
}

.ea-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bolsa CTA */
.ea-bolsa-section {
  background: #1D345E;
  padding: 4rem 0;
}

.ea-bolsa-logo {
  max-width: 220px;
  width: 100%;
}

/* Dots heading (• • • • • Título) */
.ea-dots-heading {
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1D345E;
  letter-spacing: .01em;
}

.ea-ver-todos {
  font-size: .85rem;
  font-weight: 600;
  color: #1D345E;
  text-decoration: none;
  border: 2px solid #1D345E;
  border-radius: 4px;
  padding: .35rem .9rem;
  transition: background .2s, color .2s;
}

.ea-ver-todos:hover {
  background: #1D345E;
  color: #fff;
}

/* Evento cards */
.ea-evento-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: transform .2s, box-shadow .2s;
}

.ea-evento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
}

.ea-evento-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.ea-evento-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s;
}

.ea-evento-card:hover .ea-evento-img-wrap img {
  transform: scale(1.04);
}

.ea-evento-body {
  padding: .85rem 1rem;
}

.ea-evento-data {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #7C7C7C;
  margin-bottom: .25rem;
}

.ea-evento-titulo {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #303030;
  line-height: 1.3;
  margin: 0;
}

/* =============================================
   NOTÍCIAS
   ============================================= */
.ea-noticia-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.ea-noticia-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .13);
  transform: translateY(-2px);
}

.ea-noticia-img-wrap {
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.ea-noticia-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ea-noticia-card:hover .ea-noticia-img-wrap img {
  transform: scale(1.04);
}

.noticia-body {
  line-height: 1.8;
  color: #444;
}

.noticia-body p {
  margin-bottom: 1rem;
}

.ea-noticia-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   QUEM SOMOS – document list
   ============================================= */
.qs-heading {
  color: var(--phorte-blue);
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.qs-doc-list li {
  margin-bottom: .75rem;
}

.qs-doc-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--phorte-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.qs-doc-list a:hover {
  color: var(--phorte-orange);
  text-decoration: underline;
}

.qs-doc-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--phorte-orange);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 767.98px) {
  .escola-section {
    padding: 50px 0 60px;
  }

  .service-card {
    min-height: 160px;
    padding: 35px 15px;
  }

  .service-cards-row .col-12+.col-12 {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
}