/* Reset e Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #F7931E;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-light: #E8E8E8;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Layout Compacto */
.sec_hero {
    padding-top: 4rem;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    min-height: 80vh;
    position: relative;
}

.sec_hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(247, 147, 30, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 65vh;
    padding: 1.5rem 0;
}

.hero_left {
    animation: slideInUp 0.8s ease-out;
}

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

.hero_texto {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-span-2 {
    color: var(--primary-orange);
    position: relative;
}

.text-span-2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.hero_paragraph {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 3rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 10px;
    border-left: 3px solid var(--primary-orange);
    box-shadow: 0 6px 18px var(--shadow);
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero_paragraph b {
    color: var(--text-dark);
    font-weight: 600;
}

.hero__right {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero__right::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.4; }
}

.hero__right img {
    position: absolute;
    width: 280px;
    /*height: 280px;*/
    /*border-radius: 50%;*/
    /*object-fit: cover;*/
    opacity: 0;
    transition: opacity 0.6s ease;
    /*box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);*/
    /*border: 3px solid var(--white);*/
    z-index: 2;
}

.hero__right img.active {
    opacity: 1;
}

.top-shape {
    width: 100%;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* Seção de Conteúdo Compacta */
.sec_content {
    padding: 2.5rem 0;
    background: var(--white);
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.left_content {
    position: relative;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-static {
    width: 100%;
}

.right_content {
    background: var(--dark-gray);
    padding: 1.8rem;
    border-radius: 12px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.right_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.h2_head {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.h2_head.white {
    color: var(--white);
}

.h2_head.orange {
    color: var(--primary-orange);
    font-weight: 800;
}

.paragraph-text {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.paragraph-text.white {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.margim-top-medium {
    margin-top: 0.8rem;
}

/* Grid de Veterinários Compacto */
.sec_about-grid {
    margin-top: 40px;
    padding: 2rem 0;
    background: #FAFAFA;
}

.about-vet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    margin-top: 2rem;
}

.card-vet {
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.card-vet:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.card-foto {
    height: auto !important;
}

.card-foto img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.card-vet:hover .card-foto img {
    transform: scale(1.1);
}

.card-infos-vet {
    align-items: center;
}

.name-veterinaria {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.text-vet {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Seção CelesPro */
.bloco-celes-pro {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    padding: 2rem 0;
    color: var(--white);
    text-align: center;
}

/* Seção de Exames Compacta */
.sec_exames {
    padding: 2.5rem 0;
    background: var(--white);
    position: relative;
}

.exames {
    margin-bottom: 1.8rem;
}

.exame-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.margim-top-large {
    margin-top: 1.5rem;
}

.exame-content-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: #FAFAFA;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.exame-content-item:hover {
    background: var(--white);
    border-left-color: var(--primary-orange);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateX(6px);
}

.exame-content-item img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.exame-content-item:hover img {
    opacity: 1;
    filter: hue-rotate(20deg) brightness(1.2);
}

.text_simples {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.image-4 {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.1;
    width: 70px;
    height: 70px;
}

.detalhe {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.1;
    width: 70px;
    height: 70px;
}

.icon-labcelles {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.1;
    width: 50px;
    height: 50px;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.image-9 {
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-wrapper {
    position: relative;
}

.navbar {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.box_slide2 {
    height: 200px;
    padding: 1.5rem 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .sec_hero {
        padding-top: 4rem;
    }

    .box_slide2 {
        height: 235px;
}
    
    .hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero_texto {
        font-size: 1.8rem;
    }
    
    .hero__right {
        height: 280px;
    }
    
    .hero__right::before {
        width: 260px;
        height: 260px;
    }
    
    .hero__right img {
        width: 220px;
        height: 220px;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exame-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .about-vet {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .h2_head {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero_texto {
        font-size: 1.6rem;
    }
    
    .hero_paragraph {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .hero__right {
        height: 220px;
    }
    
    .hero__right img {
        width: 180px;
        height: 180px;
    }
    
    .right_content {
        padding: 1.2rem;
    }
    
    .sec_content,
    .sec_exames {
        padding: 2rem 0;
    }
    
    .sec_about-grid {
        padding: 1.5rem 0;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estados de foco para acessibilidade */
.card-vet:focus-within,
.exame-content-item:focus-within,
.box_slide:focus-within {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}