/* ===== APRENDIZAGEM & AVALIAÇÃO ===== */

.aa-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Reveal ---- */
.aa-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.aa-reveal--right { transform: translateX(36px); }
.aa-reveal.aa-visible { opacity: 1; transform: translate(0); }

/* ---- Shared ---- */
.aa-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}
.aa-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.aa-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.aa-accent { color: var(--color-secondary); }

.aa-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.aa-section-desc {
  margin-top: 16px;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.75;
}

/* ===== HERO ===== */
.aa-hero {
  position: relative;
  height: clamp(340px, 50vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aa-hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  background-image: url('/assets/images/estrutura/espaco-digital-a.png');
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  transform: scale(1.08) translate(0px, 0px);
  will-change: transform;
}

.aa-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 8, 0, 0.85) 0%,
    rgba(180, 70, 0, 0.45) 100%
  );
  z-index: 1;
}

.aa-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.aa-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  animation: aa-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

.aa-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  animation: aa-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}

.aa-hero-accent {
  color: var(--color-secondary);
}

.aa-hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  animation: aa-fade-up 0.7s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.aa-hero-line {
  width: 48px; height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 20px auto 0;
  animation: aa-line-expand 0.6s cubic-bezier(0.22,1,0.36,1) 0.55s both;
}

.aa-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.aa-hero-wave svg {
  width: 100%; height: 60px;
  display: block;
}

@keyframes aa-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes aa-line-expand {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}

/* ===== APRENDIZAGEM SECTION ===== */
.aa-section {
  padding: 96px 0;
}

.aa-aprendizagem {
  background: #ffffff;
}

.aa-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.aa-split-text .aa-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
  margin: 16px 0 20px;
}

.aa-split-text p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 14px;
}

.aa-split-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aa-card {
  background: var(--color-gray-lighter);
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--color-gray-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.aa-card:hover {
  box-shadow: 0 8px 28px rgba(242,123,19,0.08);
  transform: translateY(-3px);
}

.aa-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(242,123,19,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease;
}
.aa-card:hover .aa-card-icon { background: var(--color-secondary); }
.aa-card-icon svg { width: 20px; height: 20px; color: var(--color-secondary); transition: color 0.25s ease; }
.aa-card:hover .aa-card-icon svg { color: #ffffff; }

.aa-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.aa-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ===== DESTAQUE ===== */
.aa-destaque {
  padding: 72px 0;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
}
.aa-destaque::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -150px; right: -80px;
  pointer-events: none;
}
.aa-destaque::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  bottom: -80px; left: -50px;
  pointer-events: none;
}

.aa-destaque-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.aa-destaque-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 14px;
}

.aa-destaque-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ===== AVALIAÇÃO SECTION ===== */
.aa-avaliacao {
  background: var(--color-gray-lighter);
}

/* ===== TIMELINE ===== */
.aa-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto 56px;
}

.aa-timeline-line {
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--color-secondary);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}
.aa-timeline-line.aa-line-grow {
  transform: scaleY(1);
}

.aa-timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}
.aa-timeline-item:last-child { margin-bottom: 0; }

.aa-timeline-dot {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 6px var(--color-gray-lighter);
}
.aa-timeline-item:hover .aa-timeline-dot {
  background: var(--color-secondary);
  box-shadow: 0 0 0 6px rgba(242,123,19,0.12);
}

.aa-timeline-dot span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  transition: color 0.3s ease;
}
.aa-timeline-item:hover .aa-timeline-dot span { color: #ffffff; }

.aa-timeline-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid var(--color-gray-light);
  flex: 1;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.aa-timeline-item:hover .aa-timeline-content {
  box-shadow: 0 10px 36px rgba(242,123,19,0.1);
  transform: translateX(4px);
}

.aa-timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.aa-timeline-content p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

/* ===== CITAÇÃO ===== */
.aa-quote {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 56px;
  border: 1px solid var(--color-gray-light);
  position: relative;
  text-align: center;
}

.aa-quote-mark {
  font-size: 7rem;
  font-weight: 900;
  color: rgba(242,123,19,0.12);
  line-height: 0.6;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.aa-quote-text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
  max-width: 780px;
  margin: 0 auto 20px;
}

.aa-quote-cite {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-style: normal;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .aa-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aa-quote {
    padding: 36px 28px;
  }
  .aa-timeline-content {
    padding: 22px 20px;
  }
}

@media (max-width: 600px) {
  .aa-container { padding: 0 20px; }
  .aa-section { padding: 64px 0; }
  .aa-quote-mark { font-size: 4rem; }
}
