/* ---- CONFIGURAÇÕES GERAIS E VARIÁVEIS ---- */
:root {
    --primary-color: #2E4F4F; /* Verde escuro (Vet House) */
    --secondary-color: #F8F4E1; /* Bege (Vet House) */
    --accent-color: #0E8388; /* Verde mais claro para destaque */
    --text-color: #333;
    --white-color: #FFFFFF;
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
    padding-top: 82px; /* Espaço para o header fixo */
}

/* ---- CABEÇALHO E NAVEGAÇÃO ---- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-logo img {
    max-height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.vethouse-link {
    background-color: rgba(46, 79, 79, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9em;
}

.vethouse-link i {
    font-size: 0.8em;
    margin-left: 5px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* ---- SEÇÕES GERAIS ---- */
.content-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0.5rem auto 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.cta-button {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* ---- SEÇÃO HERO ---- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* ---- SERVIÇOS (Home e Página dedicada) ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* ---- POR QUE ESCOLHER (Home) ---- */
.why-us-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.why-us-content { flex: 1; }
.why-us-content p { margin: 1rem 0 1.5rem; }

.why-us-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.why-us-content li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.why-us-content li i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.why-us-image { flex: 1; }
.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---- BLOG PREVIEW (Home) ---- */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.blog-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h4, .blog-card p {
    padding: 0 1.5rem;
}

.blog-card h4 {
    margin-top: 1rem;
}

.blog-card .learn-more {
    padding: 1rem 1.5rem;
}

/* ---- FOOTER ---- */
footer {
    background-color: var(--primary-color);
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--white-color);
    font-family: var(--font-headings);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a, .footer-col p {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 1rem;
    text-align: center;
    font-size: 0.9em;
}

/* ---- ESTILOS DE PÁGINAS INTERNAS ---- */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/images/hero-background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.page-header h1 {
    font-family: var(--font-headings);
    font-size: 3rem;
}

/* Página Sobre */
.about-story-section { display: flex; align-items: center; gap: 3rem; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; }
.about-content { flex: 1.5; text-align: left;}
.mission-section { display: flex; gap: 2rem; text-align: center; background: var(--secondary-color); padding: 4rem 2rem; border-radius: 10px; margin-top: 4rem; }
.mission-card { flex: 1; padding: 1rem; }
.mission-card i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }

/* Página Serviços */
.service-detail-section { display: flex; align-items: center; gap: 3rem; padding: 4rem 0; text-align: left; }
.service-detail-section:not(:last-child) { border-bottom: 1px solid #eee; }
.service-detail-section.reverse { flex-direction: row-reverse; }
.service-detail-content { flex: 1; }
.service-detail-content h2 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem;}
.service-detail-content h2 i { margin-right: 10px; color: var(--accent-color); }
.service-detail-content ul { list-style: none; margin: 1.5rem 0; }
.service-detail-content ul li { margin-bottom: 0.5rem; }
.service-detail-content ul li i { color: var(--accent-color); margin-right: 10px; }
.service-detail-image { flex: 1; }
.service-detail-image img { width: 100%; border-radius: 10px; }

/* Página e Artigos do Blog */
.blog-layout { display: flex; gap: 3rem; align-items: flex-start; }
.blog-main-content { flex: 3; }
.blog-sidebar { flex: 1; position: sticky; top: 120px; }
.blog-post-card { display: flex; gap: 1.5rem; margin-bottom: 3rem; text-align: left; }
.blog-post-card img { width: 250px; height: 180px; object-fit: cover; border-radius: 8px; }
.post-category { background: var(--accent-color); color: white; padding: 3px 8px; font-size: 0.8em; border-radius: 4px; display: inline-block; }
.blog-post-content h3 { margin: 0.5rem 0; }
.sidebar-widget { background: #f9f9f9; padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; text-align: left; }
.sidebar-widget h4 { margin-bottom: 1rem; }
.sidebar-widget input { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li a { text-decoration: none; color: var(--text-color); }
.lead-magnet { background: var(--primary-color); color: white; text-align: center; }
.lead-magnet a { margin-top: 1rem; }
.article-layout { max-width: 800px; text-align: left; }
.article-header { text-align: center; margin-bottom: 2rem; }
.post-meta { color: #777; font-size: 0.9em; }
.article-featured-image img { width: 100%; border-radius: 10px; margin-bottom: 2rem; }
.article-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.article-cta { background: var(--secondary-color); padding: 2rem; border-radius: 10px; text-align: center; margin-top: 3rem; }

/* Página de Contato */
.contact-layout { display: flex; gap: 3rem; align-items: flex-start; }
.contact-info { flex: 1; }
.contact-form-container { flex: 1.5; background: #f9f9f9; padding: 2rem; border-radius: 10px; }
.info-item { display: flex; align-items: flex-start; text-align: left; gap: 1rem; margin-bottom: 1.5rem; }
.info-item i { font-size: 1.5rem; color: var(--accent-color); margin-top: 5px; }
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem; border-radius: 5px; border: 1px solid #ccc; font-family: var(--font-main); }
#contact-form button { width: 100%; }

/* ANIMAÇÕES */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SEÇÃO DE CTA FINAL */
.final-cta-section {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
    text-align: center;
}

.final-cta-section h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.final-cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.final-cta-section .cta-button {
    margin: 0 10px;
}

/* BOTÃO FLUTUANTE (CORRIGIDO) */
.floating-action-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1010;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2.5s infinite;
}

.fab-button:hover {
    transform: scale(1.1);
    animation: none; /* Pausa a animação no hover */
}

.fab-button .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 14px;
}

.fab-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* BOTÕES DO RODAPÉ (CORRIGIDO) */
.footer-col .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.footer-col .social-icons a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.8rem; /* Tamanho maior para destaque */
    transition: all 0.3s ease;
}

.footer-col .social-icons a:hover {
    color: var(--white-color);
    transform: translateY(-3px);
}


/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .about-story-section, .service-detail-section, .service-detail-section.reverse, .blog-layout, .contact-layout, .why-us-section {
        flex-direction: column;
    }
    .blog-sidebar { position: static; }
    .text-left { text-align: center; }
}

@media (max-width: 768px) {
    body { padding-top: 82px; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 82px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero-content h1 { font-size: 2.5rem; }
    .blog-post-card { flex-direction: column; }
    .blog-post-card img { width: 100%; }
}