/* 
* Theme: Minimalist Executive
* Fonts: Plus Jakarta Sans (Headers) + Inter (Body)
* Colors: Slate 900 (Primary), Slate 50 (Bg)
*/

:root {
    /* Colors */
    --color-primary: #0f172a;
    /* Slate 900 */
    --color-secondary: #334155;
    /* Slate 700 */
    --color-accent: #ffffff;
    /* White */
    --color-bg: #f8fafc;
    /* Slate 50 */
    --color-text: #1e293b;
    /* Slate 800 */
    --color-text-light: #64748b;
    /* Slate 500 */
    --color-border: #e2e8f0;
    /* Slate 200 */

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Spacing Fluid */
    --space-sm: clamp(0.75rem, 0.6rem + 0.8vw, 1.25rem);
    --space-md: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    --space-lg: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    --space-xl: clamp(3rem, 2.4rem + 3vw, 5rem);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section--light {
    background-color: var(--color-bg);
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav__link:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
}

.btn--primary {
    background-color: white;
    color: var(--color-primary);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--accent {
    background-color: #020617;
    color: white;
}

.btn--accent:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.3);
}

.btn--sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero__bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Basic Parallax simulation with fixed attachment where supported, usually JS is better for control but this is CSS only attempt or basic */
    /* For true parallax we need JS or simple CSS transform */
    transform: scale(1.1);
    /* Slight zoom for future parallax hook */
}

/* Overlay gradient for text readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.6) 0%,
            rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    /* Constraints: Hero Dominante focus */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: var(--header-height);
}

.hero__tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero__subheadline {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__actions {
    display: flex;
    justify-content: center;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section: Para Quem (Split Layout) */
.section__tag {
    display: block;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section__title {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    text-align: center;
}

.section__desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: white;
    color: var(--color-primary);
    border-radius: 8px;
    /* Slightly rounded, executive feel */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.feature-text p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}


/* Image Frame large variant */
.grid-split--image-large {
    grid-template-columns: 1.5fr 0.5fr;
}

.grid-split--image-left {
    grid-template-columns: 0.8fr 1.2fr;
}

.image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


.image-frame img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
    /* Constraint: Hover Scale (Interaction) */
}

/* Footer Placeholder */
.footer {
    padding: 2rem 0;
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        /* Hide nav for demo simplicity */
    }

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

    .split__image {
        order: -1;
        /* Image first on mobile */
        margin-bottom: var(--space-md);
    }

    .hero__headline {
        font-size: 2.5rem;
    }

    .leisure-image {
        order: -1;
        /* Image always first on mobile */
    }
}

/* Section 3: O Apartamento (Bento Box) */
.section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}


.bento-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    /* Ensure height for images */
}

.bento-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    z-index: 1;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2) 60%, transparent);
    z-index: 2;
}

.bento-content.relative {
    position: relative;
    z-index: 3;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(15, 23, 42, 0.1);
}

.bento-card:hover .bento-bg {
    transform: scale(1.1);
}

.bento-card--large {
    grid-column: span 2;
    /* Remove gradient bg since we use images now */
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    /* Transparent on image */
    backdrop-filter: blur(4px);
    color: white;
    /* White on image */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.bento-card:hover .bento-icon {
    background-color: var(--color-primary);
    color: white;
}

.bento-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
    /* Text always white over images */
    font-family: var(--font-heading);
    font-weight: 700;
}

.bento-content p {
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    /* Text always white over images */
}


.swiper {
    width: 100%;
    padding-bottom: 50px !important;
    /* Space for pagination */
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    /* Default mobile */
    height: 400px;
    /* Fixed height for consistency */
    border-radius: 12px;
    overflow: hidden;
    /* For image zoom effect */
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.swiper-slide:hover .slide-caption {
    transform: translateY(0);
}

.slide-caption h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: white;
}

.slide-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Custom Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(15, 23, 42, 0.5);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--color-primary) !important;
    opacity: 0.3 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

@media (min-width: 1024px) {
    .swiper-slide {
        height: 500px;
    }
}

/* Section 5: Lazer (Zig-Zag) */
.leisure-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.leisure-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.leisure-item--reverse {
    direction: rtl;
    /* Visual swap */
}

.leisure-item--reverse .leisure-content {
    direction: ltr;
    /* Reset text direction */
}

.leisure-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.leisure-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.leisure-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.leisure-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.leisure-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.leisure-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.leisure-features i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* Leisure Cards Grid */
.leisure-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.leisure-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.leisure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(2, 6, 23, 0.2);
}

.leisure-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #f0f3f8;
    color: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.leisure-card:hover .leisure-card__icon {
    background-color: #020617;
    color: white;
}

.leisure-card__title {
    font-size: 1.35rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.leisure-card__desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.leisure-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.leisure-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.leisure-card__features i {
    color: #020617;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .leisure-list {
        gap: 5rem;
    }

    .leisure-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leisure-item--reverse {
        direction: ltr;
    }

    .leisure-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 6: Localização (Map) */
.location-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: white;
}

.location-list {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: white;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-info {
    display: flex;
    flex-direction: column;
}

.location-info strong {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.location-info span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.location-map {
    width: 100%;
    min-height: 500px;
    height: 100%;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.location-map:hover iframe {
    filter: grayscale(0%);
}

.grid-split--video {
    align-items: center;
    gap: 4rem;
}

.grid-split--video .section__title {
    margin-bottom: 0.5rem;
}

.grid-split--video .section__desc {
    margin-bottom: 1.5rem;
}

.video-highlights {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.highlight-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.video-container-vertical {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #000;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-thumb {
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    /* Visible by default (Paused state) */
}

/* Hide button when playing unless hovered */
.video-wrapper.playing .video-play-btn {
    opacity: 0;
}

.video-wrapper.playing:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn i {
    font-size: 5rem;
    color: white;
}



.video-wrapper:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-wrapper:hover .video-play-btn .play-icon-svg {
    filter: brightness(0) invert(1);
}



@media (max-width: 768px) {
    .grid-split--video {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .grid-split--video .split__content {
        order: -1;
    }

    .section__title {
        text-align: center !important;
    }

    .section__desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .video-highlights {
        align-items: center;
    }
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    margin-top: 1rem;
    gap: 0.5rem;
}

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

@media (max-width: 900px) {
    .location-container {
        grid-template-columns: 1fr;
    }

    .location-list {
        padding: 2rem;
        order: 2;
        /* Map first on mobile */
    }

    .location-map {
        min-height: 300px;
        order: 1;
    }
}

/* Section 7: Investimento & FAQ */
/* Narrow Container specific for this section */
.container--narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#investimento {
    background-color: #f8fafc;
    /* Slightly different bg */
}

.investment-card {
    background: var(--color-primary);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 3rem;
}

/* Investment Form */
.investment-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.investment-form__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.investment-form__desc {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.investment-form__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 350px;
    margin: 0 auto;
}

.investment-form__form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

.investment-form__form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.investment-form__form .btn {
    gap: 0.5rem;
}

.investment-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.investment-price {
    color: white;
    /* Explicitly override default h2 text color */
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
}

.investment-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.investment-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.investment-features i {
    font-size: 1.25rem;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.1;
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* FAQ Accordion */
.faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: #f8fafc;
}

.accordion-header .ph-caret-down {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .ph-caret-down {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    padding-bottom: 1.5rem;
    /* Add padding when open */
    max-height: 200px;
    /* Approximate max height */
}

@media (max-width: 768px) {
    .investment-card {
        padding: 2rem 1.5rem;
    }

    .investment-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Section 8: CTA Final & Footer */
.section--dark {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.cta-title {
    color: white;
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn--white {
    background: white;
    color: var(--color-primary);
    gap: 0.5rem;
}

.btn--white:hover {
    background: #f1f5f9;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* CTA Form */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.cta-form button {
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-form {
        flex-direction: row;
        max-width: 800px;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
        border-radius: 8px;
    }

    .cta-form input {
        flex: 1;
        background: rgba(255, 255, 255, 0.9);
    }

    .cta-form button {
        width: auto;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: white;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

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

.quiz-step h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    text-align: center;
}

.quiz-step p {
    margin-bottom: 2rem;
    color: var(--color-text-light);
    text-align: center;
    font-size: 0.95rem;
}

.quiz-question {
    margin-bottom: 1.5rem;
}

.quiz-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

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

.quiz-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.quiz-option:hover {
    background: #f8fafc;
    border-color: var(--color-primary);
}

.quiz-option input[type="radio"] {
    accent-color: var(--color-primary);
}

.btn--full {
    width: 100%;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    text-align: center;
    margin-bottom: 1rem;
}

/* Footer */

.footer {
    background-color: #020617;
    /* Darker than primary */
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact strong {
    color: white;
    font-size: 1.1rem;
}

.footer-phone {
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

/* Fix intl-tel-input width */
.iti {
    width: 100%;
}

/* Adjust button size in form */
.investment-form__form .btn {
    max-width: 300px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    /* Slightly smaller padding */
    font-size: 1rem;
}

/* Custom Image Adjustments */
#para-quem .split__image {
    transform: translateY(30px) scale(1.1);
    z-index: 5;
}
/* Mobile Responsiveness Improvements added by Agent */
@media (max-width: 768px) {
    /* Global text centering */
    body, section, .section__title, .section__desc, p, h1, h2, h3, h4, h5, h6, .feature-text, .footer-content, .footer-contact, .location-info {
        text-align: center !important;
    }

    /* Adjust container padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Convert Grids to single column flex */
    .grid-split, .leisure-cards-grid, .bento-grid, .investment-features, .location-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }
    
    /* Ensure Bento cards take full width */
    .bento-card {
        width: 100% !important;
        min-height: 250px;
        margin-bottom: 1rem;
    }

    /* Ensure Leisure cards take full width */
    .leisure-card {
        width: 100% !important;
    }

    /* Flex items direction column */
    .feature-item, .highlight-item, .location-item {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    /* Center headers */
    .section__header {
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Reset widths */
    .split__content, .split__video, .split__image {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    /* Video container adjustments */
    .video-container-vertical {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    /* Footer tweaks */
    .footer-brand, .footer-contact {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 2rem;
    }
    
    /* Center lists */
    .feature-list, .location-list, .leisure-card__features {
        align-items: center !important;
    }
    
    /* Center list items icon + text */
    .leisure-card__features li {
        justify-content: center;
    }
    
    .location-list {
        padding: 0 !important;
    }
    
    /* Force buttons to center or full width */
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Refinements & Layout Fixes added by Agent */
@media (max-width: 768px) {
    /* 1. Remove Horizontal Scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container, section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* 2. Adjust Fachada Image Alignment */
    #para-quem .split__image {
        transform: none !important; /* Remove translateY/scale */
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem; /* Add padding to prevent touching edges if desired, or remove if full width needed */
    }
    
    #para-quem .image-frame img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        border-radius: 12px; /* Ensure border radius matches desktop or is slightly smaller */
    }

    /* 3. Title Adjustments */
    
    /* "Lazer de Resort..." */
    #lazer .section__title {
        font-size: 1.75rem !important; /* Reduced size */
        line-height: 1.3 !important;
        max-width: 300px !important; /* Force line break */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* "Melhor Localização..." */
    #localizacao .section__title {
        font-size: 1.5rem !important; /* Reduced size */
    }

    /* "Investimento..." */
    #investimento .section__title {
        font-size: 1.5rem !important; /* Reduced size */
    }

    /* 4. Investment Card Adjustments */
    .investment-card {
        padding: 1.5rem 1rem !important; /* Reduced padding */
    }

    .investment-price {
        font-size: 2rem !important; /* Reduced from 2.5rem+ */
        margin-bottom: 1.5rem !important;
    }

    .investment-features span {
        font-size: 0.9rem !important;
        justify-content: center !important;
        width: 100%; /* Force stacking or full width */
    }
    
    .investment-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Mobile Title Break Fix added by Agent */
@media (max-width: 768px) {
    .section__title, h2, h3 {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Ensure title width constraint for breaking */
    #lazer .section__title {
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}

/* Mobile Text Wrapping & Layout Fixes v2 added by Agent */
@media (max-width: 768px) {
    /* 1. Force Title Wrapping & Sizing */
    .section__title, h2, h3, h4, .investment-price {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
        width: 100% !important; 
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Specific overrides for long titles */
    #lazer .section__title {
        font-size: 1.6rem !important; /* Slightly smaller */
        line-height: 1.3 !important;
        margin: 0 auto !important;
    }
    
    #localizacao .section__title, 
    #investimento .section__title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    /* 2. Fix Investment Card Overflow */
    .investment-card {
        padding: 1.5rem 0.5rem !important; /* Minimal side padding */
        width: 100% !important;
        box-sizing: border-box;
    }

    .investment-features {
        gap: 0.5rem !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .investment-features span {
        font-size: 0.85rem !important;
        line-height: 1.4;
        width: 100%;
        text-align: center;
        padding: 0.25rem 0;
        white-space: normal !important; /* Prevent nowrap on items */
    }

    .investment-price {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* 3. Additional Scroll Insurance */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
}

/* Mobile Layout Adjustments: Leisure Icons & Location Grid added by Agent */
@media (max-width: 768px) {
    /* 1. Center Leisure Card Icons */
    .leisure-card__icon {
        margin: 0 auto 1.5rem auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
    }

    /* 2. Location List as 2-Column Grid */
    .location-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem 1rem !important; /* Row gap 1.5rem, Col gap 1rem */
        width: 100% !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }

    .location-item {
        margin-bottom: 0 !important; /* Reset bottom margin as we use gap */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        height: 100%; /* Ensure equal height */
    }

    /* Style improvements for grid items */
    .location-item strong {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2;
    }

    .location-item p {
        font-size: 0.85rem !important;
        line-height: 1.3;
        color: #64748b; /* Ensure readability */
    }

    .location-item svg, .location-item i {
        margin-bottom: 0.5rem !important;
        font-size: 1.5rem !important; /* Slightly smaller icon */
    }

    /* Ensure specific grid placement if needed, or let auto-flow handle it */
    /* Button should span full width if it's inside the grid container (it might not be based on HTML structure, checking next step) */
}

/* Mobile Map & Button Adjustments added by Agent */
@media (max-width: 768px) {
    /* Map Height Adjustment */
    .location-map iframe {
        height: 600px !important; /* Significantly taller to avoid cutoff */
        min-height: 400px;
    }
    
    .location-map {
        height: auto !important;
        margin-top: 2rem !important;
        width: 100% !important;
    }

    /* Google Maps Button Adjustment */
    a[href*="google.com/maps"].btn--outline {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        padding: 0.75rem 1.5rem !important;
        width: auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 2rem auto 0 auto !important; /* Centered with top margin */
        max-width: 90%;
    }
    
    /* Ensure container centers the button */
    .location-info-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Mobile Google Maps Button Centering Fix added by Agent */
@media (max-width: 768px) {
    .location-list a[href*="google.com/maps"].btn--outline {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        margin: 2rem auto 0 auto !important;
        display: inline-flex !important;
        width: auto !important;
    }
}

/* Final Mobile Refinements (Hyphens, Icons, Map Height) added by Agent */
@media (max-width: 768px) {
    /* Hyphens: Prevent word breaking */
    h1, h2, h3, h4, .section__title, .leisure-card__title, .leisure-card__desc {
        hyphens: none !important;
        -webkit-hyphens: none !important;
        word-break: normal !important;
    }

    /* Leisure Icons +10% */
    .leisure-card__icon i {
        /* Assuming base is approx 3rem, increasing to 3.3rem or scaling */
        transform: scale(1.1);
        display: inline-block; /* Required for transform */
    }

    /* Map Height: Reduce by ~20% (from 600px to 480px) */
    .location-map iframe {
        height: 480px !important;
    }
    
    /* Google Maps Button: Move up slightly */
    .location-list a[href*="google.com/maps"].btn--outline {
        margin-top: 1rem !important; /* Reduced from 2rem */
        /* Ensure previous centering rules apply */
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        display: inline-flex !important;
    }
}

/* Visibility Utilities for Button Placement added by Agent */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}
