@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@400&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2e5ce6;
    --blue-hover: #2550d0;
    --banner-bg: #2e5ce6;
    --banner-bg-mobile: #2d5be3;
    --dark: #2e2e2e;
    --text: #3a3a3a;
    --muted: #5c5c5c;
    --border: #e2e2e2;
    --font: "Montserrat", system-ui, sans-serif;
    --header-height: 100px;
    --banner-height-desktop: 924px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.55;
}

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

.content {
    width: min(90%, 1140px);
    margin-inline: auto;
}

.topo {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 0 var(--border);
    height: var(--header-height);
    box-sizing: border-box;
}

.topo .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    padding-block: 0;
}

.topo .logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.topo .logo-header {
    width: auto;
    height: auto;
    max-height: calc(var(--header-height) - 12px);
    max-width: min(268px, 48vw);
    aspect-ratio: 268 / 134;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu ul {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    list-style: none;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.menu a:hover {
    color: var(--blue);
}

.banner {
    background: var(--banner-bg);
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.banner-canvas {
    position: relative;
    width: min(100%, 1492px);
    margin-inline: auto;
    height: var(--banner-height-desktop);
}

@media (min-width: 769px) {
    .banner {
        min-height: var(--banner-height-desktop);
    }
}

.banner-woman-block {
    position: absolute;
    left: calc(92 / 1492 * 100%);
    top: calc(123 / 924 * 100%);
    width: calc(1174 / 1492 * 100%);
    height: calc(896 / 924 * 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    pointer-events: none;
}

.banner-woman-block .banner-woman-img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
    display: block;
}

.hero-logo--watermark {
    display: none;
}

.banner-aside {
    position: absolute;
    left: calc(911 / 1492 * 100%);
    top: calc(145 / 924 * 100%);
    width: calc(483 / 1492 * 100%);
    max-width: 483px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(0.75rem, 1.8vh, 1.25rem);
}

.hero-logo--aside {
    width: 100%;
    height: auto;
    max-width: 445px;
}

.banner-title {
    font-size: clamp(1.35rem, 2.35vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin: 0;
}

.banner-title__line {
    display: block;
}

.btn-contato {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: min(483px, 100%);
    height: 89px;
    padding: 0 1.25rem;
    background: #fff;
    color: var(--blue);
    border-radius: 12px;
    text-decoration: none;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.15;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    margin-top: 0.25rem;
}

.btn-contato:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
}

.planos {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #fff;
}

.planos h2,
.sobre h2 {
    text-align: center;
    color: var(--blue);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(48, 96, 237, 0.06);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(48, 96, 237, 0.12);
}

.card .card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card > p {
    padding: 1rem 1.25rem 0;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.card .btn-card {
    margin: 1.25rem 1.25rem 1.5rem;
    align-self: center;
}

.btn-card {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-card:hover {
    background: var(--blue-hover);
}

.sobre {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #fff;
}

.sobre p {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
}

.sobre p + p {
    margin-top: 1.15rem;
}

.faq {
    background: var(--dark);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.faq h2 {
    color: var(--blue);
    margin-bottom: 1.75rem;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
}

.faq-item:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #fff;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::marker {
    display: none;
}

.faq-icon {
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.45;
    display: inline-block;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(90deg);
}

.faq-question-text {
    flex: 1;
    text-align: left;
}

.faq-answer {
    padding: 0 0 1.25rem 1.75rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.55;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-list {
    margin: 0.5rem 0 0.75rem 1.1rem;
    padding: 0;
}

.faq-list li {
    margin-bottom: 0.35rem;
}

.footer-top {
    background: var(--blue);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    min-height: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    gap: 0.35rem;
}

.footer-top .logo-footer {
    width: auto;
    max-width: min(100%, 361px);
    max-height: min(110px, calc(200px - 3.25rem));
    height: auto;
    aspect-ratio: 722 / 361;
    object-fit: contain;
    margin-inline: auto;
    margin-bottom: 0;
    flex-shrink: 1;
    filter: brightness(0) invert(1);
}

.footer-top p {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    opacity: 0.95;
}

@media (max-width: 480px) {
    .footer-top {
        height: auto;
        min-height: 200px;
        padding: 0.5rem 1rem 0.75rem;
    }

    .footer-top .logo-footer {
        max-height: min(88px, calc(100vw * 0.28));
    }
}

.footer-bottom {
    background: #fff;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--blue);
}

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

@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    body.menu-open .menu {
        max-height: 280px;
    }

    .menu ul {
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        align-items: stretch;
    }

    .menu li {
        border-bottom: 1px solid var(--border);
    }

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

    .menu a {
        display: block;
        padding: 0.85rem 0;
    }

    .topo .content {
        position: relative;
    }

    .banner {
        background: var(--banner-bg-mobile);
    }

    .banner-canvas {
        height: auto;
        min-height: clamp(26rem, 115vw, 36rem);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .banner-aside {
        position: static;
        width: 100%;
        max-width: none;
        left: auto;
        top: auto;
        order: 1;
        padding: clamp(1.75rem, 6vw, 2.5rem) 1.25rem 1rem;
        pointer-events: auto;
    }

    .hero-logo--aside {
        display: none;
    }

    .banner-title {
        font-size: clamp(1.5rem, 6.5vw, 1.85rem);
    }

    .banner .btn-contato {
        display: none;
    }

    .banner-woman-block {
        position: relative;
        order: 2;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: clamp(14rem, 62vw, 20rem);
        flex: 1;
        align-items: flex-end;
        margin-top: auto;
        pointer-events: none;
    }

    .hero-logo--watermark {
        display: block;
        position: absolute;
        right: -6%;
        top: 42%;
        transform: translateY(-50%);
        width: min(48vw, 240px);
        max-width: 280px;
        height: auto;
        z-index: 0;
    }

    .banner-woman-block .banner-woman-img {
        position: relative;
        z-index: 1;
        width: min(92%, 26rem);
        max-width: 420px;
        margin-right: auto;
        margin-left: 0;
        object-position: left bottom;
    }
}
