:root {
    --color-navy: #06223d;
    --color-blue: #123f69;
    --color-teal: #0aa78d;
    --color-green: #16a879;
    --color-ice: #f4f9fb;
    --color-line: #dce7ee;
    --color-text: #102a43;
    --color-muted: #5d7184;
    --shadow-soft: 0 18px 50px rgba(6, 34, 61, .12);
    --radius: 8px;
    --container: 1400px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background: #f8fbfd;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.mobile-only  { display: none !important; }

.site-header {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: visible;
}
.topbar {
    border-radius: var(--radius) var(--radius) 0 0;
    color: #fff;
    background: var(--color-navy);
    font-size: 13px;
    font-weight: 450;
}
.topbar-inner {
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 38px;
}
.topbar-contact,
.topbar-contact span,
.topbar-contact a,
.topbar-contact button,
.topbar-social {
    display: flex;
    align-items: center;
}
.topbar-contact { gap: 18px; }
.topbar-contact span,
.topbar-contact a,
.topbar-contact button {
    gap: 9px;
    white-space: nowrap;
    color: #fff;
    font-weight: 450;
}
.topbar-contact button {
    border: 0;
    padding: 0;
    background: transparent;
}
.topbar-social { gap: 22px; }
svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.topbar svg,
.nav-wrap svg,
.mobile-header svg,
.sidebar-panel svg {
    width: 20px;
    height: 20px;
}
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 126px;
    padding: 22px 38px;
    border: 1px solid var(--color-line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-soft);
    background: #fff;
    transition: min-height .22s ease, padding .22s ease, border-radius .22s ease, box-shadow .22s ease;
}
.brand {
    display: block;
    flex: 0 0 auto;
    color: var(--color-navy);
    margin-left: -38px;
}
.brand img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    transition: width .22s ease;
}
.nav-menu, .nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-menu {
    flex: 1 1 auto;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.15;
    color: #001b3f;
}
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-item > a,
.nav-item > button,
.nav-menu > a,
.nav-actions button,
.sidebar-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
}
.nav-item > a svg,
.nav-item > button svg {
    width: 14px;
    height: 14px;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    min-width: 220px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    display: flex;
}
.nav-dropdown a,
.nav-dropdown button {
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    border-radius: var(--radius);
}
.nav-dropdown a:hover,
.nav-dropdown button:hover {
    background: var(--color-ice);
}
.nav-menu button, .nav-actions button, .sidebar-panel button {
    border: 0;
    background: transparent;
    color: var(--color-text);
}
.nav-actions {
    gap: 18px;
    padding-left: 24px;
    border-left: 1px solid var(--color-line);
}
.nav-actions button, .nav-actions a, .button-like {
    min-height: 56px;
    min-width: 178px;
    padding: 0 18px;
    border: 1px solid var(--color-navy);
    border-radius: var(--radius);
    background: var(--color-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 450;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: min-height .22s ease, min-width .22s ease, padding .22s ease;
}
.nav-actions button svg, .nav-actions a svg { width: 20px; height: 20px; }
.nav-actions .primary { border-color: var(--color-teal); background: var(--color-teal); }

.nav-wrap.is-stuck {
    min-height: 78px;
    padding-block: 10px;
    border-top: 1px solid var(--color-line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 10px 28px rgba(6, 34, 61, .1);
}
.nav-wrap.is-stuck .brand img {
    width: 168px;
}
.nav-wrap.is-stuck .nav-actions button, .nav-wrap.is-stuck .nav-actions a {
    min-height: 48px;
    min-width: 140px;
    padding-inline: 16px;
}

/* Hero Background Slider */
.hero-bg-slider,
.hero-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 65%; height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    border-radius: 0 0 24px 0;
}
.hero-bg-slider img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    animation: fadeSlide 24s infinite;
}
.hero-bg-slider img:nth-child(1) { 
    animation-delay: 0s; 
    object-position: center 20%; /* Foca mais no prédio e menos no estacionamento */
}
.hero-bg-slider img:nth-child(2) { animation-delay: 6s; }
.hero-bg-slider img:nth-child(3) { animation-delay: 12s; }
.hero-bg-slider img:nth-child(4) { animation-delay: 18s; }

@keyframes fadeSlide {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    background: linear-gradient(90deg, var(--color-navy) -2%, rgba(6, 34, 61, 0.4) 60%, rgba(6, 34, 61, 0) 100%);
    z-index: 2;
}

.hero {
    color: #fff;
    background-color: var(--color-navy);
    position: relative;
    overflow: visible;
}
.hero-desktop {
    height: calc(100vh - 167px);
    min-height: 650px;
    margin-top: 0;
}
.hero-mobile {
    height: clamp(700px, 85vh, 1080px);
    min-height: 700px;
}
.hero > .container {
    position: relative;
    min-height: inherit;
    z-index: 3;
}
.hero-copy {
    width: min(100%, 520px);
    padding-top: 10vh;
}
.hero-copy > span {
    display: block;
    margin-bottom: 12px;
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.hero-copy h1 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 500;
}
.hero-copy h1 strong {
    color: var(--color-teal);
    font-weight: 600;
}
.hero-copy p {
    width: min(100%, 430px);
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}
.hero-actions a,
.hero-actions button {
    min-width: 176px;
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: var(--radius);
    background: rgba(2, 20, 39, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}
.hero-actions .primary {
    border-color: var(--color-teal);
    background: var(--color-teal);
}
.hero-actions svg,
.hero-stats svg,
.footer-help-card svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-mascot-wrapper {
    position: fixed;
    right: 40px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    z-index: 999;
    pointer-events: none;
    transform: translateY(100%);
    animation: mascotSlideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1s;
}
@keyframes mascotSlideUp {
    to { transform: translateY(0); }
}
.footer-mascot-wrapper > * {
    pointer-events: auto;
}
.footer-mascot {
    width: 180px;
    cursor: pointer;
}
.footer-help-card {
    position: relative;
    margin-bottom: 90px;
    width: 245px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    color: var(--color-navy);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px) scale(0.9);
    transform-origin: right center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Invisible bridge to prevent hover loss when moving mouse over the gap */
.footer-help-card::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -100px;
    right: -30px;
    width: 50px;
    z-index: -1;
}
.footer-help-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent #fff;
}

/* Typing Effect */
.footer-mascot-wrapper:hover .footer-help-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
}
.footer-mascot-wrapper:hover .typing-indicator {
    animation: hideTyping 2.5s forwards;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--color-teal);
    border-radius: 50%;
    animation: typingBounce 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.help-card-content {
    opacity: 0;
}
.footer-mascot-wrapper:hover .help-card-content {
    animation: showContent 0.5s forwards;
    animation-delay: 2s;
}

@keyframes typingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes hideTyping {
    0%, 80% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}
@keyframes showContent {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.footer-help-card p {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}
.footer-help-card span {
    display: block;
    margin: 4px 0 12px;
    font-size: 13px;
    color: var(--color-muted);
}
.footer-help-card button {
    width: 100%;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius);
    background: var(--color-green);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.footer-help-card button:hover {
    background: #118a61;
}
.hero-stats {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -32px;
    min-height: 106px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(8, 38, 64, 0.85) 0%, rgba(8, 38, 64, 0.65) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    z-index: 4;
}
.hero-stats article {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-areas: "icon text" "desc desc";
    gap: 10px 10px;
    align-content: start;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero-stats article:last-child {
    border-right: 0;
    padding-right: 0;
}
.hero-stats svg {
    grid-area: icon;
    width: 28px;
    height: 28px;
}
.hero-stats div {
    grid-area: text;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-stats strong {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.hero-stats span {
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    line-height: 1.3;
}
.hero-stats p {
    grid-area: desc;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    line-height: 1.4;
}
.page-shell { min-height: 420px; padding: 88px 0 64px; background: #fff; }
.prefooter {
    padding: 24px 0 0;
    background: #fff;
}
.prefooter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.prefooter-card {
    min-height: 188px;
    padding: 18px 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 16px 38px rgba(6, 34, 61, .06), 0 3px 10px rgba(6, 34, 61, .04);
}
.section-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.prefooter-card h2 {
    margin: 0 0 18px;
    color: var(--color-navy);
    font-size: 19px;
    line-height: 1.15;
    font-weight: 500;
}
.convenios-logos {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
}
.convenios-logos img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
}
.convenios-card .outline-button {
    display: flex;
    margin-inline: auto;
}
.outline-button {
    width: max-content;
    min-height: 36px;
    margin-top: 16px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--color-teal);
    border-radius: var(--radius);
    color: var(--color-navy);
    font-size: 12px;
    font-weight: 450;
}
.outline-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.unidade-content {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 210px;
    gap: 20px;
    align-items: center;
}
.unidade-content > img,
.unidade-content .unidade-img-link img,
.unidade-card > img,
.unidade-card .unidade-img-link img {
    width: 100%;
    aspect-ratio: 2.55 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(6, 34, 61, .1);
}
.unidade-img-link {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease;
}
.unidade-img-link:hover {
    opacity: 0.85;
}
.unidade-info {
    display: grid;
    gap: 10px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.35;
}
.unidade-info a:not(.outline-button) {
    display: inline-flex;
    gap: 8px;
    align-items: flex-start;
}
.unidade-info svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.site-footer {
    position: relative;
    padding: 18px 0 0;
    background: #fff;
    color: var(--color-muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 250px repeat(4, minmax(115px, 1fr)) 300px;
    gap: 24px;
    align-items: start;
}
.footer-brand img {
    width: 180px;
    display: block;
    margin-bottom: 12px;
}
.footer-brand p {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a,
.footer-contact svg {
    color: var(--color-navy);
}
.footer-social svg,
.footer-contact svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-grid nav,
.footer-contact {
    display: grid;
    gap: 8px;
    font-size: 12px;
}
.footer-grid strong,
.footer-contact strong {
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 600;
}
.footer-grid button,
.footer-contact button {
    width: max-content;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}
.footer-contact a,
.footer-contact button,
.footer-contact span {
    display: inline-flex;
    gap: 9px;
    align-items: flex-start;
    line-height: 1.35;
}
.footer-bottom {
    margin-top: 18px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--color-line);
    font-size: 11px;
}

.mobile-sidebar, .modal-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(6, 34, 61, 0.75);
    overflow-y: auto;
}
.mobile-sidebar[aria-hidden="true"], .modal-layer[hidden] { display: none; }
.sidebar-panel {
    width: min(100vw, 760px);
    min-height: 100%;
    margin-left: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-navy);
    color: #fff;
}
.icon-button {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-navy);
}
.icon-button-green { color: var(--color-teal); }
.close { align-self: flex-end; }
.modal-panel {
    width: min(92vw, 520px);
    margin: 12vh auto 0;
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.modal-placeholder { min-height: 160px; }

/* Quick Access */
.quick-access {
    padding: 40px 0 20px;
    background: #fff;
}
.quick-access-header {
    margin-bottom: 32px;
}
.quick-access-header h2 {
    color: var(--color-navy);
    font-size: 24px;
    margin: 0 0 8px;
    font-weight: 700;
}
.quick-access-header p {
    color: var(--color-muted);
    font-size: 14px;
    margin: 0;
}
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    color: var(--color-navy);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
    cursor: pointer;
}
.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.quick-icon {
    width: 32px;
    height: 32px;
    color: var(--color-green);
    flex: 0 0 auto;
}
.quick-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.quick-card span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* About Section */
.about-section {
    padding: 60px 0 100px;
    background: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content .eyebrow {
    display: block;
    color: var(--color-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.about-content h2 {
    color: var(--color-navy);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 24px;
}
.about-content p {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.about-content .outline-button {
    margin-top: 24px;
    border-color: var(--color-green);
    color: var(--color-green);
    font-size: 14px;
    padding: 0 24px;
    height: 48px;
    border-radius: 8px;
}
.about-content .outline-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.about-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}
.about-gallery img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.lab-main-wrap {
    position: relative;
    height: 100%;
}
.lab-main {
    height: 100%;
    min-height: 380px;
}
.lab-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
.lab-side img {
    height: 100%;
    min-height: 182px;
}

.gallery-badge {
    position: absolute;
    bottom: -16px;
    right: -30px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}
.badge-icon {
    width: 40px;
    height: 40px;
    color: var(--color-green);
}
.badge-icon svg { width: 100%; height: 100%; }
.gallery-badge strong {
    display: block;
    color: var(--color-green);
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 4px;
}
.gallery-badge span {
    display: block;
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.3;
}

/* Guia de Exames */
.guia-banner {
    position: relative;
    background-image: url('../img/fundo-guia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 36px 0;
    overflow: hidden;
    max-width: var(--container);
    width: calc(100% - 40px);
    margin: 0 auto;
    border-radius: 24px !important;
}

.guia-banner-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.guia-left {
    padding-left: 280px;
}
.guia-left .guia-eyebrow {
    color: #00d69e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}
.guia-left h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}
.guia-left p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.guia-left .primary.button-like {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.guia-left .primary.button-like:hover { opacity: 0.9; }
.guia-left .primary.button-like svg { width: 18px; height: 18px; }

.guia-search-wrapper {
    position: relative;
    margin-bottom: 24px;
}
#guia-search-input {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    color: var(--color-navy);
    outline: none;
}
.guia-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
}
.guia-search-btn svg { width: 20px; height: 20px; }
.guia-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
}
.guia-search-result-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: var(--color-navy);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    background: transparent;
    border-left: none; border-right: none; border-top: none; width: 100%;
}
.guia-search-result-item:hover { background: #f9f9f9; }
.guia-search-result-item:last-child { border-bottom: none; }
.guia-search-result-item strong { display: block; font-size: 14px; margin-bottom: 2px;}
.guia-search-result-item span { display: block; font-size: 12px; color: var(--color-muted); }

.guia-popular span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 12px;
}
.guia-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.guia-popular-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.guia-popular-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Modal Guia */
.guia-modal-box {
    max-width: 600px;
    padding: 30px;
}
.guia-modal-header { margin-bottom: 24px; border-bottom: 1px solid #eee; padding-bottom: 16px; }
.guia-modal-header h3 { font-size: 24px; color: var(--color-navy); margin: 0 0 4px; }
.guia-sinonimos { font-size: 13px; color: var(--color-muted); }
.guia-modal-body { display: flex; flex-direction: column; gap: 16px; }
.guia-info-item { font-size: 14px; color: var(--color-navy); }
.guia-info-item strong { color: var(--color-green); margin-right: 6px; display: inline-block; width: 70px; }
.guia-info-item.full-width strong { display: block; width: auto; margin-bottom: 8px; }


@media (max-width: 991px) {
    .quick-access-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-content { order: 1; }
    .about-gallery { order: 2; }
}

@media (max-width: 1100px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 20;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 76px;
        margin: 0;
        padding: 0 18px;
        border: 0;
        border-bottom: 1px solid var(--color-line);
        border-radius: 0;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }
    .mobile-header .brand img,
    .sidebar-head .brand img { width: 140px; }
    .mobile-header svg,
    .sidebar-head svg {
        width: 28px;
        height: 28px;
    }
    .mobile-header .icon-button,
    .sidebar-head .icon-button {
        width: 48px;
        height: 48px;
    }
    .mobile-actions { display: inline-flex; align-items: center; gap: 8px; }
    .mobile-actions::before {
        content: "";
        width: 1px;
        height: 34px;
        margin-right: 4px;
        background: var(--color-line);
    }
    .mobile-sidebar {
        background: rgba(6, 34, 61, .46);
        opacity: 1;
        transition: opacity .22s ease;
    }
    .mobile-sidebar[aria-hidden="true"] {
        display: block;
        pointer-events: none;
        opacity: 0;
    }
    .mobile-sidebar[aria-hidden="true"] .sidebar-panel {
        transform: translateX(-100%);
    }
    .sidebar-panel {
        width: min(86vw, 360px);
        margin-left: 0;
        margin-right: auto;
        overflow-y: auto;
        transform: translateX(0);
        transition: transform .26s ease;
        box-shadow: 20px 0 50px rgba(0, 0, 0, .2);
    }
    .sidebar-head {
        min-height: 76px;
        display: grid;
        grid-template-columns: 52px 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        background: #fff;
        color: var(--color-navy);
    }
    .sidebar-head .brand { justify-self: center; }
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        padding: 14px 22px 0;
    }
    .sidebar-nav a,
    .sidebar-nav summary {
        min-height: 46px;
        display: flex;
        align-items: center;
        gap: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        color: #fff;
        font-size: 14px;
        font-weight: 400;
        list-style: none;
        text-align: left;
    }
    .sidebar-nav summary::-webkit-details-marker { display: none; }
    .sidebar-nav summary svg:last-child {
        margin-left: auto;
        width: 18px;
        height: 18px;
    }
    .sidebar-nav details[open] summary svg:last-child { transform: rotate(180deg); }
    .sidebar-nav details > a,
    .sidebar-nav details > button {
        width: 100%;
        min-height: 38px;
        padding-left: 40px;
        justify-content: flex-start;
        color: rgba(255, 255, 255, .82);
        font-weight: 400;
        font-size: 13px;
        text-align: left;
        border-bottom: 0;
    }
    .sidebar-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 22px;
        border-top: 1px solid rgba(255, 255, 255, .16);
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }
    .sidebar-actions button {
        min-width: 0;
        min-height: 46px;
        padding: 0 14px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: var(--radius);
        color: #fff;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.1;
        display: grid;
        grid-template-columns: 22px 1fr 18px;
        justify-items: start;
    }
    .sidebar-actions button svg { width: 18px; height: 18px; }
    .sidebar-actions .primary {
        border-color: var(--color-teal);
        background: var(--color-teal);
    }
    .sidebar-contact {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 22px;
        font-size: 13px;
        font-weight: 400;
    }
    .sidebar-contact span,
    .sidebar-contact a,
    .sidebar-contact button {
        max-width: 100%;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #fff;
        overflow-wrap: anywhere;
    }
    .sidebar-contact button {
        border: 0;
        padding: 0;
        background: transparent;
    }
    .sidebar-helper {
        margin: 6px 22px 18px;
        padding: 12px;
        display: grid;
        grid-template-columns: 86px 1fr;
        align-items: center;
        gap: 12px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .06);
    }
    .sidebar-helper img {
        width: 86px;
        display: block;
    }
    .sidebar-helper div {
        display: grid;
        gap: 4px;
    }
    .sidebar-helper strong {
        font-size: 15px;
        font-weight: 500;
        color: var(--color-teal);
    }
    .sidebar-helper span {
        font-size: 13px;
        line-height: 1.25;
        color: rgba(255, 255, 255, .82);
    }
    .sidebar-helper button {
        width: max-content;
        max-width: 100%;
        min-height: 34px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, .44);
        border-radius: var(--radius);
        color: #fff;
        font-size: 12px;
    }
    .sidebar-helper button svg {
        width: 16px;
        height: 16px;
        color: var(--color-teal);
    }
    .sidebar-social {
        display: grid;
        justify-items: center;
        gap: 12px;
        padding: 6px 22px 18px;
        color: rgba(255, 255, 255, .82);
        font-size: 13px;
    }
    .sidebar-social > div {
        display: flex;
        gap: 16px;
    }
    .sidebar-social a {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(10, 167, 141, .72);
        border-radius: 999px;
        color: #fff;
    }
    .sidebar-social svg { width: 20px; height: 20px; }
    .sidebar-note {
        padding: 0 22px 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: rgba(255, 255, 255, .78);
        font-size: 13px;
    }
    .sidebar-note svg {
        width: 16px;
        height: 16px;
        color: var(--color-teal);
    }
    .container { width: 100%; padding-inline: 16px; }
    .hero { min-height: 300px; }
    .hero-mobile {
        min-height: 100vh;
        height: auto;
        display: flex;
        flex-direction: column;
        background-position: center top;
        background-size: cover;
        padding-bottom: 40px;
    }
    .hero-mobile .hero-bg-slider,
    .hero-mobile .hero-overlay {
        top: auto;
        bottom: 0;
        height: 55vh;
        width: 100%;
        border-radius: 0;
    }
    .hero-mobile .hero-overlay {
        background: linear-gradient(180deg, var(--color-navy) 0%, rgba(6, 34, 61, 0.55) 30%, rgba(6, 34, 61, 0.55) 100%);
    }
    .hero-mobile .hero-stats {
        position: relative;
        left: 0; right: 0; bottom: 0;
        margin-top: auto; /* Pushes stats to the bottom of the flex hero */
        width: 100vw;
        margin-left: -16px;
        padding: 0;
        display: flex;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        scrollbar-width: none;
    }
    .hero-mobile .hero-stats::-webkit-scrollbar { display: none; }
    
    .hero-mobile .hero-stats::before,
    .hero-mobile .hero-stats::after {
        content: '';
        flex: 0 0 7.5vw;
    }

    .hero-mobile .hero-stats article {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        margin-right: 4vw;
        padding: 24px 20px;
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(8, 38, 64, 0.85) 0%, rgba(8, 38, 64, 0.65) 100%);
        
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }
    .hero-mobile .hero-stats article > div {
        align-items: center;
        text-align: center;
    }
    .hero-mobile .hero-stats article p {
        margin-top: 6px;
    }
    .hero-mobile .hero-stats article:last-child {
        margin-right: 0;
    }
    .hero-mobile .hero-copy {
        width: 100%;
        padding: 42px 0 0;
    }
    .hero-mobile .hero-copy > span {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .hero-mobile .hero-copy h1 {
        max-width: 330px;
        font-size: 32px;
        line-height: 1.08;
        font-weight: 600;
    }
    .hero-mobile .hero-copy p {
        max-width: 310px;
        font-size: 14px;
    }
    .hero-mobile .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-mobile .hero-actions a,
    .hero-mobile .hero-actions button {
        min-width: 0;
        min-height: 44px;
        padding: 0 10px;
        font-size: 12px;
    }
    .quick-access { padding: 40px 0; }
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .quick-card {
        padding: 12px 10px;
        gap: 8px;
    }
    .quick-card span {
        font-size: 12px;
    }
    .quick-icon {
        width: 28px;
        height: 28px;
    }
    .about-section { padding: 40px 0 60px; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-content h2 {
        font-size: 28px;
    }
    .about-gallery {
        grid-template-columns: 1fr;
    }
    .lab-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .lab-side img {
        min-height: 120px;
    }
    .gallery-badge {
        right: 16px;
        bottom: -20px;
        padding: 16px;
        gap: 12px;
    }
    
    .page-shell { min-height: 360px; padding: 40px 0; }
    .prefooter.mobile-only {
        padding: 18px 0 8px;
        display: block;
    }
    .prefooter-mobile-stack {
        display: grid;
        gap: 14px;
    }
    .prefooter-card {
        min-height: 0;
        padding: 18px 16px;
        width: 100%;
    }
    .prefooter-card h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .convenios-logos {
        min-height: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 22px;
        align-items: center;
        justify-items: center;
    }
    .convenios-logos img {
        max-width: 125px;
        max-height: 46px;
    }
    .convenios-card .outline-button,
    .unidade-card .outline-button {
        width: 100%;
        margin-top: 18px;
    }
    .unidade-card {
        display: grid;
        gap: 14px;
    }
    .unidade-card > img {
        aspect-ratio: 1.9 / 1;
    }
    .unidade-card > a:not(.outline-button) {
        color: var(--color-muted);
        font-size: 13px;
        line-height: 1.35;
    }
    .site-footer.mobile-only {
        padding: 22px 16px;
        display: grid;
        gap: 18px;
        background: #fff;
        color: var(--color-muted);
    }
    .site-footer.mobile-only .footer-brand img {
        width: 150px;
        margin-inline: auto;
    }
    .site-footer.mobile-only .footer-brand {
        text-align: center;
    }
    .footer-mobile-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 22px;
        padding-top: 4px;
    }
    .footer-mobile-menu nav {
        display: grid;
        gap: 8px;
        font-size: 13px;
    }
    .footer-mobile-menu nav:last-child {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
    .footer-mobile-menu nav:last-child strong {
        grid-column: 1 / -1;
    }
    .footer-mobile-menu strong {
        color: var(--color-navy);
        font-size: 13px;
        font-weight: 600;
    }
    .footer-mobile-menu button {
        width: max-content;
        border: 0;
        padding: 0;
        background: transparent;
        color: inherit;
        text-align: left;
    }
    .site-footer.mobile-only .footer-contact {
        display: grid;
        gap: 12px;
        font-size: 13px;
    }
    .site-footer.mobile-only .footer-contact a,
    .site-footer.mobile-only .footer-contact button {
        width: 100%;
        display: grid;
        grid-template-columns: 20px 1fr;
        align-items: center;
        gap: 12px;
        border: 0;
        background: transparent;
        padding: 0;
        color: inherit;
        text-align: left;
    }
    .footer-mascot {
        width: 110px;
    }
    .footer-help-card {
        width: 200px;
        margin-bottom: 50px;
        padding: 14px;
    }
    .footer-help-card p {
        font-size: 13px;
    }
    .footer-help-card span {
        font-size: 12px;
    }
    .footer-help-card button {
        padding: 8px;
        font-size: 12px;
    }

    /* Guia Mobile */
    .guia-banner-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .guia-left { padding-left: 0; }
    .guia-left h2 { font-size: 26px; }
    .guia-popular-grid {
        grid-template-columns: 1fr;
    }
    .guia-modal-box {
        padding: 24px 20px;
    }
    .guia-modal-header h3 { font-size: 20px; }
}

@keyframes modalEnterFade {
    0% { transform: translateY(24px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Modal Fale Conosco e Derivados Premium */
.modal-layer {
    background: rgba(3, 16, 32, 0.72) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-contact {
    width: min(92vw, 500px) !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 28px !important;
    box-shadow: 0px 32px 80px rgba(0, 0, 0, 0.12) !important;
    background-color: #ffffff !important;
    background-image: url('../img/fundo-modal.png') !important;
    background-size: 115% 115% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateY(24px);
    opacity: 0;
    animation: modalEnterFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-contact-header {
    background: transparent;
    padding: 32px 32px 16px 32px;
    position: relative;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-icon-circle {
    display: none !important;
}

.modal-contact-header h2 {
    color: var(--color-navy);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    width: 100%;
}

.modal-contact-header h2::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--color-green);
    border-radius: 2px;
    margin: 12px auto 0 auto;
}

.modal-contact-header h2 span {
    color: var(--color-green);
}

.modal-contact-header p {
    color: var(--color-muted);
    font-size: 14px;
    width: 100%;
    line-height: 1.4;
}

.modal-contact .close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    background: #F8F9FA;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-contact .close:hover {
    background: #E9ECEF;
}

.modal-contact .close svg {
    width: 20px;
    height: 20px;
}

.modal-contact-body {
    padding: 0px 28px 28px 28px;
    background: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.file-upload-area svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
    color: var(--color-green);
    margin-bottom: 4px;
}

.file-upload-area:hover {
    border-color: var(--color-green) !important;
    background: rgba(0, 181, 134, 0.04);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--color-muted);
    pointer-events: none;
    top: 16px;
}

.input-with-icon.textarea-with-icon {
    align-items: flex-start;
}

.input-with-icon.textarea-with-icon > svg {
    top: 16px;
}

.form-group.full-width, .form-actions.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--color-navy);
    font-weight: 500;
    margin-bottom: 8px;
}

.text-danger {
    color: #FF4D4D;
}

.contact-form .form-control {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 0 16px 0 48px;
    height: 52px;
    font-size: 14px;
    color: var(--color-navy);
    transition: all 0.2s;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contact-form textarea.form-control {
    height: auto;
    min-height: 100px;
    padding-top: 16px;
}

.contact-form .form-control:focus {
    border-color: var(--color-green);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 168, 142, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-submit {
    width: 100%;
    background: #031020;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    height: 52px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(3, 16, 32, 0.2);
}

.btn-submit:hover {
    background: #062241;
    box-shadow: 0 12px 32px rgba(3, 16, 32, 0.3);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.security-notice {
    text-align: center;
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.security-notice svg {
    width: 14px;
    height: 14px;
    color: var(--color-green);
}

@media (max-width: 768px) {
    .modal-contact { width: min(92vw, 500px) !important; }
    .form-row { grid-template-columns: 1fr; }
    .modal-contact-body, .modal-contact-header { padding: 24px; }
}

