/*
 * EEEP 2026 — requisitos institucionais.
 * Reforça legibilidade, consistência visual e acesso às informações de cursos.
 */
:root {
    --eeep-canvas: #f3f7f5;
    --eeep-ink: #18332d;
    --eeep-leaf: #087448;
    --eeep-outline: #d7e4de;
}
.eeep-brand-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 58px;
    padding: 0 8px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.6);
    color: #087448 !important;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.04em;
    text-decoration: none !important;
}
.eeep-brand-placeholder:hover { background: #f8fff9; }

/* Foto destacada deve ficar visível acima do fundo decorativo. */
.eeep-slide__pattern { z-index: 0; }
.eeep-slide__image { z-index: 1; }
.eeep-slide__shade { z-index: 2; }
.eeep-slide__content, .eeep-slide__index { z-index: 4; }

/* Slider principal: todos os cursos técnicos, sem imagem inventada. */
.eeep-featured--courses .eeep-slider {
    height: clamp(390px, 36vw, 545px);
    background-color: #064832;
}
.eeep-course-slide .eeep-slide__pattern {
    background:
        radial-gradient(circle at 83% 25%, rgba(255,255,255,.21), transparent 22%),
        radial-gradient(circle at 90% 78%, rgba(245,205,77,.15), transparent 35%),
        linear-gradient(115deg, #073e32 12%, #0b6850 65%, #0b9168 100%);
}
.eeep-course-slide--administracao .eeep-slide__pattern {
    background: radial-gradient(circle at 82% 30%, rgba(255,216,94,.36), transparent 31%), linear-gradient(120deg,#0c4f43,#0a8764);
}
.eeep-course-slide--edificacoes .eeep-slide__pattern {
    background: radial-gradient(circle at 83% 33%, rgba(160,218,250,.35), transparent 34%), linear-gradient(120deg,#163b43,#347983);
}
.eeep-course-slide--eletromecanica .eeep-slide__pattern {
    background: radial-gradient(circle at 83% 30%, rgba(247,204,84,.30), transparent 33%), linear-gradient(120deg,#223b49,#586b85);
}
.eeep-course-slide--logistica .eeep-slide__pattern {
    background: radial-gradient(circle at 83% 30%, rgba(187,233,162,.3), transparent 31%), linear-gradient(120deg,#123d35,#308357);
}
.eeep-course-slide--informatica .eeep-slide__pattern {
    background: radial-gradient(circle at 85% 25%, rgba(109,211,246,.36), transparent 30%), linear-gradient(120deg,#133f53,#185778);
}
.eeep-featured--courses .eeep-slide__shade {
    background: linear-gradient(90deg,rgba(5,29,32,.93),rgba(6,36,36,.85) 36%,rgba(5,36,36,.23));
}
.eeep-featured--courses .eeep-slide__content { width: min(880px, 85%); }

/* Identidade e apresentação da escola */
.eeep-about-teaser { padding: 24px 0; background: var(--eeep-canvas); }
.eeep-about-teaser__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--eeep-outline);
    background: #fff;
    border-radius: 18px;
    padding: clamp(22px,3vw,36px);
}
.eeep-about-teaser h2 {
    color: #10513c;
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    margin: 7px 0 9px;
    line-height: 1.2;
}
.eeep-about-teaser p { max-width: 840px; color: #466359; }
.eeep-about-teaser__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: #0c704c;
    color: #fff;
    border-radius: 11px;
    padding: 13px 20px;
    font-weight: 740;
    white-space: nowrap;
    min-height: 46px;
}
.eeep-about-teaser__link:hover { background: #095d3e; color:#fff; }
.eeep-section-eyebrow {
    display: inline-block;
    color: #0b7950;
    text-transform: uppercase;
    letter-spacing: .095em;
    font-size: .79rem;
    font-weight: 800;
}

/* Conteúdos interativos para todos os cinco cursos. */
.eeep-home-interactives {
    background: #ecf4f0;
    padding: 44px 0 50px;
}
.eeep-section-intro {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.eeep-section-intro h2 {
    font-size: clamp(1.6rem,2.4vw,2.25rem);
    line-height:1.16;
    color:#0e4c37;
    margin:7px 0 11px;
    letter-spacing:-.03em;
}
.eeep-section-intro p { color:#536d62; max-width:710px; }
.eeep-section-more { color:#086a47; font-weight:800; white-space:nowrap; }
.eeep-interactive-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 13px;
}
.eeep-interactive-tile {
    display:flex;
    flex-direction:column;
    gap:10px;
    min-height:185px;
    background:#fff;
    border:1px solid var(--eeep-outline);
    border-radius:17px;
    padding:22px;
    color:#1c3e34;
    text-decoration:none;
    box-shadow:0 6px 28px rgba(12,55,39,.04);
    transition:transform .2s ease,border-color .2s ease;
}
.eeep-interactive-tile:hover { border-color:#40a67c; transform:translateY(-4px); }
.eeep-interactive-tile__icon {
    display:grid;
    place-items:center;
    border-radius:10px;
    color:#056d40;
    font-size:1.4rem;
    width:40px;
    height:40px;
    background:#e7f7ee;
}
.eeep-interactive-tile strong { color:#134d38; font-size:1.08rem; }
.eeep-interactive-tile small { margin-top:auto; color:#536a60; font-size:.85rem; }

/* Páginas institucionais e conteúdos por área. */
.eeep-institutional-page { padding:clamp(34px,4vw,62px) 0 76px; }
.eeep-page-intro { max-width:1040px; margin-bottom:27px; }
.eeep-page-intro h1 { font-size:clamp(2rem,4vw,3.2rem); line-height:1.1; letter-spacing:-.04em; color:#123f33; margin:10px 0 15px; }
.eeep-intro-text, .eeep-page-intro p { font-size:1.08rem; color:#4c675d; }
.eeep-area-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.eeep-area-card {
    display:flex; flex-direction:column;
    min-height:260px;
    background:#fff;
    padding:clamp(23px,3vw,30px);
    border-radius:18px;
    border:1px solid var(--eeep-outline);
    border-top:5px solid #158b5a;
    box-shadow: 0 10px 33px rgba(17,62,48,.06);
}
.eeep-area-card__index { color:#277e58; font-size:.79rem; letter-spacing:.07em; font-weight:800; }
.eeep-area-card h2 { font-size:1.5rem; color:#143f32; margin:16px 0 10px; }
.eeep-area-card p { color:#53645f; margin-bottom:20px; line-height:1.6; }
.eeep-area-card__links { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:auto; }
.eeep-area-card__links a { min-height:40px; display:inline-flex; align-items:center; padding:9px 13px; border-radius:9px; color:#0b6742; font-weight:730; text-decoration:none; }
.eeep-area-card__primary { background:#e2f6e9; }
.eeep-back-link { display:inline-block; color:#086e46; font-weight:750; margin-bottom:12px; }
.eeep-empty-state { border-radius:14px; padding:24px; background:#f1f9f4; color:#325146; }
.eeep-empty-state h2 { font-size:1.3rem; margin-bottom:8px; }
.eeep-empty-state p { margin-bottom:13px; }
.eeep-content-areas .noticias-grid { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }

/* Página detalhada dos cursos e grades curriculares. */
.eeep-course-anchor-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding-top:16px;
    padding-bottom:0;
}
.eeep-course-anchor-links a {
    display:inline-flex;
    padding:10px 14px;
    color:#096d45;
    text-decoration:none;
    font-weight:740;
    background:#e8f4ed;
    border-radius:9px;
    min-height:44px;
}
.eeep-course-anchor-links a:hover { background:#d5ebdf; }
.eeep-course-section { scroll-margin-top:104px; padding:10px 0 27px; }
.eeep-course-section + .eeep-course-section { border-top:1px solid #dce9e2; padding-top:30px; }
.eeep-course-section > h2,
.eeep-section-header h2 { font-size:clamp(1.5rem,2.1vw,2rem); color:#0c5138; margin:0 0 14px; }
.eeep-course-section > p { margin-bottom:15px; font-size:1.05rem; line-height:1.7; }
.eeep-section-header { margin-bottom:22px; }
.eeep-section-header h2 { margin-top:6px; }
.eeep-section-header p { color:#52685e; max-width:740px; }
.eeep-grade-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(225px,1fr)); gap:15px; }
.eeep-grade-card {
    border:1px solid #cddfd3;
    background:#f8fcf9;
    padding:21px;
    border-radius:13px;
}
.eeep-grade-card h3 { font-size:1.2rem; color:#075c3e; margin:0 0 11px; }
.eeep-grade-lista { padding-left:22px; margin:0; }
.eeep-grade-lista li { margin:8px 0; line-height:1.5; }
.eeep-grade-download { margin-top:20px; }
.eeep-grade-download a { font-weight:800; color:#076b43; }
.eeep-soft-note { background:#ecf6f0; padding:15px 17px; border-radius:9px; }
.eeep-course-interactive-link { margin-top:20px; }
.eeep-course-interactive-link p { color:#52685e; margin-bottom:12px; }
.eeep-course-interactive-link a { font-weight:760; color:#096b45; }
.curso-single-page .curso-hero { padding:45px 0; }
.curso-single-page .curso-main-content { width:100%; }
.curso-single-page .curso-sidebar .widget-curso h2 { font-size:1.2rem; color:#0d563d; margin-bottom:12px; }

/* Área de notícias destacadas preservada, mas fora do slider dos cursos. */
.home .eeep-featured:not(.eeep-featured--courses) { padding-top:40px; }
.home .eeep-featured:not(.eeep-featured--courses) .eeep-slider { height: clamp(330px,28vw,440px); }

/* Responsividade e contrastes. */
@media (max-width:1200px) { .eeep-interactive-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:820px) {
    .eeep-featured--courses .eeep-slide__content { width:96%; }
    .eeep-interactive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .eeep-section-intro { display:block; }
    .eeep-section-more { display:inline-block; margin-top:14px; }
}
@media (max-width:680px) {
    .eeep-featured--courses .eeep-slider { height:450px; }
    .eeep-featured--courses .eeep-slide__content { width:100%; }
    .eeep-featured--courses .eeep-slide__shade { background:linear-gradient(0deg,rgba(5,32,29,.97),rgba(5,34,32,.65) 80%,rgba(5,34,32,.36)); }
    .eeep-about-teaser__grid { flex-direction:column; align-items:stretch; }
    .eeep-about-teaser__link { justify-content:center; }
    .eeep-interactive-grid { grid-template-columns:1fr; }
    .eeep-interactive-tile { min-height:135px; }
    .eeep-institutional-page { padding-top:30px; }
    .eeep-course-anchor-links { gap:7px; }
    .eeep-course-anchor-links a { font-size:.9rem; }
}
body.alto-contraste .eeep-about-teaser__grid,
body.alto-contraste .eeep-area-card,
body.alto-contraste .eeep-interactive-tile,
body.alto-contraste .eeep-grade-card,
body.alto-contraste .eeep-empty-state,
body.alto-contraste .eeep-soft-note {
    background:#111!important;
    color:#fff!important;
    border-color:#ff0!important;
}
body.alto-contraste .eeep-section-eyebrow,
body.alto-contraste .eeep-interactive-tile strong,
body.alto-contraste .eeep-area-card h2 { color:#ff0!important; }
body.alto-contraste .eeep-about-teaser__link,
body.alto-contraste .eeep-grade-download a { background:#ff0!important; color:#000!important; }


/* Home enxuta: conteúdos interativos primeiro, seguidos dos carrosséis. */
.home .eeep-home-interactives {
    padding: 28px 0 30px;
    background: #edf6f1;
}
.home .eeep-home-interactives .eeep-section-intro {
    margin-bottom: 18px;
}
.home .eeep-interactive-tile {
    min-height: 138px;
    padding: 17px 19px;
    gap: 7px;
}
.home .eeep-interactive-tile__icon {
    width: 34px;
    height: 34px;
    font-size: 1.16rem;
}
.home .eeep-featured--courses {
    padding-top: 17px;
    padding-bottom: 0;
}
.home .eeep-featured:not(.eeep-featured--courses) {
    padding-top: 32px;
    padding-bottom: 36px;
}
@media (max-width: 680px) {
    .home .eeep-home-interactives { padding: 21px 0 25px; }
    .home .eeep-interactive-tile { min-height: 116px; }
}
