/* Backgrounds e Gradientes */
.gradient-bg {
    background: linear-gradient(135deg, #001f36 0%, #003366 100%);
}

/* Cards com efeito hover */
.card-hover {
    transition: all 0.3s ease;
    background-color: #111111;
    color: #ffffff;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Seção com efeito de fade */
.section-fade {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Texto com gradiente escuro */
.text-gradient {
    background: linear-gradient(135deg, #000000, #001f36);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botões com gradiente e efeito hover */
.btn-gradient {
    background: linear-gradient(135deg, #001f36, #003366);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #000000, #001f36);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   Landing page — bloco de conteúdo (Resumo do Projeto em diante)
   Design unificado: fundo neutro único, um só acento (navy da marca),
   tipografia, cartões e espaçamento consistentes. Sem fundos pastel
   por seção e sem emojis como ícones.
   ============================================================ */
.lp-content {
    background: #f5f7fa;
    padding: 72px 20px;
}

.lp-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Cabeçalho de seção padronizado: eyebrow + título + linha de apoio */
.lp-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f3460;
    margin-bottom: 10px;
}

.lp-heading {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 700;
    color: #0f2438;
    margin: 0 0 14px;
    line-height: 1.2;
}

.lp-lead {
    color: #4b5563;
    font-size: 1.03rem;
    line-height: 1.75;
    margin: 0;
    max-width: 72ch;
}

/* Cartão branco padrão (uma borda sutil + sombra leve, nunca os dois pesados) */
.lp-card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-left: 4px solid #0f3460;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 1px 3px rgba(16, 33, 62, 0.05);
}

/* Grade de subcards (Solução, Impacto) */
.lp-grid {
    display: grid;
    gap: 20px;
    margin-top: 26px;
}
.lp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid--2 { grid-template-columns: repeat(2, 1fr); }

.lp-subcard {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-subcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 33, 62, 0.08);
    border-color: #c9d3e3;
}
.lp-subcard-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f2438;
    margin: 0 0 8px;
}
.lp-subcard-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Pequeno acento no lugar do emoji */
.lp-accent {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0f3460, #16213e);
    margin-bottom: 16px;
}

/* Faixa de métricas (Problema) */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.lp-stat {
    text-align: center;
    padding: 22px 18px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #f9fbfd;
}
.lp-stat-num {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 700;
    color: #0f3460;
    line-height: 1;
}
.lp-stat-label {
    display: block;
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Seção de mídia */
.lp-media-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    margin-top: 26px;
}
.lp-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 33, 62, 0.14);
}
.lp-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.lp-tag {
    display: inline-block;
    background: #eaf0f8;
    color: #0f3460;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.lp-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 52, 96, 0.28);
}

/* Encerramento forte: CTA da Nerd Zone em fundo escuro */
.lp-cta {
    background: linear-gradient(135deg, #0f2438, #0f3460);
    border: none;
    border-radius: 16px;
    padding: 52px 36px;
    text-align: center;
}
.lp-cta .lp-eyebrow { color: #7fb0e6; }
.lp-cta .lp-heading { color: #ffffff; }
.lp-cta .lp-lead {
    color: #c7d3e2;
    max-width: 640px;
    margin: 0 auto 26px;
}
.lp-cta .lp-accent { margin-left: auto; margin-right: auto; }
.lp-cta .lp-btn { background: #ffffff; color: #0f3460; }
.lp-cta .lp-btn:hover { background: #eaf0f8; }

/* Responsividade do bloco de conteúdo */
@media (max-width: 860px) {
    .lp-grid--3,
    .lp-grid--2,
    .lp-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lp-content { padding: 48px 16px; }
    .lp-card { padding: 24px; }
    .lp-stats { grid-template-columns: 1fr; }
    .lp-cta { padding: 40px 24px; }
}

/* ============================================================
   Formato de blog / revista (Resumo do Projeto em diante)
   ============================================================ */

/* Cabeçalho do blog */
.blog-masthead {
    text-align: center;
    margin-bottom: 8px;
}
.blog-masthead .lp-heading { margin-bottom: 10px; }
.blog-masthead-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Linha de metadados (categoria · autor · tempo de leitura) */
.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.blog-meta .lp-eyebrow { margin-bottom: 0; }
.blog-meta-item { color: #6b7280; font-weight: 600; }
.blog-meta-dot { color: #c9d3e3; }

/* Artigo em destaque (Resumo do Projeto) */
.blog-featured { border-left-width: 4px; }
.blog-featured-title {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.35rem);
    font-weight: 700;
    color: #0f2438;
    line-height: 1.18;
    margin: 0 0 14px;
}

/* Simulação de um boletim gerado pela plataforma (documento) */
.bulletin-preview {
    margin-top: 28px;
    border: 1px solid #dbe2ec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 33, 62, 0.10);
    background: #ffffff;
}
.bulletin-preview-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0f2438, #0f3460);
    color: #ffffff;
}
.bulletin-preview-badge {
    background: #f4b740;
    color: #0f2438;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 6px;
}
.bulletin-preview-title { font-weight: 700; font-size: 0.95rem; }
.bulletin-preview-body { padding: 22px; }
.bulletin-preview-lead {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 18px;
}

/* Gráficos */
.blog-chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.blog-chart-card {
    margin: 0;
    background: #f9fbfd;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    padding: 14px 16px;
}
.blog-chart-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f2438;
    margin-bottom: 10px;
}
.blog-chart-canvas {
    position: relative;
    height: 160px;
}

/* Stat tiles do boletim de exemplo */
.bulletin-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.bp-stat {
    text-align: center;
    background: #f9fbfd;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    padding: 14px 8px;
}
.bp-stat-num {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f3460;
    line-height: 1.1;
}
.bp-stat-label {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.3;
}

/* Recomendações do boletim de exemplo */
.bulletin-preview-recs { margin-top: 20px; }
.bulletin-preview-recs-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f3460;
}
.bulletin-preview-recs ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.bulletin-preview-recs li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}
.bulletin-preview-recs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0f3460;
    font-weight: 700;
}

/* Grade de artigos (Problema, Solução, Impacto) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.blog-article-title {
    font-family: "Ubuntu", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2438;
    margin: 6px 0 10px;
    line-height: 1.25;
}
.blog-article-text {
    color: #4b5563;
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}
.blog-article-text .text-green-800 { color: #0f3460; font-weight: 700; }

/* Par de métricas dentro do card do Problema */
.blog-stat-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.blog-stat-pair .bp-stat-num { font-size: 1.6rem; }

/* Lista compacta (itens da Solução e do Impacto) */
.blog-mini-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.blog-mini-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 14px;
}
.blog-mini-list li:last-child { margin-bottom: 0; }
.blog-mini-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, #0f3460, #16213e);
}
.blog-mini-title {
    display: block;
    color: #0f2438;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 3px;
}
.blog-mini-text {
    display: block;
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Responsividade do blog */
@media (max-width: 860px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-chart-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .bulletin-preview-stats { grid-template-columns: 1fr; }
    .bulletin-preview-body { padding: 16px; }
}

/* ============================================================
   Layout editorial (Resumo do Projeto em diante)
   Sem cards: seções full-bleed alternando cor de fundo,
   hierarquia por escala tipográfica.
   ============================================================ */

/* Faixa full-bleed: ocupa toda a largura; o conteúdo vive numa
   coluna de leitura centralizada. */
.ed-band {
    width: 100%;
    padding: clamp(56px, 9vw, 128px) 24px;
    overflow-x: clip; /* nada vaza para os lados; o vertical segue normal */
}
.ed-band--white { background: #ffffff; color: #1a2230; }
.ed-band--paper { background: #f4f1ea; color: #1a2230; }
.ed-band--dark  { background: #0f2438; color: #eaf0f8; }

.ed-wrap { max-width: 760px; margin: 0 auto; }
.ed-wrap--wide { max-width: 1060px; }
.ed-wrap--center { text-align: center; }

/* --- Escala tipográfica (a estrutura) --- */
.ed-kicker {
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0f3460;
    margin: 0 0 18px;
}
.ed-band--dark .ed-kicker { color: #7fb0e6; }

.ed-index {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    line-height: 1;
    color: rgba(15, 52, 96, 0.16);
    margin-bottom: 6px;
}
.ed-band--dark .ed-index { color: rgba(255, 255, 255, 0.20); }

.ed-headline {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #0f2438;
    margin: 0 0 26px;
}
.ed-band--dark .ed-headline { color: #ffffff; }

.ed-lead {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 1.6;
    color: #3a4353;
    margin: 0 0 22px;
    max-width: 62ch;
}
.ed-band--dark .ed-lead { color: rgba(234, 240, 248, 0.86); }

/* Capitular na abertura do artigo */
.ed-lead--drop::first-letter {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 3.4em;
    line-height: 0.72;
    float: left;
    margin: 0.06em 0.12em 0 0;
    color: #0f3460;
}

.ed-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #3f4756;
    margin: 0 0 18px;
    max-width: 66ch;
}
.ed-band--dark .ed-body { color: rgba(234, 240, 248, 0.82); }
.ed-body:last-child { margin-bottom: 0; }

/* --- Números-display (métricas do Problema) --- */
.ed-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(32px, 6vw, 84px);
    margin-top: 48px;
}
.ed-stat-num {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(3.4rem, 9vw, 6rem);
    line-height: 0.9;
    color: #0f3460;
}
.ed-stat-label {
    display: block;
    margin-top: 12px;
    max-width: 24ch;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.45;
}
.ed-band--dark .ed-stat-num { color: #ffffff; }
.ed-band--dark .ed-stat-label { color: rgba(234, 240, 248, 0.6); }

/* --- Lista editorial (Solução, Impacto): índice + filete, sem caixa --- */
.ed-entries { margin-top: 40px; }
.ed-entry {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px clamp(20px, 4vw, 48px);
    padding: 30px 0;
    border-top: 1px solid rgba(15, 36, 56, 0.14);
}
.ed-entry:last-child { border-bottom: 1px solid rgba(15, 36, 56, 0.14); }
.ed-band--dark .ed-entry,
.ed-band--dark .ed-entry:last-child { border-color: rgba(255, 255, 255, 0.16); }

.ed-entry-num {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.1;
    color: rgba(15, 52, 96, 0.4);
}
.ed-band--dark .ed-entry-num { color: rgba(127, 176, 230, 0.7); }

.ed-entry-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.2;
    color: #0f2438;
    margin: 0 0 8px;
}
.ed-band--dark .ed-entry-title { color: #ffffff; }
.ed-entry-text {
    margin: 0;
    color: #3f4756;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 58ch;
}
.ed-band--dark .ed-entry-text { color: rgba(234, 240, 248, 0.8); }

/* --- Exhibit de dados (boletim de exemplo, faixa escura) --- */
.ed-dispatch-line {
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(234, 240, 248, 0.6);
    margin: 0 0 18px;
}
.ed-dispatch-line b { color: #f4b740; font-weight: 800; margin-right: 8px; }

.ed-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 44px);
    margin-top: 44px;
    min-width: 0;
}
.ed-chart-figure { margin: 0; min-width: 0; }
.ed-chart-cap {
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(234, 240, 248, 0.6);
    margin-bottom: 14px;
}
.ed-chart { position: relative; width: 100%; min-width: 0; height: 190px; }
.ed-chart canvas { max-width: 100% !important; }

.ed-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 64px);
    margin-top: 48px;
}
.ed-metric-num {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 0.9;
    color: #ffffff;
}
.ed-metric-label {
    display: block;
    margin-top: 10px;
    color: rgba(234, 240, 248, 0.6);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ed-recs {
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.ed-recs-label {
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7fb0e6;
}
.ed-recs ul { list-style: none; padding: 0; margin: 16px 0 0; }
.ed-recs li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: rgba(234, 240, 248, 0.85);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 64ch;
}
.ed-recs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 14px;
    height: 2px;
    background: #f4b740;
}

/* --- Mídia (vídeo + texto, sem caixa) --- */
.ed-media {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    margin-top: 40px;
}
.ed-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(16, 33, 62, 0.18);
}
.ed-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ed-tag {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f3460;
    margin-bottom: 14px;
}

/* --- Lista de imprensa (matérias) --- */
.ed-press { margin-top: clamp(40px, 6vw, 64px); }
.ed-press-label {
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f3460;
    margin: 0 0 6px;
}
.ed-press-list { list-style: none; margin: 0; padding: 0; }
.ed-press-list li { border-top: 1px solid rgba(15, 36, 56, 0.14); }
.ed-press-list li:last-child { border-bottom: 1px solid rgba(15, 36, 56, 0.14); }
.ed-press-list a {
    display: grid;
    grid-template-columns: minmax(120px, 158px) 1fr auto;
    align-items: baseline;
    gap: 4px 28px;
    padding: 22px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.ed-press-list a:hover { opacity: 0.72; }
.ed-press-source {
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f3460;
}
.ed-press-title {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    font-weight: 500;
    line-height: 1.3;
    color: #0f2438;
}
.ed-press-list a:hover .ed-press-title { text-decoration: underline; }
.ed-press-list a::after {
    content: '\2197';
    font-size: 1.1rem;
    color: #0f3460;
    align-self: center;
}

@media (max-width: 600px) {
    .ed-press-list a { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 0; }
    .ed-press-source { grid-column: 1 / -1; }
}

/* --- Botão editorial (link com sublinhado animado) --- */
.ed-link {
    display: inline-block;
    margin-top: 26px;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #0f3460;
    border-bottom: 2px solid currentColor;
    padding-bottom: 3px;
    transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}
.ed-link::after { content: ' \2192'; }
.ed-link:hover { opacity: 0.7; letter-spacing: 0.06em; }
.ed-band--dark .ed-link { color: #ffffff; }

/* --- Responsividade --- */
/* Divisor fino no topo (no lugar do antigo bloco bege) */
.ed-band--topline { border-top: 1px solid rgba(15, 36, 56, 0.12); }

/* Resumo (esquerda) + Quem somos (direita) */
.ed-split {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.ed-split-main { min-width: 0; }
.ed-split-aside { min-width: 0; }

/* --- Carrossel automático da equipe (Quem somos) --- */
.team-rail-label {
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0f3460;
    margin: 0 0 22px;
}
.team-rail {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.team-rail-track {
    display: flex;
    width: max-content;
    animation: team-marquee 28s linear infinite;
}
.team-rail:hover .team-rail-track { animation-play-state: paused; }
.team-rail-group {
    display: flex;
    gap: 26px;
    padding-right: 26px;
    flex: 0 0 auto;
}
@keyframes team-marquee {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.team-slide {
    flex: 0 0 auto;
    width: 148px;
    margin: 0;
    text-align: center;
}
.team-photo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(15, 52, 96, 0.18);
    background: #eef2f7;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #0f2438;
    margin-bottom: 4px;
}
.team-role {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.35;
}

/* Respeita quem prefere menos movimento: pausa e permite rolar */
@media (prefers-reduced-motion: reduce) {
    .team-rail-track { animation: none; }
    .team-rail { overflow-x: auto; }
}

@media (max-width: 820px) {
    .ed-charts,
    .ed-media { grid-template-columns: 1fr; }
    .ed-entry { grid-template-columns: 1fr; gap: 4px; }
    .ed-entry-num { font-size: 1.4rem; }
    .ed-split { grid-template-columns: 1fr; }
    .ed-split-aside { margin-top: 8px; }
}

@media (max-width: 600px) {
    .ed-band { padding-left: 20px; padding-right: 20px; }
    .ed-recs li { max-width: none; }
    .ed-stat-row { gap: 28px 40px; margin-top: 36px; }
    .ed-metrics { gap: 28px 40px; }
    .team-slide { width: 132px; }
    .team-photo { width: 84px; height: 84px; }
}

/* Reset e configuração global */
html { overflow-x: hidden; }
body {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden; /* evita rolagem horizontal acidental no mobile */
}

/* Container principal */
.env-reports-container {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Wrapper das seções */
.env-reports-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Seções individuais */
.env-report-section {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: env-fadeInUp 0.6s ease-out;
}

.env-report-section:nth-child(2) {
    animation-delay: 0.2s;
}

.env-report-section:nth-child(3) {
    animation-delay: 0.4s;
}

/* Barra animada no topo das seções */
.env-report-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f3460, #16213e, #0f3460);
    background-size: 200% 100%;
    animation: env-shimmer 3s ease-in-out infinite;
}

@keyframes env-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* Hover nas seções */
.env-report-section:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.2);
}

/* Título das seções */
.env-report-title {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.env-report-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0f3460, #16213e);
    border-radius: 2px;
}

/* Descrição */
.env-report-description {
    font-size: 0.95rem;
    color: #4a4a4a;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.5;
}

/* Lista de recursos/features */
.env-report-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.env-report-feature {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 12px 30px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid #0f3460;
    color: #2a2a2a;
    font-size: 0.9rem;
}

.env-report-feature:hover {
    background: rgba(15, 52, 96, 0.2);
    transform: translateX(5px);
}

.env-report-feature::before {
    content: '✓';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f3460;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Botão */
.env-report-btn {
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: block;
    text-align: center;
    width: 100%;
}

.env-report-btn:hover {
    background: linear-gradient(135deg, #16213e, #0f3460);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 52, 96, 0.3);
}

.env-report-btn:active {
    transform: translateY(0);
}

/* Animação de fade-in */
@keyframes env-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------ RESPONSIVIDADE COMPLETA ------------------ */

/* Tablets grandes e médios */
@media (max-width: 1200px) {
    .env-reports-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 35px 20px;
    }
}

/* Tablets pequenos e phablets */
@media (max-width: 992px) {
    .env-reports-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
    }
}

/* Celulares grandes */
@media (max-width: 768px) {
    .env-report-section {
        padding: 25px;
    }

    .env-report-title {
        font-size: 1.5rem;
    }

    .env-report-description {
        font-size: 0.9rem;
    }

    .env-report-feature {
        padding: 10px 10px 10px 25px;
        font-size: 0.85rem;
    }
}

/* Celulares médios */
@media (max-width: 576px) {
    .env-report-section {
        padding: 20px;
    }

    .env-report-title {
        font-size: 1.4rem;
    }

    .env-report-description {
        font-size: 0.85rem;
    }

    .env-report-feature {
        padding: 8px 8px 8px 22px;
        font-size: 0.8rem;
    }
}

/* Celulares pequenos */
@media (max-width: 400px) {
    .env-report-section {
        padding: 18px;
    }

    .env-report-title {
        font-size: 1.3rem;
    }

    .env-report-description {
        font-size: 0.8rem;
    }

    .env-report-feature {
        padding: 6px 6px 6px 20px;
        font-size: 0.75rem;
    }

    .env-report-btn {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}
