/* =====================================================

   ASTER CLÍNICA TERAPÊUTICA

   Layout clean / branco / institucional

\===================================================== */



:root {

    --aster-blue: #16639b;

    --aster-blue-dark: #0e4f7d;

    --aster-gold: #e5a928;

    --aster-text: #34454c;

    --aster-muted: #738087;

    --aster-soft: #f8fafb;

    --aster-border: #e8edef;

    --aster-white: #ffffff;

}



* {

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    margin: 0;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    color: var(--aster-text);

    background: #fff;

    line-height: 1.7;

}



section {

    scroll-margin-top: 90px;

}



.site-header {

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid rgba(232, 237, 239, .8);

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);

}



.navbar {

    min-height: 108px;

}



.logo {

    width: 250px;

    height: 250px;

    object-fit: contain;

    display: block;

}



.foto-aster {

    width: 350px;

    height: 350px;

    object-fit: contain;

    display: block;

}



.navbar-brand {

    padding: 0;

}



.nav-link {

    color: var(--aster-text);

    font-size: .95rem;

    font-weight: 500;

    transition: color .2s ease;

}



.nav-link:hover,

.nav-link.active {

    color: var(--aster-blue);

}



.btn-aster {

    background: var(--aster-blue);

    border: 1px solid var(--aster-blue);

    color: #fff;

    border-radius: 5px;

    padding: .75rem 1.35rem;

    font-weight: 600;

    transition: all .2s ease;

}



.btn-aster:hover {

    background: var(--aster-blue-dark);

    border-color: var(--aster-blue-dark);

    color: #fff;

    transform: translateY(-1px);

}



.btn-link-aster {

    color: var(--aster-blue);

    text-decoration: none;

    font-weight: 600;

}



.btn-link-aster:hover {

    color: var(--aster-blue-dark);

}



.hero {

    min-height: 680px;

    display: flex;

    align-items: center;

    padding: 80px 0;

    background: #fff;

    overflow: hidden;

}



.eyebrow {

    color: var(--aster-blue);

    font-size: .76rem;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;

}



.hero h1 {

    max-width: 650px;

    margin: 18px 0;

    color: #263b44;

    font-size: clamp(2.7rem, 5vw, 4.6rem);

    line-height: 1.08;

    letter-spacing: -2px;

    font-weight: 700;

}



.hero-text {

    max-width: 610px;

    color: var(--aster-muted);

    font-size: 1.1rem;

}



.hero-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 32px;

}



.hero-visual {

    min-height: 470px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}



.hero-card {

    position: relative;

    z-index: 2;

    width: 330px;

    height: 390px;

    background: #fff;

    border: 1px solid var(--aster-border);

    border-radius: 22px;

    box-shadow: 0 25px 80px rgba(32, 67, 84, .10);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 30px;

    text-align: center;

}



.hero-card img {

    width: 250px;

    height: 250px;

    object-fit: contain;

    margin-bottom: 20px;

}



.hero-card span {

    color: var(--aster-text);

    font-size: 1.1rem;

    font-weight: 600;

}



.hero-orbit {

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(22, 99, 155, .14);

}



.hero-orbit-one {

    width: 500px;

    height: 500px;

}



.hero-orbit-two {

    width: 380px;

    height: 380px;

    border-color: rgba(229, 169, 40, .22);

}



.hero-flower {

    position: absolute;

    right: 8%;

    top: 8%;

    color: var(--aster-gold);

    font-size: 3rem;

    opacity: .65;

}



.intro {

    padding: 105px 0;

    border-top: 1px solid var(--aster-border);

    border-bottom: 1px solid var(--aster-border);

}



.intro h2,

.section h2,

.contact-section h2 {

    color: #263b44;

    font-size: clamp(2rem, 4vw, 3.1rem);

    line-height: 1.15;

    margin: 14px 0 18px;

    letter-spacing: -1px;

}



.intro p,

.section-heading p {

    color: var(--aster-muted);

    font-size: 1.03rem;

}



.section {

    padding: 110px 0;

}



.section-soft {

    background: var(--aster-soft);

}



.image-placeholder,

.team-placeholder {

    min-height: 430px;

    border-radius: 20px;

    background: linear-gradient(145deg, #eef4f6, #f8fafb);

    border: 1px solid var(--aster-border);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    color: var(--aster-blue);

}



.image-placeholder span,

.team-placeholder span {

    font-size: 1.3rem;

    font-weight: 700;

}



.image-placeholder small,

.team-placeholder small {

    color: var(--aster-muted);

    margin-top: 6px;

}



.section p {

    color: var(--aster-muted);

}



.values {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 35px;

}



.values div {

    border-left: 2px solid var(--aster-gold);

    padding-left: 15px;

}



.values strong {

    display: block;

    color: var(--aster-blue);

    font-size: .78rem;

    letter-spacing: 1px;

}



.values span {

    display: block;

    margin-top: 4px;

    font-size: .92rem;

    font-weight: 600;

    color: var(--aster-text);

}



.section-heading {

    max-width: 700px;

    margin: 0 auto 50px;

}



.service-card {

    height: 100%;

    padding: 38px 32px;

    background: #fff;

    border: 1px solid var(--aster-border);

    border-radius: 16px;

    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;

}



.service-card:hover {

    transform: translateY(-5px);

    border-color: rgba(22, 99, 155, .25);

    box-shadow: 0 18px 45px rgba(30, 70, 90, .08);

}



.service-icon {

    display: block;

    color: var(--aster-gold);

    font-size: .78rem;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 28px;

}



.service-card h3 {

    color: #2e424b;

    font-size: 1.25rem;

    margin-bottom: 15px;

}



.service-card p {

    color: var(--aster-muted);

    font-size: .95rem;

    margin-bottom: 22px;

}



.service-card a {

    color: var(--aster-blue);

    font-weight: 600;

    text-decoration: none;

}



.quote-section {

    padding: 115px 0;

    background: #fff;

}



.quote-mark {

    color: var(--aster-gold);

    font-family: Georgia, serif;

    font-size: 5rem;

    line-height: .5;

}



.quote-section h2 {

    max-width: 850px;

    margin: 25px auto 0;

    color: #334850;

    font-size: clamp(1.8rem, 3.5vw, 2.8rem);

    line-height: 1.3;

    font-weight: 500;

}



.contact-section {

    padding: 110px 0;

    background: #fff;

}



.contact-box {

    padding: 55px;

    border: 1px solid var(--aster-border);

    border-radius: 22px;

    background: var(--aster-soft);

}



.contact-details {

    margin-top: 30px;

}



.contact-details div {

    display: flex;

    flex-direction: column;

    margin-bottom: 18px;

}



.contact-details strong {

    color: #2e424b;

    font-size: .9rem;

}



.contact-details span {

    color: var(--aster-muted);

}



.contact-form {

    padding: 28px;

    background: #fff;

    border: 1px solid var(--aster-border);

    border-radius: 15px;

}



.form-label {

    font-size: .85rem;

    font-weight: 600;

    color: var(--aster-text);

}



.form-control {

    border-color: #dfe6e9;

    border-radius: 7px;

    padding: .8rem 1rem;

}



.form-control:focus {

    border-color: var(--aster-blue);

    box-shadow: 0 0 0 .2rem rgba(22, 99, 155, .10);

}



#retornoFormulario {

    margin-top: 15px;

}



.footer {

    padding: 45px 0;

    background: #f7f9fa;

    border-top: 1px solid var(--aster-border);

}



.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

}



.footer img {

    width: 90px;

    height: 90px;

    object-fit: contain;

}



.footer p {

    display: inline-block;

    color: var(--aster-muted);

    margin: 0 0 0 12px;

    vertical-align: middle;

    font-size: .9rem;

}



.footer-copy {

    color: var(--aster-muted);

    font-size: .85rem;

}



@media (max-width: 991px) {

    .navbar {

        min-height: 75px;

    }



    .logo {

        width: 115px;

        height: 115px;

    }



    .navbar-collapse {

        padding: 20px 0;

    }



    .hero {

        min-height: auto;

        padding: 70px 0 90px;

    }



    .hero-visual {

        min-height: 400px;

    }



    .hero-card {

        width: 290px;

        height: 350px;

    }



    .values {

        grid-template-columns: 1fr;

    }



    .contact-box {

        padding: 35px 25px;

    }

}



@media (max-width: 575px) {

    .hero h1 {

        font-size: 2.6rem;

        letter-spacing: -1px;

    }



    .hero-actions {

        align-items: stretch;

        flex-direction: column;

    }



    .hero-actions .btn {

        width: 100%;

        text-align: center;

    }



    .hero-visual {

        min-height: 350px;

    }



    .hero-card {

        width: 250px;

        height: 310px;

    }



    .hero-orbit-one {

        width: 340px;

        height: 340px;

    }



    .hero-orbit-two {

        width: 270px;

        height: 270px;

    }



    .section,

    .contact-section {

        padding: 75px 0;

    }



    .footer-content {

        flex-direction: column;

        align-items: flex-start;

    }



    .footer p {

        display: block;

        margin: 8px 0 0;

    }

}





/* Informações de contato antes do rodapé */

.contact-info-bar {

    padding: 55px 0;

    background: #f7f9fa;

    border-top: 1px solid var(--aster-border);

}



.contact-info-item {

    min-height: 105px;

    padding: 5px 20px;

    border-left: 2px solid var(--aster-gold);

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.contact-info-label {

    color: var(--aster-blue);

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 5px;

}



.contact-info-item strong,

.contact-info-item a {

    color: #2e424b;

    font-size: 1rem;

    font-weight: 600;

    text-decoration: none;

}



.contact-info-item a:hover {

    color: var(--aster-blue);

}



.contact-info-item > span:last-child {

    color: var(--aster-muted);

    font-size: .88rem;

}



.google-rating a {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}



.google-rating .stars {

    color: var(--aster-gold);

    letter-spacing: 2px;

    font-size: 1.15rem;

    line-height: 1.2;

}



.google-rating strong {

    margin-top: 2px;

}



.developer-credit {

    margin-top: 6px;

    font-size: .8rem;

    color: #8a959a;

}



.developer-credit strong {

    color: var(--aster-blue);

    font-weight: 600;

}



@media (max-width: 991px) {

    .contact-info-item {

        padding-left: 15px;

    }

}



@media (max-width: 575px) {

    .contact-info-bar {

        padding: 40px 0;

    }

}





/* Contatos completos e atalhos sociais */

.contact-details a { display:block; color:var(--aster-muted); text-decoration:none; margin-top:5px; }

.contact-details a:hover { color:var(--aster-blue); }

.contact-details i { width:20px; display:inline-block; }

.social-contact-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }

.social-contact { display:inline-flex; align-items:center; gap:9px; padding:10px 17px; border-radius:8px; text-decoration:none; font-weight:600; font-size:.9rem; border:1px solid var(--aster-border); background:#fff; color:var(--aster-text); transition:all .2s ease; }

.social-contact:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(30,70,90,.10); color:var(--aster-blue); }

.social-contact.whatsapp i { color:#25D366; }

.social-contact.instagram i { color:#C13584; }

.contact-info-bar .contact-info-item { height:100%; }

.contact-info-label i { margin-right:5px; }

.floating-social { position:fixed; right:22px; bottom:22px; z-index:1050; display:flex; flex-direction:column; gap:10px; }

.floating-btn { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; font-size:1.45rem; box-shadow:0 8px 25px rgba(0,0,0,.18); transition:transform .2s ease, box-shadow .2s ease; }

.floating-btn:hover { color:#fff; transform:translateY(-3px) scale(1.03); box-shadow:0 12px 30px rgba(0,0,0,.22); }

.floating-whatsapp { background:#25D366; }

.floating-instagram { background:linear-gradient(135deg,#833AB4,#E1306C,#F77737); }

@media (max-width:575px) { .floating-social { right:14px; bottom:14px; } .floating-btn { width:48px; height:48px; font-size:1.3rem; } }


/* Menu Eventos/Fotos */
.navbar-nav .nav-link { white-space: nowrap; }

/* Páginas de Fotos e Eventos */
.content-page { padding: 75px 0 100px; min-height: 55vh; }
.content-page .page-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.content-page .page-heading h1 { color: #263b44; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; margin: 12px 0; }
.content-page .page-heading p { color: var(--aster-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.gallery-card { overflow: hidden; border: 1px solid var(--aster-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(30,70,90,.05); }
.gallery-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-card-body { padding: 16px 18px; }
.gallery-card-body h2 { color: #263b44; font-size: 1.1rem; margin: 0 0 7px; }
.gallery-card-body p { margin: 0; color: var(--aster-muted); }
.event-list { display: grid; gap: 22px; max-width: 900px; margin: auto; }
.public-event-card { background: #fff; border: 1px solid var(--aster-border); border-radius: 16px; overflow: hidden; }
.public-event-card img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.public-event-body { padding: 24px; }
.public-event-body h2 { font-size: 1.45rem; color: #263b44; }
.public-event-dates { font-size: .9rem; color: var(--aster-blue); font-weight: 600; margin-bottom: 10px; }

/* Popup de eventos */
.event-popup-overlay[hidden] { display: none !important; }
.event-popup-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8,20,28,.76); backdrop-filter: blur(4px); }
.event-popup { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 25px 90px rgba(0,0,0,.3); }
.event-popup-close { position: absolute; top: 9px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #263b44; font-size: 1.8rem; line-height: 1; }
.event-popup img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.event-popup-content { padding: 24px 26px 28px; }
.event-popup-content h2 { color: #263b44; font-size: 1.5rem; margin: 0 0 12px; }
.event-popup-content p { color: var(--aster-muted); white-space: pre-line; margin: 0; }
.empty-state { padding: 35px 20px; text-align: center; border: 1px dashed var(--aster-border); border-radius: 14px; color: var(--aster-muted); }
@media (max-width: 575px) { .content-page { padding: 50px 0 70px; } .event-popup-content { padding: 20px; } }
