/* =====================================================================
   PAGINAS PUBLICAS (home / sobre / etc.)
   ===================================================================== */
:root {
    --ms-green: #20777E;
    --ms-green-alt: #0A8F77;
    --ms-green-dark: #1a5f5f;
    --ms-orange: #ED6E29;
    --ms-yellow: #F7AD44;
    --ms-ink: #21302f;
    --ms-muted: #5b6b6b;
    --ms-soft: #eef6f6;
}

.home-hero,
.home-about,
.home-steps,
.home-benefits,
.home-testimonials,
.home-faq {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

/* ---------- Hero ---------- */
.home-hero {
    background: linear-gradient(135deg, #f2f9f9 0%, #e3f0f0 100%);
    padding: 64px 0 72px;
    position: relative;
    overflow: hidden;
}

.home-hero-watermark {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;
    max-width: 55%;
    opacity: .05;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: var(--ms-green);
    border: 1px solid #d7e7e7;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.home-hero-title {
    font-size: 44px;
    line-height: 1.12;
    font-weight: 800;
    color: var(--ms-ink);
    margin-bottom: 18px;
}

.home-hero-title strong {
    background-image: linear-gradient(135deg, #20777E 0%, #0A8F77 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #20777E;
}

.home-hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ms-muted);
    max-width: 520px;
    margin-bottom: 26px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.btn-home-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 26px;
    border: none;
    border-radius: 999px;
    background-image: linear-gradient(135deg, #20777E 0%, #0A8F77 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transform: none;
    box-shadow: 0 6px 18px rgba(32, 119, 126, .28);
    transition: filter .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn-home-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 143, 119, .34);
}

.btn-home-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1.5px solid var(--ms-green);
    background-color: transparent;
    color: var(--ms-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.btn-home-ghost:hover {
    background-color: var(--ms-green);
    color: #ffffff;
}

.home-hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.home-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ms-muted);
    font-weight: 600;
}

.home-hero-trust i {
    color: var(--ms-green);
}

.home-hero-media {
    text-align: center;
}

.home-hero-media img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(32, 119, 126, .18));
}

/* ---------- Cabecalhos de secao ---------- */
.home-section-head {
    margin-bottom: 40px;
}

.home-section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--ms-ink);
    margin: 0;
}

.home-section-title strong {
    color: var(--ms-green);
}

/* ---------- Sobre ---------- */
.home-about {
    padding: 72px 0;
}

.home-about-text {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.home-about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ms-muted);
    margin-bottom: 16px;
}

/* ---------- Passos ---------- */
.home-steps {
    padding: 72px 0;
    background-color: #f7fbfb;
}

.home-step-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 18px;
    padding: 34px 26px 28px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(32, 119, 126, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(32, 119, 126, .14);
}

.home-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--ms-orange);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(237, 110, 41, .35);
}

.home-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: var(--ms-soft);
    color: var(--ms-green);
    font-size: 28px;
    margin-bottom: 16px;
}

.home-step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ms-green);
    margin-bottom: 8px;
}

.home-step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ms-muted);
    margin: 0;
}

/* ---------- Beneficios ---------- */
.home-benefits {
    padding: 72px 0;
}

.home-benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e6efef;
    border-left: 4px solid var(--ms-green);
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(32, 119, 126, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(32, 119, 126, .13);
}

.home-benefit-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--ms-soft);
    color: var(--ms-green);
    font-size: 24px;
}

.home-benefit-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ms-ink);
    margin: 0;
}

/* ---------- Depoimentos ---------- */
.home-testimonials {
    padding: 72px 0;
    background-color: #f7fbfb;
}

.home-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas:
        "prev viewport next"
        "dots dots dots";
    align-items: center;
    column-gap: 18px;
    row-gap: 22px;
}

/* O viewport recorta o trilho; o padding vertical evita cortar a sombra dos cards. */
.home-carousel-viewport {
    position: relative;
    grid-area: viewport;
    min-width: 0;
    overflow: hidden;
    padding: 2px 0 22px;
    margin: -2px 0 -22px;
    touch-action: pan-y pinch-zoom;
}

/* O anel acompanha a área do card, sem cruzar os controles abaixo. */
.home-carousel-viewport:focus {
    outline: none;
}

.home-carousel-viewport:focus::after {
    content: "";
    position: absolute;
    inset: 2px 0 22px;
    border: 3px solid var(--ms-green);
    border-radius: 18px;
    pointer-events: none;
}

.home-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    transform: translate3d(0, 0, 0);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.home-carousel-controls {
    display: contents;
}

.home-testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 18px;
    padding: 28px 26px 24px;
    box-shadow: 0 6px 18px rgba(32, 119, 126, .07);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.home-testimonial-card:hover {
    border-color: #cfe4e4;
    box-shadow: 0 14px 30px rgba(32, 119, 126, .11);
}

.home-testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-quote {
    display: inline-flex;
    align-items: center;
    height: 30px;
    color: rgba(32, 119, 126, .28);
    font-size: 32px;
    line-height: 1;
    margin: 0;
}

.home-stars {
    color: #a86200;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.home-testimonial-card p {
    flex: 1 1 auto;
    font-size: 15px;
    line-height: 1.72;
    color: var(--ms-ink);
    margin: 0 0 22px;
}

.home-testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #eef4f4;
}

.home-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-image: linear-gradient(135deg, #1b6b72 0%, #0a7a66 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(32, 119, 126, .18);
}

.home-testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.home-testimonial-meta strong {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ms-ink);
}

.home-testimonial-meta span {
    font-size: 12px;
    line-height: 1.3;
    color: var(--ms-muted);
}

/* Navegação */
.home-carousel-prev {
    grid-area: prev;
    justify-self: start;
}

.home-carousel-next {
    grid-area: next;
    justify-self: end;
}

.home-carousel-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #d7e7e7;
    background-color: #ffffff;
    color: var(--ms-green);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(32, 119, 126, .08);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .2s ease, opacity .2s ease, transform .15s ease;
}

.home-carousel-nav:hover:not(:disabled) {
    background-color: var(--ms-green);
    border-color: var(--ms-green);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(32, 119, 126, .22);
    transform: translateY(-1px);
}

.home-carousel-nav:active:not(:disabled) {
    transform: translateY(0) scale(.96);
}

.home-carousel-nav:focus-visible {
    outline: 3px solid var(--ms-green);
    outline-offset: 3px;
}

.home-carousel-nav:disabled {
    opacity: .32;
    cursor: not-allowed;
    box-shadow: none;
    background-color: #ffffff;
    color: var(--ms-green);
}

/* Dots + pausa agrupados, centralizados sob os cards */
.home-carousel-dots-row {
    grid-area: dots;
    justify-self: center;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dots com área de toque confortável */
.home-carousel-dots {
    display: flex;
    align-items: center;
    gap: 2px;
}

.home-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-dot-mark {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background-color: #cfe0e0;
    transition: width .3s cubic-bezier(.22, .61, .36, 1), background-color .25s ease;
}

.home-dot:hover .home-dot-mark {
    background-color: #9dc2c2;
}

.home-dot.active .home-dot-mark {
    width: 22px;
    background-image: linear-gradient(90deg, var(--ms-green) 0%, var(--ms-green-alt) 100%);
}

.home-dot:focus-visible {
    outline: 3px solid var(--ms-green);
    outline-offset: 2px;
}

/* Controle de pausa do autoplay: mesma linguagem visual das setas */
.home-carousel-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d7e7e7;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--ms-green);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(32, 119, 126, .08);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .15s ease;
}

.home-carousel-toggle:hover {
    background-color: var(--ms-green);
    border-color: var(--ms-green);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(32, 119, 126, .22);
    transform: translateY(-1px);
}

.home-carousel-toggle:active {
    transform: translateY(0) scale(.96);
}

.home-carousel-toggle:focus-visible {
    outline: 3px solid var(--ms-green);
    outline-offset: 2px;
}

.home-carousel-toggle[hidden] {
    display: none;
}

/* 3 / 2 / 1 cards visíveis */
@media (max-width: 991.98px) {
    .home-testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 575.98px) {
    .home-testimonial-card { flex-basis: 100%; }
}

/* Em telas estreitas os controles vão para baixo, sem cobrir o card. */
@media (max-width: 767.98px) {
    .home-carousel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .home-carousel-viewport {
        width: 100%;
        padding-bottom: 18px;
        margin-bottom: -18px;
    }

    .home-carousel-viewport:focus::after {
        bottom: 18px;
    }

    .home-carousel-controls {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .home-carousel-prev,
    .home-carousel-next,
    .home-carousel-nav {
        width: 44px;
        height: 44px;
    }

    .home-carousel-dots-row {
        gap: 6px;
        margin: 0 2px;
    }

    .home-carousel-toggle {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-carousel-track {
        transition: none;
    }

    .home-testimonial-card,
    .home-carousel-nav,
    .home-carousel-toggle,
    .home-dot-mark {
        transition: none;
    }
}

/* ---------- FAQ ---------- */
.home-faq {
    padding: 72px 0 88px;
}

.home-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.home-accordion .accordion-item {
    border: 1px solid #e6efef;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.home-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--ms-ink);
    padding: 20px 22px;
    background-color: #ffffff;
    box-shadow: none;
}

.home-accordion .accordion-button:not(.collapsed) {
    color: var(--ms-green);
    background-color: var(--ms-soft);
}

.home-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.home-accordion .accordion-button::after {
    background-image: none;
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 14px;
    transition: transform .2s ease;
}

.home-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.home-accordion .accordion-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ms-muted);
    padding: 4px 22px 20px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .home-hero { padding: 44px 0 52px; }
    .home-hero-title { font-size: 34px; }
    .home-hero-media { margin-top: 24px; }
    .home-section-title { font-size: 28px; }
}

@media (max-width: 575px) {
    .home-hero-title { font-size: 28px; }
    .home-hero-sub { font-size: 15px; }
}

/* =====================================================================
   PAGINA SOBRE
   ===================================================================== */
.about-hero {
    padding: 64px 0 56px;
}

.about-lead {
    max-width: 640px;
}

.about-lead p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ms-muted);
    margin-bottom: 16px;
}

.about-hero-media img,
.about-pillar-media img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(32, 119, 126, .16);
}

.about-cta {
    background-image: linear-gradient(135deg, #20777E 0%, #0A8F77 100%);
    color: #ffffff;
    padding: 56px 0;
    text-align: center;
}

.about-cta .home-section-title {
    color: #ffffff;
}

.about-cta-text {
    font-size: 17px;
    line-height: 1.7;
    color: #eafaf7;
    max-width: 720px;
    margin: 0 auto 26px;
}

.about-pillars {
    padding: 72px 0;
}

.about-pillar {
    margin-bottom: 56px;
}

.about-pillar:last-child {
    margin-bottom: 0;
}

.about-pillar p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ms-muted);
    margin-bottom: 14px;
}

.about-pillar .home-section-title {
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .about-hero { padding: 44px 0 40px; }
    .about-pillars { padding: 48px 0; }
    .about-pillar { margin-bottom: 40px; }
    .about-hero-media { margin-top: 24px; }
}

/* =====================================================================
   PAGINA PSICOLOGO
   ===================================================================== */
.pro-note {
    max-width: 820px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ms-muted);
}

.pro-finance-card {
    background-color: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 18px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 4px 16px rgba(32, 119, 126, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pro-finance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(32, 119, 126, .14);
}

.pro-finance-card .home-benefit-icon {
    margin-bottom: 16px;
}

.pro-finance-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ms-green);
    margin-bottom: 10px;
}

.pro-finance-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ms-muted);
    margin: 0;
}

.pro-plan-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 18px;
    padding: 34px 24px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(32, 119, 126, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pro-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(32, 119, 126, .14);
}

.pro-plan-featured {
    border: 2px solid var(--ms-green);
    box-shadow: 0 12px 30px rgba(32, 119, 126, .16);
}

.pro-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ms-yellow);
    color: #21302f;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.pro-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ms-ink);
    margin-bottom: 8px;
}

.pro-plan-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--ms-green);
    margin: 0;
}
