/* Extensões para as páginas institucionais — reutilizam os tokens e componentes existentes. */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.image-skeleton {
  background: linear-gradient(100deg, var(--blue-pale) 30%, var(--warm) 50%, var(--blue-pale) 70%);
}
.main-nav a[aria-current=page]::after { right: 0; }
.page-hero { padding: 82px 0 70px; background: var(--warm); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 13px; }
.page-hero p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.content-section { padding: 96px 0; }
.testimonials.content-section { padding: 60px 0 72px; }
.content-section--warm { background: var(--warm); }
.section-link { margin-top: 22px; }
.inline-cta { display: flex; justify-content: center; margin-top: 40px; }
.testimonial-preview { display: grid; grid-template-columns: 1fr .8fr; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.testimonial-preview > div { padding: 48px; }
.testimonial-preview h3 { font-size: 1.65rem; }
.testimonial-preview p { color: var(--muted); }
.testimonial-preview img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.testimonial-preview--coming-soon { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); box-shadow: 0 22px 60px rgba(25, 77, 49, .09); }
.testimonial-preview--coming-soon .testimonial-preview-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 360px; padding: clamp(34px, 5vw, 70px); }
.testimonial-preview--coming-soon h3, .testimonial-preview--coming-soon h2 { max-width: 510px; margin-bottom: 18px; color: var(--blue-deep); font-size: clamp(1.65rem, 3vw, 2.5rem); }
.testimonial-preview--coming-soon p { max-width: 540px; margin-bottom: 26px; }
.testimonial-preview--coming-soon p:last-child { margin-bottom: 0; }
.coming-soon-art { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; overflow: hidden; background: radial-gradient(circle at 78% 16%, #3b8054, transparent 42%), linear-gradient(145deg, #194d31, #103421); color: #fff; text-align: center; }
.coming-soon-art::before, .coming-soon-art::after { content: ''; position: absolute; z-index: 0; width: 320px; height: 320px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; }
.coming-soon-art::after { width: 430px; height: 430px; border-color: rgba(255, 255, 255, .08); }
.coming-soon-art__mark { position: relative; z-index: 1; height: 90px; color: rgba(255, 255, 255, .28); font-family: Georgia, serif; font-size: 12rem; line-height: 1; }
.coming-soon-art__label { position: relative; z-index: 1; font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 800; letter-spacing: .08em; line-height: 1.2; }
.coming-soon-art__rule { position: relative; z-index: 1; width: 58px; height: 4px; margin-top: 28px; border-radius: 4px; background: var(--red-bright); }
.teacher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.teacher-card { min-width: 0; background: transparent; }
.teacher-monogram {
  height: 290px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, transparent 0 76px, rgba(25, 77, 49, .15) 77px 78px, transparent 79px),
    radial-gradient(circle at 88% 16%, rgba(208, 26, 30, .08), transparent 34%),
    linear-gradient(135deg, #eff8f1, #dcece1);
  color: var(--blue-deep);
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -.07em;
}
.teacher-card--profile .teacher-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100px;
  margin: -30px 18px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--red);
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(10, 11, 7, .13);
  transition: box-shadow .25s ease;
}
@media (hover: hover) {
  .teacher-card:hover .teacher-card-body { box-shadow: 0 18px 38px rgba(10, 11, 7, .2); }
}
.teacher-contact { margin: -4px 0 18px; color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.teacher-contact:hover { color: var(--blue); }
.teacher-grid + .todo-note { display: none; }

.teacher-card img { width: 100%; height: 290px; object-fit: cover; border: 1px solid var(--line); }
.teacher-card--profile img { object-position: center top; filter: none; }
.curriculum-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.curriculum-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .8rem; }
.curriculum-table th, .curriculum-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.curriculum-table th { color: var(--paper); background: var(--blue-deep); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.curriculum-table td { color: var(--muted); }
.todo-note { margin: 22px 0 0; padding: 16px 18px; border-left: 4px solid var(--red); background: var(--blue-pale); color: var(--blue-deep); font-size: .8rem; font-weight: 600; }
.contact-direct { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 35px; border: 1px solid var(--line); background: var(--line); }
.contact-direct > div { padding: 21px; background: var(--paper); }
.contact-direct strong, .contact-direct span { display: block; }
.contact-direct strong { margin-bottom: 5px; color: var(--blue-deep); font-size: .76rem; }
.contact-direct span { color: var(--muted); font-size: .75rem; }
.testimonial-slider { position: relative; max-width: 920px; margin: 0 auto; overflow: hidden; }
.homepage-testimonial-slider { max-width: none; }
.homepage-testimonial-slider .video-testimonial { height: clamp(330px, 28vw, 400px); }
.homepage-testimonial-slider .video-thumb { min-height: 0; }
.homepage-testimonial-slider .video-copy { padding: 34px 42px; }
.homepage-testimonial-slider .video-copy h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.homepage-testimonial-slider .video-copy blockquote { margin: 8px 0 14px; font-size: .9rem; line-height: 1.65; }
.testimonial-track { display: flex; align-items: stretch; transition: transform .85s cubic-bezier(.16, 1, .3, 1); }
.testimonial-slide { flex: 0 0 100%; display: flex; min-width: 0; }
.video-testimonial { width: 100%; height: clamp(430px, 40vw, 560px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-width: 0; min-height: 0; background: var(--paper); border: 1px solid var(--line); }
.video-thumb { position: relative; min-height: 280px; background: var(--blue-deep); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.video-play { position: absolute; left: 28px; bottom: 28px; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: var(--paper); cursor: pointer; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .3s ease; }
.video-play i[data-lucide="play"]::before { content: "▶"; font-size: 1rem; font-style: normal; }
.video-play:hover { transform: scale(1.08); background: var(--blue-deep); }
.video-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 46px; }
.video-copy blockquote { margin: 12px 0 20px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.video-copy p { margin: 0; color: var(--blue-deep); font-size: .78rem; font-weight: 700; }
.video-status { min-height: 24px; margin: 20px 0 0; color: var(--blue); font-size: .76rem; font-weight: 600; text-align: center; }
.slider-actions { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 16px; }
.slider-button { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--blue-deep); cursor: pointer; transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
.slider-button i[data-lucide="arrow-left"]::before { content: "←"; font-size: 1.4rem; font-style: normal; }
.slider-button i[data-lucide="arrow-right"]::before { content: "→"; font-size: 1.4rem; font-style: normal; }
.slider-button:hover { background: var(--blue); color: var(--paper); border-color: var(--blue); transform: translateY(-3px); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background-color .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
.slider-dot[aria-current=true] { background: var(--red); }
.slider-dot:hover { transform: scale(1.35); }

/* Página de testemunhos: uma grelha, não um carrossel. */
.testimonial-slider[data-testimonial-slider], .testimonial-slider--grid { max-width: none; overflow: visible; }
.testimonial-slider[data-testimonial-slider] .testimonial-track, .testimonial-slider--grid .testimonial-track { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; transform: none !important; transition: none; }
.testimonial-slider[data-testimonial-slider] .testimonial-slide, .testimonial-slider--grid .testimonial-slide { flex: 1 1 calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); }
.testimonial-slider[data-testimonial-slider] .video-testimonial, .testimonial-slider--grid .video-testimonial { grid-template-columns: minmax(0, 1fr); height: 100%; min-height: 520px; }
.testimonial-slider[data-testimonial-slider] .video-thumb, .testimonial-slider--grid .video-thumb { height: 230px; min-height: 0; }
.testimonial-slider[data-testimonial-slider] .video-copy, .testimonial-slider--grid .video-copy { justify-content: flex-start; padding: 30px 28px; }
.testimonial-slider[data-testimonial-slider] .video-copy h2, .testimonial-slider--grid .video-copy h2 { margin-bottom: 16px; font-size: clamp(1.7rem, 2.3vw, 2.35rem); }
.testimonial-slider[data-testimonial-slider] .video-copy blockquote, .testimonial-slider--grid .video-copy blockquote { margin: 0 0 22px; font-size: .84rem; line-height: 1.7; }
.testimonial-slider[data-testimonial-slider] .slider-actions, .testimonial-slider[data-testimonial-slider] .video-status { display: none; }
.teacher-grid > *, .curriculum-table-wrap { min-width: 0; }
.curriculum-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.inline-cta .btn { max-width: 100%; text-align: center; white-space: normal; }

@media (max-width: 1080px) {
  .main-nav { gap: 11px; }
  .main-nav a { font-size: .63rem; }
  .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-slider[data-testimonial-slider] .testimonial-slide, .testimonial-slider--grid .testimonial-slide { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
}

@media (max-width: 820px) {
  .main-nav { gap: 0; }
  .main-nav a { font-size: .82rem; }
  .page-hero { padding: 58px 0 52px; }
  .content-section { padding: 72px 0; }
  .testimonial-preview, .video-testimonial { grid-template-columns: minmax(0, 1fr); }
  .testimonial-preview--coming-soon { grid-template-columns: minmax(0, 1fr); }
  .testimonial-preview--coming-soon .testimonial-preview-copy { min-height: 0; }
  .coming-soon-art { min-height: 270px; }
  .video-testimonial, .homepage-testimonial-slider .video-testimonial { height: auto; }
  .video-thumb { height: clamp(260px, 44vw, 360px); min-height: 0; }
  .video-copy, .homepage-testimonial-slider .video-copy { padding: 34px; }
  .testimonial-slider[data-testimonial-slider] .video-testimonial, .testimonial-slider--grid .video-testimonial { min-height: 0; }
  .testimonial-preview img { min-height: 260px; max-height: 370px; }
  .teacher-card img, .teacher-monogram { height: 260px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
  .footer-brand { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: auto; }
  .site-footer { padding-top: 56px; }
}

@media (max-width: 560px) {
  .page-hero { padding: 50px 0 46px; }
  .page-hero h1 { font-size: clamp(2.15rem, 9vw, 2.85rem); }
  .content-section { padding: 60px 0; }
  .teacher-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .teacher-card img, .teacher-monogram { height: 280px; }
  .teacher-card--profile .teacher-card-body { min-height: 86px; margin-inline: 12px; padding: 18px 20px; }
  .testimonial-preview > div, .video-copy, .homepage-testimonial-slider .video-copy { padding: 28px 22px; }
  .testimonial-preview--coming-soon .testimonial-preview-copy { padding: 36px 26px; }
  .coming-soon-art { min-height: 230px; }
  .video-thumb { height: 230px; }
  .testimonial-slider[data-testimonial-slider] .testimonial-track, .testimonial-slider--grid .testimonial-track { gap: 18px; }
  .testimonial-slider[data-testimonial-slider] .testimonial-slide, .testimonial-slider--grid .testimonial-slide { flex-basis: 100%; max-width: 100%; }
  .testimonial-slider[data-testimonial-slider] .video-copy, .testimonial-slider--grid .video-copy { padding: 28px 22px; }
  .video-copy blockquote { font-size: .9rem; line-height: 1.65; }
  .slider-actions { margin-top: 22px; }
  .contact-direct { grid-template-columns: minmax(0, 1fr); }
  .curriculum-table { min-width: 0; table-layout: fixed; font-size: .72rem; }
  .curriculum-table th, .curriculum-table td { padding: 12px 9px; overflow-wrap: anywhere; }
  .curriculum-table th:first-child, .curriculum-table td:first-child { width: 55px; }
  .curriculum-table th:last-child, .curriculum-table td:last-child { width: 88px; }
  .curriculum-table th:first-child, .curriculum-table th:last-child { font-size: 0; }
  .curriculum-table th:first-child::after { content: "Cód."; font-size: .65rem; }
  .curriculum-table th:last-child::after { content: "Ano"; font-size: .65rem; }
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-grid h3 { margin-bottom: 14px; }
}

@media (max-width: 400px) {
  .page-hero h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .curriculum-table { font-size: .68rem; }
  .curriculum-table th, .curriculum-table td { padding: 10px 7px; }
  .curriculum-table th:first-child, .curriculum-table td:first-child { width: 48px; }
  .curriculum-table th:last-child, .curriculum-table td:last-child { width: 78px; }
  .video-thumb { height: 210px; }
  .video-play { left: 20px; bottom: 20px; width: 52px; height: 52px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-brand p { margin-top: 16px; }
}
.course-card h2, .curriculum-panel h2 { font-size: 1.25rem; line-height: 1.13; }
.course-fees { max-width: 1080px; margin: 64px auto 0; padding: 32px 40px 24px; border: 1px solid var(--line); background: var(--paper); }
.course-fees h2 { margin-bottom: 22px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.course-fees-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.course-fees-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.course-fees-list dt { font-size: .88rem; font-weight: 600; }
.course-fees-list dd { margin: 0; color: var(--blue-deep); font-weight: 800; white-space: nowrap; }
@media (max-width: 700px) {
  .course-fees { margin-top: 42px; padding: 26px 24px 18px; }
  .course-fees-list { grid-template-columns: minmax(0, 1fr); }
}
.contact-detail address { color: var(--blue-deep); font-size: .8rem; font-weight: 700; font-style: normal; }
.contact-detail a, .contact-intro a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-detail a:hover, .contact-intro a:hover { color: var(--red); }
.footer-grid a { overflow-wrap: anywhere; }
.teacher-card-body h2 { margin-bottom: 0; font-size: clamp(1.3rem, 1.7vw, 1.5rem); line-height: 1.2; overflow-wrap: anywhere; }
