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

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    overflow-x: hidden;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.container {
    width: min(1280px, 92vw);
    margin-inline: auto;
}

.section-space {
    padding: 8rem 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: color-mix(in srgb, var(--color-primary) 75%, transparent);
    font-weight: 600;
}

.section-kicker.strong {
    color: var(--color-primary);
    font-weight: 700;
}

.section-title {
    margin: 0;
    color: var(--color-primary);
    font-family: 'Noto Serif', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.section-title.md {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-title.upper {
    text-transform: uppercase;
}

.section-text {
    font-size: 1.08rem;
    color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

.section-text.large p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.section-head {
    margin-bottom: 4rem;
}

.section-head.center {
    text-align: center;
}

.section-text.center {
    max-width: 740px;
    margin: 1rem auto 0;
}

.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: color-mix(in srgb, var(--color-bg) 90%, white);
    backdrop-filter: blur(14px);
}

.nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-icon {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.brand-name {
    font-family: 'Noto Serif', serif;
    color: var(--color-primary);
    font-size: clamp(1rem, 2vw, 1.35rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.6);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-link {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.67rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-text) 72%, transparent);
    border-bottom: 2px solid transparent;
    transition: 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn-nav-cta,
.btn-main,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: transform 260ms ease, opacity 260ms ease, background 260ms ease;
}

.btn-nav-cta {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.86rem;
    padding: 0.7rem 1.5rem;
}

.btn-nav-cta:hover,
.btn-main:hover,
.btn-secondary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.hero-section {
    padding-top: calc(var(--header-height) + 3rem);
    background: var(--color-bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: center;
}

.hero-title {
    margin: 0;
    color: var(--color-primary);
    font-family: 'Noto Serif', serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(2.2rem, 5.4vw, 4.7rem);
}

/* Mantém previsível o tamanho definido pelo editor WYSIWYG em textos inline. */
.hero-copy font[size],
.symptoms-copy font[size],
.about-copy font[size],
.section-title font[size] {
    line-height: inherit;
}

.hero-copy font[size="1"],
.symptoms-copy font[size="1"],
.about-copy font[size="1"],
.section-title font[size="1"] {
    font-size: 0.55em;
}

.hero-copy font[size="2"],
.symptoms-copy font[size="2"],
.about-copy font[size="2"],
.section-title font[size="2"] {
    font-size: 0.72em;
}

.hero-copy font[size="3"],
.symptoms-copy font[size="3"],
.about-copy font[size="3"],
.section-title font[size="3"] {
    font-size: 0.9em;
}

.hero-copy font[size="4"],
.symptoms-copy font[size="4"],
.about-copy font[size="4"],
.section-title font[size="4"] {
    font-size: 1.08em;
}

.hero-copy font[size="5"],
.symptoms-copy font[size="5"],
.about-copy font[size="5"],
.section-title font[size="5"] {
    font-size: 1.26em;
}

.hero-copy font[size="6"],
.symptoms-copy font[size="6"],
.about-copy font[size="6"],
.section-title font[size="6"] {
    font-size: 1.45em;
}

.hero-copy font[size="7"],
.symptoms-copy font[size="7"],
.about-copy font[size="7"],
.section-title font[size="7"] {
    font-size: 1.65em;
}

.hero-description {
    margin: 1.5rem 0 0;
    max-width: 620px;
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    color: color-mix(in srgb, var(--color-text) 84%, transparent);
}

.hero-description p {
    margin: 0;
}

.hero-actions {
    margin-top: 2rem;
}

.btn-main {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 84%, black), var(--color-primary));
    color: var(--color-white);
    padding: 1rem 1.8rem;
    font-size: 1.02rem;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--color-primary) 24%, transparent);
}

.hero-media {
    position: relative;
}

.hero-media-glow {
    position: absolute;
    inset: -1rem;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-secondary) 42%, transparent);
    filter: blur(34px);
    opacity: 0.7;
}

.hero-figure {
    margin: 0;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-figure img {
    width: 100%;
    height: min(640px, 72vh);
    object-fit: cover;
    transition: transform 700ms ease;
}

.hero-media:hover .hero-figure img {
    transform: scale(1.03);
}

.hero-ring {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-outline-block {
    position: absolute;
    left: -2rem;
    bottom: -2rem;
    width: 180px;
    height: 180px;
    border: 1px solid color-mix(in srgb, var(--color-secondary) 56%, transparent);
    border-radius: 1.5rem;
    z-index: -1;
}

.symptoms-section {
    background: var(--color-secondary);
}

.symptoms-grid {
    display: grid;
    grid-template-columns: 0.98fr 1.02fr;
    gap: clamp(2.2rem, 4.5vw, 4.8rem);
}

.symptoms-note {
    margin-top: 1.8rem;
    font-style: italic;
    color: color-mix(in srgb, var(--color-primary) 72%, transparent);
}

.symptoms-identification-rich p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.symptoms-identification-rich p:last-child {
    margin-bottom: 0;
}

.symptoms-list {
    display: grid;
    gap: 0.72rem;
}

.symptom-item {
    background: var(--color-white);
    border-radius: 0.6rem;
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: transform 220ms ease;
}

.symptom-item:hover {
    transform: translateX(4px);
}

.symptom-item .material-symbols-outlined {
    color: var(--color-primary);
    flex-shrink: 0;
}

.symptom-item p {
    margin: 0;
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--color-text) 92%, transparent);
}

.cards-section {
    background: var(--color-bg);
}

.pill-label {
    display: inline-block;
    margin-bottom: 1rem;
    background: color-mix(in srgb, var(--color-secondary) 42%, transparent);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    padding: 0.45rem 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.65rem;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    min-height: 268px;
    box-shadow: 0 10px 30px rgba(83, 67, 69, 0.06);
    transition: box-shadow 260ms ease;
}

.service-card:hover {
    box-shadow: 0 16px 36px rgba(83, 67, 69, 0.12);
}

.service-image {
    width: 40%;
    min-height: 100%;
}

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

.service-body {
    width: 60%;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-body h3 {
    margin: 0;
    color: var(--color-primary);
    font-family: 'Noto Serif', serif;
    font-size: 1.35rem;
    line-height: 1.28;
}

.service-body p {
    margin: 0.8rem 0 1rem;
    font-size: 0.92rem;
    color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

.service-body a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--color-primary);
}

.cards-footnote {
    max-width: 860px;
    margin: 3rem auto 0;
    text-align: center;
    color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

.about-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 7rem);
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media figure {
    margin: 0;
}

.about-media img {
    width: 100%;
    height: min(560px, 70vh);
    object-fit: cover;
    border-radius: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.about-glow {
    position: absolute;
    top: -1.5rem;
    right: -1.3rem;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-secondary) 54%, transparent);
    filter: blur(20px);
}

.about-copy .section-kicker {
    color: color-mix(in srgb, var(--color-secondary) 95%, transparent);
}

.about-copy .section-title {
    color: var(--color-white);
}

.about-copy .section-text {
    color: rgba(255, 255, 255, 0.9);
}

.about-copy .section-text p {
    margin-bottom: 1.1rem;
}

.signature-block {
    margin-top: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signature-name {
    margin: 0;
    color: var(--color-secondary);
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-size: 1.4rem;
}

.signature-crp {
    margin: 0.5rem 0 0;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.73rem;
    font-weight: 700;
}

.video-section {
    background: var(--color-bg);
}

.video-wrap {
    max-width: 1000px;
}

.video-frame {
    border-radius: 1rem;
    border: 4px solid var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback-link {
    margin: 0.95rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.video-fallback-link a {
    color: var(--color-primary);
    font-weight: 600;
}

.faq-section {
    background: var(--color-secondary);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.45fr);
    gap: clamp(1.4rem, 4vw, 3.2rem);
    align-items: start;
}

.faq-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.3rem);
}

.faq-aside .section-title {
    margin-bottom: 1.1rem;
}

.faq-aside-text {
    margin: 0;
    color: color-mix(in srgb, var(--color-text) 86%, transparent);
    max-width: 34ch;
}

.faq-support-btn {
    margin-top: 1.35rem;
    width: fit-content;
    font-size: 0.95rem;
    padding: 0.88rem 1.35rem;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    max-height: min(74vh, 760px);
    overflow-y: auto;
    padding-right: 0.35rem;
}

.faq-list::-webkit-scrollbar {
    width: 8px;
}

.faq-list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--color-primary) 36%, white);
    border-radius: 999px;
}

.faq-list::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--color-white) 55%, transparent);
    border-radius: 999px;
}

.faq-item {
    background: color-mix(in srgb, var(--color-white) 92%, transparent);
    border-radius: 1rem;
    border: 1px solid rgba(109, 27, 63, 0.12);
    box-shadow: 0 8px 20px rgba(83, 67, 69, 0.06);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.95rem;
}

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

.faq-question {
    font-size: clamp(1.02rem, 1.1vw, 1.22rem);
    line-height: 1.35;
    color: var(--color-primary);
    font-weight: 600;
}

.faq-item .icon {
    color: var(--color-primary);
    transition: transform 220ms ease;
    font-size: 1.45rem;
}

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

.faq-content {
    border-top: 1px solid rgba(109, 27, 63, 0.12);
    padding: 0.95rem 1.25rem 1.1rem;
    color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

.faq-content p {
    margin: 0;
}

.cta-section {
    background: var(--color-primary);
}

.cta-shell {
    position: relative;
    overflow: hidden;
    border-radius: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    padding: clamp(2.4rem, 5vw, 4rem);
    animation: breath-pulse 8s ease-in-out infinite;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    margin: 0;
    color: var(--color-white);
    font-family: 'Noto Serif', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2.3vw, 1.28rem);
    max-width: 700px;
    margin: 1.35rem auto 0;
}

.btn-secondary {
    margin-top: 2rem;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 1rem 1.75rem;
    font-size: 1.07rem;
}

.site-footer {
    background: var(--color-bg);
    padding: 3.2rem 0;
    text-align: center;
}

.footer-shell {
    display: grid;
    gap: 1.15rem;
    justify-items: center;
}

.footer-name {
    color: var(--color-primary);
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

.footer-links a {
    text-decoration: none;
    color: color-mix(in srgb, var(--color-text) 74%, transparent);
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 220ms ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.floating-actions {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 70;
    display: grid;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(14px);
    padding: 0.55rem;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 220ms ease;
}

.fab:hover {
    transform: scale(1.06);
}

.fab-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.fab-secondary {
    background: transparent;
    color: var(--color-primary);
}

@keyframes breath-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.016);
    }
}

@media (max-width: 1199px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .section-space {
        padding: 5.5rem 0;
    }

    .hero-grid,
    .symptoms-grid,
    .about-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .hero-figure img,
    .about-media img {
        height: min(560px, 60vh);
    }

    .about-media {
        order: 2;
    }

    .about-copy {
        order: 1;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        left: 4vw;
        right: 4vw;
        top: calc(100% + 0.8rem);
        background: color-mix(in srgb, var(--color-bg) 92%, white);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 1rem;
        box-shadow: 0 18px 40px rgba(30, 20, 22, 0.1);
        backdrop-filter: blur(12px);
        padding: 1rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .faq-aside {
        position: static;
    }

    .faq-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(1280px, 93vw);
    }

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

    .service-card {
        flex-direction: column;
        min-height: auto;
    }

    .service-image,
    .service-body {
        width: 100%;
    }

    .service-image {
        height: 230px;
    }

    .service-body {
        padding: 1.4rem;
    }

    .faq-item summary {
        padding: 1rem;
    }

    .faq-question {
        font-size: 1.02rem;
    }

    .faq-content {
        padding: 0.85rem 1rem 1rem;
    }

    .faq-support-btn {
        width: 100%;
    }

    .floating-actions {
        right: 1rem;
        bottom: 1rem;
    }
}
