﻿:root {
    --realemed-primary: #58585a;
    --realemed-secondary: #58585a;
    --realemed-accent: #dba957;
    --realemed-accent-light: #ffd684;
    --realemed-cta: #bc8334;
    --realemed-text: #101723;
    --realemed-muted: #6f7a89;
    --realemed-background: #f6f8fb;
}

html {
    overflow-x: clip;
    scrollbar-color: var(--realemed-accent) var(--realemed-primary);
    scrollbar-width: thin;
}

body {
    font-family: "Finlandica Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--realemed-text);
    background: #fff;
    width: 100%;
    max-width: 100%;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: var(--realemed-primary);
}

body::-webkit-scrollbar-thumb {
    background: var(--realemed-accent);
    border: 2px solid var(--realemed-primary);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--realemed-accent-light);
}

img,
.feature-image,
.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.site-top-bar,
header.bd-navbar,
main,
footer {
    max-width: 100%;
}

.container,
.container-xxl {
    max-width: 100%;
    overflow-x: clip;
}

.bd-navbar .container-xxl {
    overflow: visible;
}

.text-secondary {
    color: var(--realemed-muted) !important;
}

/* Header */

.bd-navbar {
    background-image: linear-gradient(90deg, var(--realemed-primary), var(--realemed-secondary));
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .16), inset 0 -1px 0 rgba(255, 255, 255, .12);
	

    background: #58585a;
    border: 0;
    border-bottom: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, #b77d2e, #f6d07f);
	
	
}

.bd-navbar .navbar-brand img {
    width: 172px;
    height: auto;
}

.bd-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    padding-right: .65rem;
    padding-left: .65rem;
}

.bd-navbar .navbar-nav .nav-link:hover,
.bd-navbar .navbar-nav .nav-link:focus,
.bd-navbar .navbar-nav .nav-link.active {
    color: #fff;
}

.bd-navbar .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--realemed-accent);
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18);
}

.realemed-nav-actions {
    gap: .5rem;
}

.btn-realemed-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .55);
    --bs-btn-hover-color: var(--realemed-primary);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--realemed-primary);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    font-weight: 700;
}

.btn-realemed-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--realemed-cta);
    --bs-btn-border-color: var(--realemed-cta);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a6732d;
    --bs-btn-hover-border-color: #a6732d;
    --bs-btn-active-bg: #946427;
    --bs-btn-active-border-color: #946427;
    font-weight: 700;
}

.btn-outline-primary {
    --bs-btn-color: var(--realemed-primary);
    --bs-btn-border-color: var(--realemed-primary);
    --bs-btn-hover-bg: var(--realemed-primary);
    --bs-btn-hover-border-color: var(--realemed-primary);
    --bs-btn-active-bg: var(--realemed-primary);
    --bs-btn-active-border-color: var(--realemed-primary);
}

/* Hero */

.page-hero,
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero {
    min-height: calc(100vh - 76px);
    isolation: isolate;
    border-bottom: 3px solid rgba(18, 130, 129, .18);
}

.page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(.25turn, #58585a, rgba(88, 88, 90, .58));
    
	
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero .page-hero-content {
    max-width: 820px;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.page-hero .eyebrow,
.hero .eyebrow {
    color: var(--realemed-accent-light);
}

.page-hero h1,
.hero h1 {
    max-width: 780px;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 1px 1px 2px rgba(88, 88, 90, .45);
}

.page-hero .lead,
.hero .lead {
    max-width: 680px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    font-weight: 400;
}

.hero-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: 0;
    margin: 2.5rem 0 0;
    list-style: none;
}

.hero-specialties li {
    padding: .45rem .85rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 214, 132, .35);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: var(--realemed-accent);
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Revolution Slider */

.rev-slider-wrapper {
    overflow: hidden;
}

.rev-slider-wrapper .slider-container,
.rev-slider-wrapper .slider-container .rev_slider,
.rev-slider-wrapper .slider-container .rev_slider_wrapper {
    min-height: 570px;
    height: 570px;
}

.rev-slider-wrapper .slider-container.bg-color-primary {
    background-color: #128281;
}

.slider-container .custom-bottom-label {
    width: 200px;
    letter-spacing: -.35px !important;
}

.slider-container .main-label {
    color: #fff;
    font-weight: 800;
}

.slider-container .bottom-label {
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    font-weight: 300;
}

.slider-container .realemed-caption-gold {
    z-index: 5;
    color: #fcd27c !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px #58585a, 0 0 25px #b77d2e, 0 0 5px #f6d07f;
}

.slider-container .realemed-caption-title {
    z-index: 5;
    color: #f6d07f !important;
    font-size: 72px;
    font-weight: 500;
    text-shadow: 1px 1px 2px #58585a, 0 0 25px #b77d2e, 0 0 5px #f6d07f;
}

.slider-container .realemed-caption-white {
    z-index: 5;
    color: #fff !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px #58585a, 0 0 25px #b77d2e, 0 0 5px #f6d07f;
}

.slider-container .realemed-caption-phone,
.slider-container .realemed-caption-phone-icon {
    font-weight: 500;
    text-shadow: 1px 1px 2px #58585a, 0 0 25px #b77d2e, 0 0 5px #f6d07f;
}

.slider-container .realemed-caption-phone-icon {
    z-index: 15;
}

.btn-agd-slide {
    border-radius: 10px !important;
    background-color: #58585a;
    border: 1px solid #4d4d4e !important;
    color: #fff !important;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, #f6d07f, #b77d2e) !important;
}

.btn-agd-slide:hover {
    border-radius: 10px !important;
    background-color: #58585a;
    border-color: #f6d07f #f6d07f #b77d2e;
    color: #f6d07f !important;
}

.moldura {
    z-index: 0;
    opacity: .7 !important;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    border-radius: 15px;
    background-color: rgba(88, 88, 90, .95);
    border: 10px solid #f7f7f7;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, #f6d07f, #b77d2e) !important;
    margin-top: 285px;
}

.moldura-size-plus {
    width: 60%;
}

.moldura-size-average {
    width: 35%;
}

.bg-color-primary {
    background-color: var(--realemed-primary);
}

@media (max-width: 787px) {
    .rev-slider-wrapper .slider-container,
    .rev-slider-wrapper .slider-container .rev_slider {
        min-height: 450px;
        height: 450px;
    }

    .slider-container .realemed-caption-title {
        font-size: inherit;
    }

    .moldura {
        height: 90% !important;
        margin-top: 41% !important;
    }

    .moldura-size-plus {
        width: 90% !important;
    }

    .moldura-size-average {
        width: 90% !important;
    }
}

@media (max-width: 359px) {
    .moldura {
        height: 298px !important;
        margin-top: 145px !important;
    }

    .moldura-size-plus {
        width: 80% !important;
    }

    .moldura-size-average {
        width: 95% !important;
    }
}

/* Seções */

.section-pad {
    padding: 5.5rem 0;
}

.section-title {
    max-width: 820px;
}

.section-title .eyebrow {
    color: var(--realemed-accent);
    margin-bottom: .75rem;
}

.section-title h2 {
    color: var(--realemed-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    font-weight: 800;
}

.section-title p {
    color: var(--realemed-muted);
    font-size: 1.15rem;
}

.feature-band {
    background: var(--realemed-background);
}

.about-section {
    background-image: linear-gradient(rgba(246, 248, 251, .94), rgba(246, 248, 251, .94)), url("../img/bg/quem-somos-bg.jpg");
    background-position: center;
    background-size: cover;
}

.feature-image {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .18);
}

/* Cards */

.service-card,
.team-card {
    height: 100%;
    border: 1px solid rgba(18, 130, 129, .12);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(18, 130, 129, .08);
}

.service-card {
    padding: 1.5rem;
}

.service-card i {
    color: var(--realemed-accent);
    font-size: 1.75rem;
}

.service-card h3 {
    margin-top: 1rem;
    color: var(--realemed-primary);
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card p {
    color: var(--realemed-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.team-card {
    overflow: hidden;
    text-align: center;
}

.team-card {
    border-radius: 1rem;
}

.team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 820 / 1171;
    object-fit: cover;
    object-position: center 18%;
}

.team-card h3 {
    margin: 1rem 1rem .35rem;
    color: var(--realemed-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.team-credentials {
    margin: 0 1rem 1.25rem;
    color: var(--realemed-secondary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* CTA */

.cta-band {
    color: #fff;
    background-color: var(--realemed-cta);
}

.cta-band-schedule .eyebrow {
    color: var(--realemed-accent-light);
}

.cta-schedule-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: .75rem;
}

.cta-schedule-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cta-schedule-info i {
    font-size: 2rem;
}

.cta-schedule-info a {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.cta-schedule-info a:hover,
.cta-schedule-info a:focus {
    color: var(--realemed-accent-light);
}

/* Contato */

.contact-section {
    background: var(--realemed-background);
}

.contact-list {
    display: grid;
    gap: 1.25rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-list i {
    flex: 0 0 auto;
    margin-top: .15rem;
    color: var(--realemed-accent);
    font-size: 1.35rem;
}

.contact-list strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--realemed-primary);
    font-size: .95rem;
}

.contact-list a,
.contact-list span {
    color: var(--realemed-muted);
    text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus {
    color: var(--realemed-primary);
    text-decoration: underline;
}

.contact-note {
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: var(--realemed-muted);
    font-size: 1rem;
}

.contact-map {
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .12);
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

/* Footer */

.footer-gradient {
    color: #fff;
    background-image: linear-gradient(135deg, var(--realemed-primary), var(--realemed-secondary));
}

.footer-gradient a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.footer-gradient a:hover,
.footer-gradient a:focus {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .18);
}

/* Top bar */

.site-top-bar {
    padding: 0.45rem 0;
    background-color: var(--realemed-secondary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1041;
    width: 100%;
    max-width: 100%;
    transition: transform 180ms ease;
    transform: translateY(0);
	
	   border-bottom: 2px solid #4d4d4e !important;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, #f6d07f, #f6d07f) !important;
    background: linear-gradient(-180deg, #f6d07f, #b77d2e) !important;
}

.site-top-bar.is-hidden {
    transform: translateY(-100%);
}

.scroll-top {
    --scroll-top-bg: var(--realemed-primary, #0d6efd);
    --scroll-top-color: #fff;
    --scroll-top-radius: 999px;
}

header.bd-navbar.sticky-top {
    z-index: 1040;
}

/* Responsivo */

@media (max-width: 1199.98px) {
    .bd-navbar .offcanvas-xl {
        background: var(--realemed-primary);
    }

    .realemed-nav-actions {
        align-items: stretch;
        margin-top: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .hero .page-hero-content,
    .about-panel-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .about-panel {
        min-height: 32rem;
    }

    .hero {
        min-height: auto;
    }

    .contact-map iframe {
        min-height: 320px;
    }
}

body.scrollspy {
    position: relative;
}

#inicio,
#quem-somos,
#especialidades,
#otorrinolaringologia,
#exames-otoneurologicos,
#estetica-facial,
#corpo-clinico,
#contato {
    scroll-margin-top: 6.5rem;
}

.about-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 76px);
    color: #fff;
    background-color: var(--realemed-primary);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    border-bottom: 3px solid rgba(18, 130, 129, .18);
}

.about-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(.25turn, rgba(88, 88, 90, .88), rgba(88, 88, 90, .46));
}

.about-panel-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.about-panel h1 {
    max-width: 14ch;
    margin-bottom: 0;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: .98;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(88, 88, 90, .45);
}

.about-panel .lead {
    max-width: 40rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

@media (max-width: 575.98px) {
    .hero-specialties li {
        font-size: .72rem;
    }

    .team-card h3 {
        font-size: 1rem;
    }
}
