/**
 * Consultório Veterinário Page Styles
 * 
 * @package TIBI_Pet_Universe
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tibi-vet-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tibi-teal) 0%, #00C7B1 100%);
}

.tibi-vet-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Quando tem imagem de fundo, remover gradiente do parent */
.tibi-vet-hero:has(.tibi-vet-hero-bg[style*="background-image"]) {
    background: transparent;
}

.tibi-vet-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 157, 171, 0.4) 0%, rgba(13, 122, 133, 0.5) 100%);
}

.tibi-vet-hero .container {
    position: relative;
    z-index: 1;
}

.tibi-vet-hero-content {
    max-width: 700px;
    padding: 4rem 0;
}

.tibi-vet-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.tibi-vet-hero-badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tibi-vet-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.tibi-vet-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tibi-vet-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tibi-vet-hero-actions .btn {
    background-color: #fff;
    color: var(--tibi-teal);
    border-color: #fff;
}

.tibi-vet-hero-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.bt-cta {
    padding: 5rem 0;
    background-color: var(--card);
}

.bt-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, #00c2ac 0%, #009e8a 100%);
    border-radius: calc(var(--radius) * 2);
    box-shadow: 0 25px 80px -20px rgba(0, 158, 138, 0.4);
}

.bt-cta-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.bt-cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.bt-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.bt-cta-actions .btn-primary {
    background-color: #fff;
    color: #00c2ac;
}

.bt-cta-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.bt-cta-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background-color: transparent;
}

.bt-cta-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}


/* ==========================================================================
   Mission Section
   ========================================================================== */
.tibi-vet-mission {
    padding: 5rem 0;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}

.tibi-vet-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.tibi-vet-mission-visual {
    position: relative;
}

.tibi-vet-image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--muted);
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.18);
}

.tibi-vet-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tibi-vet-mission-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -5px rgba(250, 35, 43, 0.4);
}

.tibi-vet-mission-badge svg {
    flex-shrink: 0;
}

.tibi-vet-mission-badge span {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.tibi-vet-mission-content .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(18, 157, 171, 0.1);
    border-radius: 2rem;
    color: var(--tibi-teal);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.tibi-vet-mission-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tibi-vet-mission-content p {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    margin: 0 0 1.5rem;
    line-height: 1.8;
}

.tibi-vet-mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tibi-vet-mission-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
}

.tibi-vet-mission-list li svg {
    flex-shrink: 0;
    color: var(--tibi-teal);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.tibi-vet-services {
    padding: 5rem 0;
    background-color: var(--background);
}

.tibi-vet-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tibi-vet-section-header .section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.tibi-vet-section-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.tibi-vet-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tibi-vet-service-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.tibi-vet-service-link:focus {
    outline: 3px solid rgba(18,157,171,0.28);
    outline-offset: 4px;
}
.tibi-vet-service-link .tibi-vet-service-card {
    cursor: pointer;
}
.tibi-vet-service-card {
    position: relative;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tibi-vet-service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.tibi-vet-service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.tibi-vet-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.tibi-vet-service-card:hover .tibi-vet-service-image img {
    transform: scale(1.08);
}

.tibi-vet-service-content {
    padding: 1.25rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tibi-vet-service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.tibi-vet-service-card p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Pharmacy Section
   ========================================================================== */
.tibi-vet-pharmacy {
    padding: 5rem 0;
    background-color: var(--card);
}

.tibi-vet-pharmacy-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.tibi-vet-pharmacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 213, 0, 0.15);
    border-radius: 2rem;
    color: #c9a800;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.tibi-vet-pharmacy-badge svg {
    width: 1.125rem;
    height: 1.125rem;
}

.tibi-vet-pharmacy-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.tibi-vet-pharmacy-content > p {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tibi-vet-pharmacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.875rem;
}

.tibi-vet-pharmacy-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--foreground);
    font-weight: 500;
}

.tibi-vet-pharmacy-list li svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--tibi-teal);
}

.tibi-vet-pharmacy-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.tibi-vet-pharmacy-icon-box {
    position: relative;
    z-index: 2;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #e6c000 100%);
    border-radius: 2rem;
    box-shadow: 0 16px 48px -8px rgba(255, 213, 0, 0.4);
}

.tibi-vet-pharmacy-icon-box svg {
    width: 4rem;
    height: 4rem;
    color: var(--foreground);
}

.tibi-vet-pharmacy-decoration {
    position: absolute;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 213, 0, 0.1) 0%, rgba(255, 213, 0, 0.05) 100%);
    border-radius: 50%;
    z-index: 1;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.tibi-vet-team {
    padding: 5rem 0;
    background-color: var(--background);
}

.tibi-vet-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tibi-vet-team-content .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(18, 157, 171, 0.1);
    border-radius: 2rem;
    color: var(--tibi-teal);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.tibi-vet-team-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tibi-vet-team-content p {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    margin: 0 0 2rem;
    line-height: 1.8;
}

.tibi-vet-team-stats {
    display: flex;
    gap: 2rem;
}

.tibi-vet-stat {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.tibi-vet-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tibi-teal);
    line-height: 1;
}

.tibi-vet-stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.tibi-vet-team-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    justify-self: end;
}

.tibi-vet-team-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: var(--tibi-teal);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -5px rgba(18, 157, 171, 0.4);
}

.tibi-vet-team-badge svg {
    flex-shrink: 0;
}

.tibi-vet-team-badge span {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.tibi-vet-team-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.tibi-vet-cta {
    padding: 5rem 0;
    background: #ec4130;
    text-align: center;
}

.tibi-vet-cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.tibi-vet-cta-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.tibi-vet-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tibi-vet-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tibi-vet-cta-buttons .btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tibi-vet-cta-buttons .btn-lg {
    background-color: #ffffff;
    color: var(--primary);
}

.tibi-vet-cta-buttons .btn-lg:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.tibi-vet-cta-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tibi-vet-cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .tibi-vet-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tibi-vet-hero-title {
        font-size: 2.5rem;
    }

    .tibi-vet-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tibi-vet-pharmacy-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tibi-vet-pharmacy-visual {
        display: none;
    }

    .tibi-vet-mission-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .tibi-vet-mission-icon {
        justify-self: center;
    }

    .tibi-vet-mission-visual {
        justify-self: center;
        max-width: 520px;
        order: -1;
    }

    .tibi-vet-mission-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -15px;
    }

    .tibi-vet-team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tibi-vet-team-visual {
        justify-self: center;
        max-width: 520px;
    }

    .tibi-vet-team-badge {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .tibi-vet-team-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tibi-vet-hero {
        min-height: 400px;
    }

    .tibi-vet-hero-content {
        padding: 3rem 0;
    }

    .tibi-vet-hero-title {
        font-size: 2rem;
    }

    .tibi-vet-hero-text {
        font-size: 1rem;
    }

    .tibi-vet-hero-actions {
        flex-direction: column;
    }

    .tibi-vet-mission {
        padding: 3rem 0;
    }

    .tibi-vet-mission-icon {
        width: 80px;
        height: 80px;
    }

    .tibi-vet-mission-icon svg {
        width: 40px;
        height: 40px;
    }

    .tibi-vet-mission-content h2 {
        font-size: 1.5rem;
    }

    .tibi-vet-services,
    .tibi-vet-pharmacy,
    .tibi-vet-team,
    .tibi-vet-cta {
        padding: 3.5rem 0;
    }

    .tibi-vet-section-header {
        margin-bottom: 2.5rem;
    }

    .tibi-vet-section-header .section-title {
        font-size: 1.75rem;
    }

    .tibi-vet-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tibi-vet-service-card {
        flex-direction: row;
        align-items: stretch;
    }

    .tibi-vet-service-image {
        width: 120px;
        flex-shrink: 0;
        aspect-ratio: 1;
    }

    .tibi-vet-service-content {
        text-align: left;
        padding: 1rem;
        justify-content: center;
    }

    .tibi-vet-pharmacy-content h2 {
        font-size: 1.5rem;
    }

    .tibi-vet-team-card {
        padding: 2rem 1.5rem;
    }

    .tibi-vet-team-icon {
        width: 80px;
        height: 80px;
    }

    .tibi-vet-team-icon svg {
        width: 36px;
        height: 36px;
    }

    .tibi-vet-team-card h2 {
        font-size: 1.5rem;
    }

    .tibi-vet-cta-content h2 {
        font-size: 1.75rem;
    }

    .tibi-vet-cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tibi-vet-hero-badge {
        font-size: 0.8125rem;
        padding: 0.375rem 0.875rem;
    }

    .tibi-vet-hero-title {
        font-size: 1.75rem;
    }

    .tibi-vet-pharmacy-list {
        gap: 0.75rem;
    }

    .tibi-vet-pharmacy-list li {
        font-size: 0.9375rem;
    }
}
