/* ============================================
   BANTU — Saúde Integrativa & Bem-Estar
   Premium Design System
   ============================================ */

/* --- Import Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
    /* Brand Colors — Extracted from logo/brand */
    --olive:        #4A5A3C;
    --olive-dark:   #3A4830;
    --olive-light:  #5C6E4C;
    --terracotta:   #A0522D;
    --terra-light:  #C28D75;
    --orange:       #D4914D;
    --sage:         #8F9D85;
    --sage-light:   #B5C1AE;
    --cream:        #F5F0E8;
    --cream-dark:   #EDE6DA;
    --warm-white:   #FDFCFA;
    --charcoal:     #2C2A29;
    --charcoal-soft:#3D3B3A;
    --slate:        #5A5856;
    --slate-light:  #8A8785;

    /* Semantic */
    --bg-primary:   var(--warm-white);
    --bg-section:   var(--cream);
    --bg-dark:      var(--charcoal);
    --text-primary: var(--charcoal);
    --text-body:    var(--slate);
    --text-muted:   var(--slate-light);
    --text-on-dark: var(--cream);
    --accent:       var(--olive);
    --accent-warm:  var(--terra-light);

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 4.5rem;
    --space-3xl: 5rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:    0 1px 3px rgba(44,42,41,0.06), 0 1px 2px rgba(44,42,41,0.04);
    --shadow-md:    0 4px 12px rgba(44,42,41,0.08), 0 2px 4px rgba(44,42,41,0.04);
    --shadow-lg:    0 12px 40px rgba(44,42,41,0.12), 0 4px 8px rgba(44,42,41,0.06);
    --shadow-xl:    0 24px 64px rgba(44,42,41,0.16);
    --shadow-glow:  0 0 40px rgba(74,90,60,0.2);

    /* Transitions */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 700ms;

    /* Layout */
    --container-max: 1240px;
    --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) var(--ease-out);
}

ul, ol { list-style: none; }

/* --- Utilities --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-accent {
    color: var(--olive);
    font-style: italic;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--olive);
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(74,90,60,0.08), rgba(143,157,133,0.08));
    border: 1px solid rgba(74,90,60,0.12);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    width: fit-content;
}

/* --- Badges --- */
.micro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.35rem 0.8rem;
    background: rgba(74,90,60,0.06);
    border: 1px solid rgba(74,90,60,0.1);
    border-radius: var(--radius-full);
}

.badge svg {
    width: 14px;
    height: 14px;
    color: var(--olive);
}

.subheadline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* --- 3D Canvas (Background) --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Ensure all sections are above the canvas */
.header, main, .footer {
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--olive);
    color: var(--cream);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--olive-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(44,42,41,0.15);
}

.btn-ghost:hover {
    background: rgba(44,42,41,0.04);
    border-color: rgba(44,42,41,0.25);
}

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

.btn-outline:hover {
    background: var(--olive);
    color: var(--cream);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
}

.btn-glow {
    animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
    0%, 100% { box-shadow: var(--shadow-md); }
    50% { box-shadow: var(--shadow-md), 0 0 30px rgba(74,90,60,0.25); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(253,252,250,0.92);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    box-shadow: 0 1px 0 rgba(44,42,41,0.06);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    transition: color var(--duration-normal) var(--ease-out);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--duration-normal) var(--ease-out);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--olive);
    border-radius: 2px;
    transition: width var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--charcoal);
}

.header-cta {
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

/* --- Header Dark Mode (over hero / dark sections) --- */
.header.header-dark .logo-text {
    color: var(--cream);
}

.header.header-dark .nav-links a {
    color: rgba(245,240,232,0.8);
}

.header.header-dark .nav-links a:hover {
    color: var(--cream);
}

.header.header-dark .nav-links a::after {
    background: var(--orange);
}

.header.header-dark .header-cta {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header.header-dark .header-cta:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
}

/* When scrolled, always revert to light-bg dark-text style */
.header.scrolled .logo-text {
    color: var(--charcoal);
}

.header.scrolled .nav-links a {
    color: var(--text-body);
}

.header.scrolled .nav-links a:hover {
    color: var(--charcoal);
}

.header.scrolled .nav-links a::after {
    background: var(--olive);
}

.header.scrolled .header-cta {
    background: var(--olive);
    border: none;
    color: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header.scrolled .header-cta:hover {
    background: var(--olive-dark);
}

/* --- WhatsApp Float --- */
.btn-whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-spring);
}

.btn-whatsapp-float .wa-icon {
    width: 28px;
    height: 28px;
}

.btn-whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,211,102,0.45);
}

/* ===================================================
   HERO — Simplified Background Photo + Overlay
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient overlays for depth and text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(44,42,41,0.75) 0%, rgba(44,42,41,0.6) 40%, rgba(44,42,41,0.72) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(74,90,60,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Content area overlay */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
}

.hero-content {
    max-width: 680px;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero headline — simplified (no word-by-word) */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}

.hero-headline .accent-word {
    color: var(--orange);
    font-style: italic;
    position: relative;
}

.hero-headline .accent-word::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out);
}

.hero-headline.revealed .accent-word::after {
    transform: scaleX(1);
}

/* Hero badges on dark bg */
.hero .micro-badges {
    margin-bottom: var(--space-md);
}

.hero .badge {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero .badge svg {
    color: var(--orange);
}

/* Subheadline on dark */
.hero .subheadline {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Sub-sub-título micro text */
.hero-micro-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    margin-bottom: var(--space-lg);
    font-style: italic;
    line-height: 1.5;
}

/* Hero actions on dark */
.hero .btn-ghost {
    color: var(--cream);
    border-color: rgba(255,255,255,0.2);
}

.hero .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.scroll-line {
    width: 1.5px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    border-radius: 2px;
    animation: scroll-pulse 2s ease-in-out infinite;
}

.scroll-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.4);
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- SECTION: O BANTU (merged) --- */
.section-bantu {
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
}

.bantu-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.bantu-space-gallery {
    margin-bottom: var(--space-lg);
}

.bantu-space-gallery h3,
.bantu-amenidades h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    text-align: center;
    letter-spacing: -0.01em;
}

.bantu-space-gallery h3::before,
.bantu-amenidades h3::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--orange));
    margin: 0 auto var(--space-sm);
    border-radius: 2px;
}

/* Amenidades CTA */
.amenidades-cta {
    text-align: center;
    margin-top: var(--space-md);
}

/* Stat cards */
.stat-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid rgba(74,90,60,0.06);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--orange));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74,90,60,0.15);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--olive);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-icon {
    display: flex;
    justify-content: center;
    color: var(--olive);
    margin-bottom: 0.5rem;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

/* --- Room Carousel (swipe) --- */
.room-carousel {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
}

.carousel-track {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - var(--space-sm) * 2/3);
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: grab;
}

.carousel-slide:active {
    cursor: grabbing;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.carousel-slide:hover img {
    transform: scale(1.06);
}

.carousel-slide figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(44,42,41,0.7), transparent);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.carousel-slide:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

/* --- SECTION: AUDIENCE (compactado) --- */
.section-audience {
    padding: var(--space-xl) 0;
    background: var(--cream);
}

.section-audience--compact {
    padding: var(--space-xl) 0;
}

.audience-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-md);
}

.section-audience--compact .audience-header {
    margin-bottom: var(--space-sm);
}

.audience-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.audience-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.audience-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(74,90,60,0.06);
    border-left: 4px solid var(--olive);
    transition: all var(--duration-normal) var(--ease-out);
}

.section-audience--compact .audience-card {
    padding: var(--space-sm) var(--space-md);
}

.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74,90,60,0.12);
}

.audience-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,90,60,0.08), rgba(143,157,133,0.12));
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
    color: var(--olive);
}

.audience-icon svg {
    width: 18px;
    height: 18px;
}

.audience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--charcoal);
}

.audience-card p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* --- Gallery --- */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item.gi-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.gallery-item.gi-wide {
    grid-column: 2 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(44,42,41,0.7), transparent);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.gallery-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

.gi-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}

.gi-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

/* --- DIFFERENTIALS (amenidades) --- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.diff-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-md);
    background: var(--warm-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(74,90,60,0.06);
    border-left: 3px solid var(--orange);
    transition: all var(--duration-normal) var(--ease-out);
}

.diff-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(74,90,60,0.12);
}

.diff-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,90,60,0.08), rgba(212,145,77,0.08));
    border-radius: var(--radius-sm);
    color: var(--olive);
}

.diff-icon svg {
    width: 20px;
    height: 20px;
}

.diff-item span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* --- SECTION: ROOMS --- */
.section-rooms {
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
}

.rooms-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.rooms-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.room-card-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-md);
    transition: all var(--duration-slow) var(--ease-out);
    transform-style: preserve-3d;
    perspective: 1200px;
}

.room-card-3d:hover {
    box-shadow: var(--shadow-xl);
}

/* Reverse layout for Sala 2 — desktop uses CSS grid order */
.room-card-reverse {
    /* On desktop, image stays visually on the right via order */
}

.room-card-reverse .room-content-panel {
    order: 1;
}

.room-card-reverse .room-image-panel {
    order: 2;
}

.room-image-panel {
    position: relative;
    min-height: 450px;
    overflow: hidden;
}

.room-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.room-card-3d:hover .room-image-panel img {
    transform: scale(1.04);
}

.room-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(44,42,41,0.25));
    pointer-events: none;
}

.room-badge-3d {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: white;
    padding: 0.4rem 1rem;
    background: rgba(74,90,60,0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
}

.room-content-panel {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-content-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.room-subtitle {
    font-size: 1rem;
    color: var(--olive);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.room-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.room-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.rf-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-body);
}

.rf-item svg {
    width: 16px;
    height: 16px;
    color: var(--olive);
    flex-shrink: 0;
}

/* Pricing section */
.room-pricing-section {
    margin-bottom: var(--space-md);
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.pricing-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.room-pricing-bar {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: 0.5rem;
}

.price-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-sm);
    background: var(--warm-white);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74,90,60,0.08);
}

.price-pill.featured {
    background: var(--olive);
    border-color: var(--olive);
}

.price-pill.featured .price-label,
.price-pill.featured .price-value {
    color: var(--cream);
}

.price-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    text-align: center;
    line-height: 1.3;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
}

.pricing-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

/* --- SECTION: LOCATION --- */
.section-location {
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
}

.location-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.location-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.location-content p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.location-list {
    margin-bottom: var(--space-md);
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-body);
    padding: 0.5rem 0;
}

.location-list li svg {
    width: 18px;
    height: 18px;
    color: var(--olive);
    flex-shrink: 0;
}

.location-map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* --- SECTION: FOUNDER (quote layout) --- */
.section-founder {
    padding: var(--space-xl) 0;
    background: var(--cream);
}

.founder-quote-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.founder-quote-layout h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
}

.founder-quote-block {
    position: relative;
    padding: var(--space-lg) var(--space-xl);
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--olive);
    margin-bottom: var(--space-lg);
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--olive);
    opacity: 0.15;
    pointer-events: none;
}

.founder-quote-block blockquote p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.founder-quote-block blockquote p:last-child {
    margin-bottom: 0;
}

/* ===================================================
   SECTION: CONTACT FORM (replaces old CTA)
   =================================================== */
.section-contact {
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
}

.contact-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.contact-micro {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-xl);
}

.contact-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
}

.required {
    color: var(--terracotta);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(74,90,60,0.15);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: all var(--duration-fast) var(--ease-out);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5A3C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(74,90,60,0.1);
}

.form-group input::placeholder {
    color: var(--slate-light);
}

/* Radio options */
.form-group--radio > label:first-child {
    margin-bottom: 0.25rem;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(74,90,60,0.1);
    background: var(--cream);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--charcoal);
}

.radio-option:hover {
    border-color: rgba(74,90,60,0.25);
    background: rgba(74,90,60,0.03);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(74,90,60,0.25);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--olive);
    background: var(--olive);
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option:has(input:checked) {
    border-color: var(--olive);
    background: rgba(74,90,60,0.04);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-sm);
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
    }
}

.btn-submit {
    flex: 1;
    justify-content: center;
}

.btn-whatsapp {
    flex: 1;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.95rem 1.5rem;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.btn-whatsapp:hover {
    background: #1fba59;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

/* Form validation */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not([data-pristine]) {
    border-color: var(--terracotta);
}

/* --- SECTION: FAQ --- */
.section-faq {
    padding: var(--space-xl) 0;
    background: var(--cream);
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.faq-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--charcoal);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(74,90,60,0.08);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
    text-align: left;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--olive);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out),
                padding var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    padding-bottom: var(--space-md);
}

/* --- FOOTER --- */
.footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(245,240,232,0.08);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(245,240,232,0.06);
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--cream);
}

.footer-brand-text p {
    font-size: 0.82rem;
    color: var(--sage-light);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--sage-light);
    padding: 0.3rem 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-col svg {
    width: 16px;
    height: 16px;
}

.footer-col address {
    font-style: normal;
}

.footer-col address p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--sage-light);
    padding: 0.15rem 0;
}

.footer-col address svg {
    width: 16px;
    height: 16px;
}

.map-link {
    font-size: 0.85rem;
    color: var(--orange) !important;
    margin-top: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--slate-light);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .bantu-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.gi-large {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4/3;
    }

    .gallery-item.gi-wide {
        grid-column: auto;
    }

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

    .room-card-3d {
        grid-template-columns: 1fr;
    }

    /* On mobile, Sala 2 image should come first (before text) */
    .room-card-reverse .room-content-panel {
        order: 2;
    }

    .room-card-reverse .room-image-panel {
        order: 1;
    }

    .room-image-panel {
        min-height: 300px;
    }

    .carousel-slide {
        flex: 0 0 calc(50% - var(--space-sm) / 2);
    }

    .location-split {
        grid-template-columns: 1fr;
    }

    .founder-quote-layout {
        padding: 0 var(--space-sm);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-col a,
    .footer-col address p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 2.5rem;
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-headline {
        font-size: 2rem;
    }

    /* Compact all sections */
    .section-bantu,
    .section-audience,
    .section-rooms,
    .section-location,
    .section-founder,
    .section-faq,
    .section-contact {
        padding: var(--space-lg) 0;
    }

    .audience-carousel {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .bantu-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .stat-card {
        padding: var(--space-sm);
    }

    .carousel-slide {
        flex: 0 0 85%;
    }

    .room-content-panel {
        padding: var(--space-md);
    }

    .room-pricing-bar {
        flex-direction: column;
    }

    .btn-whatsapp-float {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 52px;
        height: 52px;
    }

    .footer-bottom {
        padding-bottom: 70px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Contact form adjustments */
    .contact-wrapper {
        padding: 0;
    }

    .radio-option {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* --- Animate-in states (GSAP-controlled) --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="gallery"] {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
}

/* --- Spinner for submit button --- */
.spin-icon {
    animation: spin 1s linear infinite;
}

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

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}
