:root {
    --color-bg-light: #FDFBF9;
    --color-bg-darker: #F5EFEB;
    --color-primary: #D4A373;
    --color-primary-light: #E6C594;
    --color-text-dark: #4A3B32;
    --color-text-light: #8E7B70;
    --color-white: #FFFFFF;

    --gradient-bg: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-darker) 100%);
    --gradient-gold: linear-gradient(135deg, #D4A373 0%, #E6C594 50%, #D4A373 100%);

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-soft: 0 10px 30px rgba(74, 59, 50, 0.09);
    --shadow-hover: 0 20px 40px rgba(212, 163, 115, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.85);

    --radius-lg: 20px;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow-x: hidden;
}

/* Background shimmer */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 163, 115, 0.06), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(212, 163, 115, 0.09), transparent 28%);
    animation: drift 20s infinite alternate linear;
}

@keyframes drift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(2%, 2%);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 560px;
    padding: 3rem 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* ── Logo ── */
.logo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #B5A89A;
    background-image: url('assets/logo.jpg');
    background-size: 140%;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 32px rgba(74, 59, 50, 0.22), 0 0 0 4px rgba(181, 168, 154, 0.25);
    animation: fadeInDown 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) both, float 5s ease-in-out infinite 0.9s;
}

@keyframes float {

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

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

/* Accessibility – hide visually but keep for screen readers & SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Header ── */
.profile-header {
    text-align: center;
    margin-bottom: 2.8rem;
    animation: fadeInDown 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.profile-bio .highlight {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, #9C6F44 0%, #D4A373 50%, #9C6F44 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* ── Units Section ── */
.units-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 3rem;
}

/* ── Unit Card ── */
.unit-card {
    display: flex;
    flex-direction: row;
    gap: 0;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    will-change: transform;
}

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

/* Image side */
.unit-image-wrapper {
    position: relative;
    flex: 0 0 38%;
    min-height: 200px;
    overflow: hidden;
}

.unit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.unit-card:hover .unit-img {
    transform: scale(1.08);
}

.unit-city-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(74, 59, 50, 0.82);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* Info side */
.unit-info {
    flex: 1;
    padding: 1.3rem 1.3rem 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
}

.unit-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.1;
}

.unit-address {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.unit-address i {
    color: var(--color-primary);
    margin-right: 5px;
    font-size: 0.85rem;
}

.unit-address span {
    display: block;
    padding-left: 1.3rem;
    color: var(--color-text-light);
    opacity: 0.85;
}

/* Schedule button */
.schedule-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #25D366;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.35s ease;
    white-space: nowrap;
    align-self: flex-start;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3), 0 0 0 12px rgba(37, 211, 102, 0);
    }

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

.schedule-btn i {
    font-size: 1rem;
}

.schedule-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Maps button */
.maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    white-space: nowrap;
    align-self: flex-start;
}

.maps-btn i {
    font-size: 0.9rem;
}

.maps-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 163, 115, 0.35);
}

/* ── Social Footer ── */
.social-footer {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    animation: fadeIn 1s 0.8s both;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(212, 163, 115, 0.4);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

/* ── Animations ── */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-28px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .unit-card {
        flex-direction: row;
    }

    .unit-image-wrapper {
        flex: 0 0 42%;
        min-height: 220px;
        overflow: hidden;
    }

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

    .unit-info {
        flex: 1;
        padding: 0.85rem 0.85rem 0.85rem 0.75rem;
        gap: 0.65rem;
    }

    .unit-name {
        font-size: 1.3rem;
    }

    .unit-address {
        font-size: 0.72rem;
    }

    /* Alinhamento do endereço — Cascavel e Toledo */
    #unit-cascavel .unit-address br,
    #unit-toledo .unit-address br {
        display: none;
    }

    #unit-cascavel .unit-address span,
    #unit-toledo .unit-address span {
        display: inline;
        padding-left: 0;
    }

    .profile-name {
        font-size: 1.6rem;
    }

    .schedule-btn,
    .maps-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.72rem;
        padding: 0.6rem 0.5rem;
    }
}