/* a-escola.css */

/* About Page Banner */
.about-page-banner {
  background-color: var(--color-navy);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  padding: 8rem 0 10rem 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  z-index: 11;
}

.about-page-banner h1 {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  color: var(--color-white);
  position: relative;
  z-index: 5;
}

.about-page-banner .breadcrumbs {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  z-index: 5;
}

.about-page-banner .breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.about-page-banner .breadcrumbs a:hover {
  color: var(--color-white);
}

.about-page-banner .breadcrumbs span {
  color: var(--color-white);
  font-weight: 600;
  margin-left: 5px;
}

.about-page-banner .cloud-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 5;
  pointer-events: none;
}

.about-page-banner .cloud-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--color-beige-light);
}

/* Main Section */
.about-page-main {
  padding: 4rem 0 6rem 0;
  position: relative;
  margin-top: -3rem;
  z-index: 10;
}

/* History Grid */
.about-history-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-history-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-history-content h2 {
  font-size: 2.8rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.about-history-content p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-history-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  position: relative;
}

.about-history-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background-color: var(--color-white);
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(35, 59, 90, 0.03);
  margin-bottom: 2rem;
  position: relative;
}

.team-section h2 {
  text-align: center;
  font-size: 2.6rem;
  color: var(--color-navy);
  margin-bottom: 3.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(35, 59, 90, 0.09), 0 4px 12px rgba(35, 59, 90, 0.04);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(35, 59, 90, 0.18), 0 8px 24px rgba(35, 59, 90, 0.08);
}

.team-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* square ratio */
  overflow: hidden;
}

.team-card-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-image-wrapper img {
  transform: scale(1.04);
}

/* White Cloud wave transition on bottom of image */
.team-card-cloud-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 35px;
  z-index: 5;
  pointer-events: none;
}

.team-card-cloud-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--color-white);
}

/* Team content area */
.team-card-content {
  padding: 1.5rem 2rem 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.team-card-name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-rose); /* Coral/Rose text for names */
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

/* Social links styling */
.team-card-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: auto;
}

.team-card-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1.5px solid #00b0e8; /* Sky-blue outline icons */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b0e8;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.team-card-socials a:hover {
  background-color: #00b0e8;
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 176, 232, 0.25);
}

/* Responsive design */
@media (max-width: 991px) {
  .about-history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}
