/**
 * Sanvita Laboratório - Estilos Globais
 * @author     Ana Apolinário (https://anaapolinario.com.br)
 * @version    1.0.0
 * @date       2026-09-01
 * @copyright  2026 Sanvita Laboratório. Todos os direitos reservados.
 */

:root {
    --color-primary: #003237;
    --color-primary-container: #0d4a50;
    --color-primary-fixed: #b6ecf3;
    --color-primary-fixed-dim: #9ad0d6;
    
    --color-secondary-fixed: #67f8ef;
    --color-secondary-fixed-dim: #43dbd3;
    --color-on-secondary-fixed-variant: #00504c;
    
    --color-tertiary-fixed: #c6f24b;
    --color-tertiary-fixed-dim: #abd52e;
    --color-tertiary-container: #374900;
    --color-on-tertiary-fixed-variant: #3b4d00;
    
    --color-background: #f8f9ff;
    --color-surface: #f8f9ff;
    --color-surface-dim: #cbdbf5;
    --color-surface-container: #e5eeff;
    --color-surface-container-low: #f2f4fb;
    --color-surface-container-lowest: #ffffff;
    --color-surface-container-high: #e7e8f0;
    --color-surface-container-highest: #d3e4fe;
    
    --color-on-surface: #191c1d;
    --color-on-surface-variant: #3f4849;
    --color-on-primary: #ffffff;
    --color-on-background: #0b1c30;
    --color-inverse-on-surface: #eaf1ff;
    
    --color-outline: #70797a;
    --color-outline-variant: #bfc8c9;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;

    --spacing-gutter: 16px;
    --spacing-margin: 24px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
}

.bg-hex-pattern {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='103.92304845413263' viewBox='0 0 60 103.92304845413263' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e5eeff' stroke-width='1'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15zM30 103.92l25.98-15v-30l-25.98-15-25.98 15v30z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .clip-diagonal {
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

.carousel-item {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes specialtyFadeIn {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.specialty-pane {
    display: none;
    opacity: 0;
}

.specialty-pane.active {
    display: block;
    animation: specialtyFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exam-row {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-row:hover {
    background-color: rgba(13, 74, 80, 0.04);
    transform: translateX(4px);
}
