:root {
    --petrol: #00414A;
    --petrol-deep: #253333;
    --teal: #126363;
    --lime: #D8DE3E;
    --mist: #F2F4F3;
    --grey: #A7B0AE;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', system-ui, sans-serif;
    background: var(--petrol);
    color: var(--petrol-deep);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 3rem;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--petrol);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 65, 74, .95), rgba(0, 65, 74, .85), rgba(0, 65, 74, .7));
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, var(--petrol), transparent 40%, rgba(0, 65, 74, .4));
}

.hero-logo {
    position: relative;
    z-index: 2;
    padding: 0;           /* Remove o padding fixo antigo */
    margin-bottom: 2rem;  /* Cria espaço entre a logo e a badge "Missão Coletiva" abaixo */
}

.hero-logo img {
    height: 5.5rem;       /* Ajuste de altura no mobile */
    mix-blend-mode: screen;
}

@media (min-width: 640px) {
    .hero-logo img {
        height: 7rem;     /* Ajuste de altura em telas maiores */
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 5rem;
    min-height: calc(100vh - 6rem);
}

@media (min-width: 640px) {
    .hero-inner {
        padding: 4rem 3rem 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 7fr 5fr;
        gap: 2.5rem;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(216, 222, 62, .4);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1.05;
    color: var(--white);
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.25rem;
    }
}

.hero h1 .lime {
    color: var(--lime);
}

.hero p.lead {
    margin-top: 1.5rem;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
}

.hero-features {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-features i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--lime);
    display: inline-block;
}

.hero-form-wrap {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-form-wrap {
        justify-content: flex-end;
    }
}

.scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .scroll-cue {
        display: flex;
    }
}

.scroll-cue .mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding: .4rem;
}

.scroll-cue .mouse span {
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: var(--lime);
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ===== FORMULÁRIO ===== */
.form-card {
    width: 100%;
    max-width: 28rem;
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .form-card {
        padding: 2rem;
    }
}

.form-card.glass {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}

.form-card.solid {
    background: var(--white);
    border: 1px solid rgba(167, 176, 174, .4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15);
}

.form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.glass .form-card h3,
.glass h3 {
    color: var(--white);
}

.solid h3 {
    color: var(--petrol);
}

.form-card .sub {
    font-size: .875rem;
    margin-top: .25rem;
}

.glass .sub {
    color: rgba(255, 255, 255, .7);
}

.solid .sub {
    color: rgba(37, 51, 51, .7);
}

.field {
    margin-top: 1rem;
}

.field label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: .4rem;
}

.glass .field label {
    color: rgba(255, 255, 255, .8);
}

.solid .field label {
    color: var(--petrol-deep);
}

.field input {
    width: 100%;
    border-radius: .5rem;
    padding: .75rem 1rem;
    font-size: .875rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}

.glass .field input {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--white);
}

.glass .field input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.glass .field input:focus {
    border-color: var(--lime);
}

.solid .field input {
    background: var(--mist);
    border: 1px solid rgba(167, 176, 174, .5);
    color: var(--petrol);
}

.solid .field input::placeholder {
    color: rgba(37, 51, 51, .5);
}

.solid .field input:focus {
    border-color: var(--petrol);
}

.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.toggle-btn {
    border-radius: .5rem;
    border: 1px solid;
    padding: .6rem .75rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.glass .toggle-btn {
    border-color: rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .7);
    background: transparent;
}

.glass .toggle-btn:hover {
    border-color: rgba(255, 255, 255, .5);
}

.solid .toggle-btn {
    border-color: rgba(167, 176, 174, .5);
    color: rgba(37, 51, 51, .7);
    background: transparent;
}

.solid .toggle-btn:hover {
    border-color: rgba(0, 65, 74, .4);
}

.toggle-btn.active {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--petrol);
}

.form-error {
    margin-top: .75rem;
    font-size: .875rem;
    color: #f87171;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s;
}

.form-error.show {
    max-height: 2rem;
}

.submit-btn {
    margin-top: 1.5rem;
    width: 100%;
    border: none;
    border-radius: .5rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--lime);
    color: var(--petrol);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    transition: transform .15s;
}

.submit-btn:hover {
    transform: scale(1.02);
}

.submit-btn:active {
    transform: scale(.98);
}

.submit-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.submit-btn .arrow {
    transition: transform .2s;
}

.submit-btn:hover .arrow {
    transform: translateX(3px);
}

.form-foot {
    margin-top: .75rem;
    text-align: center;
    font-size: .75rem;
}

.glass .form-foot {
    color: rgba(255, 255, 255, .5);
}

.solid .form-foot {
    color: rgba(37, 51, 51, .5);
}

.form-success {
    text-align: center;
    padding: 2rem 2.5rem;
}

.form-success .check {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime);
}

.form-success .check svg {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--petrol);
}

.form-success h3 {
    font-size: 1.5rem;
}

.glass .form-success p {
    color: rgba(255, 255, 255, .8);
}

.solid .form-success p {
    color: var(--petrol-deep);
}

.form-success p {
    font-size: .875rem;
    margin-top: .5rem;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(0, 65, 74, .3);
    border-top-color: var(--petrol);
    border-radius: 999px;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SEÇÕES GENÉRICAS ===== */
.section-light {
    background: var(--mist);
    padding: 5rem 0;
}

@media (min-width: 640px) {
    .section-light {
        padding: 7rem 0;
    }
}

.section-dark {
    background: var(--petrol);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .section-dark {
        padding: 7rem 0;
    }
}

.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow.teal {
    color: var(--teal);
}

.eyebrow.lime {
    color: var(--lime);
}

.section-title {
    margin-top: .75rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-light .section-title {
    color: var(--petrol);
}

.section-dark .section-title {
    color: var(--white);
}

.section-lead {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 36rem;
}

.section-light .section-lead {
    color: var(--petrol-deep);
}

.section-dark .section-lead {
    color: rgba(255, 255, 255, .7);
}

/* ===== MISSÃO ===== */
.mission-grid {
    margin-top: 3.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-card {
    border-radius: 1rem;
    border: 1px solid rgba(167, 176, 174, .4);
    background: var(--white);
    padding: 1.75rem;
    transition: border-color .2s;
}

.mission-card:hover {
    border-color: var(--teal);
}

.mission-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--petrol);
}

.mission-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--lime);
}

.mission-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--petrol);
}

.mission-card p {
    margin-top: .5rem;
    font-size: .875rem;
    line-height: 1.6;
    color: var(--petrol-deep);
}

/* ===== PILARES ===== */
.pillars-grid {
    margin-top: 3.5rem;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillar-card {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .02);
    padding: 1.5rem;
    transition: all .3s;
}

.pillar-card:hover {
    border-color: rgba(255, 255, 255, .25);
}

.pillar-card.active {
    border-color: var(--lime);
    background: rgba(255, 255, 255, .05);
}

.pillar-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.pillar-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    transition: all .3s;
}

.pillar-card.active .pillar-icon {
    background: var(--lime);
}

.pillar-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
    transition: color .3s;
}

.pillar-card.active .pillar-icon svg {
    color: var(--petrol);
}

.pillar-num {
    font-size: 1.875rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .15);
}

.pillar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.pillar-card p {
    margin-top: .5rem;
    font-size: .875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
}

/* ===== PROFESSORES ===== */
.teachers-grid {
    margin-top: 3.5rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.teacher-card {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--petrol);
}

.teacher-photo {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .teacher-photo {
        height: 24rem;
    }
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .7s, filter .7s ease;
    filter: grayscale(100%);
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.teacher-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--petrol), rgba(0, 65, 74, .3) 50%, transparent);
}

.teacher-outline {
    position: absolute;
    bottom: .5rem;
    left: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18);
    user-select: none;
}

.teacher-body {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .teacher-body {
        padding: 2rem;
    }
}

.teacher-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.teacher-creds {
    margin-top: 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.teacher-creds li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .75);
}

.teacher-creds svg {
    width: 1rem;
    height: 1rem;
    margin-top: .1rem;
    flex-shrink: 0;
    color: var(--lime);
}

/* ===== RODAPÉ ===== */
.footer {
    background: var(--petrol);
    color: var(--white);
}

.footer-cta {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-cta-inner {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-cta-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta-form {
        display: flex;
        justify-content: flex-end;
    }
}

.footer-cta h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
}

@media (min-width: 640px) {
    .footer-cta h2 {
        font-size: 2.25rem;
    }
}

.footer-cta h2 .lime {
    color: var(--lime);
}

.footer-cta p {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--teal);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-bottom img {
    height: 6rem;
    mix-blend-mode: screen;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
}

@media (min-width: 640px) {
    .footer-links {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--lime);
}

.footer-links svg {
    width: 1rem;
    height: 1rem;
}

.footer-dot {
    display: none;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
}

@media (min-width: 640px) {
    .footer-dot {
        display: inline-block;
    }
}

.footer-copy {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    max-width: 36rem;
}

/* ===== ANIMAÇÕES REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
