/* =========================================================
   CMMC – Centro Médico Maurício Carvalho | Landing Page
   ========================================================= */

:root {
    --blue: #2458af;
    --blue-dark: #173d80;
    --navy: #0b1f44;
    --sky: #6ec1e4;
    --sky-soft: #e8f5fb;
    --green-wa: #25d366;
    --text: #1b2430;
    --muted: #5b6676;
    --bg: #ffffff;
    --bg-alt: #f4f8fc;
    --border: #e2e9f2;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(11, 31, 68, .08);
    --shadow-lg: 0 20px 50px rgba(11, 31, 68, .16);
    --header-h: 78px;
    --font-title: "Poppins", system-ui, sans-serif;
    --font-body: "Roboto", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    line-height: 1.2;
    color: var(--navy);
}

svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: min(1360px, 100% - 32px);
    margin-inline: auto;
}

.container--narrow {
    width: min(820px, 100% - 32px);
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .95rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(36, 88, 175, .35);
}

.btn--primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 12px 26px rgba(36, 88, 175, .45);
}

.btn--ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--navy);
}

.btn--outline {
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn--outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn--white {
    background: #fff;
    color: var(--blue);
    box-shadow: var(--shadow);
}

.btn--white:hover {
    color: var(--blue-dark);
    box-shadow: var(--shadow-lg);
}

.btn .icon {
    width: 20px;
    height: 20px;
    stroke: none;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--sky-soft);
    color: var(--blue);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tag--light {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    backdrop-filter: blur(6px);
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background .3s, box-shadow .3s;
}

.header.is-scrolled {
    background: rgba(23, 61, 128, .97);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
    border-radius: 0px 0px 10px 10px;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    /* border-radius: 0px 0px 10px 10px; */
}

.header__logo img {
    height: auto;
    width: 180px;
}

.header__cta {
    margin-left: 8px;
}

.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: .9rem;
    transition: background .2s;
}

.nav__link:hover,
.nav__link.is-active {
    background: rgba(255, 255, 255, .14);
}

.nav__link--outline {
    border: 1.5px solid rgba(255, 255, 255, .6);
    margin-left: 6px;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    position: relative;
}

.nav__toggle span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.nav__toggle span:nth-child(1) {
    top: 14px;
}

.nav__toggle span:nth-child(2) {
    top: 21px;
}

.nav__toggle span:nth-child(3) {
    top: 28px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 120px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero__slides,
.hero__slide,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__slides {
    z-index: -2;
}

.hero__slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 7s linear;
}

.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero__overlay {
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(11, 31, 68, .92) 0%, rgba(23, 61, 128, .78) 45%, rgba(36, 88, 175, .25) 100%);
}

.hero__content {
    max-width: 1180px;
}

.hero__title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    max-width: 760px;
    margin: 18px 0 18px;
}

.hero__title span {
    color: var(--sky);
}

.hero__text {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 600px;
    opacity: .92;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    max-width: 720px;
}

.hero__highlights li {
    display: flex;
    flex-direction: column;
}

.hero__highlights strong {
    font-family: var(--font-title);
    font-size: 1.1rem;
}

.hero__highlights span {
    font-size: .9rem;
    opacity: .8;
}

.hero__dots {
    position: absolute;
    bottom: 120px;
    right: max(16px, calc((100% - 1180px) / 2));
    display: flex;
    gap: 8px;
}

.hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: width .3s, background .3s;
}

.hero__dots button.is-active {
    width: 30px;
    background: #fff;
}

/* ---------- Serviços ---------- */
.services {
    position: relative;
    z-index: 2;
    margin-top: -80px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid transparent;
    transition: transform .3s var(--ease), border-color .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--sky);
}

.service-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    color: #fff;
    margin-bottom: 20px;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
}

/* ---------- Seções ---------- */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.section__title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin: 14px 0 12px;
}

.section__lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 48px;
}

/* ---------- Sobre ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about__media {
    position: relative;
}

.about__media img {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
}

.about__badge {
    position: absolute;
    right: -24px;
    bottom: 40px;
    background: var(--blue);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
}

.about__badge strong {
    font-family: var(--font-title);
    font-size: 2.6rem;
    line-height: 1;
}

.about__badge span {
    font-size: .9rem;
    line-height: 1.3;
}

.about__content .section__title {
    text-align: left;
}

.mvv {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.mvv__item {
    padding: 20px 22px 20px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border-left: 4px solid var(--sky);
    transition: background .3s, transform .3s var(--ease);
}

.mvv__item:hover {
    background: var(--sky-soft);
    transform: translateX(4px);
}

.mvv__item h3 {
    font-size: 1.05rem;
    color: var(--blue);
    margin-bottom: 4px;
}

.mvv__item p {
    color: var(--muted);
}

/* ---------- Números ---------- */
.stats {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    color: #fff;
    padding: 64px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.1;
    color: var(--sky);
}

.stat span {
    opacity: .9;
}

/* ---------- Especialidades ---------- */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), color .25s;
}

.spec:hover {
    border-color: var(--sky);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: var(--blue);
}

.spec__dot {
    width: 10px;
    height: 10px;
    flex: none;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 0 5px var(--sky-soft);
}

/* ---------- Corpo clínico ---------- */
.doc-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.doc-filter button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-title);
    font-size: .85rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.doc-filter button:hover {
    border-color: var(--sky);
    color: var(--blue);
}

.doc-filter button.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 16px;
}

.doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.doc img {
    width: 100%;
    height: auto;
    aspect-ratio: 512 / 640;
    object-fit: contain;
}

.doc__btn {
    margin-top: -6px;
    color: var(--blue);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .9rem;
    padding: 6px 10px;
    background: none;
    border: 0;
    cursor: pointer;
}

.doc__btn:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.doc.is-hidden,
.doc.is-collapsed {
    display: none;
}

/* ---------- Avaliações do Google ---------- */
.stars {
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 2px;
}

.stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, #f5b400 calc(var(--r) / 5 * 100%), #ffe000 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reviews__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    max-width: 980px;
    margin: 0 auto 40px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reviews__score {
    display: flex;
    align-items: center;
    gap: 18px;
}

.reviews__score>strong {
    font-family: var(--font-title);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--navy);
}

.reviews__score .stars {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 6px;
}

.reviews__count {
    color: var(--muted);
    font-size: .95rem;
}

.reviews__fallback {
    color: var(--muted);
    font-size: 1.05rem;
}

.reviews__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .25s, transform .25s var(--ease);
}

.review:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.review__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sky-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-family: var(--font-title);
    font-weight: 600;
}

.review__name {
    display: block;
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

a.review__name:hover {
    color: var(--blue);
    text-decoration: underline;
}

.review__when {
    font-size: .85rem;
    color: var(--muted);
}

.review__text {
    color: var(--text);
    font-size: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review.is-open .review__text {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.review__more {
    align-self: flex-start;
    color: var(--blue);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .85rem;
}

.review__more:hover {
    text-decoration: underline;
}

.reviews__credit {
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
    margin-top: 24px;
}

.review--skeleton {
    min-height: 200px;
    background: linear-gradient(90deg, #f1f5fa 25%, #e7edf5 50%, #f1f5fa 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border: 0;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* ---------- Destaque ---------- */
.feature {
    background: var(--blue);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 193, 228, .35), transparent 70%);
    top: -200px;
    left: -160px;
}

.feature__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin: 14px 0;
}

.feature p {
    opacity: .9;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.feature__media img {
    border-radius: 24px;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    width: 100%;
    height: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}

/* ---------- Exames ---------- */
.search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px auto 0;
    max-width: 480px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 20px;
    box-shadow: var(--shadow);
    color: var(--muted);
}

.search:focus-within {
    border-color: var(--sky);
}

.search svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.search input {
    border: 0;
    outline: 0;
    font: inherit;
    width: 100%;
    padding: 10px 0;
    background: transparent;
    color: var(--text);
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.exam {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 140px;
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s var(--ease);
}

.exam:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.exam h3 {
    font-size: 1.05rem;
}

.exam__btn {
    align-self: flex-start;
    color: var(--blue);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .9rem;
    padding: 0;
}

.exam__btn:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.exam.is-hidden {
    display: none;
}

.exam-empty {
    text-align: center;
    color: var(--muted);
    margin-top: 20px;
}

.exam-empty a {
    color: var(--blue);
    font-weight: 600;
}

/* ---------- Passos ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px);
}

.step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.step__num {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--border);
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: .95rem;
}

.step p strong {
    color: var(--blue);
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    gap: 14px;
}

.faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    position: relative;
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--navy);
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sky-soft);
    color: var(--blue);
    font-size: 1.2rem;
    transition: transform .3s;
}

.faq__item[open] summary::after {
    content: "–";
}

.faq__item[open] {
    border-color: var(--sky);
}

.faq__item p {
    padding: 0 24px 22px;
    color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
    padding: 0 0 100px;
    background: var(--bg-alt);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 48px 56px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, var(--sky));
    box-shadow: var(--shadow-lg);
}

.cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 6px;
}

.cta p {
    opacity: .9;
}

/* ---------- Contato ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: stretch;
}

.contact__list {
    display: grid;
    gap: 24px;
    margin: 28px 0;
}

.contact__list li {
    display: flex;
    gap: 16px;
}

.contact__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sky-soft);
    color: var(--blue);
}

.contact__list strong {
    display: block;
    font-family: var(--font-title);
    color: var(--navy);
    margin-bottom: 2px;
}

.contact__list span {
    color: var(--muted);
}

.contact__list a {
    color: var(--blue);
    font-weight: 500;
}

.contact__list a:hover {
    text-decoration: underline;
}

.contact__map {
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.social {
    display: flex;
    gap: 12px;
}

.social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    transition: background .2s, transform .2s;
}

.social a:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.social {
    align-items: center;
}

.social a.social__ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social a.social__ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    filter: brightness(1.08);
}

.social a.social__handle {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--blue);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: .95rem;
}

.social a.social__handle:hover {
    background: none;
    text-decoration: underline;
    transform: none;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
    padding-top: 72px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__logo {
    height: 52px;
    width: auto;
    margin-bottom: 16px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer ul {
    display: grid;
    gap: 10px;
}

.footer a:hover {
    color: var(--sky);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
    font-size: .875rem;
    text-align: center;
}

/* ---------- Flutuantes ---------- */
.wa-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-float svg {
    width: 60px;
    height: 60px;
    padding: 14px;
    border-radius: 50%;
    background: var(--green-wa);
    color: #fff;
    stroke: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    animation: pulse 2.4s infinite;
}

.wa-float__label {
    background: #fff;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.to-top {
    position: fixed;
    right: 26px;
    bottom: 110px; /* acima do botão do webchat (Cloudia), que fica no canto inferior direito */
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ---------- Animações de entrada ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
    .header__cta {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 70px;
    }

    .header {
        background: rgba(23, 61, 128, .97);
    }

    .nav__toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--blue-dark);
        padding: 16px;
        transform: translateY(-110%);
        visibility: hidden;
        transition: transform .35s var(--ease), visibility .35s;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .2);
        z-index: -1;
    }

    .nav.is-open {
        transform: none;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav__link--outline {
        margin: 8px 0 0;
        text-align: center;
    }

    .services__grid,
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .services {
        margin-top: -60px;
    }

    .about__grid,
    .feature__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__media img {
        aspect-ratio: 16 / 11;
    }

    .about__badge {
        right: 16px;
        bottom: -24px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .steps::before {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-bottom: 110px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__highlights {
        gap: 14px 24px;
    }

    .hero__dots {
        bottom: 90px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .cta__inner {
        padding: 36px 24px;
        text-align: center;
        justify-content: center;
    }

    .cta__inner .btn {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .wa-float__label {
        display: none;
    }

    .section__actions .btn {
        width: 100%;
    }

    .reviews__summary {
        padding: 24px 20px;
        justify-content: center;
        text-align: center;
    }

    .reviews__score {
        flex-direction: column;
        gap: 8px;
    }

    .reviews__actions,
    .reviews__actions .btn {
        width: 100%;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }
}