/* ==========================================================================
   FECAP · Educação Executiva — seções da home
   Depende de fcp-cursos.css (tokens, botões, ícones, cards).
   ========================================================================== */

/* ---------- Sobre: frase de assinatura ---------- */
#sobre .fcp-pullquote {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--fcp-green);
  color: var(--fcp-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Método (destaque) ---------- */
.fcp-method {
  background: var(--fcp-text);
  color: #fff;
}
.fcp-method .fcp-eyebrow,
.fcp-method .fcp-section__title,
.fcp-method .fcp-lead {
  color: #fff;
}
.fcp-method .fcp-eyebrow::before {
  background: var(--fcp-green);
}
.fcp-method .fcp-section__head {
  max-width: 860px;
}
.fcp-method .fcp-method__chain {
  margin: 1.5rem 0;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fcp-green);
}
.fcp-method .fcp-method__chain span {
  margin: 0 0.5em;
  color: var(--fcp-lime);
}

.fcp-method__steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 44px;
  grid-template-columns: repeat(4, 1fr);
}
.fcp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 2.25rem 1.5rem 1.75rem;
  background: var(--fcp-surface);
  color: var(--fcp-text);
  border-radius: var(--fcp-radius-card);
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.fcp-step:hover {
  background: var(--fcp-tint);
  transform: translateY(-3px);
}
.fcp-step__num {
  position: absolute;
  top: -22px;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fcp-green);
  color: var(--fcp-text);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 0 5px var(--fcp-text);
}
/* seta de conexão entre etapas */
.fcp-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -29px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--fcp-green);
  border-right: 3px solid var(--fcp-green);
  transform: translateY(-50%) rotate(45deg);
}
.fcp-method .fcp-step .fcp-step__title {
  margin: 0.5rem 0 0;
  padding: 0;
  color: var(--fcp-text);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fcp-method .fcp-step .fcp-step__sub {
  margin: 0;
  padding: 0;
  color: var(--fcp-text);
  font-weight: 600;
}
.fcp-method .fcp-step .fcp-step__text {
  margin: 0;
  padding: 0;
  color: var(--fcp-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .fcp-method__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .fcp-step:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 575px) {
  .fcp-method__steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cursos por área de atuação ---------- */
.fcp-areas__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.fcp-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  color: var(--fcp-text);
  border-radius: var(--fcp-radius-card);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
.fcp-area:hover,
.fcp-area:focus-within {
  background: var(--fcp-tint);
  box-shadow: 0 14px 32px rgba(2, 51, 39, 0.08);
}
.fcp-area__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.fcp-areas .fcp-area .fcp-area__title {
  margin: 0;
  padding: 0;
  color: var(--fcp-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.fcp-area__title a {
  color: inherit;
  text-decoration: none;
}
.fcp-area__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fcp-area__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.fcp-area__list li {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.fcp-area__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fcp-green);
}
.fcp-area__list a {
  color: var(--fcp-text);
  text-decoration: none;
}
.fcp-area__list a:hover,
.fcp-area__list a:focus-visible {
  color: var(--fcp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Áreas em accordion (<details>): cursos só aparecem ao expandir */
.fcp-areas__grid {
  align-items: start;
}
.fcp-area {
  padding: 0;
  gap: 0;
}
.fcp-area:not([open]) {
  min-height: 96.77px;
}
.fcp-area[open] {
  background: var(--fcp-tint);
  box-shadow: 0 14px 32px rgba(2, 51, 39, 0.08);
}
.fcp-area summary.fcp-area__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--fcp-radius-card);
  cursor: pointer;
  list-style: none;
}
.fcp-area summary.fcp-area__head::-webkit-details-marker {
  display: none;
}
.fcp-area summary.fcp-area__head:focus-visible {
  outline: 3px solid var(--fcp-blue);
  outline-offset: 2px;
}
.fcp-area__heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fcp-area__count {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}
.fcp-area summary.fcp-area__head > .fcp-svg {
  flex: none;
  color: var(--fcp-text);
  transform: rotate(90deg);
  transition: transform 0.2s;
  padding: 0 0.35em;
  border-radius: 50%;
  background: rgba(2, 51, 39, 0.08);
  width: 2em;
  height: 2em;
}
.fcp-area[open] summary.fcp-area__head > .fcp-svg {
  transform: rotate(-90deg);
}
.fcp-area__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
}
.fcp-area__all {
  align-self: flex-start;
  color: var(--fcp-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--fcp-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.fcp-area__all:hover,
.fcp-area__all:focus-visible {
  color: var(--fcp-blue);
}
@media (prefers-reduced-motion: reduce) {
  .fcp-area summary.fcp-area__head > .fcp-svg {
    transition: none;
  }
}

/* Banner "Soluções personalizadas" */
.fcp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--fcp-text);
  color: #fff;
  border-radius: var(--fcp-radius-card);
}
.fcp-areas .fcp-banner p {
  margin: 0;
  padding: 0;
  color: #fff;
}
.fcp-areas .fcp-banner .fcp-banner__kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fcp-green);
}
.fcp-areas .fcp-banner .fcp-banner__title {
  margin-top: 0.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

/* Destaques institucionais */
.fcp-highlights {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.fcp-highlights li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0.9rem 1rem;
  background: #fff;
  border-radius: var(--fcp-radius-card);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .fcp-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fcp-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .fcp-areas__grid,
  .fcp-highlights {
    grid-template-columns: 1fr;
  }
  .fcp-banner {
    padding: 1.5rem;
  }
  .fcp-banner .fcp-btn {
    width: 100%;
  }
}

/* ---------- Depoimentos ---------- */
.fcp-testimonials {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fcp-testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding: 2.5rem 1.75rem 1.75rem;
  background: var(--fcp-surface);
  color: var(--fcp-text);
  border-radius: var(--fcp-radius-card);
  transition: background-color 0.2s;
}
.fcp-testimonial:hover {
  background: #fff;
}
.fcp-testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--fcp-green);
}
.fcp-testimonial blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.fcp-testimonial blockquote p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fcp-text);
}
.fcp-testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.fcp-testimonial figcaption strong {
  display: block;
  font-size: 0.95rem;
}
.fcp-testimonial figcaption small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}
.fcp-testimonial__photo {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.fcp-testimonial__photo--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fcp-green);
  color: var(--fcp-text);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .fcp-step,
  .fcp-area,
  .fcp-testimonial {
    transition: none;
  }
  .fcp-step:hover {
    transform: none;
  }
}

/* ---------- Hero: CTAs + prova ---------- */
.fcp-hero__cta {
  margin-top: 1.75rem;
}
.fcp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fcp-hero__actions .fcp-btn {
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}
.fcp-hero__actions .fcp-btn--outline {
  border-color: #fff;
  color: #fff;
}
.fcp-hero__actions .fcp-btn--outline:hover,
.fcp-hero__actions .fcp-btn--outline:focus-visible,
.fcp-hero__actions .fcp-btn--outline:active {
  background: var(--fcp-lime);
  border-color: var(--fcp-lime);
  color: var(--fcp-text);
}
.fcp-hero__proof {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.fcp-hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.fcp-hero__proof .fcp-svg {
  color: var(--fcp-green);
  width: 1.3em;
  height: 1.3em;
}

@media (max-width: 575px) {
  .fcp-hero__actions .fcp-btn {
    width: 100%;
  }
  .fcp-hero__proof {
    flex-direction: column;
  }
}

/* ---------- Sobre: painel ---------- */
.fcp-about-panel {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
#sobre .fcp-about-stat {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--fcp-text);
  color: #fff;
  border-radius: var(--fcp-radius-card);
}
#sobre .fcp-about-stat__num {
  flex: none;
  font-size: clamp(3.25rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fcp-green);
}
#sobre .fcp-about-stat__txt {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
}
#sobre .fcp-about-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--fcp-surface);
  color: var(--fcp-text);
  border-radius: var(--fcp-radius-card);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
#sobre .fcp-about-card:hover,
#sobre .fcp-about-card:focus-within {
  background: var(--fcp-tint);
  box-shadow: 0 14px 32px rgba(2, 51, 39, 0.08);
}
#sobre .fcp-about-card h3 {
  margin: 0.25rem 0 0;
  padding: 0;
  color: var(--fcp-text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
#sobre .fcp-about-card p {
  margin: 0;
  padding: 0;
  color: var(--fcp-text);
  font-size: 0.95rem;
  line-height: 1.5;
}
#sobre .fcp-about-card .fcp-btn {
  margin-top: auto;
}

@media (max-width: 575px) {
  .fcp-about-panel {
    grid-template-columns: 1fr;
  }
  #sobre .fcp-about-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ---------- Contato direto ---------- */
.fcp-contact {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--fcp-surface);
  color: var(--fcp-text);
  border-radius: var(--fcp-radius-card);
}
.fcp-contact .fcp-contact__title {
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--fcp-text);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
  text-decoration: none;
}
.fcp-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fcp-contact__list li,
.fcp-contact__place {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.fcp-contact__place {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fcp-line);
}
.fcp-contact__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fcp-contact .fcp-contact__text small {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.fcp-contact .fcp-contact__text strong {
  font-size: 1.05rem;
}
.fcp-contact .fcp-contact__text a:not(.fcp-btn) {
  color: var(--fcp-text);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.fcp-contact .fcp-contact__text a:not(.fcp-btn):hover,
.fcp-contact .fcp-contact__text a:not(.fcp-btn):focus-visible {
  color: var(--fcp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fcp-contact address {
  margin: 0;
  font-style: normal;
  font-size: 0.95rem;
}
.fcp-contact .fcp-contact__metro {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.fcp-contact .fcp-contact__metro img {
  height: 22px;
  width: auto;
}
.fcp-contact .fcp-contact__desc {
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}
.fcp-contact .fcp-btn {
  align-self: flex-start;
}

/* ---------- Hero: layout (escopado em #educacao-executiva) ---------- */
#educacao-executiva #hero-educacao-executiva {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  overflow: hidden;
}
/* Camada de legibilidade sobre a foto de fundo (elemento próprio: não conflita com ::before/::after do tema) */
.fcp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 51, 39, 1) 0%,
    rgba(2, 51, 39, 0.7) 70%,
    rgb(2, 51, 39, 0.2) 100%
  );
}
#educacao-executiva #hero-educacao-executiva > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
#educacao-executiva #hero-educacao-executiva .row {
  margin: 0;
}

/* Reset do posicionamento herdado de outras páginas (.hero-content costuma ser absolute/top) */
#educacao-executiva #hero-educacao-executiva .hero-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
#educacao-executiva #hero-educacao-executiva .hero-text {
  max-width: 720px;
  margin: 0;
  padding: 0;
  text-align: left;
}

#educacao-executiva #hero-educacao-executiva .hero-text h1 {
  margin: 0 0 0.75rem;
  padding: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
#educacao-executiva #hero-educacao-executiva .hero-text h2 {
  margin: 0 0 1rem;
  padding: 0;
  color: var(--fcp-green);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
#educacao-executiva #hero-educacao-executiva .hero-text > p {
  max-width: 34em;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 767px) {
  #educacao-executiva #hero-educacao-executiva {
    padding: 3.5rem 0 3rem;
  }
  #educacao-executiva #hero-educacao-executiva .fcp-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 51, 39, 0.8) 0%,
      rgba(2, 51, 39, 0.9) 100%
    );
  }
  #educacao-executiva #hero-educacao-executiva .hero-text h1 {
    font-size: 0.85rem;
  }
}