/* =========================================================
   VARIÁVEIS
========================================================= */
:root {
    --primary: #e63a5a;
    --secondary: #5b4a8f;
    --brand: #7b003b;
    --bg-cream: #fff6e8;
    --bg-gradient: linear-gradient(
            180deg,
            #fff6e8 0%,
            #ffd1da 55%,
            #f26a84 100%
    );
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --border: #e5e7eb;
    --white: #ffffff;
}

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

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: var(--white);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   TOPBAR
========================================================= */
.topbar {
    background: var(--bg-cream);
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
}

.topbar a {
    text-decoration: none;
    color: var(--text-main);
}

/* =========================================================
   HEADER
========================================================= */
.header {
    background: var(--bg-cream);
    border-bottom: 1px solid #f1e6d6;
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand);
    font-size: 0.95rem;
}

.nav {
    display: flex;
    gap: 18px;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

/* =========================================================
   BOTÕES
========================================================= */
.btn-primary,
.btn-secondary {
    border-radius: 999px;
    padding: 12px 22px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.full {
    width: 100%;
}

/* =========================================================
   HERO
========================================================= */
.hero-gradient {
    position: relative;
    background: var(--bg-gradient);
    /*padding: 96px 0 120px;*/
    padding: 96px 0 0px;
    overflow: hidden;
}

.hero-main {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    min-height: 520px;
}

.hero-left {
    z-index: 2;
}

.hero-left h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 22px;
    word-break: break-word;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0px 0 120px;
}

.hero-card {
    background: #fff;
    padding: 28px;
    border-radius: 24px;
    width: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-card.secondary {
    background: #f7f4ff;
}

.hero-card h3 {
    margin-bottom: 10px;
}

.hero-card p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.hero-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

/* === IMAGEM DA MULHER – IGUAL AO WELLHUB === */
.hero-right {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.hero-image {
    height: 100%;
    width: auto;
    max-height: 520px;
    object-fit: contain;
}

/* LINK "SAIBA MAIS" / TERMOS DE USO */
.link-saiba-mais {
    color: var(--secondary); /* mesma cor do botão secondary */
    text-decoration: none;   /* remove sublinhado */
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.link-saiba-mais:hover {
    color: #4a3c78; /* roxo um pouco mais escuro no hover */
    opacity: 0.9;
    text-decoration: none;
}

/* =========================
   ESPECIALIDADES
   ========================= */
.specialties-section {
    padding: 64px 0;
    background-color: #f9fafb;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.chart-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.specialty-item {
    margin-bottom: 18px;
}

.specialty-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.percent {
    color: #6b7280;
}

.progress {
    height: 10px;
    border-radius: 999px;
    background-color: #e5e7eb;
}

.progress-bar {
    background-color: #e63a5a;
    border-radius: 999px;
}

/* =========================
   AJUSTES DE ESPAÇAMENTO
   ========================= */

.chart-box,
.specialties-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.specialty-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #374151;
}

.percent {
    color: #6b7280;
}

.progress {
    height: 10px;
    border-radius: 999px;
    background-color: #e5e7eb;
}

.progress-bar {
    background-color: #e63a5a;
    border-radius: 999px;
}


/* =========================================================
   PLANOS
========================================================= */
.plans-section {
    background: var(--bg-cream);
    padding: 96px 0;
}

.plans-section-correspondente {
    padding: 60px 0 !important;
}

.plans-hint {
    text-align: center;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 46px;
}

.plans-hint a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.plan-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px 28px 36px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.plan-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 24px 24px 0 0;
}

.plan-digital .plan-top { background: #7b003b; }
.plan-starter .plan-top { background: #e63a5a; }
.plan-basic   .plan-top { background: #1f8f63; }
.plan-plus    .plan-top { background: #42aefa; }

.plan-card h3 {
    margin-top: 22px;
    font-size: 1.6rem;
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 14px 0 22px;
}

.plan-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 10px 0 22px;
}

.plan-price small {
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-btn {
    background: var(--secondary);
    color: #fff;
    border-radius: 999px;
    padding: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 26px;
}

.login-btn {
    background: var(--secondary);
    color: #fff;
    border-radius: 999px;
    padding: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    /*margin-bottom: 26px;*/
}

/* =========================================================
   SERVIÇOS DISPONÍVEIS – CSS COMPLETO
========================================================= */

.services-section {
    background-color: rgb(216, 56, 94);
    padding: 90px 0;
}

/* HEADER */
.services-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
}

.services-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.services-header p {
    font-size: 1.05rem;
    color: #ffe4ec;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* COLUNA */
.services-column {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* LISTA */
.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-list li:last-child {
    border-bottom: none;
}

/* ÍCONE SETA */
.services-list li::after {
    content: "››";
    font-weight: 700;
    color: rgb(216, 56, 94);
}

/* HOVER */
.services-list li:hover {
    color: rgb(216, 56, 94);
}

/* =========================================================
   HIGHLIGHT SECTION COM VÍDEO
========================================================= */

.highlight-section {
    background: #fff6e8;
    padding: 90px 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.highlight-text {
    max-width: 560px;
}

.highlight-eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 14px;
}

.highlight-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.highlight-text p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 32px;
}

/* VÍDEO */
.highlight-media {
    display: flex;
    justify-content: flex-end;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 992px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .highlight-text {
        margin: 0 auto;
    }

    .highlight-media {
        justify-content: center;
        margin-top: 32px;
    }
}

/* SEARCH – CORRESPONDENTES */
.search-box {
    margin-top: 28px;
    position: relative;
    width: 100%;
    max-width: 900px;
}

.search-input {
    width: 100%;
    height: 56px;
    padding: 0 56px 0 20px;
    border-radius: 14px;
    border: none;
    outline: none;
    font-size: 1rem;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #374151;
}

/* FUNDO IGUAL AO EXEMPLO */
.services-section {
    padding: 80px 0;
}

.services-header h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.services-header p {
    color: #e5e7eb;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .search-input {
        height: 52px;
        font-size: 0.95rem;
    }

    .services-header h2 {
        font-size: 1.7rem;
    }

    .services-header p {
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .highlight-text h2 {
        font-size: 2rem;
    }
}

/* =========================
   FLUXO VERTICAL
   ========================= */
.flow-vertical {
    max-width: 720px;
    margin: 0 auto;
}

.flow-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.flow-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63a5a, #5b4a8f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.flow-step h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.flow-step p {
    color: #4b5563;
    font-size: 0.95rem;
}

.flow-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #e63a5a, transparent);
    margin: 0 auto;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .flow-step {
        padding: 24px 16px;
    }
}

/* =========================
   TIMELINE BASE
   ========================= */
.flow-timeline {
    position: relative;
    max-width: 860px;
    margin: 80px auto;
    padding: 20px 0;
}

/* LINHA CENTRAL ANIMADA */
.flow-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: repeating-linear-gradient(
            to bottom,
            #e63a5a 0px,
            #e63a5a 6px,
            transparent 6px,
            transparent 14px
    );
    animation: flowMove 1.2s linear infinite;
    transform: translateX(-50%);
}

@keyframes flowMove {
    from { background-position: 0 0; }
    to   { background-position: 0 20px; }
}

/* =========================
   ITEM
   ========================= */
.flow-item {
    position: relative;
    width: 50%;
    margin-bottom: 48px;
}

.flow-item.left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.flow-item.right {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

/* =========================
   CAIXA
   ========================= */
.flow-step {
    display: inline-block;
    max-width: 260px;
    background: #fff;
    padding: 18px 20px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    position: relative;
}

/* ÍCONE */
.flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63a5a, #5b4a8f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

/* TEXTO */
.flow-step h5 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #111827;
}

.flow-step p {
    font-size: 0.88rem;
    color: #4b5563;
}

/* =========================
   CONECTOR ENTRE CAIXAS
   ========================= */
.flow-item::after {
    content: "";
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    background: #e63a5a;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(230,58,90,0.15);
}

.flow-item.left::after {
    right: -7px;
}

.flow-item.right::after {
    left: -7px;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
    .flow-timeline::before {
        left: 14px;
    }

    .flow-item,
    .flow-item.left,
    .flow-item.right {
        width: 100%;
        left: 0;
        padding-left: 48px;
        padding-right: 0;
        text-align: left;
    }

    .flow-item::after {
        left: 7px;
        right: auto;
    }
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .services-header p {
        font-size: 1rem;
    }

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

    .services-column {
        padding: 22px 20px;
    }

    .services-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 420px) {
    .services-header h2 {
        font-size: 1.8rem;
    }

    .services-header p {
        font-size: 0.95rem;
    }
}

/* =========================
   TABELA PERSONALIZADA
   ========================= */

.table-custom {
    border-collapse: separate;
    border-spacing: 0 12px; /* espaço entre linhas */
}

.table-custom thead th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #374151;
    border: none;
    padding: 14px 16px;
}

.table-custom tbody tr {
    background-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.table-custom tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.table-custom tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.table-custom td {
    border: none;
    padding: 18px 16px;
    vertical-align: middle;
    color: #111827;
}

.table-custom td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.table-custom td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Avatar */
.table-custom img {
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

/* Botão */
.table-custom .btn-primary {
    background-color: #e63a5a;
    border-color: #e63a5a;
}

.table-custom .btn-primary:hover {
    background-color: #c72f4b;
    border-color: #c72f4b;
}

.text-oab {
    color: #e63a5a;
    font-weight: 600;
    background: rgba(230, 58, 90, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
}

/* Responsivo */
@media (max-width: 768px) {
    .table-custom thead {
        display: none;
    }

    .table-custom tbody tr {
        display: block;
        margin-bottom: 16px;
    }

    .table-custom td {
        display: block;
        text-align: left;
        padding: 10px 14px;
    }
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: #111827;
    color: #fff;
    text-align: center;
    padding: 26px 0;
    font-size: 0.9rem;
}

/* =========================================================
   RESPONSIVO
========================================================= */
@media (min-width: 1200px) {
    .hero-image {
        max-height: 560px;
    }
}

@media (max-width: 1100px) {
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cards {
        justify-content: center;
    }

    .hero-right {
        position: relative;
        height: auto;
        margin-top: 36px;
        justify-content: center;
    }

    .hero-image {
        max-height: 420px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-height: 360px;
    }

    .hero-left h1 {
        font-size: 2.1rem;
    }

    .hero-sub {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 1.8rem;
    }

    .hero-image {
        max-height: 300px;
    }

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