/* =========================================================
   NEOMED SAÚDE
   CONTATO
   ========================================================= */

:root {
    --primary: #8B1E2D;
    --primary-dark: #681522;
    --secondary: #C94B5A;

    --dark: #321217;
    --dark-soft: #451923;

    --text: #5F4A4E;
    --muted: #8F797D;

    --bg: #FCF8F9;
    --white: #FFFFFF;

    --border: #EAD9DC;

    --soft: #F7ECEE;
    --soft-dark: #F0DFE2;

    --green: #16805D;

    --radius: 24px;

    --shadow:
        0 20px 55px rgba(50, 18, 23, 0.08);

    --shadow-hover:
        0 25px 65px rgba(50, 18, 23, 0.14);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(234, 217, 220, 0.8);

    backdrop-filter: blur(16px);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.site-header.scrolled {
    box-shadow:
        0 10px 35px rgba(50, 18, 23, 0.08);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    width: 150px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    margin-left: auto;
}

.menu a {
    position: relative;

    color: var(--dark);
    font-size: 13px;
    font-weight: 600;

    padding: 8px 0;

    transition:
        color 0.25s ease;
}

.menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--primary);

    transition: width 0.25s ease;
}

.menu a:hover,
.menu a.nav-active {
    color: var(--primary);
}

.menu a:hover::after,
.menu a.nav-active::after {
    width: 100%;
}

.header-button {
    flex-shrink: 0;

    padding: 12px 20px;

    border-radius: 12px;

    background: var(--primary);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.header-button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(139, 30, 45, 0.22);
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--white);

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;

    background: var(--dark);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;

    min-height: 510px;

    padding-top: 82px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(201, 75, 90, 0.35),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(139, 30, 45, 0.32),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #321217 0%,
            #4B1821 50%,
            #681522 100%
        );

    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 13px;

    margin-bottom: 24px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);

    color: #F6DDE1;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #F4A5B0;

    box-shadow:
        0 0 0 5px rgba(244, 165, 176, 0.1);
}

.contact-hero h1 {
    max-width: 850px;

    margin-bottom: 22px;

    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.contact-hero h1 span {
    display: block;

    color: #EFA7B0;
}

.contact-hero p {
    max-width: 650px;

    color: #EBDDE0;

    font-size: 18px;
    line-height: 1.7;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(10px);

    pointer-events: none;
}

.hero-glow-one {
    width: 350px;
    height: 350px;

    right: -100px;
    top: 100px;

    background:
        rgba(201, 75, 90, 0.15);
}

.hero-glow-two {
    width: 250px;
    height: 250px;

    left: -100px;
    bottom: -100px;

    background:
        rgba(255, 255, 255, 0.05);
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    max-width: 720px;

    margin-bottom: 48px;
}

.section-heading-light {
    color: var(--white);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-heading-light .eyebrow {
    color: #EFA7B0;
}

.section-heading h2 {
    margin-bottom: 14px;

    font-family: "Manrope", sans-serif;

    color: var(--dark);

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}

.section-heading-light p {
    color: #DCCBCD;
}


/* =========================================================
   HORÁRIOS
   ========================================================= */

.hours-section {
    padding: 100px 0;

    background: var(--white);
}

.hours-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.hours-card {
    display: flex;
    align-items: center;

    gap: 22px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg);

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hours-icon {
    flex-shrink: 0;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: var(--white);

    box-shadow:
        0 12px 25px rgba(139, 30, 45, 0.2);
}

.hours-icon span {
    font-size: 14px;
    font-weight: 800;
}

.hours-info h3 {
    margin-bottom: 7px;

    font-family: "Manrope", sans-serif;

    color: var(--dark);

    font-size: 18px;
}

.hours-info p {
    color: var(--text);

    font-size: 15px;
}

.hours-info p + p {
    margin-top: 2px;
}


/* =========================================================
   CONTATOS
   ========================================================= */

.contacts-section {
    padding: 105px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(201, 75, 90, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(139, 30, 45, 0.12),
            transparent 30%
        ),
        var(--dark);
}

.contacts-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.contact-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.035)
        );

    backdrop-filter: blur(12px);

    color: var(--white);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--secondary),
            transparent
        );

    opacity: 0.8;
}

.contact-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(239, 167, 176, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05)
        );
}

.contact-card-featured {
    grid-column: span 2;

    min-height: auto;
}

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 24px;
}

.contact-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        rgba(201, 75, 90, 0.18);

    border: 1px solid
        rgba(239, 167, 176, 0.15);
}

.contact-icon span {
    color: #F1A8B1;

    font-size: 13px;
    font-weight: 800;
}

.contact-tag {
    padding: 6px 10px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.07);

    color: #E8D4D8;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-card h3 {
    max-width: 500px;

    margin-bottom: 10px;

    font-family: "Manrope", sans-serif;

    color: var(--white);

    font-size: 23px;
    line-height: 1.25;
}

.contact-description {
    max-width: 560px;

    margin-bottom: 24px;

    color: #CDBCC0;

    font-size: 14px;
    line-height: 1.65;
}

.contact-details {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;

    gap: 11px;

    width: fit-content;

    color: #F0E5E7;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-link:hover {
    color: #F3AEB7;

    transform: translateX(3px);
}

.link-icon {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.08);

    color: #F1A8B1;

    font-size: 10px;
    font-weight: 800;
}

.whatsapp-link .link-icon {
    color: #8FE0BF;
}


/* =========================================================
   CTA
   ========================================================= */

.contact-cta {
    padding: 85px 0;

    background: var(--bg);
}

.cta-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 48px;

    border-radius: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);

    box-shadow:
        0 25px 60px rgba(139, 30, 45, 0.2);
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}

.cta-content {
    position: relative;
    z-index: 1;

    max-width: 700px;
}

.cta-content .eyebrow {
    color: #F2B5BD;
}

.cta-content h2 {
    margin-bottom: 12px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.cta-content p {
    max-width: 620px;

    color: #F0DDE0;

    font-size: 15px;
}

.cta-button {
    position: relative;
    z-index: 2;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 21px;

    border-radius: 13px;

    background: var(--white);
    color: var(--primary-dark);

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}

.cta-button span {
    font-size: 19px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #241014;

    color: var(--white);
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.8fr
        1fr
        1fr;

    gap: 60px;

    padding-top: 70px;
    padding-bottom: 55px;
}

.footer-brand img {
    width: 190px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    max-width: 100%;
    object-fit: contain;
    filter: none !important;
    background: transparent !important;
    opacity: 1 !important;
}

.footer-brand p {
    max-width: 310px;

    color: #BDAEB1;

    font-size: 14px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 14px;
}

.footer-column a {
    color: #BDAEB1;

    font-size: 13px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    color: #F1A8B1;

    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p,
.footer-bottom a {
    color: #948185;

    font-size: 12px;
}

.footer-bottom a:hover {
    color: #F1A8B1;
}


/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 999;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green);
    color: var(--white);

    box-shadow:
        0 15px 35px rgba(22, 128, 93, 0.28);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 18px 40px rgba(22, 128, 93, 0.36);
}

.floating-whatsapp span {
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1100px) {

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 12px;
    }

    .header-button {
        display: none;
    }

}


@media (max-width: 950px) {

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;

        top: calc(100% + 8px);
        left: 20px;
        right: 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px;

        border: 1px solid var(--border);
        border-radius: 18px;

        background: var(--white);

        box-shadow:
            0 20px 50px rgba(50, 18, 23, 0.12);
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 13px 14px;

        border-radius: 10px;

        font-size: 14px;
    }

    .menu a:hover {
        background: var(--soft);
    }

    .menu a::after {
        display: none;
    }

    .header-inner {
        min-height: 74px;
    }

    .contact-hero {
        min-height: 470px;
        padding-top: 74px;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .contact-hero {
        min-height: 450px;
    }

    .contact-hero h1 {
        font-size: 43px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .hours-section,
    .contacts-section {
        padding: 75px 0;
    }

    .contact-cta {
        padding: 65px 0;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-featured {
        grid-column: span 1;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 28px;
    }

    .cta-button {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

}


@media (max-width: 480px) {

    .logo {
        width: 130px;
    }

    .contact-hero {
        min-height: 420px;
    }

    .contact-hero h1 {
        font-size: 37px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .hours-card {
        align-items: flex-start;

        padding: 22px;

        gap: 16px;
    }

    .hours-icon {
        width: 58px;
        height: 58px;

        border-radius: 16px;
    }

    .hours-info h3 {
        font-size: 16px;
    }

    .hours-info p {
        font-size: 14px;
    }

    .contact-card {
        min-height: auto;

        padding: 24px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-link {
        font-size: 12px;

        word-break: break-word;
    }

    .cta-box {
        padding: 30px 23px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 55px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;

        width: 54px;
        height: 54px;
    }

}
/* =========================================================
   WHATSAPP FLUTUANTE - VERSÃO CORRIGIDA
   ========================================================= */

.floating-whatsapp {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 99999 !important;

    width: 62px !important;
    height: 62px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #25D366 !important;
    color: #ffffff !important;

    text-decoration: none !important;

    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.30) !important;

    transition:
        width 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.floating-whatsapp svg {
    width: 31px !important;
    height: 31px !important;

    display: block !important;
    flex-shrink: 0 !important;
}

.floating-whatsapp span {
    display: none !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.floating-whatsapp:hover {
    width: 145px !important;
    border-radius: 32px !important;

    transform: translateY(-4px) !important;

    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.38) !important;
}

.floating-whatsapp:hover span {
    display: inline !important;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

    .floating-whatsapp {
        right: 16px !important;
        bottom: 16px !important;

        width: 56px !important;
        height: 56px !important;
    }

    .floating-whatsapp svg {
        width: 28px !important;
        height: 28px !important;
    }

    .floating-whatsapp:hover {
        width: 56px !important;
        height: 56px !important;

        border-radius: 50% !important;

        transform: translateY(-3px) !important;
    }

    .floating-whatsapp:hover span {
        display: none !important;
    }
}
