html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* Hero (gradiente + overlay) */
.hero {
    background: linear-gradient(135deg, rgba(2,0,36,0.9) 0%, rgba(9,121,201,0.85) 45%, rgba(0,212,255,0.6) 100%);
    color: white;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.03), transparent 25%);
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

/* Foto do médico no centro do header */
.hero-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 30px rgba(2,6,23,0.5);
    transition: transform .35s cubic-bezier(.2,.9,.2,1);
}

    .hero-photo:hover {
        transform: translateY(-6px) scale(1.03);
    }

/* CTA button */
.btn-cta {
    background: linear-gradient(90deg,#ff7a18,#af002d 70%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(175,0,45,0.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(175,0,45,0.22);
    }

/* Glass card style for sections */
.glass-card {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(6px) saturate(120%);
    border-radius: 12px;
    padding: 1.6rem;
    box-shadow: 0 8px 30px rgba(14,20,30,0.06);
}

/* Benefit list */
.benefit-list li {
    margin-bottom: .5rem;
    color: #213547;
}

/* Testimonials */
.testimonial-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.94));
    border-radius: 10px;
    border: 1px solid rgba(16,24,32,0.04);
    transition: transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s ease;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(12,20,30,0.08);
    }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(16px) scale(.995);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

/* Accessibility and typography tweaks */
h1, h2 {
    color: #07203a;
}

.lead {
    color: rgba(255,255,255,0.9);
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-photo,
    .btn-cta,
    .testimonial-card,
    .reveal {
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .hero {
        padding: 2.4rem 0;
    }

    .hero-photo {
        width: 110px;
        height: 110px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }
}
