/* CSS migrado do PortalLaravel para Planos de Saúde */
.hero-section.hero-health {
    background: linear-gradient(140deg, rgba(8, 47, 73, 0.96) 0%, rgba(12, 94, 135, 0.92) 45%, rgba(225, 25, 35, 0.88) 100%);
}

.hero-section.hero-health::before {
    opacity: 0.12;
    filter: brightness(1.1);
}

.hero-section.hero-health .hero-copy {
    max-width: 600px;
}

.hero-section.hero-health .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-section.hero-health p {
    margin-bottom: 32px;
}

.hero-section.hero-health .hero-actions a:last-child {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.hero-section.hero-health .hero-actions a:last-child:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.hero-section.hero-health .hero-media-card {
    width: min(520px, 100%);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.26);
    display: flex;
    flex-direction: column;
}

.hero-section.hero-health .hero-media-card img {
    width: 100%;
    object-fit: cover;
}

.hero-section.hero-health .media-caption {
    padding: 18px 22px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(8, 47, 73, 0.45));
}

.content-wrapper.health-page {
    padding: 100px 110px 160px;
    display: grid;
    gap: 72px;
}

.hero-section.hero-health + .content-wrapper.health-page {
    margin-top: clamp(36px, 6vw, 96px);
    padding-top: clamp(32px, 6vw, 90px);
}

.plan-section {
    margin-bottom: 60px;
}

.plan-section h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--madesa-red-dark);
    margin-bottom: 18px;
    text-align: center;
}

.plan-tabs {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tab-link {
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid rgba(225, 25, 35, 0.42);
    background: #fff;
    color: var(--madesa-red-dark);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab-link:hover {
    transform: translateY(-1px);
}

.tab-link.active {
    background: linear-gradient(120deg, rgba(225, 25, 35, 0.9), rgba(124, 20, 26, 0.9));
    color: #fff;
    border-color: transparent;
}

.tab-panel {
    display: none;
    gap: 20px;
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(225, 25, 35, 0.18);
}

.tab-panel.active {
    display: grid;
}

.plan-summary ul {
    padding-left: 20px;
}

.plan-summary ul li + li {
    margin-top: 8px;
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.plan-table thead {
    background: rgba(225, 25, 35, 0.9);
    color: #fff;
}

.plan-table th,
.plan-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.plan-table tbody tr:last-child td {
    border-bottom: none;
}

.plan-media {
    display: flex;
    justify-content: center;
}

.plan-media img {
    max-width: 560px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.plan-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--madesa-red);
    transition: background 0.2s ease, transform 0.2s ease;
}

.plan-actions a:hover {
    background: var(--madesa-red-dark);
    transform: translateY(-1px);
}

.plan-note {
    background: rgba(225, 25, 35, 0.08);
    border-radius: 18px;
    padding: 22px;
    line-height: 1.6;
    color: #333;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .tab-panel {
        padding: 26px;
    }

    .plan-table {
        table-layout: fixed;
    }

    .plan-table th,
    .plan-table td {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 900px) {
    .plan-table {
        display: table !important;
        white-space: normal !important;
    }

    .plan-table th,
    .plan-table td {
        white-space: normal !important;
    }
}

@media (max-width: 1024px) {
    .content-wrapper.health-page {
        padding: 100px 56px 140px;
        gap: 60px;
    }
}

@media (max-width: 720px) {
    .content-wrapper.health-page {
        padding: 90px 24px 120px;
        gap: 48px;
    }

    .hero-section.hero-health {
        padding: 140px 24px 110px;
    }

    .hero-section.hero-health .hero-actions {
        justify-content: center;
    }

    .hero-section.hero-health .hero-media-card {
        width: 100%;
    }
}
