:root {
    --magenta: #AC3372;
    --magenta-dark: #8E2760;
    --magenta-soft: #F8E8F0;
    --teal: #3ACBC6;
    --teal-soft: #E4F8F7;
    --bg: #FAF8F9;
    --card: #FFFFFF;
    --ink: #3A3A3A;
    --muted: #4B4F58;
    --line: #EBE4E8;
    --radius: 22px;
    --shadow: 0 10px 30px rgba(172, 51, 114, .10);

    --shadow-lg: 0 18px 44px rgba(172, 51, 114, .18);

    html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: var(--ink);
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

section {
    padding: 84px 0;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--magenta);
    background: var(--magenta-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.section-head p {
    color: var(--muted);
    margin-top: 12px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--ink);
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.02rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .98rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .25s;
}

.btn-primary {
    background: var(--magenta);
    color: #fff;
    box-shadow: 0 8px 22px rgba(172, 51, 114, .30);
}

.btn-primary:hover {
    background: var(--magenta-dark);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-persona {
    color: #C72B83 !important;
}

.brand-voce {
    color: #38A9D6 !important;
}

.menu {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}

.menu>li {
    position: relative;
}

.menu>li>a,
.menu>li>.submenu-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-family: 'Lato', system-ui, sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}

.menu>li>a:hover,
.menu>li>.submenu-toggle:hover,
.menu>li:hover>a {
    background: var(--magenta-soft);
    color: var(--magenta);
}

.submenu-toggle::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: .2s ease;
}

.has-sub.open .submenu-toggle::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

/* SUBMENU */

.sub {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 250px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.has-sub:hover .sub,
.has-sub.open .sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sub li {
    width: 100%;
}

.sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: .92rem;
    color: var(--muted);
    transition: .2s;
}

.sub a:hover {
    background: var(--magenta-soft);
    color: var(--magenta);
}

.sub a img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: cover;
    border-radius: 50%;
}

.sub a span {
    display: block;
    line-height: 1.25;
}

/* BURGER */

.burger {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--magenta);
    margin: 5px auto;
    border-radius: 2px;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 130px;
    background: linear-gradient(135deg,
            #AC3372 0%,
            #C2468A 55%,
            #D86BA5 100%);
    color: #fff;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.hero::before {
    width: 460px;
    height: 460px;
    right: -120px;
    top: -140px;
    background: rgba(58, 203, 198, .30);
}

.hero::after {
    width: 320px;
    height: 320px;
    left: -100px;
    bottom: -140px;
    background: rgba(255, 255, 255, .12);
}

.hero .wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero-brand {
    width: 128px;
    height: 128px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    margin: 0 auto 28px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .16);
}

.hero h1 {
    max-width: 780px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 700;
}

.hero h1 em {
    color: #BFF5F2;
    font-style: normal;
}

.hero p {
    max-width: 600px;
    margin: 22px auto 32px;
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: .94;
}

.search {
    display: flex;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
    max-width: 600px;
    margin: 0 auto;
}

.search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 20px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    min-width: 0;
}

.search .btn {
    padding: 12px 26px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

/* ESPECIALIDADES */

.section-specialties {
    background: var(--bg);
    padding-top: 75px;
    padding-bottom: 95px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 46px 28px;
    align-items: start;
    justify-items: center;
    width: 100%;
}

.specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 180px;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    transition: transform .25s ease;
}

.specialty-card:hover {
    transform: translateY(-7px);
}

.specialty-image {
    position: relative;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            var(--magenta),
            var(--teal));
    box-shadow: 0 12px 30px rgba(172, 51, 114, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.specialty-card:hover .specialty-image {
    transform: scale(1.05);
    box-shadow: 0 18px 38px rgba(172, 51, 114, .25);
}

.specialty-image::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fff;
    z-index: 0;
}

.specialty-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    transition: transform .25s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.08);
}

.specialty-name {
    display: block;
    margin-top: 20px;
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    transition: color .2s ease;
}

.specialty-card:hover .specialty-name {
    color: var(--magenta);
}

.specialty-name::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg,
            var(--magenta),
            var(--teal));
    transition: width .25s ease;
}

.specialty-card:hover .specialty-name::after {
    width: 28px;
}

/* OBJETIVO */

.goal {
    position: relative;
    background: linear-gradient(135deg,
            var(--magenta) 0%,
            #C2468A 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0 130px;
}

.goal h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    max-width: 860px;
    margin: 0 auto 18px;
}

.goal p {
    max-width: 620px;
    margin: 0 auto 34px;
    font-size: 1.1rem;
    opacity: .95;
}

.goal .actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.goal svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

/* MODALIDADES */

.modes {
    display: grid;
    gap: 28px;
}

.mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mode img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.mode-body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mode.rev img {
    order: 2;
}

.mode h3 {
    font-size: 1.1rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px;
}

.mode h2 {
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.mode ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.mode li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 1.05rem;
}

.mode li::before {
    content: '✓';
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: #1FA8A3;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .85rem;
}

/* CTA */

.cta {
    padding: 20px 0 84px;
    text-align: center;
}

.cta .box {
    background: var(--teal-soft);
    border-radius: 32px;
    padding: 56px 24px;
}

.cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 24px;
}

/* DEPOIMENTOS */

.testi {
    background: #fff;
}

.testi-empty {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg);
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 44px 28px;
    color: var(--muted);
}

/* FOOTER */

footer {
    background: #2B2B2E;
    color: #CFCFD3;
    padding: 70px 0 0;
}

.f-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1.3fr;
    gap: 48px;
    padding-bottom: 50px;
}

footer img.logo {
    width: 120px;
    object-fit: contain;
    margin-bottom: 16px;
}

footer h4 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

footer a:hover {
    color: var(--teal);
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--magenta);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    transition: .25s;
}

.social a:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-3px);
}

.f-contact li {
    display: flex;
    gap: 10px;
}

.f-contact b {
    color: #fff;
}

.map {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 170px;
    border: 0;
}

.copy {
    background: var(--magenta);
    padding: 18px 0;
    font-size: .9rem;
    color: #fff;
}

.copy .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.copy nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* WHATSAPP */

.wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 12px 20px 12px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: .25s;
}

.wa:hover {
    transform: translateY(-3px);
}

.wa svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s, transform .7s;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .specialties-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 44px 22px;
    }
}

@media (max-width: 980px) {
    .f-grid {
        grid-template-columns: 1fr 1fr;
    }

    .f-grid>div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .burger {
        display: block;
    }

    .menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 72px);
        overflow: auto;
    }

    .menu.open {
        display: flex;
    }

    .menu>li>a {
        border-radius: 12px;
    }

    .sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 12px;
        display: none;
        max-height: none;
        min-width: 0;
    }

    .has-sub.open .sub {
        display: block;
    }

    .has-sub:hover .sub {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

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

    .mode.rev img {
        order: 0;
    }

    .mode-body {
        padding: 30px 24px;
    }

    section {
        padding: 64px 0;
    }
}

@media (max-width: 700px) {
    .specialties-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 12px;
    }

    .specialty-card {
        max-width: 150px;
    }

    .specialty-image {
        width: 120px;
        height: 120px;
        flex-basis: 120px;
    }

    .specialty-image img {
        width: 68px;
        height: 68px;
    }

    .specialty-name {
        margin-top: 17px;
        font-size: .88rem;
    }

    .wrap {
        width: min(calc(100% - 28px), 1180px);
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .f-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-brand {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        padding: 7px;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 2.15rem;
        line-height: 1.15;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 18px;
    }

    .search {
        flex-direction: column;
        border-radius: 28px;
    }

    .search input {
        text-align: center;
    }

    .wa span {
        display: none;
    }

    .wa {
        padding: 12px;
    }

    .copy .wrap {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .specialties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 12px;
    }

    .specialty-card {
        max-width: 155px;
    }

    .specialty-image {
        width: 125px;
        height: 125px;
        flex-basis: 125px;
    }

    .specialty-image img {
        width: 72px;
        height: 72px;
    }

    .specialty-name {
        font-size: .9rem;
    }
}

@media (max-width: 380px) {
    .specialty-image {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }

    .specialty-image img {
        width: 62px;
        height: 62px;
    }

    .specialty-name {
        font-size: .84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
