/* =========================================
   PROJETO CEA — style.css
   Paleta oficial + mobile-first responsivo
   ========================================= */

/* ---------- TOKENS ---------- */
:root {
    --roxo-escuro:  #431d50;
    --roxo-claro:   #c19bdd;
    --bege:         #fff5de;
    --amarelo:      #f9dba3;
    --laranja:      #eda82d;
    --laranja-dark: #ca850a;

    --text-dark:    #1e0f26;
    --text-mid:     #5a3d6a;
    --text-light:   #f3e8ff;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', 'Segoe UI', sans-serif;

    --radius-sm:    8px;
    --radius-md:    16px;
    --radius-lg:    28px;
    --radius-pill:  100px;

    --shadow-soft:  0 4px 24px rgba(67,29,80,.12);
    --shadow-card:  0 2px 16px rgba(67,29,80,.10);
    --shadow-pop:   0 8px 40px rgba(67,29,80,.20);

    --transition:   .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bege);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
}

/* ---------- UTILITY ---------- */
.container {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--laranja),
        var(--laranja-dark)
    );
}
.btn-primary:hover {
    background: var(--laranja-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(237,168,45,.4);
}

.btn-ghost {
    background: transparent;
    border-color: var(--roxo-escuro);
    color: var(--roxo-escuro);
}
.btn-ghost:hover {
    background: var(--roxo-escuro);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =========================================
   HEADER / NAV
   ========================================= */
#header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(67,29,80,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1100px;
    margin-inline: auto;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: row;
    line-height: 1;
    gap: 10px;
}
.logo-cea {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--laranja);
    letter-spacing: .04em;
}
.logo-sub {
    font-size: .65rem;
    font-weight: 500;
    color: var(--roxo-claro);
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .9rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}
.nav-links a:hover {
    color: white;
    background: rgba(255,255,255,.1);
}

.nav-cta {
    background: var(--laranja) !important;
    color: white !important;
    padding: 8px 18px !important;
}
.nav-cta:hover {
    background: var(--laranja-dark) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    min-height: calc(100svh - 60px);
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 60px 20px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--roxo-escuro) 0%, #6b2d80 100%);
}

.hero-bg-shape {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(193,155,221,.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(237,168,45,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    margin-inline: auto;
    text-align: center;
    animation: fadeUp .7s ease both;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: var(--amarelo);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.15);
}

.hero-title {
    letter-spacing: -0.03em;
    font-size: clamp(2.2rem, 8vw, 4rem);
    color: white;
    margin-bottom: 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--laranja);
}

.hero-desc {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 32px;
}

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

.credibilidade {
    background: white;
    padding: 18px;
    text-align: center;
    font-size: .9rem;
    color: var(--text-mid);
    border-bottom: 1px solid rgba(67,29,80,.06);
}

/* Hero visual (oculto em mobile) */
.hero-visual { display: none; }

/* Floating badges */
.floating-badge {
    position: absolute;
    background: white;
    color: var(--roxo-escuro);
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-pop);
    animation: float 3s ease-in-out infinite;
}

/* =========================================
   SOBRE STRIP
   ========================================= */
.sobre-strip {
    padding: 60px 0;
    background: var(--bege);
}

.strip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.strip-text h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--roxo-escuro);
    margin-bottom: 14px;
}

.strip-text p {
    color: var(--text-mid);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 480px;
}

.link-arrow {
    color: var(--laranja-dark);
    font-weight: 700;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.link-arrow:hover { gap: 10px; color: var(--roxo-escuro); }

.strip-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.stat {
    background: var(--roxo-escuro);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
}
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--laranja);
}
.stat-label {
    font-size: .75rem;
    color: var(--roxo-claro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* =========================================
   SETORES
   ========================================= */
.setores {
    padding: 80px 0;
    background: var(--amarelo);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    color: var(--roxo-escuro);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: .7;
}
.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--roxo-escuro);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 2px solid transparent;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-pop);
    border-color: var(--roxo-claro);
}

.card-accent {
    background: var(--roxo-escuro);
    color: white;
}
.card-accent h3 { color: var(--laranja); }
.card-accent p  { color: rgba(255,255,255,.75); }

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.card h3 {
    font-size: 1.25rem;
    color: var(--roxo-escuro);
    margin-bottom: 10px;
}
.card p {
    color: var(--text-mid);
    font-size: .9rem;
}

/* =========================================
   CTA
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: var(--bege);
}

.cta-box {
    background: linear-gradient(135deg, var(--roxo-escuro), #6b2d80);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.cta-box::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193,155,221,.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: white;
    margin-bottom: 10px;
}
.cta-text p {
    color: rgba(255,255,255,.7);
    max-width: 420px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: #1e0f26;
    padding: 40px 0 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer-brand p {
    color: var(--roxo-claro);
    font-size: .8rem;
    opacity: .7;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--laranja); }

.footer-copy {
    color: rgba(255,255,255,.3);
    font-size: .78rem;
    border-top: 1px solid rgba(255,255,255,.07);
    width: 100%;
    padding-top: 20px;
}

/* =========================================
   SOBRE PAGE
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, var(--roxo-escuro), #6b2d80);
    padding: clamp(36px, 5vw, 56px) 20px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: white;
    margin-bottom: 16px;
}
.page-hero p {
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin-inline: auto;
}

.page-content {
    padding: 60px 0;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.content-text h2 {
    font-size: 1.8rem;
    color: var(--roxo-escuro);
    margin-bottom: 16px;
}
.content-text p {
    color: var(--text-mid);
    margin-bottom: 14px;
    font-size: .95rem;
}

.content-highlight {
    background: var(--amarelo);
    border-radius: var(--radius-md);
    padding: 28px;
    border-left: 4px solid var(--laranja);
}
.content-highlight p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--roxo-escuro);
    font-style: italic;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* =========================================
   RESPONSIVE — tablet
   ========================================= */
@media (min-width: 640px) {
    .cards-grid   { grid-template-columns: repeat(2, 1fr); }
    .acoes-grid   { grid-template-columns: repeat(2, 1fr); }
    .strip-grid   { grid-template-columns: 1fr 1fr; align-items: center; }
    .strip-stats  { grid-template-columns: repeat(3, 1fr); }

    .cta-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* =========================================
   RESPONSIVE — desktop
   ========================================= */
@media (min-width: 900px) {
    /* Hero two-column */
    .hero {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 80px 60px;
        min-height: 100svh;
    }
    .hero-content {
        margin-inline: 0;
        text-align: left;
    }
    .hero-actions { justify-content: flex-start; }

    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .hero-blob {
        width: 280px;
        height: 280px;
        background: linear-gradient(135deg, var(--roxo-claro), var(--amarelo));
        border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: morphBlob 6s ease-in-out infinite;
        box-shadow: 0 20px 60px rgba(0,0,0,.3);
    }
    .blob-inner {
        text-align: center;
        color: var(--roxo-escuro);
    }
    .blob-icon { font-size: 3rem; display: block; margin-bottom: 8px; }
    .blob-inner p { font-weight: 700; font-size: .9rem; }

    .badge-1 { top: 10%; right: 10%; animation-delay: 0s; }
    .badge-2 { bottom: 20%; right: 0;  animation-delay: .8s; }
    .badge-3 { top: 50%; left: 5%;    animation-delay: 1.5s; }

    /* Cards 3 cols */
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .acoes-grid { grid-template-columns: repeat(3, 1fr); }

    .content-block { grid-template-columns: 1fr 1fr; }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-copy { text-align: right; }
}

@keyframes morphBlob {
    0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
    33%  { border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%; }
    66%  { border-radius: 55% 45% 60% 40% / 40% 55% 45% 55%; }
    100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
}

/* =========================================
   MOBILE NAV (overlay)
   ========================================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 20;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;

        background: rgba(67,29,80,.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        border: 1px solid rgba(255,255,255,.08);
        border-radius: 18px;
        box-shadow: 0 20px 40px rgba(0,0,0,.25);

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 14px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: all .28s ease;

        z-index: 15;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: 12px;
        text-align: left;
    }

    .nav-links a:hover {
        background: rgba(255,255,255,.08);
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center !important;
    }
}

/* CONTEÚDOS PAGE */
.conteudos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.conteudo-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.conteudo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-pop);
}

.conteudo-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.conteudo-info {
    padding: 24px;
}

.conteudo-info h2 {
    color: var(--roxo-escuro);
    margin-bottom: 10px;
}

.conteudo-info p {
    color: var(--text-mid);
    margin-bottom: 16px;
}

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

/* =========================================
   SETORES - GLASS LOOP
   ========================================= */

.setores-slider {
    overflow: hidden;
    position: relative;
}

.setores-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollLoop 35s linear infinite;
}

/* PAUSA AO PASSAR MOUSE */
.setores-slider:hover .setores-track {
    animation-play-state: paused;
}

/* CARD GLASS */
.setor-glass {
    min-width: 260px;
    padding: 22px;
    border-radius: var(--radius-lg);

    /* vidro adaptado para fundo claro */
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(67,29,80,0.15);
    box-shadow: var(--shadow-card);

    transition: var(--transition);

    backdrop-filter: blur(12px);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.7),
        rgba(255,255,255,0.4)
    );
}

.setor-glass:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-pop);
    border-color: var(--roxo-claro);
}

.setor-glass h3 {
    color: var(--roxo-escuro);
    margin-bottom: 6px;
}

.setor-glass span {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--laranja-dark);
    background: rgba(237,168,45,.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.setor-glass p {
    font-size: 0.9rem;
    color: var(--text-mid);
}

/* ANIMAÇÃO INFINITA */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   NOTÍCIAS — REFINADO
   ========================================= */

.noticias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* CARD */
.noticia-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

/* HOVER MAIS SUAVE */
.noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop);
}

/* IMAGEM */
.noticia-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTEÚDO */
.noticia-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

/* DATA */
.noticia-data {
    font-size: 0.75rem;
    color: var(--roxo-claro);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* TÍTULO */
.noticia-info h3 {
    color: var(--roxo-escuro);
    margin-bottom: 10px;
    line-height: 1.3;
}

/* TEXTO — MELHOR LEITURA */
.noticia-info p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;

    /* 👇 ISSO É O SEGREDO */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* limita linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;

    margin-bottom: 14px;
}

/* LINK */
.link-arrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--roxo-escuro);
    text-decoration: none;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--laranja);
    transform: translateX(4px);
}

/* =========================================
   NOTÍCIAS — LISTA (bloco por notícia)
   ========================================= */

.noticias-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    counter-reset: noticia-count;
}

/* CADA NOTÍCIA É UM BLOCO PRÓPRIO */
.noticia-item {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 32px 28px 36px;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--laranja);
    transition: var(--transition);
    counter-increment: noticia-count;
}

/* NÚMERO DECORATIVO */
.noticia-item::before {
    content: counter(noticia-count, decimal-leading-zero);
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--amarelo);
    opacity: .8;
    line-height: 1;
}

.noticia-item:hover {
    transform: translateX(6px) translateY(-2px);
    box-shadow: var(--shadow-pop);
    border-left-color: var(--roxo-escuro);
}

/* TAG DE DATA */
.noticia-item .noticia-data {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--laranja-dark);
    background: rgba(237,168,45,.14);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

/* TÍTULO */
.noticia-item h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 10px;
    padding-right: 50px; /* espaço pro número */
}

.noticia-item h3 a {
    color: var(--roxo-escuro);
    transition: var(--transition);
}
.noticia-item h3 a:hover {
    color: var(--laranja-dark);
}

/* TEXTO */
.noticia-item p {
    font-size: .92rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* RESPONSIVO — mobile */
@media (max-width: 640px) {
    .noticia-item {
        padding: 22px 20px 22px 22px;
        border-left-width: 4px;
    }
    .noticia-item::before {
        top: 18px;
        right: 18px;
        font-size: 1.2rem;
    }
    .noticia-item h3 {
        font-size: 1.05rem;
        padding-right: 40px;
    }
    .noticia-item:hover {
        transform: translateY(-2px);
    }
}

/* =========================================
   NEWSLETTER — LISTAGEM
   ========================================= */

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.newsletter-card {
    display: block;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.newsletter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-pop);
}

/* CAPA */
.newsletter-capa {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--roxo-claro), var(--amarelo));
    overflow: hidden;
}

.newsletter-capa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.newsletter-info {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-data {
    display: inline-block;
    width: fit-content;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--roxo-escuro);
    background: rgba(193,155,221,.25);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

.newsletter-info .link-arrow {
    color: var(--laranja-dark);
}

.newsletter-card:hover .link-arrow {
    color: var(--roxo-escuro);
}

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

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

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

/* --- MASCOTE HERO --- */
.mascote-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mascote-hero {
  width: 360px;
  max-width: 100%;
  filter: drop-shadow(0 16px 40px rgba(67,29,80,.35));
  animation: flutuar 3.5s ease-in-out infinite;
}
@keyframes flutuar {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* --- LOGO ICON NO HEADER --- */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  .mascote-hero { width: 240px; }
  .logo-icon { width: 28px; height: 28px; }
}

/* RESPONSIVO */
@media (min-width: 768px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* =========================================
   FOOTER MODERNO
   ========================================= */

.footer-modern {
    background: #1a0a22;
    padding: 70px 0 24px;
    border-top: 1px solid rgba(255,255,255,.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255,255,255,.55);
    max-width: 380px;
    font-size: .92rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: var(--laranja);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a,
.footer-column span {
    color: rgba(255,255,255,.55);
    font-size: .9rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255,255,255,.35);
    font-size: .82rem;
}

.footer-signature {
    color: rgba(255,255,255,.22);
    font-size: .75rem;
    letter-spacing: .03em;
    transition: var(--transition);
}

.footer-signature:hover {
    color: rgba(255,255,255,.45);
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   ÁREAS DO CURSO
========================================= */

.areas-section {
    padding: 80px 20px;
}

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

.area-card {
    background: rgba(255,255,255,.6);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(67,29,80,.08);

    border-radius: var(--radius-lg);

    padding: 32px;

    box-shadow: var(--shadow-soft);

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.area-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-pop);
}

.area-icon {
    font-size: 2.8rem;

    margin-bottom: 18px;
}

.area-card h2 {
    margin-bottom: 14px;

    color: var(--roxo-escuro);

    font-size: 1.7rem;
}

.area-card p {
    color: var(--text-mid);

    margin-bottom: 20px;
}

.area-card ul {
    margin-bottom: 28px;

    padding-left: 18px;
}

.area-card li {
    margin-bottom: 8px;

    color: var(--text-dark);
}

.area-card .btn {
    width: fit-content;
}

/* Abertura mais compacta na página inicial */
.hero {
    min-height: auto;
    padding-block: clamp(40px, 5vw, 64px);
}

/* =========================================
   IDENTIDADE VISUAL — LOGO DO MENU
   ========================================= */

.logo.logo-idv {
    position: relative;
    display: block;
    width: 180px;
    height: 36px;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-idv .logo-idv-img {
    position: absolute;
    width: 236px;
    max-width: none;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* =========================================
   IDENTIDADE VISUAL — ABERTURAS INTERNAS
   ========================================= */

section.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(36px, 5vw, 56px) 20px;
}

/* Mantém o texto à frente das ilustrações */
section.page-hero > * {
    position: relative;
    z-index: 1;
}

/* Ilustrações decorativas nas laterais */
section.page-hero::before,
section.page-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    top: 50%;
    width: clamp(130px, 17vw, 220px);
    height: clamp(130px, 17vw, 220px);
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

/* Microscópio à esquerda */
section.page-hero::before {
    left: clamp(12px, 3vw, 48px);
    background-image:
        url("../assets/idv/microscopio-creme.png");
}

/* Frutos à direita */
section.page-hero::after {
    right: clamp(12px, 3vw, 48px);
    background-image:
        url("../assets/idv/frutos-branco.png");
}


/* =========================================
   AJUSTES PARA TELAS MENORES
   ========================================= */

@media (max-width: 900px) {
    section.page-hero::before,
    section.page-hero::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .logo.logo-idv {
        width: 156px;
        height: 32px;
    }

    .logo-idv .logo-idv-img {
        width: 204px;
    }
}

/* Cabeçalho das ações de 2026 */
#acoes-2026 .cabecalho-2026 {
    text-align: center;
    margin-bottom: 36px;
}

#acoes-2026 .ano-destaque {
    display: block;
    color: var(--amarelo);
    font-size: clamp(3.2rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

#acoes-2026 .ano-subtitulo {
    display: block;
    color: var(--bege);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.3;
}

#acoes-2026 .ano-descricao {
    color: var(--bege);
    max-width: 620px;
    margin: 16px auto 0;
    font-size: 1rem;
    line-height: 1.7;
}
/* Banner de apresentação do cardápio */
.cardapio-banner {
    margin: 0 0 32px;
}

.cardapio-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.cardapio-banner figcaption {
    margin-top: 8px;
    padding-inline: 4px;
    color: var(--roxo-escuro);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 600px) {
    .cardapio-banner {
        margin-bottom: 24px;
    }

    .cardapio-banner img {
        border-radius: 10px;
    }

    .cardapio-banner figcaption {
        text-align: left;
    }
}
/* =========================================
   MASCOTE — CENÁRIO E LINKS
   ========================================= */

.hero .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    z-index: 2;
}

.universo-cea {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
}

/* Área de composição */
.mascote-cenario {
    position: relative;
    display: grid;
    place-items: center;
    height: 340px;
    isolation: isolate;
}

/* Forma orgânica atrás do personagem */
.mascote-fundo {
    position: absolute;
    width: 78%;
    height: 82%;
    background: rgba(193, 155, 221, 0.22);
    border: 1px solid rgba(255, 245, 222, 0.18);
    border-radius: 44% 56% 61% 39% / 48% 41% 59% 52%;
    transform: rotate(-8deg);
    z-index: 0;
}

/* Mascote central */
.mascote-personagem {
    position: relative;
    display: block;
    width: min(74%, 320px);
    height: auto;
    max-height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(30, 10, 40, 0.25));
    animation: flutuar 5s ease-in-out infinite;
    z-index: 2;
}

/* Elementos da identidade visual */
.mascote-elemento {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.85;
    z-index: 1;
}

.mascote-microscopio {
    top: 24px;
    left: 0;
    transform: rotate(-14deg);
}

.mascote-frutos {
    right: 0;
    bottom: 35px;
    transform: rotate(12deg);
}

/* Links abaixo do personagem */
.mascote-atalhos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.mascote-atalho {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 17px 16px;
    border: 1px solid rgba(255, 245, 222, 0.3);
    border-radius: 16px;
    background: rgba(255, 245, 222, 0.08);
    color: var(--bege);
    text-align: left;
    text-decoration: none;
    transition:
        background-color 0.2s,
        border-color 0.2s,
        transform 0.2s;
}

.mascote-atalho .atalho-tema {
    color: var(--amarelo);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

.mascote-atalho .atalho-titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--bege);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.45;
}

.mascote-atalho:hover {
    background: rgba(255, 245, 222, 0.15);
    border-color: var(--amarelo);
    transform: translateY(-3px);
}

.mascote-atalho:focus-visible {
    outline: 3px solid var(--amarelo);
    outline-offset: 4px;
}

/* Mantém a abertura com altura ajustada ao conteúdo */
.hero {
    min-height: auto;
    column-gap: 24px;
    padding-block: clamp(40px, 5vw, 64px);
}

/* Versão compacta abaixo do texto em telas menores */
@media (max-width: 899px) {
    .hero .hero-visual {
        margin-top: 24px;
    }

    .universo-cea {
        max-width: 360px;
    }

    .mascote-cenario {
        height: 240px;
    }

    .mascote-personagem {
        width: 220px;
        max-height: 225px;
    }

    .mascote-elemento {
        display: none;
    }

    .mascote-atalhos {
        margin-top: 8px;
        gap: 10px;
    }

    .mascote-atalho {
        padding: 14px 12px;
    }
}

/* Respeita a preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
    .mascote-personagem {
        animation: none;
    }

    .mascote-atalho {
        transition: none;
    }

    .mascote-atalho:hover {
        transform: none;
    }
}
/* Mantém o mascote parado */
.mascote-personagem {
    animation: none;
}
/* Apresentação do Juca */
.mascote-cenario {
    padding-top: 58px;
    height: 398px;
    box-sizing: border-box;
}

.juca-fala {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    margin: 0;
    padding: 12px 20px;
    border-radius: 18px;
    background: var(--bege);
    color: var(--roxo-escuro);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 6px 18px rgba(30, 10, 40, 0.15);
    z-index: 3;
}

/* Pontinha do balão */
.juca-fala::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--bege);
    transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 899px) {
    .mascote-cenario {
        height: 298px;
    }

    .juca-fala {
        font-size: 0.95rem;
        padding: 11px 16px;
    }
}
