:root {
    --alam-green: #119C3A;
    --alam-green-dark: #056B2A;
    --alam-green-soft: #EAF8EF;
    --alam-navy: #171B3E;
    --alam-orange: #F28A1A;
    --alam-light: #F7FAF8;
    --alam-text: #263238;
    --alam-muted: #6C757D;
    --radius: 28px;
}

* { box-sizing: border-box; }

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--alam-text);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; }

.navbar {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 35px rgba(18, 40, 30, .08);
}

.brand-logo {
    height: 58px;
    object-fit: contain;
}

.nav-link {
    font-weight: 700;
    color: var(--alam-navy) !important;
    margin: 0 .35rem;
}

.nav-link:hover { color: var(--alam-green) !important; }

.btn-alam {
    background: linear-gradient(135deg, var(--alam-green), #17c554);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .95rem 1.35rem;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(17, 156, 58, .25);
}

.btn-alam:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-alam {
    border: 2px solid rgba(17, 156, 58, .25);
    color: var(--alam-green);
    border-radius: 999px;
    padding: .9rem 1.3rem;
    font-weight: 800;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 92vh;
    padding: 150px 0 80px;
    background:
        radial-gradient(circle at 20% 12%, rgba(17, 156, 58, .18), transparent 30%),
        linear-gradient(135deg, #fff 0%, #f7fbf8 48%, #eaf8ef 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(17, 156, 58, .08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-shape {
    position: absolute;
    right: -160px;
    top: 80px;
    width: 720px;
    height: 720px;
    background: linear-gradient(135deg, var(--alam-green), var(--alam-green-dark));
    clip-path: polygon(22% 0, 100% 0, 80% 100%, 0 78%);
    opacity: .95;
}

.hero-card {
    position: relative;
    border-radius: 38px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 34px 80px rgba(23, 27, 62, .15);
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 28px;
    filter: saturate(1.08);
}

.hero-badge {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--alam-green);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(17, 156, 58, .12);
    border: 1px solid rgba(17, 156, 58, .13);
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.06em;
    color: var(--alam-navy);
}

.hero h1 span { color: var(--alam-green); }

.hero p {
    font-size: 1.22rem;
    color: #4c5962;
    max-width: 620px;
}

.floating-seal {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255, 255, 255, .92);
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    font-weight: 900;
    color: var(--alam-green);
}

.section { padding: 95px 0; }

.eyebrow {
    display: inline-flex;
    color: var(--alam-orange);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    margin-bottom: 1rem;
}

.title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 950;
    letter-spacing: -.045em;
    color: var(--alam-navy);
    line-height: 1.02;
}

.lead-soft {
    font-size: 1.1rem;
    color: #62707a;
    line-height: 1.8;
}

.service-card,
.process-step {
    height: 100%;
    border: 1px solid rgba(18, 40, 30, .08);
    border-radius: var(--radius);
    padding: 30px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(16, 34, 25, .07);
    transition: .22s ease;
}

.service-card:hover,
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(17, 156, 58, .14);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--alam-green-soft);
    color: var(--alam-green);
    font-size: 1.55rem;
    margin-bottom: 22px;
}

.dark-band {
    background: linear-gradient(135deg, var(--alam-navy), #0c1029);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dark-band::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -130px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(242, 138, 26, .18);
}

.metric {
    border-radius: 26px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 24px;
    height: 100%;
}

.metric strong {
    font-size: 2.5rem;
    color: #fff;
    display: block;
    line-height: 1;
    font-weight: 950;
}

.metric span { color: rgba(255, 255, 255, .72); }

.product-card {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(18, 40, 30, .08);
    box-shadow: 0 22px 55px rgba(16, 34, 25, .08);
    height: 100%;
}

.product-card .image {
    height: 250px;
    background: linear-gradient(135deg, #eaf8ef, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-card .image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card .body { padding: 24px; }

.tag {
    display: inline-flex;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: var(--alam-green-soft);
    color: var(--alam-green);
    font-weight: 800;
    font-size: .78rem;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: var(--alam-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 950;
    margin-bottom: 16px;
}

.cta {
    background: linear-gradient(135deg, var(--alam-green), var(--alam-green-dark));
    border-radius: 38px;
    padding: 52px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

footer {
    background: #07130d;
    color: rgba(255, 255, 255, .7);
    padding: 55px 0 30px;
}

.footer-logo {
    max-height: 76px;
    filter: brightness(0) invert(1);
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    z-index: 20;
    box-shadow: 0 16px 38px rgba(37, 211, 102, .38);
}

@media (max-width: 991px) {
    .hero { padding-top: 120px; }
    .hero-card img { height: 330px; }
    .hero-shape { opacity: .16; }
    .section { padding: 70px 0; }
    .cta { padding: 34px; }
}


.produto-img-zoom {
    cursor: zoom-in;
    transition: transform .25s ease, filter .25s ease;
}

.product-card:hover .produto-img-zoom {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.12);
}

.product-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 19, 13, .92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}

.product-lightbox.show {
    display: flex;
}

.product-lightbox img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 24px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.product-lightbox h5 {
    color: #fff;
    margin-top: 18px;
    font-weight: 800;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--alam-green);
    font-size: 1.3rem;
    display: grid;
    place-items: center;
}

.site-footer {
    background: linear-gradient(135deg, #07130d, #0b2414);
    color: rgba(255, 255, 255, .76);
    padding: 70px 0 30px;
}

.site-footer h6 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 18px;
}

.footer-logo {
    max-height: 78px;
    object-fit: contain;
}

.footer-text {
    line-height: 1.8;
    max-width: 360px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: .2s ease;
}

.social-links a:hover {
    background: var(--alam-green);
    transform: translateY(-2px);
}

.site-footer hr {
    border-color: rgba(255,255,255,.12);
    margin: 34px 0 22px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.58);
}

.produto-destaque {
    border: 2px solid var(--alam-green);
    transform: scale(1.03);
    box-shadow: 0 25px 70px rgba(17,156,58,.25);
    position: relative;
}

.produto-destaque::before {
    content: "MAIS VISTO";
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--alam-green);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .05em;
}

.recomendados-section {
    background:
        radial-gradient(circle at 15% 15%, rgba(17,156,58,.12), transparent 28%),
        linear-gradient(135deg, #f7fbf8, #ffffff);
}

.recomendacao-card {
    border: 2px solid rgba(17,156,58,.16);
    position: relative;
}

.recomendacao-card::before {
    content: "IA";
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--alam-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    z-index: 2;
}

.cursos-section {
    background: linear-gradient(135deg, #ffffff, #f7fbf8);
}

.cursos-section .section-header {
    max-width: 980px;
    margin: 0 auto 52px;
    text-align: center;
}

.cursos-section .lead-soft {
    max-width: 720px;
    margin: 18px auto 0;
}

.curso-card {
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(18, 40, 30, .08);
    box-shadow: 0 24px 65px rgba(16, 34, 25, .10);
    transition: .25s ease;
    cursor: zoom-in;
}

.curso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(17,156,58,.18);
}

.curso-banner {
    height: 260px;
    background: var(--alam-green-soft);
    overflow: hidden;
}

.curso-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curso-body {
    padding: 26px;
}

.curso-date {
    display: inline-flex;
    align-items: center;
    background: var(--alam-green-soft);
    color: var(--alam-green);
    font-weight: 900;
    padding: .5rem .8rem;
    border-radius: 999px;
    font-size: .86rem;
    margin-bottom: 16px;
}

.curso-body h5 {
    font-weight: 950;
    color: var(--alam-navy);
    line-height: 1.18;
    margin-bottom: 12px;
}

.curso-body p {
    color: #62707a;
    line-height: 1.7;
}

.curso-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #6c757d;
    font-size: .92rem;
}

.curso-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 19, 13, .94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.curso-lightbox.show {
    display: flex;
}

.curso-lightbox-card {
    width: min(1120px, 96vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 34px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    box-shadow: 0 40px 120px rgba(0,0,0,.35);
}

.curso-lightbox-image {
    background: var(--alam-green-soft);
    min-height: 520px;
}

.curso-lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curso-lightbox-content {
    padding: 46px;
    overflow-y: auto;
}

.curso-lightbox-content h2 {
    color: var(--alam-navy);
    font-weight: 950;
    letter-spacing: -.04em;
    margin-bottom: 22px;
}

.curso-lightbox-content p {
    color: #62707a;
    line-height: 1.8;
    margin: 24px 0;
}

.curso-lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #52606b;
    font-weight: 700;
}

.curso-lightbox-meta span {
    display: flex;
    align-items: center;
}

.curso-lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--alam-green);
    font-size: 1.35rem;
    display: grid;
    place-items: center;
    z-index: 10000;
}

@media (max-width: 991px) {
    .curso-lightbox-card {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .curso-lightbox-image {
        min-height: 280px;
    }

    .curso-lightbox-content {
        padding: 28px;
    }
}

.institucional-hero {
    min-height: 72vh;
}

.institucional-hero .hero-card img {
    height: 380px;
}