/* Agro Curió - CSS Estático (Substituindo Tailwind)
   Otimizado para performance e corrigido para centralizar a capa
*/

/* --- RESET & BASE --- */
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: #f9fafb;
    color: #1f2937;
    height: 100%; /* Para o footer ficar embaixo na 404 */
}

/* --- VARIÁVEIS DE COR --- */
:root {
    --brand-50: #fff7ed;
    --brand-100: #ffedd5;
    --brand-500: #f97316;
    --brand-600: #ea580c;
    --brand-900: #7c2d12;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --whatsapp-green: #25d366; /* Cor oficial do WhatsApp */
    --whatsapp-dark: #128c7e;
}

/* --- UTILITÁRIOS --- */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { background: none; cursor: pointer; font-family: inherit; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.cursor-pointer { cursor: pointer; }

/* Container Responsivo */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; padding-right: 2rem; padding-left: 2rem; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* --- NAVEGAÇÃO --- */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-img { height: 3rem; width: auto; object-fit: contain; }
.logo-text {
    font-weight: 700;
    font-size: 1.125rem; /* Ajustado para 1.125rem */
    color: var(--brand-600);
    display: none;
    line-height: 1.2;
}
@media (min-width: 768px) { .logo-text { display: block; } }

/* Menu Desktop */
.desktop-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 768px) { .desktop-menu { display: flex; } }

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--brand-500); }

.btn-cta {
    background-color: var(--brand-500);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-cta:hover { background-color: var(--brand-600); }

/* Menu Mobile */
.mobile-toggle {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 1.5rem;
}
.mobile-toggle:hover { color: var(--brand-500); }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

.mobile-menu-panel {
    background-color: var(--white);
    border-top: 1px solid var(--gray-100);
}
.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
}
.mobile-link:hover { background-color: var(--brand-100); }
.mobile-link.highlight {
    color: var(--brand-600);
    font-weight: 700;
    background-color: var(--brand-50);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
@media (min-width: 1024px) { .hero { padding-top: 8rem; padding-bottom: 6rem; } }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}
@media (min-width: 1024px) { .hero-content { padding: 0 2rem; } }

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; line-height: 1; } }
.text-brand { color: var(--brand-500); }

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    max-width: 42rem;
    line-height: 1.75rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
@media (min-width: 640px) { 
    .hero-btns { 
        flex-direction: row; 
        justify-content: center;
    } 
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}
.btn-hero-primary { background-color: var(--brand-500); color: var(--white); }
.btn-hero-primary:hover { background-color: var(--brand-600); }

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-hero-secondary:hover { background-color: rgba(255, 255, 255, 0.3); }

/* --- SEÇÕES --- */
.section { padding-top: 4rem; padding-bottom: 4rem; }
.bg-white { background-color: var(--white); }
.bg-brand-light { background-color: var(--brand-50); }
.bg-gray-light { background-color: var(--gray-50); }

.section-header { text-align: center; margin-bottom: 3rem; }
.subtitle {
    color: var(--brand-600);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}
.title {
    margin-top: 0.5rem;
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}
@media (min-width: 640px) { .title { font-size: 2.25rem; } }
.desc {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-500);
    font-size: 1.25rem;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-responsive {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .grid-responsive { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-responsive { grid-template-columns: repeat(3, 1fr); } }

/* Cards de Serviço */
.card-service {
    background-color: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-top: 4px solid var(--brand-500);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.card-service:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.card-service:hover .icon-circle {
    background-color: var(--brand-500);
    color: var(--white);
}
.card-service:hover .card-title { color: var(--brand-600); }
.card-service:hover .arrow-icon { transform: translateX(4px); }

.icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--brand-100);
    color: var(--brand-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.card-desc { color: var(--gray-600); margin-bottom: 1rem; }
.card-cta {
    color: var(--brand-600);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}
.arrow-icon { margin-left: 0.5rem; transition: transform 0.3s; }

/* Cards de Especialidades */
.card-spec {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-100);
    transition: all 0.2s;
    cursor: pointer;
}
.card-spec:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.card-spec:hover .icon-circle-sm { background-color: var(--brand-500); color: var(--white); }
.card-spec:hover .spec-title { color: var(--brand-600); }

.spec-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.icon-circle-sm {
    width: 3rem; height: 3rem;
    background-color: var(--brand-100);
    color: var(--brand-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
}
.spec-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); transition: color 0.3s; }
.spec-text { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1rem; }
.spec-cta { display: flex; justify-content: flex-end; }

/* Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-card {
    position: relative;
    height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    cursor: pointer;
}
.gallery-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem;
    transition: opacity 0.3s;
}
.gallery-title { color: var(--white); font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.gallery-link { color: var(--gray-300); display: flex; align-items: center; transition: color 0.3s; }
.gallery-card:hover .gallery-link { color: var(--white); }

/* Equipe */
.team-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.team-card {
    width: 100%;
    max-width: 20rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    text-align: center;
    padding-bottom: 1.5rem;
}
.team-img-wrap { height: 16rem; overflow: hidden; background-color: var(--gray-200); }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-info { padding: 1rem; }
.team-name { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.team-role { color: var(--brand-600); font-weight: 500; margin-bottom: 0.5rem; }
.team-crmv { font-size: 0.875rem; color: var(--gray-500); }

/* Localização */
.loc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }

.loc-info h3 { font-size: 1.875rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1.5rem; }
.loc-img-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    height: 16rem;
}
.loc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.loc-list { display: flex; flex-direction: column; gap: 1rem; color: var(--gray-600); }
.loc-list li { display: flex; align-items: flex-start; }
.loc-list i { color: var(--brand-500); font-size: 1.25rem; margin-top: 0.25rem; margin-right: 0.75rem; }

.map-placeholder {
    width: 100%; height: 16rem;
    background-color: var(--gray-100);
    border-radius: 0.75rem;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border: 2px dashed var(--gray-300);
    box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06);
}
.map-btn {
    background-color: var(--brand-500);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.map-btn:hover { background-color: var(--brand-600); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* Formulário */
.contact-form-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    padding: 2rem;
    border-top: 4px solid var(--brand-500);
}
.contact-form-card h4 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.25rem; }
.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    background-color: var(--gray-50);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.form-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); }
.btn-submit {
    width: 100%;
    background-color: var(--brand-500);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.btn-submit:hover { background-color: var(--brand-600); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* Footer */
.footer { background-color: var(--gray-900); color: var(--white); padding-top: 3rem; padding-bottom: 1.5rem; }

.footer-container {
    max-width: 1280px; /* Largura máxima para centralizar */
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center; /* Centraliza tudo no mobile */
}

@media (min-width: 768px) { 
    .footer-grid { 
        grid-template-columns: repeat(3, 1fr); 
        text-align: left; /* Reseta alinhamento no desktop */
    } 
}

.footer-col-left {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza no mobile */
}
@media (min-width: 768px) { .footer-col-left { align-items: flex-start; } } /* Alinha à esquerda no desktop */

.footer-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza no mobile */
}
@media (min-width: 768px) { .footer-col-right { align-items: flex-end; } } /* Alinha à direita no desktop */


.footer h5 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

.social-links { display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { color: var(--gray-400); font-size: 1.5rem; transition: color 0.2s; }
.social-links a:hover { color: var(--brand-500); }

.btn-whatsapp-sm {
    background-color: var(--green-600);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    transition: background-color 0.3s;
    text-decoration: none; /* Garante que não tenha sublinhado */
}
.btn-whatsapp-sm:hover { background-color: var(--green-700); }

.copyright { border-top: 1px solid var(--gray-800); padding-top: 1.5rem; text-align: center; color: var(--gray-500); font-size: 0.875rem; }

/* MODALS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-content {
    background-color: var(--white);
    border-radius: 1rem;
    width: 100%;
    max-width: 48rem;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal-header {
    background-color: var(--brand-500);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.75rem; }
.modal-close { color: var(--white); font-size: 1.25rem; padding: 0.5rem; border-radius: 9999px; }
.modal-close:hover { background-color: rgba(255,255,255,0.2); }
.modal-body { padding: 2rem; overflow-y: auto; }
.modal-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
@media (min-width: 768px) { .modal-list { grid-template-columns: repeat(2, 1fr); } }
.modal-list li {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-100);
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
}
.modal-cta {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--gray-100);
    padding-top: 1.5rem;
}
.btn-modal-action {
    background-color: var(--green-500);
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.btn-modal-action:hover { background-color: var(--green-600); transform: translateY(-0.25rem); }

/* Modal Galeria */
.gallery-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    z-index: 50;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.gallery-body-container {
    padding-top: 6rem;
    padding-bottom: 3rem;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem; padding-right: 1rem;
}
.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) { .gallery-photos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-photos-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item-wrapper {
    aspect-ratio: 1 / 1;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--gray-100);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.gallery-item-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item-wrapper:hover img { transform: scale(1.1); }

/* --- PÁGINA 404 --- */
.page-error {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.error-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}
.error-content {
    width: 100%;
    max-width: 42rem;
    text-align: center;
}
.error-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.error-blob {
    position: absolute;
    inset: 0;
    background-color: var(--brand-100);
    border-radius: 50%;
    transform: rotate(3deg) scale(1.1);
    z-index: -1;
}
.error-img {
    width: 16rem;
    height: 16rem;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.error-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}
@media (min-width: 768px) { .error-title { font-size: 3rem; } }
.error-text { color: var(--brand-500); }
.error-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}
.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) { .error-actions { flex-direction: row; } }
.btn-outline {
    background-color: var(--white);
    color: var(--brand-600);
    border: 2px solid var(--brand-500);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.btn-outline:hover {
    background-color: var(--brand-50);
    transform: translateY(-2px);
}
.error-code {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}


/* --- SEÇÃO SOBRE NÓS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.about-img-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.about-img-wrapper img { width: 100%; height: auto; object-fit: cover; }

/* Pilares (Valores) */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
    background-color: var(--brand-50);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--brand-100);
    text-align: center;
    transition: transform 0.2s;
}
.pillar-card:hover { transform: translateY(-5px); }

.pillar-icon {
    font-size: 2rem;
    color: var(--brand-500);
    margin-bottom: 1rem;
    display: inline-block;
}

.pillar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 0.5rem;
}

.pillar-desc {
    font-size: 0.875rem;
    color: var(--brand-900); /* brand-900 para contraste no fundo claro */
    opacity: 0.8;
}

/* --- BOTÃO FLUTUANTE WHATSAPP (NOVO) --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp-green);
    color: white;
    width: 3.75rem; /* 60px */
    height: 3.75rem; /* 60px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
    color: white;
}

/* Animação de Pulse para chamar atenção */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* --- BLOG STYLES (NOVO) --- */

/* Layout do Blog */
.blog-header {
    background-color: var(--brand-50);
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
}

.blog-container {
    max-width: 56rem; /* Largura ideal para leitura */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Card do Artigo (Listagem ou Single) */
.article-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    margin-bottom: 3rem;
    transition: transform 0.2s;
}

.article-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Imagem de Destaque */
.article-image-wrapper {
    width: 100%;
    height: 24rem;
    overflow: hidden;
    position: relative;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.05);
}

/* Conteúdo do Artigo */
.article-content {
    padding: 2.5rem 2rem;
}

@media (max-width: 640px) {
    .article-content {
        padding: 1.5rem 1rem;
    }
    .article-image-wrapper {
        height: 16rem;
    }
}

/* Metadados (Data, Autor) */
.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.article-tag {
    background-color: var(--brand-100);
    color: var(--brand-900);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Tipografia do Artigo */
.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-body {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-600);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: var(--gray-900);
}

/* Destaque / Citação */
.article-highlight {
    background-color: var(--brand-50);
    border-left: 4px solid var(--brand-500);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-800);
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Navegação do Blog */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.btn-blog-nav {
    color: var(--brand-600);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- BLOG STYLES (NOVO & ATUALIZADO) --- */

/* Layout do Blog */
.blog-header {
    background-color: var(--brand-50);
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
}

.blog-container {
    max-width: 80rem; /* Aumentado para caber sidebar */
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .blog-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Coluna Principal (Posts) */
.blog-main {
    flex: 3;
    width: 100%;
}

/* Barra Lateral (Índice) */
.blog-sidebar {
    flex: 1;
    width: 100%;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 6rem; /* Fica fixo ao rolar */
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-100);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: block;
    color: var(--gray-600);
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: var(--brand-50);
    color: var(--brand-600);
    border-left-color: var(--brand-500);
}

.sidebar-link.active {
    background-color: var(--brand-50);
    color: var(--brand-600);
    font-weight: 600;
    border-left-color: var(--brand-500);
}

.sidebar-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    display: block;
    margin-bottom: 0.25rem;
}

/* Card de Resumo (Para a página blog.html) */
.post-summary-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

@media (min-width: 768px) {
    .post-summary-card {
        flex-direction: row;
        height: 16rem;
    }
}

.post-summary-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-summary-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .post-summary-img {
        width: 40%;
        height: 100%;
    }
}

.post-summary-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.post-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.post-summary-excerpt {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Estilos do Artigo Completo (Mantido) */
.article-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    margin-bottom: 3rem;
}

.article-image-wrapper {
    width: 100%;
    height: 24rem;
    overflow: hidden;
    position: relative;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 2.5rem 2rem;
}

@media (max-width: 640px) {
    .article-content {
        padding: 1.5rem 1rem;
    }
    .article-image-wrapper {
        height: 16rem;
    }
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.article-tag {
    background-color: var(--brand-100);
    color: var(--brand-900);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-body {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.article-body p { margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { font-size: 1.4rem; font-weight: 600; color: var(--brand-600); margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--gray-900); }

.article-highlight {
    background-color: var(--brand-50);
    border-left: 4px solid var(--brand-500);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-800);
    border-radius: 0 0.5rem 0.5rem 0;
}