/* ============================================
   CLÍNICA CEFAPP - Stylesheet
   Brand Colors: #0B92C8 | #EF4542 | #9CCB48 | #FEC32B
   Text: #003e74
   Font: Open Sans
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0B92C8;
    --primary-dark: #087ba8;
    --primary-light: #e8f6fc;
    --secondary: #003e74;
    --accent-red: #EF4542;
    --accent-green: #9CCB48;
    --accent-yellow: #FEC32B;
    --dark: #003e74;
    --text: #003e74;
    --text-light: #4a6d8c;
    --white: #ffffff;
    --light: #f8f9fc;
    --light-2: #eef1f6;
    --border: #e2e6ed;
    --shadow: 0 4px 20px rgba(0, 62, 116, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 62, 116, 0.10);
    --shadow-xl: 0 20px 60px rgba(0, 62, 116, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Open Sans', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.section-title-left {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title-left span {
    color: var(--primary);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 16px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 146, 200, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(11, 146, 200, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 180px;
    margin-bottom: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--light-2);
    border-radius: 4px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled,
.header-solid {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .header-logo img,
.header-solid .header-logo img {
    height: 42px;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.header-cta {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active {
    opacity: 0;
    pointer-events: none;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #ffffff;
}

.hero-bg-shapes {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(11, 146, 200, 0.15);
}

.hero-badge i {
    color: var(--accent-red);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
}

/* text-highlight removed */

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    position: relative;
    z-index: 2;
    max-height: 545px;
    border-radius: var(--radius-lg);
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: rgba(11, 146, 200, 0.06);
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}

.hero-float-card {
    position: absolute;
    z-index: 3;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    animation: cardFloat 3s ease-in-out infinite;
}

.hero-float-card i {
    font-size: 1.2rem;
}

.hero-float-card.card-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.hero-float-card.card-1 i { color: var(--primary); }

.hero-float-card.card-2 {
    bottom: 20%;
    left: -10px;
    animation-delay: 1.5s;
}

.hero-float-card.card-2 i { color: var(--accent-green); }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    position: relative;
}

.hero-scroll-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 32px; }
}

/* ===== ABOUT SECTION ===== */
.section-about {
    background: #0b92c8;
}

.section-about .section-tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.section-about .section-title {
    color: #fff;
}

.section-about .section-title span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: rgb(255, 255, 255);
}

.section-about .section-divider {
    background: rgba(255,255,255,0.4);
}

.section-about .btn-primary {
    background: #fff;
    color: #0b92c8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.section-about .btn-primary:hover {
    background: #e6f6fd;
    color: #0878a8;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.02rem;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.8;
}

.about-features {
    margin: 24px 0 32px;
    display: grid;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

.about-feature i {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* About Gallery Mosaic */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

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

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

.gallery-item-large {
    grid-row: span 2;
}

/* About mosaic — zoom on click */
.about-zoomable {
    cursor: zoom-in;
}

.about-zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 62, 116, 0);
    color: transparent;
    font-size: 1.4rem;
    transition: var(--transition);
}

.about-zoomable:hover .about-zoom-icon {
    background: rgba(0, 62, 116, 0.35);
    color: var(--white);
}

/* About lightbox */
.about-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.about-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.92);
    transition: transform 0.3s ease;
    cursor: default;
}

.about-lightbox.active img {
    transform: scale(1);
}

.about-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.about-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== THERAPIES SECTION ===== */
.section-therapies {
    background: #f8f9fc;
    border-top: 1px solid #dbdee9;
}

.therapies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.therapy-card {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Row 1: R Y B G — Row 2: Y B G R — Row 3: B G (shifted each row to avoid same color in any column) */
.therapy-card:nth-child(1)  { background: #ef4542; }
.therapy-card:nth-child(2)  { background: #fec32b; }
.therapy-card:nth-child(3)  { background: #0b92c8; }
.therapy-card:nth-child(4)  { background: #9ccb48; }
.therapy-card:nth-child(5)  { background: #fec32b; }
.therapy-card:nth-child(6)  { background: #0b92c8; }
.therapy-card:nth-child(7)  { background: #9ccb48; }
.therapy-card:nth-child(8)  { background: #ef4542; }
.therapy-card:nth-child(9)  { background: #0b92c8; }
.therapy-card:nth-child(10) { background: #9ccb48; }

/* Hover: lift + brighten + shadow */
.therapy-card:hover {
    transform: translateY(-10px);
    filter: brightness(1.1);
}
.therapy-card:nth-child(1):hover,
.therapy-card:nth-child(8):hover  { box-shadow: 0 20px 40px rgba(239,69,66,0.35); }
.therapy-card:nth-child(2):hover,
.therapy-card:nth-child(5):hover  { box-shadow: 0 20px 40px rgba(254,195,43,0.35); }
.therapy-card:nth-child(3):hover,
.therapy-card:nth-child(6):hover,
.therapy-card:nth-child(9):hover  { box-shadow: 0 20px 40px rgba(11,146,200,0.35); }
.therapy-card:nth-child(4):hover,
.therapy-card:nth-child(7):hover,
.therapy-card:nth-child(10):hover { box-shadow: 0 20px 40px rgba(156,203,72,0.35); }

.therapy-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Hover icon: white bg + card color icon */
.therapy-card:nth-child(1):hover .therapy-icon,
.therapy-card:nth-child(8):hover .therapy-icon  { background: #fff; color: #ef4542; }
.therapy-card:nth-child(2):hover .therapy-icon,
.therapy-card:nth-child(5):hover .therapy-icon  { background: #fff; color: #c99700; }
.therapy-card:nth-child(3):hover .therapy-icon,
.therapy-card:nth-child(6):hover .therapy-icon,
.therapy-card:nth-child(9):hover .therapy-icon  { background: #fff; color: #0b92c8; }
.therapy-card:nth-child(4):hover .therapy-icon,
.therapy-card:nth-child(7):hover .therapy-icon,
.therapy-card:nth-child(10):hover .therapy-icon { background: #fff; color: #6aaa1a; }

.therapy-card:hover .therapy-icon {
    transform: scale(1.1) rotate(5deg);
}

.therapy-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.therapy-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

/* Therapy CTA Card - spans 2 columns, same card style */
.therapy-cta-card {
    grid-column: span 2;
    background: #0b92c8 !important;
    display: flex;
    align-items: center;
    text-align: left;
}

.therapy-cta-card::before {
    display: none !important;
}

.therapy-cta-card:hover {
    background: #087ba8 !important;
    filter: none;
    box-shadow: 0 20px 40px rgba(11,146,200,0.35);
}

.therapy-cta-card:hover .therapy-icon {
    background: rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
    transform: scale(1.1) rotate(5deg);
}

.therapy-cta-content {
    width: 100%;
}

.therapy-cta-content h3 {
    color: var(--white) !important;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.therapy-cta-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.therapy-cta-content .btn-whatsapp {
    display: inline-flex;
}

/* ===== ABA SECTION ===== */
.section-aba {
    background: var(--white);
}

.aba-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.aba-image {
    min-width: 0;
}

.aba-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.aba-levels {
    margin: 28px 0;
}

.aba-levels h4,
.aba-protocols h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.aba-level {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.aba-level:hover {
    background: var(--primary-light);
    transform: translateX(8px);
}

.aba-level-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.aba-level strong {
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

.aba-level p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--text-light);
}

.protocol-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.protocol-tag {
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(11, 146, 200, 0.15);
    transition: var(--transition);
}

.protocol-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.aba-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.aba-image-wrapper img {
    width: 100%;
    height: 628px;
    object-fit: cover;
}

.aba-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 62, 116, 0.3), transparent);
    pointer-events: none;
    z-index: 2;
}

/* ABA arrows */
.aba-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.aba-arrow:hover {
    background: #0b92c8;
}

.aba-arrow-prev { left: 14px; }
.aba-arrow-next { right: 14px; }

/* ABA team carousel */
.abaSwiper {
    width: 100%;
    height: 628px;
    overflow: hidden;
}

.abaSwiper .swiper-slide img {
    width: 100%;
    height: 628px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.aba-pagination.swiper-pagination {
    bottom: 14px;
    z-index: 3;
}

.abaSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.abaSwiper .swiper-pagination-bullet-active {
    background: var(--white);
    width: 20px;
    border-radius: 4px;
}

/* ===== COMMITMENT BANNER ===== */
.section-commitment {
    padding: 0;
}

.commitment-bg {
    background: #9CCB48;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.commitment-content {
    text-align: center;
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.commitment-icon {
    color: rgba(255, 255, 255, 0.35);
    font-size: 2.2rem;
    margin: 0 12px;
}

.commitment-text {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
    font-style: italic;
    margin: 16px 0;
}

/* ===== TEAM SECTION ===== */
.section-team {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--light-2);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-card-info {
    padding: 20px;
}

.team-card-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-card-info .team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Swiper overrides (for gallery) */
.gallery-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gallery-carousel .gallerySwiper {
    flex: 1;
    min-width: 0;
}

.gallery-prev,
.gallery-next {
    position: static !important;
    flex-shrink: 0;
    width: 48px !important;
    height: 48px !important;
    background: #0b92c8 !important;
    border-radius: 50%;
    color: var(--white) !important;
    transition: var(--transition);
    margin-top: 0 !important;
    transform: none !important;
}

.gallery-prev::after,
.gallery-next::after {
    font-size: 16px !important;
    font-weight: 700;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #087ba8 !important;
    transform: scale(1.1) !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ===== MISSÃO, VISÃO, VALORES ===== */
.section-mvv {
    background: var(--white);
}

.mvv-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.mvv-header-left .section-tag {
    margin-bottom: 16px;
}

.mvv-header-right p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    padding-top: 12px;
}

.mvv-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    background: var(--light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 28px;
    transition: var(--transition);
}

.mvv-row:hover {
    transform: translateY(-4px);
}

.mvv-row-reverse {
    direction: rtl;
}

.mvv-row-reverse > * {
    direction: ltr;
}

.mvv-row-content {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mvv-row-content h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.mvv-row-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mvv-row-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.mvv-visual-missao {
    background: linear-gradient(135deg, rgba(11, 146, 200, 0.08) 0%, rgba(11, 146, 200, 0.15) 100%);
}

.mvv-visual-visao {
    background: linear-gradient(135deg, rgba(156, 203, 72, 0.08) 0%, rgba(156, 203, 72, 0.15) 100%);
}

.mvv-visual-valores {
    background: linear-gradient(135deg, rgba(254, 195, 43, 0.08) 0%, rgba(254, 195, 43, 0.15) 100%);
}

.mvv-visual-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition);
}

.mvv-visual-missao .mvv-visual-icon {
    background: rgba(11, 146, 200, 0.15);
    color: var(--primary);
}

.mvv-visual-visao .mvv-visual-icon {
    background: rgba(156, 203, 72, 0.15);
    color: var(--accent-green);
}

.mvv-visual-valores .mvv-visual-icon {
    background: rgba(254, 195, 43, 0.15);
    color: var(--accent-yellow);
}

.mvv-row:hover .mvv-visual-icon {
    transform: scale(1.1);
}

.mvv-values-list {
    margin-top: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

.mvv-values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-light);
    padding: 5px 0;
}

.mvv-values-list li i {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Beliefs Card */
.beliefs-card {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 12px;
}

.beliefs-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(239, 69, 66, 0.08);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.beliefs-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.beliefs-card p {
    font-size: 0.95rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== GALLERY SECTION ===== */
.section-gallery {
    background: var(--light);
    padding-bottom: 80px;
}

.gallery-carousel {
    max-width: 100%;
}

.gallerySwiper {
    padding-bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallerySwiper .swiper-slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallerySwiper .swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}

.gallerySwiper .swiper-slide:hover img {
    transform: scale(1.03);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px !important;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1rem;
}

.footer-contact li span,
.footer-contact li a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-large {
    max-width: 700px;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-red);
    color: var(--white);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

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

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 14px;
    color: var(--text);
}

.modal-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

/* ===== CONTACT MODAL LOADING ===== */
.contact-loading {
    text-align: center;
    padding: 60px 20px;
}

.contact-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spinLoader 0.8s linear infinite;
}

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

.contact-loading p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 146, 200, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

/* ===== PAGE HERO (Nossa História) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--primary-light);
    overflow: hidden;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.page-hero-title span {
    color: var(--primary);
}

.page-hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TIMELINE ===== */
.section-timeline {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(11, 146, 200, 0.3);
}

.timeline-content {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.timeline-date {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* History Gallery */
.history-gallery {
    margin-top: 60px;
}

.history-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.history-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

.history-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===== MOBILE BOTTOM BAR (hidden on desktop) ===== */
.mobile-bottom-bar { display: none; }
.mobile-nav-header { display: none; }
.mobile-nav-footer { display: none; }
.nav-overlay { display: none; }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { order: -1; }
    .hero-img { max-height: 500px; }
    .hero-float-card.card-1 { right: 10%; }
    .hero-float-card.card-2 { left: 10%; }

    .about-grid { grid-template-columns: 1fr; }
    .aba-grid { grid-template-columns: 1fr; }
    .aba-image { order: -1; }

    .therapies-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .mvv-header { grid-template-columns: 1fr; gap: 16px; }
    .mvv-row { grid-template-columns: 1fr; }
    .mvv-row-reverse { direction: ltr; }
    .mvv-row-visual { min-height: 200px; }
    .mvv-values-list { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {

    /* ── Global ── */
    .section { padding: 56px 0; }
    .section-title { font-size: 1.75rem; }
    .section-title-left { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }
    .section-header { margin-bottom: 36px; }

    /* Extra padding bottom so content doesn't hide behind bottom bar */
    body { padding-bottom: 68px; }

    /* ── Header ── */
    .header .container {
        padding: 0 16px;
    }
    .header-logo img { height: 36px; }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }

    /* ── Mobile nav overlay ── */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ── Mobile nav drawer ── */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 82vw);
        height: 100dvh;
        background: var(--white);
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
        display: flex;
        flex-direction: column;
        padding: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .header-nav.open { right: 0; }

    /* Nav drawer header with logo + close */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 16px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }
    .mobile-nav-logo { height: 32px; }
    .mobile-nav-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: var(--light);
        color: var(--text);
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .mobile-nav-close:hover {
        background: var(--accent-red);
        color: var(--white);
    }

    /* Nav links */
    .nav-list {
        flex-direction: column;
        gap: 2px;
        padding: 12px 12px;
        flex: 1;
    }
    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 16px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: var(--radius);
        color: var(--dark);
    }
    .nav-link i {
        width: 18px;
        text-align: center;
        color: var(--primary);
        font-size: 0.9rem;
    }
    .nav-link:hover, .nav-link.active {
        background: var(--primary-light);
        color: var(--primary);
    }

    /* Nav drawer footer — WhatsApp */
    .mobile-nav-footer {
        display: block;
        padding: 16px 20px 24px;
        border-top: 1px solid var(--border);
        flex-shrink: 0;
    }
    .mobile-nav-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px;
        background: #25d366;
        color: white;
        border-radius: var(--radius);
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
    }

    /* ── Mobile bottom action bar ── */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 62px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
        z-index: 990;
    }
    .mobile-bottom-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        transition: var(--transition);
    }
    .mobile-bottom-btn i { font-size: 1.25rem; }
    .mobile-bottom-contato {
        background: var(--primary);
        color: var(--white);
        border-radius: 0;
    }
    .mobile-bottom-contato:hover { background: var(--primary-dark); }
    .mobile-bottom-whatsapp {
        background: #25d366;
        color: var(--white);
    }
    .mobile-bottom-whatsapp:hover { background: #1ebe5d; }

    /* Hide desktop WhatsApp float on mobile */
    .whatsapp-float { display: none; }

    /* ── Hero ── */
    .hero {
        min-height: auto;
        padding: 100px 0 48px;
    }
    .hero-title { font-size: 1.85rem; line-height: 1.25; }
    .hero-subtitle { font-size: 0.92rem; margin-bottom: 24px; }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.75rem; }
    .hero-scroll-indicator { display: none; }
    .hero-float-card { display: none; }

    /* ── Quem somos ── */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-text { font-size: 0.9rem; }
    .about-features { gap: 8px; margin-bottom: 20px; }
    .about-feature { font-size: 0.88rem; }

    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 130px);
        gap: 8px;
    }
    .gallery-item-large { grid-row: span 2; }

    /* ── Terapias ── */
    .therapies-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .therapy-card { padding: 24px 16px; }
    .therapy-cta-card { grid-column: span 2; }
    .therapy-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 12px; }
    .therapy-card h3 { font-size: 0.88rem; }
    .therapy-card p { font-size: 0.8rem; }

    /* ── ABA ── */
    .aba-grid { grid-template-columns: 1fr; gap: 28px; }
    .aba-image { order: -1; }
    .abaSwiper, .abaSwiper .swiper-slide img { height: 88vw; max-height: 420px; }
    .aba-arrow { width: 34px !important; height: 34px !important; }
    .aba-content p { font-size: 0.9rem; }
    .aba-level { padding: 12px; gap: 12px; }
    .aba-level-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.85rem; }

    /* ── MVV (Princípios) ── */
    .mvv-header { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
    .mvv-header-right p { padding-top: 0; font-size: 0.88rem; }
    .mvv-row { grid-template-columns: 1fr; margin-bottom: 16px; }
    .mvv-row-reverse { direction: ltr; }
    .mvv-row-content { padding: 24px 20px; }
    .mvv-row-content h3 { font-size: 1.2rem; }
    .mvv-row-content p { font-size: 0.88rem; }
    .mvv-row-visual { min-height: 160px; }
    .mvv-visual-icon { width: 88px; height: 88px; font-size: 2.2rem; }
    .mvv-values-list { grid-template-columns: 1fr; gap: 2px; }
    .beliefs-card { padding: 28px 20px; }

    /* ── Gallery / Estrutura — full-width mobile ── */
    .section-gallery { padding-bottom: 48px; }
    .section-gallery .container { padding: 0; }
    .section-gallery .section-header { padding: 0 20px; }

    .gallery-carousel {
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    .gallery-carousel .gallerySwiper {
        border-radius: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-bottom: 0;
    }

    .gallerySwiper .swiper-slide {
        border-radius: 0;
    }
    .gallerySwiper .swiper-slide img {
        height: 90vw;
        max-height: 460px;
        border-radius: 0;
    }

    /* Ocultar bullets no mobile */
    .gallerySwiper .swiper-pagination { display: none; }

    /* Reposicionar setas para dentro do slide */
    .gallery-prev,
    .gallery-next {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10;
        width: 38px !important;
        height: 38px !important;
        background: rgba(255,255,255,0.22) !important;
        backdrop-filter: blur(6px);
    }
    .gallery-prev { left: 14px !important; }
    .gallery-next { right: 14px !important; }

    /* ── Footer ── */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 40px 0 28px; }
    .footer-logo { height: 40px; }
    .footer-col h4 { font-size: 0.95rem; margin-bottom: 12px; }
    .footer-col ul li { margin-bottom: 8px; }

    /* ── Modal ── */
    .modal { padding: 24px 20px; margin: 12px; border-radius: var(--radius-lg); }
    .modal-header h2 { font-size: 1.4rem; }
    .form-row { grid-template-columns: 1fr; }

    /* ── Misc ── */
    .commitment-text { font-size: 1.1rem; }
    .lightbox-nav { display: none; }
    .history-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-tag { font-size: 0.8rem; }
}

/* ===== RESPONSIVE — SMALL MOBILE ===== */
@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .hero-title { font-size: 1.6rem; }
    .hero-stats { flex-direction: column; gap: 12px; align-items: center; }

    .therapies-grid { grid-template-columns: 1fr; }
    .therapy-cta-card { grid-column: span 1; }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    .gallery-item { height: 180px; }
    .gallery-item-large { grid-row: span 1; }

    .section-title { font-size: 1.5rem; }
    .page-hero-title { font-size: 2rem; }
    .team-grid { grid-template-columns: 1fr; }
}

/* Body no scroll when modal/lightbox open */
body.modal-open {
    overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}
