/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Countdown Timer */
.countdown-timer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 12px 0;
    z-index: 20;
}

.countdown-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-display {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 100px;
    text-align: center;
}



body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 2rem 0;
    z-index: 10; /* Z-index alto para ficar acima do footer */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 64, 175, 0.8) 50%, rgba(29, 78, 216, 0.8) 100%), url('bg-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 15; /* Z-index alto para ficar acima do footer */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    width: 100%;
    padding-top: 120px; /* Aumentar espaço para o contador */
    padding-bottom: 50px; /* Espaço apenas para botões flutuantes */
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    margin-bottom: 3rem;
    text-align: center;
    white-space: nowrap;
    position: relative;
    z-index: 30; /* Z-index muito alto para ficar sempre visível */
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Hero Buttons Layout */
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 2rem;
    width: 100%;
}

.secondary-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    flex-direction: row;
    align-items: center;
}

.secondary-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    padding: 15px 15px;
    font-size: 1rem;
    position: relative;
    z-index: 30; /* Z-index muito alto para ficar sempre visível */
    cursor: pointer;
    white-space: nowrap;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.section-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-top: 2rem;
    opacity: 0.9;
    text-align: center;
    max-width: 100%;
}

/* Services Section - REMOVIDO pois não existe no HTML */

/* Clinic Info */
.clinic-info {
    margin-top: 3rem;
    text-align: center;
}

.clinic-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    text-align: center;
}

.clinic-description {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    color: white;
}

.developer-credit {
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
    margin-top: 2rem;
    color: white;
}

.developer-credit a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: #fbbf24;
    opacity: 1;
    text-decoration: underline;
}

/* Floating CTA Buttons */
.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.floating-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.online-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.online-btn:hover {
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .countdown-content {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
        text-align: center;
    }
    
    .countdown-label {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }
    
    .countdown-display {
        font-size: 2rem;
        padding: 8px 15px;
    }
    
    .hero-content {
        padding: 0 15px 80px 15px; /* Espaço apenas para botões flutuantes */
        min-height: 100vh;
        text-align: center;
        padding-top: 140px; /* Mais espaço para o contador no mobile */
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        padding-bottom: 20px;
    }
    
    .secondary-buttons {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 3rem;
        justify-content: center;
        align-items: center;
    }
    
    .secondary-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .clinic-name {
        font-size: 1.8rem;
    }
    
    .clinic-description {
        font-size: 1rem;
        max-width: 350px;
    }
    
    .developer-credit {
        font-size: 0.8rem;
        margin-top: 1.5rem;
    }
    

    
    .floating-cta {
        right: 10px;
        bottom: 15px;
        gap: 0.8rem;
        z-index: 9999;
    }
    
    .floating-btn {
        padding: 10px 15px;
        font-size: 0.75rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .countdown-label {
        font-size: 0.7rem;
        padding: 0 5px;
    }
    
    .countdown-display {
        font-size: 1.2rem;
        padding: 5px 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .secondary-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .floating-cta {
        right: 5px;
        bottom: 10px;
        gap: 0.6rem;
        z-index: 9999;
    }
    
    .floating-btn {
        padding: 8px 12px;
        font-size: 0.65rem;
        min-width: 100px;
    }
    
    .hero-content {
        padding: 0 10px 100px 10px; /* Espaço apenas para botões flutuantes */
        padding-top: 150px; /* Ainda mais espaço para o contador em telas pequenas */
    }
    
    .clinic-name {
        font-size: 1.6rem;
    }
    
    .clinic-description {
        font-size: 0.9rem;
        max-width: 300px;
    }
    
    .secondary-buttons {
        padding-right: 70px; /* Menos espaço em telas pequenas */
    }
    
    .developer-credit {
        font-size: 0.75rem;
        margin-top: 1rem;
    }
    

}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.cta-button {
    animation-delay: 0.6s;
}

.section-title {
    animation-delay: 0.8s;
} 