/* Asad Eja: four editorial banners, with a shared accessible search. */
.hero-carousel {
  --banner-bg:#fff8ef; --banner-text:#17283f; --banner-muted:#657083;
  --banner-accent:#c55422; --banner-button:#1645e8; --banner-button-text:#fff;
  --banner-line:#dcd3c5; --banner-soft:#ede5d9; --banner-focus:#1645e8;
  background:var(--banner-bg); color:var(--banner-text); overflow:hidden;
  transition:background-color .35s ease,color .35s ease;
}
.hero-carousel[data-theme="graduacao"],.hero-carousel .hero-slide[data-theme="graduacao"] {
  --banner-bg:#1745dc; --banner-text:#fff; --banner-muted:#e1e8ff;
  --banner-accent:#ffdc83; --banner-button:#fff2c9; --banner-button-text:#183566;
  --banner-line:#ffffff45; --banner-soft:#ffffff16; --banner-focus:#ffdc83;
}
.hero-carousel[data-theme="cursos"],.hero-carousel .hero-slide[data-theme="cursos"] {
  --banner-bg:#153c31; --banner-text:#fffaf0; --banner-muted:#d7e3d6;
  --banner-accent:#d6ed83; --banner-button:#d6ed83; --banner-button-text:#173c31;
  --banner-line:#ffffff38; --banner-soft:#ffffff12; --banner-focus:#d6ed83;
}
.hero-carousel[data-theme="combos"],.hero-carousel .hero-slide[data-theme="combos"] {
  --banner-bg:#f4c558; --banner-text:#182e43; --banner-muted:#485345;
  --banner-accent:#87431f; --banner-button:#182e43; --banner-button-text:#fff;
  --banner-line:#182e4340; --banner-soft:#fff5ce75; --banner-focus:#182e43;
}
.hero-carousel .hero-slide[data-theme="eja"] {
  --banner-text:#17283f; --banner-muted:#657083; --banner-accent:#c55422;
  --banner-button:#1645e8; --banner-button-text:#fff; --banner-line:#dcd3c5;
  --banner-soft:#ede5d9; --banner-focus:#1645e8;
}
.hero-carousel .hero-slides {display:grid;grid-template-columns:minmax(0,1fr);touch-action:pan-y;}
.hero-carousel .hero-slide {
  grid-area:1 / 1;min-width:0;visibility:hidden;opacity:0;pointer-events:none;
  color:var(--banner-text);transition:opacity .4s ease,visibility .4s step-end;
}
.hero-carousel .hero-slide.is-active {visibility:visible;opacity:1;pointer-events:auto;transition:opacity .4s ease,visibility 0s;}
.hero-carousel .banner-layout {
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;
  gap:72px;min-height:570px;padding-top:44px;padding-bottom:38px;
}
.hero-carousel .banner-copy {position:relative;z-index:2;min-width:0;padding-block:6px;}
.hero-carousel .banner-eyebrow {display:flex;align-items:center;gap:10px;color:var(--banner-accent);font-size:12px;font-weight:800;line-height:1.6;letter-spacing:.12em;}
.hero-carousel .banner-eyebrow>span {width:7px;height:7px;flex:none;border-radius:50%;background:currentColor;}
.hero-carousel .banner-title {margin:22px 0 23px;font-family:var(--heading);font-size:clamp(48px,5.4vw,72px);font-weight:700;line-height:1.03;letter-spacing:-.055em;overflow-wrap:break-word;}
.hero-carousel .banner-title>span {color:var(--banner-accent);}
.hero-carousel .banner-title.custom-hero-title {white-space:pre-line;}
.hero-carousel .banner-description {max-width:520px;margin:0;color:var(--banner-muted);font-size:19px;line-height:1.65;}
.hero-carousel .banner-actions {display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:28px;}
.hero-carousel .banner-primary {min-height:55px;padding:16px 24px;background:var(--banner-button);color:var(--banner-button-text);border:1px solid transparent;border-radius:10px;gap:18px;font-size:17px;font-weight:750;box-shadow:0 5px 15px #12233808;}
.hero-carousel .banner-primary:hover {background:var(--banner-button);filter:brightness(.95);box-shadow:0 7px 20px #12233818;}
.hero-carousel .banner-primary .icon {width:21px;height:21px;}
.hero-carousel .banner-footnote {display:flex;align-items:center;gap:10px;margin-top:22px;color:var(--banner-muted);font-size:15px;line-height:1.5;}
.hero-carousel .banner-footnote>.icon {width:20px;height:20px;color:var(--banner-accent);}
.hero-carousel .banner-course-links {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:23px;}
.hero-carousel .banner-course-links a {padding:7px 13px;border:1px solid var(--banner-line);border-radius:50px;font-size:14px;line-height:1.4;font-weight:600;}
.hero-carousel .banner-course-links a:hover {background:var(--banner-soft);border-color:var(--banner-accent);}
.hero-carousel .banner-visual {position:relative;min-width:0;width:100%;max-width:510px;justify-self:end;padding:8px 10px 18px 0;}
.hero-carousel .banner-photo {height:425px;overflow:hidden;border-radius:150px 32px 110px 32px;position:relative;z-index:1;background:var(--banner-soft);}
.hero-carousel .banner-visual:not(.banner-visual-combos)::before {content:"";position:absolute;inset:14px -3px 9px 15px;border:1px solid var(--banner-line);border-radius:145px 32px 110px 32px;transform:rotate(5deg);}
.hero-carousel .banner-photo img {width:100%;height:100%;object-fit:cover;object-position:50% 42%;}
.hero-carousel .banner-visual-graduacao .banner-photo {border-radius:32px 150px 32px 110px;}
.hero-carousel .banner-visual-graduacao .banner-photo img {object-position:58% 50%;}
.hero-carousel .banner-visual-cursos .banner-photo {border-radius:125px 32px 125px 32px;}
.hero-carousel .banner-visual-cursos .banner-photo img {object-position:48% 50%;}
.hero-carousel .banner-stamp {position:absolute;z-index:3;right:-9px;top:-4px;width:112px;min-height:112px;padding:17px 12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border-radius:27px 27px 27px 6px;background:#ff914d;color:#17283f;transform:rotate(8deg);text-align:center;font-size:16px;font-weight:750;line-height:1.2;box-shadow:0 5px 12px #1025380a;}
.hero-carousel .banner-stamp>.icon {width:25px;height:25px;}
.hero-carousel .banner-visual-graduacao .banner-stamp {background:#ffdc83;color:#183566;transform:rotate(-7deg);}
.hero-carousel .banner-visual-cursos .banner-stamp {background:#d6ed83;color:#153c31;}
.hero-carousel .banner-photo-caption {position:absolute;left:-26px;bottom:29px;z-index:3;display:flex;align-items:center;gap:13px;max-width:calc(100% + 12px);padding:17px 20px;border-radius:13px;background:#fff;color:#17283f;box-shadow:0 8px 28px #10273a17;transform:rotate(-2deg);}
.hero-carousel .banner-caption-icon {display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:50%;background:#eef4da;color:#506d20;}
.hero-carousel .banner-photo-caption strong {display:block;font-size:16px;font-weight:750;line-height:1.35;}
.hero-carousel .banner-photo-caption div>span {display:block;margin-top:4px;font-size:13px;color:#667387;line-height:1.4;}
.hero-carousel .banner-visual-graduacao .banner-caption-icon {background:#eef2ff;color:#1745dc;}
.hero-carousel .banner-visual-combos {display:flex;flex-direction:column;justify-content:center;min-height:450px;padding:10px 6px 0;}
.hero-carousel .banner-combo-orbit {position:absolute;width:95%;aspect-ratio:1;max-height:440px;left:3%;top:1%;border:1px solid #182e4330;border-radius:50%;transform:rotate(-12deg);}
.hero-carousel .banner-combo-orbit::after {content:"";position:absolute;inset:28px -10px;border:1px solid #182e4325;border-radius:50%;transform:rotate(28deg);}
.hero-carousel .banner-combo-cards {position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:center;padding:22px 8px 24px;}
.hero-carousel .banner-combo-card {min-width:0;min-height:300px;padding:27px 24px 24px;border-radius:20px;background:#182e43;color:#fff9ec;box-shadow:0 16px 30px #6e542726;transform:rotate(-7deg);}
.hero-carousel .banner-combo-card:nth-child(2) {margin-top:60px;background:#fff9ec;color:#182e43;transform:rotate(6deg);}
.hero-carousel .banner-combo-card>.icon {width:34px;height:34px;margin-bottom:20px;color:#f4c558;}
.hero-carousel .banner-combo-card:nth-child(2)>.icon {color:#b96023;}
.hero-carousel .banner-combo-card>span {display:block;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.5;}
.hero-carousel .banner-combo-card>strong {display:block;margin-top:9px;font-family:var(--heading);font-size:88px;line-height:.95;font-weight:700;letter-spacing:-.06em;}
.hero-carousel .banner-combo-card>strong>span {display:block;margin-top:7px;font-family:var(--font);font-size:17px;line-height:1.3;letter-spacing:-.025em;font-weight:700;overflow-wrap:break-word;}
.hero-carousel .banner-combo-card>p {margin-top:17px;font-size:14px;line-height:1.5;}
.hero-carousel .banner-combo-plus {position:absolute;left:calc(50% - 23px);top:41%;z-index:3;width:52px;height:52px;display:grid;place-items:center;background:#f4c558;color:#182e43;border:2px solid #182e43;border-radius:50%;font-family:var(--heading);font-size:23px;font-weight:700;line-height:1;box-shadow:0 5px 12px #6e542716;}
.hero-carousel .banner-combo-note {position:relative;z-index:1;max-width:360px;margin:9px auto 0;text-align:center;font-size:14px;color:#485345;line-height:1.55;}
.hero-carousel .carousel-controls {display:flex;align-items:center;justify-content:space-between;gap:36px;padding-top:18px;padding-bottom:22px;border-top:1px solid var(--banner-line);}
.hero-carousel .carousel-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-width:0;max-width:760px;}
.hero-carousel .carousel-tab {position:relative;display:flex;align-items:center;gap:12px;min-height:49px;padding:12px 13px;color:var(--banner-text);font-size:16px;font-weight:650;line-height:1.3;border-radius:8px;text-align:left;border:1px solid transparent;}
.hero-carousel .carousel-tab>span {font-size:12px;font-weight:600;color:var(--banner-muted);font-variant-numeric:tabular-nums;}
.hero-carousel .carousel-tab:hover {background:var(--banner-soft);}
.hero-carousel .carousel-tab.is-active {background:var(--banner-soft);border-color:var(--banner-line);font-weight:800;}
.hero-carousel .carousel-tab.is-active::after {content:"";position:absolute;left:13px;right:13px;bottom:0;height:3px;background:var(--banner-accent);border-radius:3px;}
.hero-carousel .carousel-tools {display:flex;align-items:center;gap:9px;flex:none;}
.hero-carousel .carousel-counter {display:flex;align-items:baseline;gap:6px;min-width:59px;margin-right:8px;font-size:13px;line-height:1;color:var(--banner-muted);font-variant-numeric:tabular-nums;}
.hero-carousel .carousel-counter strong {color:var(--banner-text);font-size:20px;font-weight:700;}
.hero-carousel .carousel-control {display:grid;place-items:center;flex:none;width:43px;height:43px;padding:10px;border:1px solid var(--banner-line);border-radius:50%;color:var(--banner-text);transition:background .2s,border-color .2s;}
.hero-carousel .carousel-control:hover {background:var(--banner-soft);border-color:var(--banner-accent);}
.hero-carousel .carousel-control .icon {width:20px;height:20px;}
.hero-carousel .carousel-previous .icon {transform:rotate(180deg);}
.hero-carousel .carousel-toggle {margin-left:3px;}
.hero-carousel a:focus-visible,.hero-carousel button:focus-visible {outline:3px solid var(--banner-focus);outline-offset:4px;}
.hero-find {background:#fff;border-bottom:1px solid #e8ebf1;}
.hero-find .hero-find-inner {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:32px;align-items:center;padding-top:27px;padding-bottom:27px;}
.hero-find .hero-find-inner>p {font-size:17px;line-height:1.4;color:#677488;}
.hero-find .hero-find-inner>p strong {font-family:var(--heading);font-size:24px;letter-spacing:-.035em;color:#17283f;font-weight:650;}
.hero-find .hero-search {display:flex;align-items:center;max-width:660px;width:100%;min-width:0;min-height:65px;margin:0;padding:6px;border:1px solid #dce2ed;border-radius:12px;box-shadow:0 5px 18px #17283f04;background:#fbfcff;}
.hero-find .hero-search:focus-within {border-color:#1645e8;box-shadow:0 0 0 3px #1645e815;}
.hero-find .hero-search>.search-leading {width:21px;height:21px;margin-left:13px;margin-right:7px;flex:none;}
.hero-find .hero-search input {width:0;min-width:0;flex:1 1 0;padding:12px 8px;font-size:17px;}
.hero-find .hero-search .btn {width:auto;min-width:155px;min-height:51px;flex:0 0 auto;padding:13px 20px;gap:12px;font-size:17px;}
.hero-find .hero-search .btn .icon {width:20px;height:20px;}
.hero-find .hero-find-link {display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:650;color:#1645e8;white-space:nowrap;}
.hero-find .hero-find-link>.icon {width:19px;height:19px;}
.hero-find .hero-find-link:hover {text-decoration:underline;text-underline-offset:4px;}

@media (min-width:1500px) {
  .hero-carousel .banner-layout {gap:88px;min-height:600px;}
  .hero-carousel .banner-photo {height:450px;}
}
@media (max-width:1100px) {
  .hero-carousel .banner-layout {gap:42px;min-height:555px;}
  .hero-carousel .banner-title {font-size:clamp(46px,5.6vw,63px);}
  .hero-carousel .banner-description {font-size:18px;}
  .hero-carousel .banner-photo {height:390px;}
  .hero-carousel .banner-photo-caption {left:-15px;padding:15px;}
  .hero-carousel .banner-photo-caption strong {font-size:15px;}
  .hero-carousel .banner-photo-caption div>span {font-size:12px;}
  .hero-carousel .banner-stamp {width:97px;min-height:97px;font-size:14px;right:-4px;}
  .hero-carousel .banner-combo-card {padding:22px 18px;min-height:278px;}
  .hero-carousel .banner-combo-card>strong {font-size:75px;}
  .hero-carousel .banner-combo-card>strong>span {font-size:15px;}
  .hero-carousel .banner-combo-card>p {font-size:13px;}
  .hero-carousel .banner-combo-card>span {font-size:10px;}
  .hero-carousel .carousel-controls {gap:20px;}
  .hero-carousel .carousel-nav {gap:4px;}
  .hero-carousel .carousel-tab {gap:8px;padding-inline:10px;font-size:15px;}
  .hero-find .hero-find-inner {grid-template-columns:auto minmax(0,1fr);gap:20px 28px;}
  .hero-find .hero-find-link {grid-column:2;justify-self:start;}
}
@media (max-width:820px) {
  .hero-carousel .banner-layout {gap:30px;}
  .hero-carousel .banner-title {font-size:46px;}
  .hero-carousel .banner-eyebrow {font-size:11px;letter-spacing:.08em;}
  .hero-carousel .banner-primary {padding:15px 19px;font-size:16px;}
  .hero-carousel .banner-photo {height:365px;}
  .hero-carousel .banner-photo-caption {left:-9px;gap:9px;padding:13px 12px;}
  .hero-carousel .banner-photo-caption strong {font-size:14px;}
  .hero-carousel .banner-caption-icon {width:33px;height:33px;}
  .hero-carousel .banner-footnote {font-size:14px;}
  .hero-carousel .banner-combo-card {padding:20px 13px;}
  .hero-carousel .banner-combo-card>strong>span {font-size:14px;}
  .hero-carousel .banner-combo-cards {gap:3px;padding-inline:6px;}
  .hero-carousel .carousel-tab {flex-direction:column;gap:5px;align-items:flex-start;font-size:16px;padding-block:10px;}
}
@media (max-width:740px) {
  .hero-carousel .banner-layout {grid-template-columns:minmax(0,1fr);gap:26px;min-height:0;padding-top:31px;padding-bottom:29px;align-content:start;}
  .hero-carousel .banner-copy {padding:0;}
  .hero-carousel .banner-eyebrow {font-size:11px;line-height:1.5;letter-spacing:.09em;gap:8px;}
  .hero-carousel .banner-title {font-size:clamp(44px,8vw,58px);line-height:1.05;letter-spacing:-.05em;margin:18px 0;}
  .hero-carousel .banner-description {max-width:590px;font-size:18px;line-height:1.6;}
  .hero-carousel .banner-actions {margin-top:23px;}
  .hero-carousel .banner-primary {min-height:53px;padding:15px 21px;font-size:17px;gap:15px;}
  .hero-carousel .banner-footnote {margin-top:16px;font-size:14px;gap:8px;}
  .hero-carousel .banner-footnote>.icon {width:18px;height:18px;}
  .hero-carousel .banner-course-links {margin-top:17px;gap:7px;}
  .hero-carousel .banner-course-links a {font-size:13px;padding:7px 11px;}
  .hero-carousel .banner-visual {max-width:510px;width:100%;min-height:260px;padding:0 5px 18px;justify-self:center;}
  .hero-carousel .banner-photo {height:240px;border-radius:80px 23px 70px 23px;}
  .hero-carousel .banner-photo img {object-position:50% 39%;}
  .hero-carousel .banner-visual-graduacao .banner-photo {border-radius:23px 80px 23px 70px;}
  .hero-carousel .banner-visual-cursos .banner-photo {border-radius:70px 23px 70px 23px;}
  .hero-carousel .banner-visual:not(.banner-visual-combos)::before {inset:8px 2px 16px 14px;border-radius:80px 23px 70px 23px;transform:rotate(3deg);}
  .hero-carousel .banner-stamp {width:83px;min-height:83px;right:9px;top:-7px;gap:4px;padding:12px 8px;border-radius:21px 21px 21px 5px;font-size:13px;}
  .hero-carousel .banner-stamp>.icon {width:21px;height:21px;}
  .hero-carousel .banner-photo-caption {left:13px;right:13px;bottom:4px;max-width:none;min-height:65px;padding:13px;gap:10px;border-radius:10px;transform:rotate(-1.5deg);}
  .hero-carousel .banner-photo-caption strong {font-size:14px;}
  .hero-carousel .banner-photo-caption div>span {font-size:12px;margin-top:3px;}
  .hero-carousel .banner-caption-icon {width:34px;height:34px;}
  .hero-carousel .banner-visual-combos {max-width:420px;min-height:280px;padding:0 4px;}
  .hero-carousel .banner-combo-orbit {width:85%;height:240px;left:7%;top:0;}
  .hero-carousel .banner-combo-cards {gap:12px;padding:8px 9px 13px;}
  .hero-carousel .banner-combo-card {min-height:219px;padding:19px 17px 18px;border-radius:15px;transform:rotate(-5deg);}
  .hero-carousel .banner-combo-card:nth-child(2) {margin-top:24px;transform:rotate(5deg);}
  .hero-carousel .banner-combo-card>.icon {width:26px;height:26px;margin-bottom:12px;}
  .hero-carousel .banner-combo-card>span {font-size:9px;line-height:1.4;letter-spacing:.06em;}
  .hero-carousel .banner-combo-card>strong {font-size:59px;margin-top:6px;}
  .hero-carousel .banner-combo-card>strong>span {font-size:13px;margin-top:5px;}
  .hero-carousel .banner-combo-card>p {font-size:12px;line-height:1.4;margin-top:11px;}
  .hero-carousel .banner-combo-plus {top:38%;left:calc(50% - 20px);width:40px;height:40px;font-size:19px;}
  .hero-carousel .banner-combo-note {font-size:12px;line-height:1.5;max-width:300px;margin-top:6px;}
  .hero-carousel .carousel-controls {flex-direction:column;align-items:stretch;gap:15px;padding-top:15px;padding-bottom:20px;}
  .hero-carousel .carousel-nav {width:100%;max-width:none;gap:5px;}
  .hero-carousel .carousel-tab {align-items:center;justify-content:center;gap:5px;min-height:62px;padding:8px 5px 11px;text-align:center;font-size:15px;}
  .hero-carousel .carousel-tab>span {font-size:11px;}
  .hero-carousel .carousel-tab.is-active::after {left:10px;right:10px;}
  .hero-carousel .carousel-tools {justify-content:flex-end;gap:10px;}
  .hero-carousel .carousel-counter {margin-right:auto;gap:6px;font-size:13px;}
  .hero-carousel .carousel-control {width:42px;height:42px;}
  .hero-find .hero-find-inner {grid-template-columns:minmax(0,1fr);gap:15px;padding-top:23px;padding-bottom:23px;}
  .hero-find .hero-find-inner>p {display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:17px;}
  .hero-find .hero-find-inner>p>br {display:none;}
  .hero-find .hero-find-inner>p strong {font-size:23px;}
  .hero-find .hero-search {display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;max-width:none;padding:8px 10px;}
  .hero-find .hero-search>.search-leading {margin:0;width:22px;height:22px;justify-self:center;}
  .hero-find .hero-search input {width:100%;min-height:47px;padding:12px 4px;font-size:16px;}
  .hero-find .hero-search .btn {grid-column:1/-1;width:100%;min-width:0;min-height:50px;padding:12px 18px;font-size:17px;}
  .hero-find .hero-find-link {grid-column:auto;font-size:15px;}
}
@media (max-width:380px) {
  .hero-carousel .banner-title {font-size:44px;}
  .hero-carousel .banner-description {font-size:18px;}
  .hero-carousel .banner-primary {max-width:100%;padding-inline:18px;gap:12px;}
  .hero-carousel .banner-combo-cards {gap:8px;}
  .hero-carousel .banner-combo-card {padding:17px 12px;}
  .hero-carousel .banner-combo-card>strong>span {font-size:12px;}
  .hero-carousel .banner-photo-caption {left:10px;right:10px;padding:11px 10px;gap:8px;}
  .hero-carousel .banner-photo-caption strong {font-size:13px;}
  .hero-carousel .banner-photo-caption div>span {font-size:11px;}
  .hero-carousel .carousel-tab {font-size:14px;padding-inline:3px;}
}
@media (prefers-reduced-motion:reduce) {
  .hero-carousel,.hero-carousel .hero-slide,.hero-carousel .hero-slide.is-active,.hero-carousel .banner-primary,.hero-carousel .carousel-control {transition:none;}
  .hero-carousel .banner-primary:hover {transform:none;}
}
