/*
Theme Name:   Astra Child
Template:     astra
Version:      1.0.0
*/

/* ===== CARDS MISSÃO VISÃO VALORES ===== */
.carmatti-mvv {
    display: flex;
    gap: 24px;
    justify-content: center;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.carmatti-card {
    background-color: #faf8f5;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    padding: 36px 28px;
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 360px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.carmatti-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.carmatti-icon {
    background-color: #f0ebe3;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.carmatti-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.carmatti-card p {
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.7;
    margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .carmatti-mvv {
        gap: 16px;
        padding: 32px 16px;
    }

    .carmatti-card {
        flex: 1 1 calc(50% - 16px);
        min-width: unset;
        max-width: unset;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .carmatti-mvv {
        flex-direction: column;
        padding: 24px 1px;
        gap: 16px;
    }

    .carmatti-card {
        flex: unset;
        width: 100%;
        min-width: unset;
        max-width: unset;
    }
}

/* ===== TESTIMONIALS ===== */
.carmatti-testimonials {
    padding: 60px 20px;
    background-color: transparent !important;
}

.carmatti-testi-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.carmatti-testi-card {
    background-color: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    padding: 32px 28px;
    flex: 1 1 280px;
    max-width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carmatti-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.carmatti-testi-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.carmatti-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #c9a96e;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carmatti-testi-header strong {
    display: block;
    font-size: 15px;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.carmatti-stars {
    color: #c9a96e;
    font-size: 14px;
    letter-spacing: 2px;
}

.carmatti-testi-card p {
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* Tablet */
@media (max-width: 900px) {
    .carmatti-testi-card {
        flex: 1 1 calc(50% - 24px);
        max-width: unset;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .carmatti-testi-grid {
        flex-direction: column;
    }

    .carmatti-testi-card {
        flex: unset;
        width: 100%;
        max-width: unset;
    }
}

/* ===== BLOG HOME ===== */
.carmatti-blog {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.carmatti-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

/* Card destaque ocupa a coluna da esquerda inteira */
.carmatti-blog-featured {
    grid-row: 1 / 3;
}

.carmatti-blog-card {
    background-color: #faf8f5;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carmatti-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.carmatti-blog-thumb {
    width: 100%;
    overflow: hidden;
}

.carmatti-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.carmatti-blog-featured .carmatti-blog-thumb {
    height: 280px;
}

.carmatti-blog-card:not(.carmatti-blog-featured) .carmatti-blog-thumb {
    height: 160px;
}

.carmatti-blog-card:hover .carmatti-blog-thumb img {
    transform: scale(1.04);
}

.carmatti-blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.carmatti-blog-date {
    font-size: 12px;
    color: #c9a96e;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.carmatti-blog-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
    line-height: 1.4;
}

.carmatti-blog-featured .carmatti-blog-content h3 {
    font-size: 22px;
}

.carmatti-blog-content p {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.carmatti-blog-link {
    font-size: 13px;
    color: #c9a96e;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.carmatti-blog-link:hover {
    opacity: 0.7;
}

/* Tablet */
@media (max-width: 768px) {
    .carmatti-blog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .carmatti-blog-featured {
        grid-row: auto;
    }

    .carmatti-blog-featured .carmatti-blog-thumb,
    .carmatti-blog-card:not(.carmatti-blog-featured) .carmatti-blog-thumb {
        height: 200px;
    }
}

/* ===== BLOG VAZIO ===== */
.carmatti-blog-vazio {
    padding: 60px 20px;
    text-align: center;
}

.carmatti-blog-vazio-content {
    max-width: 400px;
    margin: 0 auto;
    background-color: #faf8f5;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    padding: 48px 32px;
}

.carmatti-blog-vazio-content span {
    font-size: 36px;
    display: block;
    margin-bottom: 16px;
}

.carmatti-blog-vazio-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.carmatti-blog-vazio-content p {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.7;
    margin: 0;
}

/* ===== BLOG PAGE ===== */
.cj-blog-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.cj-blog-hero {
    text-align: center;
    padding: 60px 20px 48px;
    border-bottom: 1px solid #e8e0d5;
    margin-bottom: 48px;
    padding-top: 200px;
}

.cj-blog-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 12px;
}

.cj-blog-titulo {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    letter-spacing: -1px;
}

.cj-blog-sub {
    font-size: 16px;
    color: #888;
    margin: 0;
}

/* Post destaque */
.cj-post-destaque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8e0d5;
    text-decoration: none;
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #faf8f5;
}

.cj-post-destaque:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}

.cj-post-destaque-img {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.cj-post-destaque-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cj-post-destaque:hover .cj-post-destaque-foto {
    transform: scale(1.04);
}

.cj-post-destaque-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
}

.cj-post-sem-foto {
    background: linear-gradient(135deg, #e8e0d5, #faf8f5);
}

.cj-post-destaque-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.cj-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cj-post-badge {
    background: #c9a96e;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.cj-post-data {
    font-size: 13px;
    color: #aaa;
    letter-spacing: 0.5px;
}

.cj-post-destaque-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.cj-post-destaque-resumo {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.cj-post-ler {
    font-size: 13px;
    color: #c9a96e;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.cj-post-destaque:hover .cj-post-ler {
    opacity: 0.7;
}

/* Grid cards */
.cj-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.cj-post-card {
    background: #faf8f5;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cj-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.cj-post-card-img {
    height: 200px;
    overflow: hidden;
}

.cj-post-card-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cj-post-card:hover .cj-post-card-foto {
    transform: scale(1.04);
}

.cj-post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.cj-post-card-titulo {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.cj-post-card-resumo {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Paginação */
.cj-paginacao {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.cj-paginacao .page-numbers {
    padding: 8px 16px;
    border: 1px solid #e8e0d5;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.cj-paginacao .page-numbers.current,
.cj-paginacao .page-numbers:hover {
    background: #c9a96e;
    border-color: #c9a96e;
    color: #fff;
}

/* Blog vazio */
.cj-blog-vazio {
    text-align: center;
    padding: 80px 20px;
    background: #faf8f5;
    border-radius: 16px;
    border: 1px solid #e8e0d5;
}

.cj-blog-vazio span {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.cj-blog-vazio h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cj-blog-vazio p {
    color: #888;
    font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .cj-blog-titulo { font-size: 32px; }

    .cj-post-destaque {
        grid-template-columns: 1fr;
    }

    .cj-post-destaque-img {
        min-height: 220px;
    }

    .cj-post-destaque-body {
        padding: 28px 24px;
    }

    .cj-post-destaque-titulo {
        font-size: 22px;
    }

    .cj-post-grid {
        grid-template-columns: 1fr;
    }
}


#masthead {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(6px);
}

/* ===========================
   PÁGINA SOBRE
=========================== */

.sobre-page {
    overflow-x: hidden;
}

.sobre-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.sobre-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 12px;
}

.sobre-eyebrow--light {
    color: #e8d5a3;
}

.sobre-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.sobre-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
}

/* HERO */
.sobre-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d1117 50%, #1a1208 100%);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.sobre-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 70% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 60%);
}

.sobre-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.sobre-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    padding-top: 280px;
}

.sobre-hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.sobre-hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    line-height: 1.7;
    margin: 0;
}

/* HISTÓRIA */
.sobre-historia {
    padding: 100px 0;
}

.sobre-historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sobre-historia-img-placeholder {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8e0d5 0%, #f5f0e8 50%, #c9a96e22 100%);
    position: relative;
    overflow: hidden;
}

.sobre-historia-img-placeholder::after {
    content: '💎';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.sobre-historia-texto h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 24px;
}

.sobre-historia-texto p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.sobre-historia-texto p:last-child {
    margin-bottom: 0;
}

/* FILOSOFIA */
.sobre-filosofia {
    padding: 100px 0;
    background: #faf8f5;
}

.sobre-mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sobre-mvv-card {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-mvv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.sobre-mvv-icon {
    width: 56px;
    height: 56px;
    background: #f0ebe3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.sobre-mvv-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.sobre-mvv-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* PROCESSO */
.sobre-processo {
    padding: 100px 0;
}

.sobre-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sobre-timeline-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sobre-timeline-num {
    font-size: 48px;
    font-weight: 800;
    color: #c9a96e;
    opacity: 0.4;
    line-height: 1;
    font-family: serif;
}

.sobre-timeline-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.sobre-timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* DIFERENCIAIS */
.sobre-diferenciais {
    padding: 100px 0;
    background: #faf8f5;
}

.sobre-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sobre-diff-card {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.sobre-diff-num {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #c9a96e;
    margin-bottom: 12px;
    line-height: 1;
}

.sobre-diff-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.sobre-diff-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .sobre-diferenciais {
        padding: 40px 0;
    }

    .sobre-diff-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sobre-diff-card {
        padding: 28px 20px;
    }

    .sobre-section-header h2 {
        font-size: 22px;
        word-break: normal;
    }
}

/* CTA */
.sobre-cta {
    position: relative;
    padding: 120px 24px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d1117 50%, #1a1208 100%);
    overflow: hidden;
}

.sobre-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
}

.sobre-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.sobre-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.sobre-cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.sobre-cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.sobre-cta-btn {
    display: inline-block;
    background: #c9a96e;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.sobre-cta-btn:hover {
    background: #b8925a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* TABLET */
@media (max-width: 900px) {
    .sobre-hero-content h1 { font-size: 38px; }
    .sobre-historia-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-historia-img-placeholder { height: 300px; }
    .sobre-mvv { grid-template-columns: 1fr; }
    .sobre-timeline { grid-template-columns: repeat(2, 1fr); }
    .sobre-diff-grid { grid-template-columns: 1fr; }
    .sobre-section-header h2 { font-size: 28px; }
}

/* MOBILE */
@media (max-width: 600px) {
    .sobre-hero-content h1 { font-size: 28px; }
    .sobre-hero-content p { font-size: 15px; }
    .sobre-hero { min-height: 400px; }
    .sobre-historia { padding: 60px 0; }
    .sobre-filosofia { padding: 60px 0; }
    .sobre-processo { padding: 60px 0; }
    .sobre-diferenciais { padding: 60px 0; }
    .sobre-timeline { grid-template-columns: 1fr; }
    .sobre-cta-content h2 { font-size: 28px; }
    .sobre-cta { padding: 80px 24px; }
}