/* ==========================================================
   PROJETO INTEGRADOR — CONSUMO CONSCIENTE
   Arquivo: style.css
   Tema profissional em verde escuro
   ========================================================== */
  

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

:root {
    --green-950: #05140d;
    --green-900: #082318;
    --green-800: #0b2f1f;
    --green-700: #14532d;
    --green-600: #176b45;
    --green-500: #218a59;
    --green-400: #2f9e67;
    --mint-100: #eaf4ee;
    --mint-50: #f4faf6;
    --white: #ffffff;
    --text: #102118;
    --muted: #506659;
    --border: #d8e5dd;
    --shadow: 0 18px 45px rgba(7, 28, 19, 0.14);
    --shadow-strong: 0 30px 80px rgba(7, 28, 19, 0.25);
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(47, 158, 103, 0.12), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(11, 47, 31, 0.14), transparent 32%),
        linear-gradient(180deg, #eef4f0 0%, #ffffff 45%, #edf5f0 100%);
    color: var(--text);
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(7, 28, 19, 0.92);
    border-bottom: 1px solid rgba(129, 199, 132, 0.25);
    backdrop-filter: blur(16px);
    padding: 14px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(7, 28, 19, 0.28);
}

.logo {
    color: var(--white);
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.03em;
}

.logo span,
.modern-footer span,
.nav-links a:hover {
    color: #81c784;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    opacity: 0.92;
    transition: 0.25s;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(129, 199, 132, 0.36);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 99px;
    background: var(--white);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO COM PARALLAX */
.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(115deg, rgba(7, 28, 19, 0.96) 0%, rgba(11, 47, 31, 0.92) 45%, rgba(23, 107, 69, 0.88) 100%),
        url('https://images.unsplash.com/photo-1497436072909-f5e4be8c8e9d?q=80&w=1600') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.16;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #eef4f0);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 950px;
    animation: surgir 0.9s ease forwards;
}

@keyframes surgir {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(129, 199, 132, 0.55);
    background: rgba(255,255,255,0.10);
    color: var(--mint-100);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5.6rem);
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-content p {
    max-width: 820px;
    margin: 0 auto 34px;
    color: var(--mint-100);
    font-size: 1.16rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-main,
.btn-secondary {
    min-width: 190px;
    text-align: center;
}

.btn-main,
.btn-secondary,
.calculator button,
.quiz-actions button {
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s;
}

.btn-main {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: var(--white);
    box-shadow: 0 18px 36px rgba(23, 107, 69, 0.28);
}

.btn-main:hover,
.calculator button:hover,
.quiz-actions button:hover {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(234,244,238,0.5);
    background: rgba(255,255,255,0.08);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-3px);
}

.hero-metrics {
    max-width: 760px;
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-metrics div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(14px);
}

.hero-metrics strong {
    display: block;
    color: #a5d6a7;
    font-size: 1.65rem;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-metrics span {
    display: block;
    color: var(--mint-100);
    font-size: 0.88rem;
    font-weight: 600;
}

/* SEÇÕES */
.main-content {
    padding: 90px 20px 20px;
}

.section {
    max-width: 1200px;
    margin: auto auto 100px;
    scroll-margin-top: 92px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 18px;
    color: var(--green-800);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.section-subtitle {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 48px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.05rem;
    text-wrap: balance;
}

.intro-box,
.info-card,
.stat-card,
.solution-card,
.calculator,
.checklist-box,
.sources,
.quiz-box,
.video-card,
.ewaste-list {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.intro-box {
    position: relative;
    overflow: hidden;
    padding: 46px;
    border-radius: 28px;
    line-height: 1.9;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--green-800), var(--green-600), var(--green-400));
}

.intro-box p + p {
    margin-top: 18px;
}

.grid-container,
.stats-grid,
.video-grid,
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.info-card,
.stat-card,
.solution-card,
.video-card {
    border-radius: 24px;
    padding: 32px;
    transition: 0.28s ease;
}

.video-card { padding: 0; overflow: hidden; }

.info-card:hover,
.stat-card:hover,
.solution-card:hover,
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.info-card h3,
.solution-card h3,
.video-card h3,
.ewaste-list h3 {
    color: var(--green-800);
    margin-bottom: 14px;
}

.info-card p,
.solution-card p,
.stat-card p,
.video-card p,
.sources {
    color: var(--muted);
    line-height: 1.8;
}

.stat-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    color: var(--green-600);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.05em;
}

/* CARDS GIRATÓRIOS */
.glass-card {
    perspective: 1000px;
    height: 315px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.glass-card:hover .card-inner,
.glass-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-front {
    background: rgba(255,255,255,0.92);
}

.card-back {
    background: linear-gradient(135deg, var(--green-950), var(--green-800), var(--green-600));
    color: var(--white);
    transform: rotateY(180deg);
}

.card-back ul {
    list-style: none;
    line-height: 2;
}

.card-icon {
    color: var(--green-600);
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 14px rgba(23, 107, 69, 0.18));
}

/* SEÇÃO ESCURA */
.dark-section {
    max-width: 100%;
    background:
        radial-gradient(circle at top right, rgba(129, 199, 132, 0.18), transparent 30%),
        linear-gradient(135deg, var(--green-950), var(--green-800), var(--green-600));
    padding: 90px 20px;
    color: var(--white);
    margin-bottom: 100px;
}

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

.ewaste-box {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.ewaste-text {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    padding: 38px;
    backdrop-filter: blur(10px);
}

.ewaste-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.ewaste-text p {
    line-height: 1.9;
    margin-bottom: 16px;
    opacity: 0.94;
}

.ewaste-list {
    color: var(--text);
    border-radius: 28px;
    padding: 40px;
}

.ewaste-list h3 {
    text-align: center;
    margin-bottom: 20px;
}

.ewaste-list ul {
    padding-left: 30px;
}

.ewaste-list li {
    margin-bottom: 18px;
    line-height: 1.9;
    padding-left: 8px;
}

.recycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.bin {
    padding: 45px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--green-950), var(--green-800), var(--green-600));
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
}

.bin:hover {
    transform: scale(1.05);
}

/* CALCULADORA */
.calculator,
.checklist-box {
    max-width: 760px;
    margin: auto;
    padding: 40px;
    border-radius: 25px;
}

.calculator label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--green-800);
}

.calculator input {
    width: 100%;
    padding: 16px;
    border: 2px solid #d1d5db;
    border-radius: 16px;
    font-size: 1rem;
    margin-bottom: 18px;
    outline: none;
}

.calculator input:focus,
.answer-btn:hover {
    border-color: var(--green-600);
}

.calculator button,
.quiz-actions button {
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: var(--white);
    padding: 14px 24px;
    font-size: 1rem;
}

.calculator button {
    width: 100%;
    border-radius: 16px;
}

#resultadoAgua {
    margin-top: 18px;
    background: var(--mint-100);
    border: 1px solid #cfe2d6;
    border-radius: 16px;
    padding: 18px;
    color: var(--green-800);
    font-weight: 700;
    line-height: 1.7;
    display: none;
}

/* CHECKLIST */
.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
}

.check-item:last-child {
    border-bottom: none;
}

.check-item input {
    width: 22px;
    height: 22px;
    accent-color: var(--green-600);
    cursor: pointer;
}

.check-item input:checked + span {
    text-decoration: line-through;
    color: var(--green-600);
    opacity: 0.75;
}

.progress-area {
    margin-top: 25px;
    background: #e5e7eb;
    border-radius: 999px;
    height: 18px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--green-800), var(--green-600), var(--green-400));
    transition: 0.4s;
}

#progressText {
    text-align: center;
    margin-top: 12px;
    font-weight: 800;
    color: var(--green-800);
}

/* VÍDEOS */
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.video-card div {
    padding: 20px;
}

.video-card p,
.video-note {
    font-size: 0.95rem;
}

.video-note {
    margin-top: 18px;
    color: var(--muted);
    text-align: center;
    line-height: 1.7;
}

/* QUIZ */
.quiz-box {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    border-radius: 28px;
}

.quiz-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.quiz-score,
.quiz-trees,
#quizFeedback {
    background: var(--mint-100);
    border: 1px solid #cfe2d6;
    color: var(--green-800);
}

.quiz-score,
.quiz-trees {
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 800;
}

.question-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 28px;
}

#quizQuestion {
    color: var(--green-800);
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.answer-btn {
    min-height: 76px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.answer-btn:hover {
    transform: translateY(-2px);
}

.answer-btn.correct {
    background: var(--mint-100);
    border-color: var(--green-600);
    color: var(--green-800);
}

.answer-btn.wrong {
    background: #fee2e2;
    border-color: #ef4444;
    color: #7f1d1d;
}

.answer-btn:disabled {
    cursor: not-allowed;
}

#quizFeedback {
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    line-height: 1.6;
    display: none;
}

.quiz-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.forest {
    margin-top: 28px;
    min-height: 90px;
    background: linear-gradient(180deg, #eef4f0, #dfeee5);
    border: 2px dashed #81c784;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.tree {
    font-size: 2.2rem;
    animation: growTree 0.45s ease both;
}

@keyframes growTree {
    from { transform: scale(0.2) translateY(16px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.sources {
    border-radius: 24px;
    padding: 30px;
    font-size: 0.96rem;
}

.sources strong {
    color: var(--green-800);
}

.modern-footer {
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
    color: var(--white);
    text-align: center;
    padding: 42px 20px;
}

.sub {
    margin-top: 10px;
    opacity: 0.75;
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
    .navbar { padding: 14px 5%; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 0.88rem; }
    .ewaste-box { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .navbar { padding: 12px 18px; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        gap: 0;
        background: rgba(7, 28, 19, 0.97);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 16px 35px rgba(0,0,0,0.25);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        display: block;
        padding: 13px 14px;
        border-radius: 12px;
        font-size: 0.98rem;
    }

    .nav-links a:hover { background: rgba(129,199,132,0.12); }

    .hero {
        min-height: 88vh;
        padding: 100px 18px 50px;
        background-attachment: scroll;
    }

    .hero-content h1 { font-size: clamp(2.25rem, 12vw, 4rem); }
    .hero-content p { font-size: 1rem; line-height: 1.65; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-main,
    .btn-secondary {
        width: min(100%, 320px);
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-top: 28px;
    }

    .main-content { padding: 62px 16px 10px; }
    .section { margin-bottom: 72px; }
    .section-subtitle { margin-bottom: 32px; font-size: 0.98rem; }

    .intro-box,
    .info-card,
    .stat-card,
    .solution-card,
    .calculator,
    .checklist-box,
    .sources,
    .ewaste-text,
    .ewaste-list,
    .quiz-box {
        padding: 24px;
        border-radius: 22px;
    }

    .dark-section { padding: 65px 16px; margin-bottom: 72px; }
    .ewaste-text h2 { font-size: 2rem; }
    .glass-card { height: 300px; cursor: pointer; }
    .glass-card:hover .card-inner { transform: none; }
    .glass-card.flipped .card-inner { transform: rotateY(180deg); }

    .recycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bin { padding: 28px 12px; font-size: 1rem; }
    .check-item { align-items: flex-start; font-size: 0.98rem; line-height: 1.45; }
    .answers-grid { grid-template-columns: 1fr; }
    .quiz-score, .quiz-trees { width: 100%; text-align: center; border-radius: 18px; }
    .quiz-actions button { width: 100%; }
    .forest { justify-content: center; }
}

@media (max-width: 480px) {
    .navbar { padding-inline: 14px; }
    .hero { min-height: 82vh; }
    .hero-content h1 { line-height: 1.08; letter-spacing: -0.045em; }
    .hero-badge { font-size: 0.78rem; padding: 9px 13px; }
    .grid-container, .stats-grid, .video-grid, .solution-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-number { font-size: 2.2rem; }
    .glass-card { height: 330px; }
    .card-front, .card-back { padding: 22px; }
    .card-icon { font-size: 3.2rem; }
    .calculator input, .calculator button { padding: 14px; }
    .modern-footer { padding: 34px 18px; }
}

@media (hover: none) and (pointer: coarse) {
    .info-card:hover,
    .stat-card:hover,
    .solution-card:hover,
    .video-card:hover,
    .bin:hover,
    .btn-main:hover {
        transform: none;
    }
}
.dev-link{
    color: inherit;          /* mesma cor do texto */
    text-decoration: none;   /* tira o sublinhado */
    font-weight: inherit;    /* mesmo peso da fonte */
    cursor: pointer;
    transition: .3s;
}

.dev-link:visited{
    color: inherit;          /* continua da mesma cor depois de visitar */
}

.dev-link:hover{
    color: #81c784;          /* muda só quando passa o mouse */
}

.dev-link:active{
    color: #81c784;
}
@media(max-width: 768px){
    .hero{
        background-attachment: scroll;
    }
}
.hero{
    background:
        linear-gradient(rgba(7, 28, 19, 0.70), rgba(7, 28, 19, 0.70)),
        url("https://images.unsplash.com/photo-1497436072909-f5e4be8c8e9d?q=80&w=1600")
        center / cover no-repeat;

    background-attachment: fixed;
}
.hero{
    background:
        linear-gradient(
            rgba(7,28,19,.72),
            rgba(7,28,19,.72)
        ),
        url("SUA-IMAGEM.jpg");

    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
}
/* ==================================================
   HERO COM PARALLAX
================================================== */

.hero{
    position: relative;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 120px 20px 60px;

    background:
        linear-gradient(
            rgba(5, 35, 22, .78),
            rgba(5, 35, 22, .78)
        ),
        url("mapa-de-mundo-feito-com-grama.avif");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* efeito parallax */
    background-attachment: fixed;

    overflow: hidden;
}
/* ==================================================
   HERO COM PARALLAX
================================================== */

.hero{
    position: relative;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 120px 20px 60px;

    background:
        linear-gradient(
            rgba(5, 35, 22, .78),
            rgba(5, 35, 22, .78)
        ),
        url("mapa-de-mundo-feito-com-grama.avif");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* efeito parallax */
    background-attachment: fixed;

    overflow: hidden;
}
.tagline {
    font-family: "Philosopher", serif;
    font-style: italic;
    font-weight: 400;
}

.main-nav a {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
}
.feedback-text{
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}

.feedback-name{
    display: block;
    margin-top: 12px;

    color: #2D6A4F; /* mesmo verde da aba */

    font-style: italic; /* mesma fonte em itálico */
    font-weight: 700;   /* apenas deixa em negrito */

    font-family: inherit; /* usa exatamente a mesma fonte do comentário */

    letter-spacing: .3px;
}
.feedback-card{
    margin-bottom: 50px;
}
.video-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.video-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.video-card iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.video-card div{
    padding: 22px;
}

.video-card:last-child{
    grid-column: 1 / -1;
}

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

    .video-card:last-child{
        grid-column: auto;
    }
}
#mensagem-final{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 30px;
}

#mensagem-final .intro-box{
    max-width: 900px;
    margin: 0 auto;
}

.feedback-card{
    margin-bottom: 35px;
}

.feedback-card:last-child{
    margin-bottom: 0;
}


/* ==========================================================
   CORREÇÕES FINAIS DE LAYOUT
   ========================================================== */

/* Hero definitivo */
.hero{
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 120px 20px 60px !important;
    background:
        linear-gradient(rgba(5, 35, 22, .78), rgba(5, 35, 22, .78)),
        url("mapa-de-mundo-feito-com-grama.avif") center / cover no-repeat !important;
    background-attachment: fixed !important;
    overflow: hidden !important;
}

.hero-content{
    max-width: 950px !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.hero-content iframe,
.hero-content video,
.hero-content img{
    display: none !important;
}

/* Estrutura geral das seções */
.main-content{
    padding: 90px 20px 20px !important;
}

.section{
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 100px !important;
    padding: 0 20px !important;
    scroll-margin-top: 92px !important;
}

.section-title{
    max-width: 900px !important;
    margin: 0 auto 18px !important;
    text-align: center !important;
}

.section-subtitle{
    max-width: 900px !important;
    margin: 0 auto 48px !important;
    text-align: center !important;
}

/* Caixas alinhadas */
.intro-box,
.sources,
.quiz-box,
.checklist-box,
.calculator{
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Cards do diagnóstico */
.grid-container{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

.glass-card{
    width: 100% !important;
    height: 315px !important;
}

.card-front,
.card-back{
    overflow: hidden !important;
}

/* Vídeos 5 organizados */
.video-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    max-width: 1100px !important;
    margin: 40px auto 0 !important;
}

.video-card{
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0,0,0,.12) !important;
}

.video-card iframe{
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border: 0 !important;
    display: block !important;
}

.video-card div{
    padding: 22px !important;
}

.video-card:last-child{
    grid-column: 1 / -1 !important;
}

/* Depoimentos alinhados com introdução */
#mensagem-final{
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 100px !important;
    padding: 0 20px !important;
}

#mensagem-final .intro-box{
    max-width: 900px !important;
    margin: 0 auto !important;
}

.feedback-card{
    margin-bottom: 35px !important;
}

.feedback-card:last-child{
    margin-bottom: 0 !important;
}

.nav-links{
    flex-wrap: nowrap !important;
}

.nav-links a{
    white-space: nowrap !important;
}

/* Responsividade */
@media (max-width: 900px){
    .grid-container,
    .video-grid{
        grid-template-columns: 1fr !important;
    }

    .video-card:last-child{
        grid-column: auto !important;
    }

    .hero{
        background-attachment: scroll !important;
    }
}

@media (max-width: 480px){
    .section{
        padding: 0 14px !important;
        margin-bottom: 72px !important;
    }
}
.navbar {
    overflow: visible !important;
}

@media (max-width: 820px) {
    .nav-links.open {
        display: flex !important;
        z-index: 9999 !important;
    }
}
