/* === CONFIGURAÇÃO E GLOBAIS === */
:root {
    --color-primary-dark: #0D1B2A;
    --color-secondary-blue: #2563EB;
    --color-primary-ocean-blue: #00357a;
    /* RGB: 37, 99, 235 */
    --color-secondary-blue-rgb: 37, 99, 235;
    /* Para o box-shadow com rgba */
    --color-accent-orange: #F59E0B;
    --color-text-light: #FFFFFF;
    --color-text-light-muted: #E2E8F0;
    --color-text-dark: #1E293B;
    --color-text-dark-muted: #64748B;
    --color-bg-light: #FFFFFF;
    --color-bg-alternative: #F8FAFC;
    --color-border-light: #E2E8F0;

    --font-primary: 'Inter', sans-serif;
    --container-width: 1340px;
    --spacing-unit: 1rem;
    /* 16px base */
    --header-height: 70px;
    --color-primary-dark-rgb: 13, 27, 42;
    --color-secondary-blue-rgb: 37, 99, 235;
    --color-secondary-blue-transparent: rgba(37, 99, 235, 0.3);
    --color-accent-orange-transparent: rgba(245, 158, 11, 0.7);

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --box-shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    /* Melhora renderização de fontes */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--spacing-unit) * 1.5);
    /* 24px */
    padding-right: calc(var(--spacing-unit) * 1.5);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--color-secondary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: #00dbb2;
}

ul {
    list-style: none;
}

.section-padding {
    padding-top: calc(var(--spacing-unit) * 4);
    /* 64px */
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    /* Responsivo */
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-unit);
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-dark-muted);
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bg-alternative {
    background-color: var(--color-bg-alternative);
}

.bg-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

.bg-dark .section-title,
.bg-dark .section-subtitle {
    color: var(--color-text-light);
}

.bg-dark .section-subtitle {
    color: var(--color-text-light-muted);
}


.text-center {
    text-align: center;
}

.text-light {
    color: var(--color-text-light) !important;
}

.text-light-muted {
    color: var(--color-text-light-muted) !important;
}

.small {
    font-size: 0.875rem;
}


/* === BOTÕES === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background-color: var(--color-primary-ocean-blue);
    color: var(--color-text-light);
    border-color: var(--color-primary-ocean-blue);
}

.btn--primary:hover {
    background-color: #00dbb2;
    /* Laranja mais escuro */
    border-color: #00dbb2;
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn--primary_cta {
    background-color: var(--color-primary-ocean-blue);
    color: var(--color-text-light);
    border-color: var(--color-primary-ocean-blue);
}

.btn--primary_cta:hover {
    background-color: #1a3552;
    /* Laranja mais escuro */
    border-color: #1a3552;
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border-light);
}

.header .btn--secondary {
    /* Específico para header claro */
    color: var(--color-text-dark);
    border-color: var(--color-border-light);
}

.header .btn--secondary:hover {
    background-color: var(--color-bg-alternative);
    border-color: var(--color-text-dark-muted);
    color: var(--color-text-dark);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.link-arrow {
    font-weight: 600;
    display: inline-block;
    margin-top: var(--spacing-unit);
}

.link-arrow .arrow {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.link-arrow:hover .arrow {
    transform: translateX(5px);
}


/* === HEADER === */
.header {
    background-color: var(--color-bg-light);
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.header__logo:hover {
    color: var(--color-secondary-blue);
}

.header__nav ul {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
}

.header__nav a {
    color: var(--color-text-dark-muted);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.header__nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--color-secondary-blue);
    transition: width 0.3s ease, left 0.3s ease;
}

.header__nav a:hover::after,
.header__nav a.active::after {
    width: 100%;
    left: 0;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--color-secondary-blue);
}

.header__actions {
    display: flex;
    gap: var(--spacing-unit);
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.header__menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-dark);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* === HERO SECTION === */


.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: clamp(2.1rem, 6vw, 3.0rem);
    font-weight: 800;
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    text-align: left;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-light-muted);
    margin-bottom: calc(var(--spacing-unit) * 2);
    max-width: 550px;
    text-align: left;
}

.hero__form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-unit);
    max-width: 500px;
}

.hero__form input[type="email"] {
    flex-grow: 1;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-medium);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

.hero__form input[type="email"]::placeholder {
    color: var(--color-text-light-muted);
}

.hero__form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary-ocean-blue);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(11, 27, 245, 0.164);
}

.hero__cta-secondary {
    display: inline-block;
    font-weight: 600;
    color: var(--color-primary-ocean-blue);
}

.hero__cta-secondary:hover {
    color: var(--color-text-light);
}


/* === FEATURES SECTION (Serviços) === */
.feature-item {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item__content {
    flex: 1 1 50%;
}

.feature-item__image {
    flex: 1 1 50%;
}

.feature-item__image img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
}

.feature-item--reverse {
    flex-direction: row-reverse;
}

.feature-item h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--spacing-unit);
    color: var(--color-primary-dark);
}

.feature-item p {
    color: var(--color-text-dark-muted);
    margin-bottom: var(--spacing-unit);
    max-width: 500px;
}

/* === SOLUTIONS SECTION === */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.solution-card {
    background-color: var(--color-bg-light);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.solution-card__icon-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-unit);
}

.solution-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--color-text-dark-muted);
}

/* === BLOG SECTION - MOSAIC STYLE (COLUNAS REVISADAS) === */
.blog-section-mosaic {
    /* .section-padding e .bg-alternative são aplicados via HTML */
}

.blog-intro {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.blog-mosaic-container {
    display: grid;
    /* Usaremos grid para o container geral */
    gap: calc(var(--spacing-unit) * 2.5);
}

/* Linha Superior do Mosaico */
.blog-mosaic-row-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Card destacado (60%) e card menor (40%) */
    /* Você pode ajustar a proporção 1.5fr 1fr para, por exemplo, 2fr 1fr se quiser o destacado ainda maior */
    gap: calc(var(--spacing-unit) * 2.5);
    align-items: stretch;
    /* Faz os cards da linha superior terem a mesma altura */
}

/* Card de Artigo em Destaque (Maior, à Esquerda) */
.blog-card-featured.mosaic-featured-main {
    position: relative;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* aspect-ratio: 16 / 10; */
    /* O alinhamento stretch com o vizinho ajudará na altura */
    min-height: 450px;
    /* Altura mínima para garantir destaque, ajuste conforme necessário */
    display: flex;
    /* Para o link ocupar todo o espaço */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card-featured.mosaic-featured-main:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(var(--color-primary-dark-rgb, 13, 27, 42), 0.15);
}

/* :root { --color-primary-dark-rgb: 13, 27, 42; } */


.blog-card-featured__link {
    /* Estilo já existente, pode ser mantido */
    display: block;
    width: 100%;
    height: 100%;
    color: var(--color-text-light);
    text-decoration: none;
}

.blog-card-featured__image-wrapper {
    /* Estilo já existente */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-card-featured__image-wrapper img {
    /* Estilo já existente */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card-featured:hover .blog-card-featured__image-wrapper img {
    /* Estilo já existente */
    transform: scale(1.08);
}

.blog-card-featured__content-overlay {
    /* Estilo já existente, ajuste padding se necessário */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2.25);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 25%, rgba(10, 20, 35, 0.75) 60%, rgba(10, 20, 35, 0.98) 100%);
    transition: background 0.4s ease;
}

.blog-card-featured:hover .blog-card-featured__content-overlay {
    /* Estilo já existente */
    background: linear-gradient(transparent 15%, rgba(10, 20, 35, 0.85) 55%, rgba(10, 20, 35, 1) 100%);
}

.blog-card__tag.featured-tag {
    /* Estilo já existente */
    background-color: var(--color-accent-orange);
    color: var(--color-text-light);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    margin-bottom: var(--spacing-unit);
    align-self: flex-start;
    display: inline-block;
}

.blog-card-featured__title {
    /* Estilo já existente, ajuste font-size se necessário */
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.blog-card-featured__excerpt {
    /* Estilo já existente */
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--color-text-light-muted);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-featured .link-arrow.white-arrow {
    /* Estilo já existente */
    color: var(--color-text-light);
    font-weight: 600;
}

.blog-card-featured .link-arrow.white-arrow:hover {
    color: var(--color-accent-orange);
}


/* Card Secundário Menor (à Direita do Destaque) */
.blog-card-secondary.mosaic-secondary-top-right {
    /* Herda estilos de .blog-card-secondary, mas pode ter ajustes específicos */
    /* O align-items: stretch no .blog-mosaic-row-top já vai tentar igualar a altura */
    /* Se a altura não igualar naturalmente, pode ser necessário um min-height aqui também,
       ou ajustar o conteúdo para que a altura seja similar ao card destacado.
       Outra opção é o card destacado ter uma altura fixa e este se adaptar.
       Por enquanto, vamos deixar o align-items: stretch agir. */
}

/* Grid para Artigos Secundários na Linha Inferior */
.blog-secondary-grid-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    /* margin-top já é controlado pelo gap do .blog-mosaic-container */
}

/* Estilos para .blog-card-secondary, .blog-card-secondary__image-link, etc.
   permanecem os mesmos da versão anterior, pois são os cards menores. */
.blog-card-secondary {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.09);
}

.blog-card-secondary__image-link {
    display: block;
    line-height: 0;
}

.blog-card-secondary__image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-secondary__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-secondary:hover .blog-card-secondary__image-wrapper img {
    transform: scale(1.06);
}

.blog-card-secondary__content {
    padding: calc(var(--spacing-unit) * 1.25);
    /* display: flex; */
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__tag {
    display: inline-block;
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--border-radius-small);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-secondary__title {
    font-size: 1.05rem;
    /* Reduzido um pouco para caber melhor */
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    flex-grow: 1;
}

.blog-card-secondary__title a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.blog-card-secondary__title a:hover {
    color: var(--color-secondary-blue);
}

.blog-card__meta {
    font-size: 0.8rem;
    color: var(--color-text-dark-muted);
    margin-top: auto;
}

.blog-view-all {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 3.5);
}

.blog-view-all .btn--secondary {
    border-color: var(--color-secondary-blue);
    color: var(--color-secondary-blue);
}

.blog-view-all .btn--secondary:hover {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
}


/* Responsividade para Blog Mosaic Section (Revisado com Colunas) */
@media (max-width: 992px) {

    /* Tablets */
    .blog-mosaic-row-top {
        grid-template-columns: 1fr;
        /* Empilha na linha superior: Destaque primeiro, depois o secundário do lado */
    }

    .blog-card-featured.mosaic-featured-main {
        min-height: 350px;
        /* Ajustar altura no tablet */
        aspect-ratio: 16 / 9;
    }

    /* O .blog-secondary-grid-bottom já é responsivo */
}

@media (max-width: 768px) {

    /* Mobile */
    .blog-mosaic-container {
        /* O gap do grid principal já cuida do espaçamento */
    }

    /* .blog-mosaic-row-top já está 1fr (empilhado) */
    .blog-card-featured.mosaic-featured-main {
        min-height: 300px;
        /* Ajustar altura no mobile */ 
        /* aspect-ratio: 5 / 3.5; */
        aspect-ratio: 3 / 3.5;
        /* Um pouco mais alto no mobile */
    }

    .blog-card-featured__content-overlay {
        padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 1.5);
    }

    .blog-card-featured__title {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    }

    .blog-card-featured__excerpt {
        -webkit-line-clamp: 2;
        font-size: 0.85rem;
        margin-bottom: var(--spacing-unit);
    }

    .blog-secondary-grid-bottom {
        grid-template-columns: 1fr;
        /* Cards secundários em uma coluna no mobile */
    }

    .blog-card-secondary.mosaic-secondary-top-right {
        /* Já será empilhado abaixo do principal devido ao grid-template-columns: 1fr do .blog-mosaic-row-top no mobile */
    }

    .blog-card-secondary__title {
        font-size: 1rem;
    }
}

/* === GROWTH STAGES SECTION (COM CREATIVE CARD V2) === */
.growth-stages-section {
    /* .section-padding e .bg-alternative são aplicados via HTML */
}

.growth-stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
}

.growth-stage-card.creative-card-v2 {
    position: relative;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3.2;
    display: flex;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.35s ease;
}

.growth-stage-card.creative-card-v2:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(var(--color-secondary-blue-rgb), 0.2),
        0 4px 10px rgba(var(--color-secondary-blue-rgb), 0.15);
}

.growth-stage-card.creative-card-v2 .growth-stage-card__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.growth-stage-card.creative-card-v2 .growth-stage-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.growth-stage-card.creative-card-v2:hover .growth-stage-card__image-wrapper img {
    transform: scale(1.12);
}

.growth-stage-card.creative-card-v2 .growth-stage-card__content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2);
    color: var(--color-text-light);
    background: linear-gradient(transparent 5%, rgba(10, 20, 35, 0.65) 30%, rgba(10, 20, 35, 0.90) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 55%;
    box-sizing: border-box;
    transition: background 0.4s ease;
}

.growth-stage-card.creative-card-v2:hover .growth-stage-card__content-overlay {
    background: linear-gradient(transparent 0%, rgba(10, 20, 35, 0.75) 25%, rgba(10, 20, 35, 0.98) 100%);
}

.growth-stage-card.creative-card-v2 h4 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.6);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
    line-height: 1.3;
}

.growth-stage-card.creative-card-v2 p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: calc(var(--spacing-unit) * 1.25);
    color: var(--color-text-light-muted);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    max-height: 4.5em;
    /* Aprox. 3 linhas */
    overflow: hidden;
}

.growth-stage-card.creative-card-v2 .link-arrow {
    color: #00dbb2;
    font-weight: 600;
    align-self: flex-start;
    margin-top: auto;
    text-shadow: none;
}

.growth-stage-card.creative-card-v2 .link-arrow:hover {
    color: var(--color-text-light);
}

.growth-stage-card.creative-card-v2 .link-arrow .arrow {
    transition: transform 0.2s ease-in-out;
}

.growth-stage-card.creative-card-v2 .link-arrow:hover .arrow {
    transform: translateX(5px) scale(1.1);
}

/* === CEO VIDEO SECTION === */
.ceo-video-section {
    /* .section-padding e .bg-alternative já são aplicados via HTML */
}

.ceo-video-layout {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3.5);
}

.ceo-video-column {
    flex: 1;
}

.youtube-embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
}

.youtube-embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ceo-video-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-unit);
    text-align: left;
}

.ceo-video-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--color-text-dark-muted);
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.ceo-video-cta.btn--secondary {
    color: var(--color-secondary-blue);
    border-color: var(--color-secondary-blue);
    font-weight: 600;
}

.ceo-video-cta.btn--secondary:hover {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    background-color: var(--color-bg-alternative);
    overflow-x: hidden;
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    margin: 0 calc(var(--spacing-unit) * 1);
}

.testimonial-card__image-wrapper {
    flex: 0 0 220px;
    min-height: 100%;
    position: relative;
}

.testimonial-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card__content {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2.5);
    display: flex;
    flex-direction: column;
}

.testimonial-card__quote {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--color-text-dark-muted);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-style: italic;
    flex-grow: 1;
    position: relative;
    padding-left: calc(var(--spacing-unit) * 2);
}

.testimonial-card__quote::before {
    content: '“';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3.5rem;
    color: var(--color-secondary-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card__author {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-top: var(--spacing-unit);
    border-top: 1px solid var(--color-border-light);
}

.testimonial-card__author h4 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.testimonial-card__author span {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
}

.testimonial-card__metrics {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-unit);
    background-color: var(--color-bg-alternative);
    padding: var(--spacing-unit);
    border-radius: var(--border-radius-small);
    margin-top: auto;
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    margin-bottom: 0.2rem;
}

.metric-value:E0E7FFains('-') {
    color: var(--color-accent-orange);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--color-text-dark-muted);
    line-height: 1.2;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--spacing-unit) * 2.5);
}

.carousel-btn {
    background-color: var(--color-bg-light);
    color: var(--color-secondary-blue);
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    box-shadow: 0 4px 8px rgba(var(--color-secondary-blue-rgb), 0.2);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.carousel-dots {
    display: flex;
    margin: 0 calc(var(--spacing-unit) * 1.5);
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border-light);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: var(--color-secondary-blue);
    transform: scale(1.2);
}

/* === PRICING SECTION === */
.pricing-section {
    background-color: var(--color-bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
    align-items: stretch;
}

.pricing-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-medium);
    padding: calc(var(--spacing-unit) * 2);
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card--featured {
    border: 2px solid var(--color-secondary-blue);
    box-shadow: 0 8px 25px rgba(var(--color-secondary-blue-rgb), 0.15);
    position: relative;
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.pricing-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    z-index: 1;
}

.pricing-card__header {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.pricing-card__name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.pricing-card--featured .pricing-card__name {
    color: var(--color-secondary-blue);
}

.pricing-card__description {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
    min-height: 2.7em;
}

.pricing-card__price {
    margin: var(--spacing-unit) 0;
    padding: var(--spacing-unit) 0;
    border-top: 1px dashed var(--color-border-light);
    border-bottom: 1px dashed var(--color-border-light);
}

.pricing-card__price .price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1;
}

.pricing-card--featured .pricing-card__price .price-value {
    color: var(--color-secondary-blue);
}

.pricing-card__price .price-cents {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: super;
}

.pricing-card__price .price-period {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
    display: block;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-align: left;
    flex-grow: 1;
}

.pricing-card__features li {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-bg-alternative);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.feature-icon {
    margin-right: 0.75rem;
    color: var(--color-secondary-blue);
    font-size: 1.1rem;
}

.feature-icon.highlight {
    color: var(--color-accent-orange);
}

.pricing-card__cta {
    width: 100%;
    margin-top: auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    font-size: 1rem;
}

.pricing-card .btn--secondary {
    border-color: var(--color-secondary-blue);
    color: var(--color-secondary-blue);
}

.pricing-card .btn--secondary:hover {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
}

/* === MODAL STYLES === */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-bg-light);
    margin: auto;
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideInModal 0.3s ease-out;
}

@keyframes slideInModal {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--color-text-dark-muted);
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-primary-dark);
}

.modal-title {
    font-size: 1.6rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--color-text-dark-muted);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    text-align: center;
}

.modal-form .form-group {
    margin-bottom: var(--spacing-unit);
}

.modal-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-form input[type="text"]:focus,
.modal-form input[type="email"]:focus,
.modal-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--color-secondary-blue);
    box-shadow: 0 0 0 2px rgba(var(--color-secondary-blue-rgb), 0.2);
}

.modal-submit-btn {
    width: 100%;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-messages {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
}

.form-messages.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.form-messages.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* === FAQ SECTION === */
.faq-section {
    background-color: var(--color-bg-alternative);
}

.faq-intro {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: var(--color-bg-light);
}

.faq-item {
    border-bottom: 1px solid var(--color-border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 1.5);
    background-color: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: var(--color-bg-alternative);
    outline: none;
}

.faq-question span:first-child {
    flex-grow: 1;
    padding-right: var(--spacing-unit);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-secondary-blue);
    border-radius: 2px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-icon::before {
    width: 16px;
    height: 3px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 3px;
    height: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding-left: calc(var(--spacing-unit) * 1.5);
    padding-right: calc(var(--spacing-unit) * 1.5);
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out;
    font-size: 0.98rem;
    color: var(--color-text-dark-muted);
    line-height: 1.7;
}

.faq-answer[hidden] {
    display: none;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

.faq-answer p {
    margin-bottom: var(--spacing-unit);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* === FOOTER === (Assumindo que você tem um rodapé similar) */
.footer {
    color: var(--color-text-light-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h5,
.footer-column h6 {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-unit);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: var(--color-text-light-muted);
    font-size: 0.95rem;
}

.footer-column ul a:hover {
    color: var(--color-accent-orange);
}

.footer__logo {
    font-size: 1.75rem !important;
    font-weight: 700;
}

.footer-bottom {
    padding-top: calc(var(--spacing-unit) * 2);
    text-align: center;
}


/* === MEDIA QUERIES (RESPONSIVIDADE) === */
@media (max-width: 992px) {

    /* Tablets e Desktops menores */
    .hero {
        padding: calc(var(--spacing-unit) * 4) 0 calc(var(--spacing-unit) * 6) 0;
        min-height: 500px;
        background-position: center center;
    }

    .hero__content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 90%;
    }

    .hero__title,
    .hero__subtitle,
    .hero__form {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-item,
    .feature-item--reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-item__content,
    .feature-item__image {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-item__image {
        margin-bottom: var(--spacing-unit);
    }

    .feature-item--reverse .feature-item__content {
        order: 2;
    }

    .feature-item--reverse .feature-item__image {
        order: 1;
    }

    .ceo-video-layout {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2.5);
    }

    .ceo-video-column {
        width: 100%;
    }

    .ceo-video-content {
        text-align: center;
    }

    .ceo-video-title {
        text-align: center;
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .ceo-video-text {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .ceo-video-cta {
        margin: 0 auto;
    }

    .growth-stages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: calc(var(--spacing-unit) * 2);
    }

    .pricing-card--featured {
        transform: scale(1);
    }

    .pricing-card--featured:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .header__nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-light);
        padding: var(--spacing-unit) 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--color-border-light);
    }

    .header__nav.header__nav--mobile {
        display: flex;
    }

    .header__nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .header__nav li {
        width: 100%;
        text-align: center;
    }

    .header__nav a {
        display: block;
        padding: var(--spacing-unit);
        border-bottom: 1px solid var(--color-border-light);
    }

    .header__nav li:last-child a {
        border-bottom: none;
    }

    .header__nav a::after {
        display: none;
    }

    .header__nav a:hover,
    .header__nav a.active {
        background-color: var(--color-bg-alternative);
    }

    .header__actions {
        display: none;
    }

    .header__actions--mobile-wrapper {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: var(--spacing-unit);
        background-color: var(--color-bg-light);
        border-top: 1px solid var(--color-border-light);
        width: 100%;
    }

    .header__actions--mobile-wrapper.active {
        display: flex;
    }

    .header__actions--mobile-wrapper .btn {
        width: 100%;
    }

    .header__menu-toggle {
        display: block;
    }

    .header__menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .header__menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .header__menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        min-height: 450px;
        padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 4) 0;
    }

    .hero__title {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__form {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__form input[type="email"] {
        margin-bottom: 0.75rem;
    }

    .hero__form button.btn {
        width: 100%;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .growth-stages-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

    .growth-stage-card.creative-card-v2 {
        aspect-ratio: 16 / 10;
    }

    .growth-stage-card.creative-card-v2 .growth-stage-card__content-overlay {
        padding: calc(var(--spacing-unit) * 1.5);
        min-height: 50%;
    }

    .growth-stage-card.creative-card-v2 h4 {
        font-size: 1.25rem;
    }

    .growth-stage-card.creative-card-v2 p {
        font-size: 0.85rem;
        max-height: 4.2em;
    }

    .testimonial-card {
        flex-direction: column;
        margin: 0 calc(var(--spacing-unit) * 0.5);
    }

    .testimonial-card__image-wrapper {
        display: none;
    }

    /* Oculta imagem no mobile */
    .testimonial-card__content {
        padding: calc(var(--spacing-unit) * 2);
    }

    .testimonial-card__quote {
        font-size: 1rem;
        padding-left: calc(var(--spacing-unit) * 1.5);
    }

    .testimonial-card__quote::before {
        font-size: 2.8rem;
        left: -2px;
        top: -8px;
    }

    .testimonial-card__author {
        margin-bottom: calc(var(--spacing-unit) * 1.5);
    }

    .testimonial-card__metrics {
        flex-wrap: wrap;
        padding: calc(var(--spacing-unit) * 1.25);
    }

    .metric-item {
        flex-basis: 48%;
        margin-bottom: var(--spacing-unit);
    }

    .metric-value {
        font-size: 1.2rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .carousel-navigation {
        margin-top: calc(var(--spacing-unit) * 2);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        margin-left: -17px;
    }

    .pricing-card {
        margin-bottom: var(--spacing-unit);
    }

    .pricing-card--featured {
        order: -1;
    }

    .modal-content {
        width: 95%;
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.25);
    }

    .faq-answer {
        font-size: 0.9rem;
        padding-left: calc(var(--spacing-unit) * 1.25);
        padding-right: calc(var(--spacing-unit) * 1.25);
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faq-icon::before {
        width: 14px;
        height: 2.5px;
    }

    .faq-icon::after {
        width: 2.5px;
        height: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {

    /* Ajustes finos para telas muito pequenas */
    .testimonial-card__content {
        padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.25);
    }

    .testimonial-card__quote {
        padding-left: var(--spacing-unit);
    }

    .testimonial-card__quote::before {
        font-size: 2.5rem;
        left: -5px;
    }

    .metric-item {
        flex-basis: 100%;
    }
}

/* === BLOG PAGE SPECIFIC STYLES === */

/* Blog Page Header */
.blog-page-header {
    /* background-color: var(--color-primary-dark); // Pode ser uma cor sólida */
    /* Ou um gradiente mais elaborado */
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-blue) 100%);
    color: var(--color-text-light);
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.bg-primary-dark-gradient {
    /* Classe para o gradiente específico */
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-blue) 100%);
}

.blog-page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    /* Garante que seja claro sobre o fundo escuro */
}

.blog-page-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--color-text-light-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Content Area */
.blog-content-area {
    background-color: var(--color-bg-light);
    /* Fundo principal da listagem */
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    /* Coluna de posts maior, sidebar menor */
    gap: calc(var(--spacing-unit) * 3);
    align-items: flex-start;
    /* Importante para o sticky funcionar corretamente */
}

/* Blog Posts Column */
.blog-posts-column {
    /* Ocupa o espaço do grid */
    min-width: 0;
}

.blog-post-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    overflow: hidden;
    display: flex;
    /* Para layout interno do card, se necessário (imagem ao lado do texto) */
    flex-direction: column;
    /* Imagem no topo, conteúdo abaixo como padrão */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-post-card__image-link img {
    width: 100%;
    height: auto;
    /* Ou defina um aspect-ratio e object-fit: cover */
    /* aspect-ratio: 16/9; */
    /* object-fit: cover; */
    display: block;
    border-bottom: 1px solid var(--color-border-light);
    /* Linha sutil se a imagem não cobrir tudo */
    transition: opacity 0.3s ease;
}

.blog-post-card__image-link:hover img {
    opacity: 0.85;
}

.blog-post-card__content {
    padding: calc(var(--spacing-unit) * 1.75);
}

.blog-post-card__meta {
    font-size: 0.85rem;
    color: var(--color-text-dark-muted);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
}

.blog-post-card__category-tag {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-small);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-post-card__date {
    /* Estilo já herdado de .blog-post-card__meta */
}

.blog-post-card__title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-unit);
}

.blog-post-card__title a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.blog-post-card__title a:hover {
    color: var(--color-secondary-blue);
}

.blog-post-card__excerpt {
    font-size: 0.98rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-unit);
    /* Limitar excerpt */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-post-card__readmore {
    color: var(--color-secondary-blue);
    font-weight: 600;
    margin-top: 0.5rem;
    /* Espaço acima do link */
    display: inline-block;
    /* Para o margin-top funcionar */
}

.blog-post-card__readmore:hover {
    color: var(--color-accent-orange);
}


/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--spacing-unit) * 3);
    gap: 0.5rem;
}

.page-numbers {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-small);
    color: var(--color-secondary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    border-color: var(--color-secondary-blue);
}

.page-numbers.disabled {
    color: var(--color-text-dark-muted);
    opacity: 0.6;
    pointer-events: none;
}

.page-numbers.dots {
    border: none;
    padding: 0.5rem 0.2rem;
}


/* Blog Sidebar */
.blog-sidebar {
    /* Ocupa o espaço do grid */
    width: 100%;
    /* Garante que ocupe a largura da coluna do grid */
    position: -webkit-sticky;
    /* Para Safari */
    position: sticky;
    top: calc(var(--header-height, 80px) + var(--spacing-unit) * 2);
    /* Posição de "grudar" */
    /* 
       --header-height: Defina uma variável CSS para a altura do seu header fixo.
                      Se o header não for fixo, pode ser apenas var(--spacing-unit) * 2.
       var(--spacing-unit) * 2: Um espaçamento extra do topo.
       Ajuste este valor 'top' conforme a altura do seu header e o espaçamento desejado.
    */
    max-height: calc(100vh - (var(--header-height, 80px) + var(--spacing-unit) * 3));
    /* Altura máxima para permitir scroll interno se a sidebar for maior que a tela */
    overflow-y: auto;
    /* Permite scroll dentro da sidebar se o conteúdo dela for maior que max-height */
    align-self: start;
    /* Garante que a sidebar comece do topo da sua célula no grid */
}

.sidebar-widget {
    background-color: var(--color-bg-alternative);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-medium);
    margin-bottom: calc(var(--spacing-unit) * 2);
    border: 1px solid var(--color-border-light);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

/* Search Form Widget */
.search-form {
    display: flex;
}

.search-form input[type="search"] {
    flex-grow: 1;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    font-size: 0.9rem;
    border-right: none;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--color-secondary-blue);
}

.search-form button[type="submit"] {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-form button[type="submit"]:hover {
    background-color: var(--color-accent-orange);
}

.search-form button[type="submit"] svg {
    display: block;
    /* Para centralizar melhor o SVG se necessário */
}


/* Category List Widget */
.category-list li {
    margin-bottom: 0.5rem;
}

.category-list li a {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.category-list li a:hover {
    color: var(--color-secondary-blue);
}

.category-list .count {
    color: var(--color-text-dark-muted);
    font-size: 0.85rem;
}

/* Recent Posts List Widget */
.recent-posts-list li {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--color-border-light);
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list li a {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
}

.recent-posts-list li a:hover {
    color: var(--color-secondary-blue);
}

/* Sidebar CTA Widget */
.sidebar-cta-widget {
    background-color: var(--color-secondary-blue);
    /* Cor de destaque */
    color: var(--color-text-light);
    text-align: center;
}

.sidebar-cta-widget .widget-title {
    color: var(--color-text-light);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-cta-widget p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-light-muted);
}

.sidebar-cta-widget .btn--primary.btn--small {
    background-color: var(--color-accent-orange);
    /* Ou var(--color-text-light) com texto escuro */
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.sidebar-cta-widget .btn--primary.btn--small:hover {
    background-color: #e88f0a;
    /* Laranja mais escuro */
}


/* Responsividade para Blog Page */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        /* Empilha no tablet/mobile */
    }

    .blog-sidebar {
        position: static;
        /* Remove o sticky */
        top: auto;
        max-height: none;
        overflow-y: visible;
        margin-top: calc(var(--spacing-unit) * 3);
    }

}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        /* Empilha no mobile */
    }

    .blog-sidebar {
        margin-top: calc(var(--spacing-unit) * 3);
        /* Espaço acima da sidebar quando empilhada */
    }

    .blog-post-card {
        /* Para o mobile, o card pode ser mais simples se desejado,
           ou pode ter a imagem menor ao lado do texto.
           A configuração atual (imagem no topo) já funciona bem. */
    }

    .blog-page-title {
        font-size: 2.2rem;
    }

    .blog-page-subtitle {
        font-size: 1.1rem;
    }
}