/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #EC4899;
    --accent: #F59E0B;
    --success: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section__subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.section__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.header__logo p {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    padding-top: 80px;
    overflow: hidden;
}

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

.hero__content {
    max-width: 800px;
    color: white;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero__highlight {
    color: #FED7AA;
    display: block;
}

.hero__description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    line-height: 0;
    overflow: hidden;
}

.hero__wave svg {
    width: 100%;
    height: 100%;
    display: block;
    min-width: 100%;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-light);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about__content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about__text {
    margin-bottom: 2rem;
}

.about__text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about__text strong {
    color: var(--primary);
    font-weight: 600;
}

.about__credentials {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.credential {
    font-size: 1rem;
    color: var(--text-dark);
}

.credential strong {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== CORRIMENTOS ===== */
.corrimentos {
    background: var(--bg-white);
}

.corrimentos__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.corrimentos__cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.corrimentos__image {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.corrimentos__image-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.corrimentos__cta {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.corrimentos__cta--mobile {
    display: none;
}

.cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card--featured {
    grid-column: span 1;
}

.card__image-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-light);
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== DOENÇAS ===== */
.doencas {
    background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%);
}

.doencas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.doenca-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    position: relative;
}

.doenca-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.doenca-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.doenca-card__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.doenca-card__text em {
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
}

.doenca-card__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.doencas__warning {
    background: #FEF3C7;
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.warning__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.warning__content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.warning__content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== TELECONSULTA ===== */
.teleconsulta {
    background: var(--bg-light);
}

.teleconsulta__title {
    color: var(--primary);
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-light);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    position: relative;
}

.teleconsulta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
}

.teleconsulta__intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.teleconsulta__highlight {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
}

.highlight__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight__text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.highlight__text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.highlight__text strong {
    color: var(--primary);
    font-weight: 600;
}

.highlight__reassurance {
    background: #EBF8FF;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-light);
    margin-top: 1.5rem;
}

.highlight__reassurance strong {
    color: var(--primary-dark);
}

.teleconsulta__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.teleconsulta__benefits .teleconsulta__intro {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.contact .section__title,
.contact .section__subtitle {
    color: white;
}

.contact__callout {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact__callout-text {
    font-size: 1.375rem;
    line-height: 1.8;
    color: white;
    margin: 0;
}

.contact__callout-text strong {
    color: #FED7AA;
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p,
.contact-card a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    transition: var(--transition);
}

.contact-card a:hover {
    color: #FED7AA;
    text-decoration: underline;
}

.contact-card__note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.5rem;
}

.contact .btn--primary {
    background: white;
    color: var(--primary);
}

.contact .btn--primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #90CDF4;
}

.footer__col p,
.footer__col a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    transition: var(--transition);
}

.footer__col a:hover {
    color: #90CDF4;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.whatsapp-float__text {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-float__text {
    opacity: 1;
    right: 75px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    .nav__toggle {
        display: flex;
    }

    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav__list.active {
        right: 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1.125rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__image-wrapper {
        order: 2;
    }

    .about__content {
        order: 1;
    }

    .teleconsulta__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .teleconsulta__benefits {
        grid-template-columns: 1fr;
    }

    .corrimentos__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .corrimentos__image {
        order: -1;
    }

    .corrimentos__cta--desktop {
        display: none;
    }

    .corrimentos__cta--mobile {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float__icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float__text {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 3rem 0;
        padding-bottom: 6rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero__container {
        padding-bottom: 10rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .section__subtitle {
        font-size: 1.125rem;
    }

    .corrimentos__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .corrimentos__image {
        order: -1;
    }

    .cards__grid,
    .doencas__grid {
        grid-template-columns: 1fr;
    }

    .about__content {
        padding: 2rem 1.5rem;
    }

    .about__credentials {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__features {
        flex-direction: column;
        gap: 1rem;
    }

    .contact__callout {
        padding: 1.5rem;
    }

    .contact__callout-text {
        font-size: 1.125rem;
    }

    .contact__callout-text strong {
        font-size: 1.25rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .doenca-card,
    .benefit-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .card.animate,
    .doenca-card.animate,
    .benefit-card.animate {
        opacity: 1;
        transform: translateY(0);
    }
}
