@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ===========================
   ESPAÇO POSITIVAMENTE - CSS
   =========================== */

:root {
    --primary: #26a69a;
    --primary-dark: #00796b;
    --primary-light: #4db6ac;
    --accent: #26a69a;
    --dark: #26313c;
    --darker: #1a2430;
    --text: #555;
    --text-dark: #333;
    --light-bg: #f6f7f8;
    --white: #fff;
    --gradient: linear-gradient(135deg, #26a69a 0%, #00796b 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --nav-height: 70px;
    --font-main: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===========================
   PRELOADER
   =========================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   BUTTONS
   =========================== */
.btn-gradient {
    display: inline-block;
    padding: 13px 35px;
    background: var(--gradient);
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(38, 166, 154, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 166, 154, 0.4);
    color: #fff !important;
}

.btn-sm-gradient {
    padding: 8px 22px;
    font-size: 13px;
}

.accent-color {
    color: var(--primary);
}

/* ===========================
   NAVBAR
   =========================== */
.site-header {
    position: relative;
    z-index: 1000;
}

#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    padding: 0;
    background: transparent;
    transition: var(--transition);
    z-index: 999;
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#mainNav .container {
    height: 100%;
}

/* Logo */
.navbar-brand {
    padding: 0;
}

.logo-text {
    line-height: 1.1;
}

.logo-main {
    display: block;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo-sub {
    display: block;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

#mainNav.scrolled .logo-main {
    color: var(--dark);
}

#mainNav.scrolled .logo-sub {
    color: var(--primary);
}

/* Nav Links */
#mainNav .nav-link {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 14px !important;
    transition: var(--transition);
    position: relative;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-light);
    transform: scaleX(0);
    transition: var(--transition);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    transform: scaleX(1);
}

#mainNav .nav-link:hover {
    color: #fff;
}

#mainNav.scrolled .nav-link {
    color: var(--dark);
}

#mainNav.scrolled .nav-link:hover {
    color: var(--primary);
}

#mainNav.scrolled .nav-link::after {
    background: var(--primary);
}

/* Mobile toggle */
.navbar-toggler-custom {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.navbar-toggler-custom span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-toggler-custom span {
    background: var(--dark);
}

@media (max-width: 991px) {
    .navbar-toggler-custom {
        display: flex;
    }

    .navbar-collapse {
        display: none !important;
    }
}

/* ===========================
   SIDE MENU
   =========================== */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 1100;
    transition: right 0.4s ease;
}

.side-menu.open {
    right: 0;
}

.side-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.side-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    overflow-y: auto;
}

.side-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
}

.side-menu-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.side-menu-close span:first-child {
    transform: rotate(45deg);
    top: 50%;
}

.side-menu-close span:last-child {
    transform: rotate(-45deg);
    top: 50%;
}

.side-nav .navbar-nav {
    list-style: none;
    padding: 0;
}

.side-nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.side-nav-link:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.side-menu-footer {
    margin-top: auto;
}

.social-icons-side {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.social-icons-side a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons-side a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.side-menu-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ===========================
   HERO
   =========================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    transition: transform 0.1s ease-out;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(50px, 3vw, 60px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(36px, 6vw, 72px);
    color: #fff;
    text-transform: capitalize;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(14px, 1.8vw, 18px);
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 1s ease 1.5s forwards;
}

.hero-content .btn-gradient {
    opacity: 0;
    animation: fadeUp 1s ease 2s forwards;
    padding: 16px 45px;
    font-size: 15px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    color: #fff;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   SECTION COMMON
   =========================== */
.section-padding {
    padding: 90px 0;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 15px;
}

.divider-center {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text);
    font-size: 15px;
    margin-top: 10px;
}

/* ===========================
   SAÚDE MENTAL
   =========================== */
.mental-subtitle {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.mental-subtitle:first-child {
    margin-top: 0;
}

.mental-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mental-img-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.mental-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}


/* ===========================
   QUEM SOU — NOVO LAYOUT
   =========================== */
.sobre-section {
    background: #f5ede3;
    overflow: hidden;
}

.sobre-inner {
    display: flex;
    align-items: stretch;
    min-height: 90vh;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Coluna da imagem --- */
.sobre-img-col {
    flex: 0 0 42%;
    position: relative;
}

.sobre-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.sobre-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            transparent 60%,
            #f5ede3 100%);
    pointer-events: none;
    z-index: 1;
}

.sobre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sobre-img-badge {
    position: absolute;
    bottom: 36px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.35);
    z-index: 2;
}

/* --- Coluna do texto --- */
.sobre-text-col {
    flex: 0 0 58%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 72px;
}

.sobre-label {
    display: block;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 18px;
}

.sobre-heading {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(30px, 3.5vw, 50px);
    font-weight: 400;
    color: #2a2a2a;
    line-height: 1.25;
    margin-bottom: 28px;
}

.sobre-heading em {
    font-style: italic;
    color: var(--primary-dark);
}

.sobre-bio {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 16px;
    max-width: 600px;
}

/* Tags de especialidade */
.sobre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 28px;
}

.sobre-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(38, 166, 154, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(38, 166, 154, 0.3);
    border-radius: 30px;
    padding: 7px 18px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.sobre-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.sobre-tag i {
    font-size: 11px;
}

/* Linha divisória */
.sobre-divider {
    width: 100%;
    max-width: 560px;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin-bottom: 28px;
}

/* Linha CRP + botão */
.sobre-crp-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.sobre-crp {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
}

.btn-sobre {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-dark);
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 121, 107, 0.3);
}

.btn-sobre:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 121, 107, 0.4);
    color: #fff !important;
}

/* --- Responsividade --- */
@media (max-width: 991px) {
    .sobre-inner {
        flex-direction: column;
        min-height: auto;
    }

    .sobre-img-col {
        flex: none;
        width: 100%;
    }

    .sobre-img-wrapper {
        min-height: 420px;
        height: 60vw;
        max-height: 520px;
    }

    .sobre-img {
        object-position: center calc(50% + 35px);
    }

    .sobre-img-badge {
        right: 20px;
        bottom: 20px;
        border-radius: 4px;
    }

    .sobre-text-col {
        flex: none;
        padding: 56px 32px;
    }
}

@media (max-width: 576px) {
    .sobre-img-wrapper {
        min-height: 300px;
        height: 75vw;
    }

    .sobre-img {
        object-position: center calc(50% + 35px);
    }

    .sobre-text-col {
        padding: 40px 20px;
    }

    .sobre-heading {
        font-size: 28px;
    }
}

/* Legado (mantido para compatibilidade com outras seções) */
.bio-text {
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 15px;
    text-align: justify;
}

/* ===========================
   SERVICES
   =========================== */
.services-section {
    background: var(--light-bg);
    overflow: hidden;
}

.services-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.services-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 24px;
}

.service-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    min-width: 0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.service-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 18px;
}

.service-title {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    white-space: nowrap;
}

.service-desc {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .service-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .service-card {
        flex: 0 0 100%;
    }
}

/* Novo Serviços */
/* =========================
   SERVIÇOS
========================= */

.servicos {
    padding: 100px 0;
    background: #f8f6f3;
}

.servicos .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* Cabeçalho */

.servicos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.servicos-subtitulo {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.servicos-header h2 {
    margin: 0 0 18px;
    font-size: 42px;
    font-weight: 500;
}

.servicos-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}


/* Grid 2 x 2 */

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}


/* Card */

.servico-card {
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.servico-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12);
}


/* Imagem */

.servico-imagem {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.servico-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;
}

.servico-card:hover .servico-imagem img {
    transform: scale(1.05);
}


/* Conteúdo */

.servico-conteudo {
    padding: 30px 32px 35px;
}

.servico-conteudo h3 {
    margin: 0 0 15px;

    font-size: 24px;
    font-weight: 500;

    line-height: 1.3;
}

.servico-conteudo p {
    margin: 0;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .servicos {
        padding: 80px 0;
    }

    .servicos-grid {
        gap: 25px;
    }

    .servico-imagem {
        height: 240px;
    }

    .servico-conteudo {
        padding: 25px;
    }

    .servico-conteudo h3 {
        font-size: 22px;
    }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 650px) {

    .servicos {
        padding: 65px 0;
    }

    .servicos .container {
        width: 88%;
    }

    .servicos-header {
        margin-bottom: 40px;
    }

    .servicos-header h2 {
        font-size: 32px;
    }

    .servicos-header p {
        font-size: 15px;
    }

    /* Um card por linha */

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servico-imagem {
        height: 230px;
    }

    .servico-conteudo {
        padding: 25px;
    }

    .servico-conteudo h3 {
        font-size: 21px;
    }

    .servico-conteudo p {
        font-size: 15px;
    }

}


/* ===========================
   DÚVIDAS FREQUENTES
   =========================== */
.faq {
    background: #f1efef;
    overflow: hidden;
    padding: 90px 0;
}


.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 2rem;
    margin: 0 0 8px;
}

.faq-header p {
    color: var(--text-muted);
    margin: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 40px 20px 0;
    position: relative;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.25s ease;
    font-weight: 400;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 50%;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 40px 20px 0;
    color: var(--text-muted);
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    body {
        padding: 40px 16px;
    }

    .faq-header h2 {
        font-size: 1.5rem;
    }
}

/* ===========================
   O ESPAÇO - GALLERY
   =========================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: 1 / 3;
    height: 220px;
}

.gallery-item:not(:first-child) {
    height: 160px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(38, 166, 154, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    color: #fff;
    font-size: 28px;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

/* ===========================
   BLOG
   =========================== */
.blog-section {
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 10px;
    min-height: 50px;
}

.blog-card-title:hover {
    color: var(--primary);
}

.blog-meta {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-meta li {
    font-size: 12px;
    color: #999;
}

.blog-meta li i {
    color: var(--primary);
    margin-right: 4px;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* ===========================
   CONVÊNIOS
   =========================== */
.convenios-section {
    background: #ededed;
}

.convenio-logo {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.convenio-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.convenio-logo p {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 0;
}

/* ===========================
   CONTACT
   =========================== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 60px;
    box-shadow: var(--shadow);
}

@media (max-width: 767px) {
    .contact-wrapper {
        padding: 30px 20px;
    }
}

.contact-info-title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text);
}

.contact-info-item i {
    color: var(--primary);
    font-size: 18px;
    width: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-item strong {
    color: var(--dark);
    display: block;
}

.contact-info-item small {
    color: #999;
    font-size: 12px;
}

.contact-social {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 12px;
}

.text-center .contact-info-item {
    justify-content: center;
}

.text-center .contact-social {
    justify-content: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid;
}

.social-icon.insta {
    color: #E1306C;
    border-color: #E1306C;
}

.social-icon.insta:hover {
    background: #E1306C;
    color: #fff;
}

.social-icon.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* Contact Form */
.contact-form .custom-input {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--dark);
    background: #fafafa;
    transition: var(--transition);
    width: 100%;
}

.contact-form .custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
    background: #fff;
    outline: none;
}

.contact-form .custom-input::placeholder {
    color: #aaa;
}

.contact-form textarea.custom-input {
    resize: vertical;
    min-height: 140px;
}

.form-result {
    padding: 12px 18px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.form-result.success {
    background: #e8f5e9;
    color: #388e3c;
    border: 1px solid #a5d6a7;
}

.form-result.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ===========================
   MAP
   =========================== */
.map-section {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* ===========================
   FOOTER
   =========================== */
#site-footer {
    background: var(--dark);
    padding: 10px 0 0;
}

.footer-panel {
    padding-right: 20px;
}

.footer-logo {
    display: block;
    margin-bottom: 25px;
}

.footer-logo-main {
    display: block;
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.footer-logo-sub {
    display: block;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 300;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-heading {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--primary-light);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact-item span,
.footer-contact-item a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--primary-light);
}

.footer-social {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social li a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social li a.insta:hover {
    background: #E1306C;
    border-color: #E1306C;
    color: #fff;
}

.footer-social li a.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.footer-blog-list {
    list-style: none;
    padding: 0;
}

.footer-blog-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-blog-list a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 3px;
}

.footer-blog-list a:hover {
    color: var(--primary-light);
}

.footer-date {
    font-size: 11px;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-sub-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-hours {
    list-style: none;
    padding: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours li span:first-child {
    white-space: nowrap;
}

.footer-bottom {
    background: var(--dark);
    padding: 20px 0;
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    text-align: center;
    margin: 0;
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-label {
    letter-spacing: 0.5px;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    .whatsapp-label {
        display: none;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content .btn-gradient {
        display: block;
        max-width: 250px;
        margin: 0 auto;
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }

    .contact-wrapper {
        padding: 30px 15px;
    }
}

/* Ocultar Saúde Mental em dispositivos móveis */
@media (max-width: 767px) {
    #mental {
        display: none !important;
    }
}

/* Ordem da seção Quem Sou no mobile */
@media (max-width: 991px) {
    .sobre-img-col {
        order: 1;
    }

    .sobre-text-col {
        order: 2;
    }
}

@media (max-width: 767px) {

    /* Contatos no celular */
    #contato .row.mt-5 .contact-info-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    #contato .row.mt-5 .contact-info-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: auto;
        max-width: 100%;
        padding: 8px 0;
        margin: 0 !important;
        text-align: center;
        overflow-wrap: anywhere;
    }

    #contato .row.mt-5 .contact-info-item a i {
        flex-shrink: 0;
        margin: 0 !important;
    }

    /* ===========================
   MOBILE: MARGEM ZERO
   =========================== */
    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Logo menor no mobile */
    .logo-main img {
        max-height: 52px;
        width: auto;
    }
}
