/* =====================================================
   GOMES JUNIOR CONSTRUTORA
   CSS fiel ao design React/Tailwind
   ===================================================== */

@font-face {
    font-family: 'Zalando Sans';
    src: url('../fonts/ZalandoSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ---------- VARS ---------- */
:root {
    --color-primary: #965603;
    --color-primary-dark: #663b03; 
    --color-primary-filter: brightness(0) saturate(100%) invert(32%) sepia(69%) saturate(1182%) hue-rotate(9deg) brightness(96%) contrast(98%);
    --color-dark: #2E2E2E;
    --color-bg-soft: #eceae6;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-border: rgba(0,0,0,0.1);
    --container: 1280px;
    --radius: 0.625rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --transition: all .3s ease;
    --ease-cta: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --font-base: 'Zalando Sans', 'Montserrat', sans-serif;
    --font-script: 'Zalando Sans', 'Montserrat', sans-serif;
    --header-height: 96px;
    --header-height-compact: 80px;
    --header-offset: var(--header-height);
    --global-page-content-offset: 70px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: #fff;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-offset);
    transition: padding-top 0.55s cubic-bezier(0.38, 0, 0.02, 1);
}
body.header-hidden    { --header-offset: 0px !important; }
body.page-index,      
body.page-home, 
body.page-home-2,
body.page-empreendimentos,
body.page-empreendimento,
body.page-blog,
body.page-post,
body.page-contato,
body.page-regiao,
body.page-institucional,
body.page-trabalhe-conosco,
body.page-vaga,
body.page-politica,
body.page-politica-de-privacidade { --header-offset: 0px; padding-top: 0; }
body.page-home-2.has-site-preloader { overflow: hidden; }

/* Desce o conteúdo geral para alinhar melhor com os banners */
.smooth-scroll-content { padding-top: var(--global-page-content-offset) }
img { max-width: 100%; height: auto; display: block }

/* ==========================================================
   SMOOTH SCROLL
   body { padding-top: var(--header-offset) } empurra o conteúdo
   para baixo do header. Quando o header some (header-hidden),
   --header-offset vai a 0 com transição, crescendo o container
   para preencher o viewport sem faixa branca visível.
   ========================================================== */
@media only screen and (min-width: 1025px) {
    /* Trava html/body no viewport para impedir que a barra de rolagem
       nativa seja reservada na primeira pintura (causa da "linha branca"
       em navegação direta que sumia ao dar F5). Todo o scroll é feito
       pelo smooth-scroll-west dentro de .smooth-scroll-container. */
    html, body {
        height: 102% !important;
        margin-top: -12px;
       
        overflow: hidden;
        overscroll-behavior: none;
    }
    body {
        /* desativa a transição de padding-top nesta primeira pintura
           para não criar gap de 1-2px durante o lerp inicial */
        padding-top: var(--header-offset);
    }
    .smooth-scroll-container {
        width: 100%;
        height: calc(100vh - var(--header-offset));
        transition: height 0.55s cubic-bezier(0.38, 0, 0.02, 1);
    }
    .smooth-scroll-content {
        padding-bottom: 3px;
    }
}
a { color: inherit; text-decoration: none; transition: var(--transition) }
button { font-family: inherit; cursor: pointer; border: none; background: none }
ul { list-style: none }
h1, h2, h3, h4, h5, h6 { color: var(--color-dark); font-weight: 500; line-height: 1.5 }
h1 { font-size: 1.5rem }
h2 { font-size: 1.25rem }
h3 { font-size: 1.125rem }
input, textarea { font-family: var(--font-base); font-size: 1rem; line-height: 1.5 }


/* ==========================================================
   HEADER — fixed top-0 bg-white/95 backdrop-blur border-b
   ========================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    height: var(--header-height);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.38, 0, 0.02, 1), height 0.55s cubic-bezier(0.38, 0, 0.02, 1), background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
    will-change: transform;
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    min-height: var(--header-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: min-height 0.55s cubic-bezier(0.38, 0, 0.02, 1);
}
.site-header.is-compact {
    height: var(--header-height-compact);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
}
.site-header.is-compact .header-inner {
    min-height: var(--header-height-compact);
}
.site-header.is-hide {
    transform: translateY(calc(-100% - 1px));
}
body.header-lock-visible .site-header {
    transform: translateY(0) !important;
}
.logo { display: inline-flex; align-items: center }
.logo img {
    height: 56px;
    width: auto;
    transition: height 0.55s cubic-bezier(0.38, 0, 0.02, 1);
}
.site-header.is-compact .logo img {
    height: 56px;
}
.main-nav {
    display: none;
    align-items: center;
    gap: 24px;
}
.main-nav.waypoint {
    opacity: 1;
    transform: translateX(var(--anim-offset));
}
.main-nav.waypoint.animated {
    animation: headerMenuSlideIn var(--t1) 1 var(--ease-animation);
    transform: translateX(0);
}
.nav-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color .2s;
}
.nav-link > span {
    display: block;
    transition: transform .3s ease;
}
.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    color: var(--color-primary);
    transform: translateY(0%);
    transition: transform .3s ease;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover > span,
    .nav-link:focus-visible > span {
        transform: translateY(-20px);
    }

    .nav-link:hover::before,
    .nav-link:focus-visible::before {
        transform: translateY(-100%);
    }
}
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    padding: 0;
    color: var(--color-dark);
    position: relative;
}
.menu-toggle-lines {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggle-lines span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .22s ease, width .32s cubic-bezier(.22,1,.36,1);
}
.menu-toggle-lines span:nth-child(2) {
    width: 80%;
    margin-left: auto;
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.35);
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .main-nav { display: flex }
    .menu-toggle { display: none }
}

@media (max-width: 1024px) {
    .site-header,
    .site-header.is-compact {
        height: var(--header-height);
    }

    .site-header.is-compact .header-inner {
        min-height: var(--header-height);
    }

    .site-header.is-hide {
        transform: translateY(0);
    }

    .main-nav,
    .main-nav.waypoint,
    .main-nav.waypoint.animated {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid #e5e7eb;
        padding: 18px 24px 24px;
        gap: 16px;
        box-shadow: 0 12px 30px rgba(15,23,42,.06);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transform-origin: top center;
        animation: none;
        transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .24s ease, visibility 0s linear .3s;
        will-change: transform, opacity;
    }

    .main-nav.open,
    .main-nav.waypoint.open,
    .main-nav.waypoint.animated.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .24s ease, visibility 0s linear 0s;
    }
}


/* ==========================================================
   CONTAINER / SECTION
   ========================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px }
.section { padding: 80px 0 }
.text-center { text-align: center }


/* ==========================================================
   SECTION HEAD  (tag pill + h2 + subtitle)
   ========================================================== */
.section-head { margin-bottom: 48px }
.section-head.center { text-align: center }

.section-title-tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 48rem;
}
.section-head.center .section-subtitle { margin: 0 auto }

@media (min-width: 1024px) {
    .section-title { font-size: 2.25rem }
}


/* ==========================================================
   BUTTONS
   ========================================================== */
.btn,
.hero-v2-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--btn-base-fill, transparent);
    transition: color .35s var(--ease-cta), border-color .35s var(--ease-cta), background-color .35s var(--ease-cta);
    cursor: pointer;
    text-decoration: none;
}

.btn::before,
.hero-v2-btn-red::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--btn-hover-fill, var(--color-primary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s var(--ease-cta);
    z-index: -1;
}

.btn > *,
.hero-v2-btn-red > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    color: #fff;
    padding: 12px 32px;
    border: 1px solid transparent;
    --btn-base-fill: var(--color-dark);
    --btn-hover-fill: var(--color-primary);
    --btn-hover-color: #fff;
    --btn-hover-border: var(--color-primary);
}

.btn-outline {
    color: var(--color-dark);
    padding: 12px 32px;
    border: 1px solid #d1d5db;
    --btn-base-fill: transparent;
    --btn-hover-fill: var(--color-dark);
    --btn-hover-color: #fff;
    --btn-hover-border: var(--color-dark);
}

.btn-lg { padding: 12px 32px }
.btn .arrow,
.hero-v2-btn-red svg {
    display: inline-flex;
    transition: transform .35s var(--ease-cta);
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover,
    .hero-v2-btn-red:hover {
        color: var(--btn-hover-color, #fff);
        border-color: var(--btn-hover-border, transparent);
    }

    .btn:hover::before,
    .hero-v2-btn-red:hover::before {
        transform: scaleX(1);
    }

    .btn:hover .arrow,
    .hero-v2-btn-red:hover svg {
        transform: translateX(6px);
    }
}


/* ==========================================================
   HERO  (HeroSlider.tsx)
   grid 45/55, height 500px lg:600px
   ========================================================== */
.hero {
    margin-top: 0;
    position: relative;
    height: 500px;
    overflow: hidden;
}
.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr;
    background-image: var(--hero-mobile-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    pointer-events: none;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.hero-content {
    background: linear-gradient(180deg, rgba(236,234,230,.82) 0%, rgba(236,234,230,.68) 48%, rgba(236,234,230,.42) 100%);
    padding: 140px 32px 40px;
    min-height: 100%;
}
.hero-content-inner {
    width: 100%;
    max-width: 36rem;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-20px);
}
.hero-slide.is-active .hero-tag {
    animation: heroFadeRight 1s cubic-bezier(.22,1,.36,1) .3s forwards;
}
.hero-tag .line {
    display: block;
    height: 1px;
    width: 48px;
    background: var(--color-primary);
}
.hero-tag span:last-child {
    color: var(--color-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.is-active h1 {
    animation: heroFadeUp 1s cubic-bezier(.22,1,.36,1) .5s forwards;
}
.hero .lead {
    font-size: 1rem;
    color: var(--color-gray-700);
    margin-bottom: 24px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.is-active .lead {
    animation: heroFadeUp 1s cubic-bezier(.22,1,.36,1) .7s forwards;
}
.hero .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.is-active .location {
    animation: heroFadeUp 1s cubic-bezier(.22,1,.36,1) .9s forwards;
}
.hero .location svg { flex-shrink: 0 }

.hero .btn {
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.is-active .btn {
    animation: heroFadeUp 1s cubic-bezier(.22,1,.36,1) 1.1s forwards;
}

.hero-image {
    position: relative;
    display: none;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Película leve sobre a imagem do banner */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.04) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Linhas verticais animadas (efeito Figma) */
.hero-stripes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.hero-stripes .stripe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-bg-soft, #eceae6);
    opacity: 0;
    transform: translateX(-100%);
}
.hero-stripes .stripe-1 { width: 240px; }
.hero-stripes .stripe-2 { width: 180px; }
.hero-stripes .stripe-3 { width: 120px; }
.hero-stripes .stripe-4 { width: 60px;  }

.hero-slide.is-active .hero-stripes .stripe-1 {
    animation: heroStripeIn 1.2s cubic-bezier(.22,1,.36,1) 2s forwards;
}
.hero-slide.is-active .hero-stripes .stripe-2 {
    animation: heroStripeIn 1.2s cubic-bezier(.22,1,.36,1) 2.2s forwards;
}
.hero-slide.is-active .hero-stripes .stripe-3 {
    animation: heroStripeIn 1.2s cubic-bezier(.22,1,.36,1) 2.4s forwards;
}
.hero-slide.is-active .hero-stripes .stripe-4 {
    animation: heroStripeIn 1.2s cubic-bezier(.22,1,.36,1) 2.6s forwards;
}

/* Dots de navegação */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(46,46,46,.3);
    cursor: pointer;
    transition: all .3s ease;
}
.hero-dot.is-active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroStripeIn {
    to { opacity: .3; transform: translateX(0); }
}

@media (min-width: 1024px) {
    .hero { height: 600px; }
    .hero-slide {
        grid-template-columns: 45% 55%;
        background-image: none;
    }
    .hero-content {
        background: var(--color-bg-soft);
        padding: 140px 48px 40px 160px;
        min-height: auto;
    }
    .hero h1 { font-size: 1.875rem }
    .hero .lead { font-size: 1.125rem }
    .hero-image { display: block }
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    background: #2E2E2E;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-preloader.done {
    opacity: 0;
    visibility: hidden;
}
.site-preloader-logo {
    width: auto;
    height: 52px;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: translateY(12px);
    animation: sitePreloaderFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.site-preloader-bar-wrap {
    width: 140px;
    height: 1px;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
}
.site-preloader-bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-primary);
    animation: sitePreloaderBar 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
@keyframes sitePreloaderFade {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sitePreloaderBar {
    to { width: 100%; }
}

.hero-v2 {
    position: relative;
    height: 100vh;
    min-height: 680px;
    background: #2E2E2E;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
}
.hero-v2::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 42%;
    height: 130%;
    background: var(--color-primary);
    opacity: 0.04;
    transform: skewX(-8deg);
    pointer-events: none;
    z-index: 0;
}
#hero-v2-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-v2-img-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease-out 0.6s, transform 9s ease-out 0.4s;
}
.hero-v2-img-bg.loaded {
    opacity: 0.12;
    transform: scale(1);
}
.hero-v2-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 32px 0;
}
@media (min-width: 1024px) {
    .hero-v2-content {
        padding: 60px 56px 0;
    }
}
.hero-v2-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.hero-v2-eyebrow.in {
    clip-path: inset(0 0% 0 0);
}
.hero-v2-eyebrow-line {
    width: 48px;
    height: 1px;
    background: var(--color-primary);
    flex-shrink: 0;
}
.hero-v2-eyebrow span:last-child {
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hero-v2-title {
    font-size: clamp(48px, 6.5vw, 100px);
    font-weight: 900;
    color: #fff;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    max-width: 820px;
    font-family: var(--font-base);
}
.hero-v2-title .v2-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
.hero-v2-title .v2-word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.hero-v2-title.in .v2-word-inner {
    transform: translateY(0);
}
.hero-v2-title em {
    font-style: normal;
    color: var(--color-primary);
    display: block;
}
.hero-v2-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.85s, transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.85s;
}
.hero-v2-sub.in {
    opacity: 1;
    transform: translateY(0);
}
.hero-v2-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1) 1.05s, transform 0.7s cubic-bezier(0.16,1,0.3,1) 1.05s;
}
.hero-v2-actions.in {
    opacity: 1;
    transform: translateY(0);
}
.hero-v2-btn-red {
    color: #fff;
    padding: 14px 32px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    --btn-base-fill: var(--color-primary);
    --btn-hover-fill: var(--color-dark);
    --btn-hover-color: #fff;
    --btn-hover-border: var(--color-dark);
}
.hero-v2-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1) 1.4s;
}
.hero-v2-scroll-indicator.in {
    opacity: 1;
}
.hero-v2-scroll-text {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-v2-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(227,30,36,0.7), transparent);
    animation: heroV2ScrollAnim 2.2s ease-in-out infinite;
}
@keyframes heroV2ScrollAnim {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(0.15); transform-origin: top; }
}
.hero-v2-marquee {
    background: var(--color-primary);
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
}
.hero-v2-marquee-track {
    display: inline-flex;
    animation: heroV2Marquee 24s linear infinite;
}
.hero-v2-marquee-item {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    padding: 0 40px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.hero-v2-marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    flex-shrink: 0;
}
@keyframes heroV2Marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .hero-v2-title { font-size: clamp(38px, 11vw, 68px); }
    .hero-v2-sub { font-size: 14px; }
    .hero-v2-scroll-indicator { display: none; }
}

@media (min-width: 1280px) {
    .hero h1 { font-size: 2.25rem }
}


/* ==========================================================
   CARDS GRID — Empreendimentos (3 cols, aspect 3/4)
   ========================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
@media (min-width: 768px)  { .cards-grid { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr) } }

.card-emp {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.emp-card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
}
.emp-card-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    transition: background .35s ease;
    z-index: 1;
    pointer-events: none;
}
.emp-card-media::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Ccircle cx='12' cy='12' r='9' stroke-width='0.6'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='0.6' d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.82);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
    z-index: 2;
    pointer-events: none;
}
.card-emp .img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 16px;
    aspect-ratio: 3/4;
}
.card-emp .img picture {
    display: block;
    width: 100%;
    height: 100%;
}
.card-emp .img img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card-emp:hover .img img { transform: scale(1.05) }
.card-emp:hover .emp-card-media::before,
.card-emp:focus-visible .emp-card-media::before,
.emp-list-card:hover .emp-card-media::before,
.emp-list-card:focus-visible .emp-card-media::before,
.emp-outros-card:hover .emp-card-media::before,
.emp-outros-card:focus-visible .emp-card-media::before {
    background: rgba(15, 23, 42, .32);
}
.card-emp:hover .emp-card-media::after,
.card-emp:focus-visible .emp-card-media::after,
.emp-list-card:hover .emp-card-media::after,
.emp-list-card:focus-visible .emp-card-media::after,
.emp-outros-card:hover .emp-card-media::after,
.emp-outros-card:focus-visible .emp-card-media::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-emp .badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 3;
}
.emp-card-media .badge-bottom {
    position: absolute;
    bottom: 16px; left: 16px;
    background: var(--color-dark);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 3;
}
.card-emp .body { padding: 0 16px }
.card-emp .body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.card-emp .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin-bottom: 4px;
}
.card-emp .meta svg { color: var(--color-primary); flex-shrink: 0 }


/* ==========================================================
   ABOUT SECTION (About.tsx)
   bg-soft rounded-l-3rem that extends to right edge
   ========================================================== */
.about { padding: 80px 0; background: #fff; overflow: hidden }

.about-wrap {
    background: var(--color-bg-soft);
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
    padding: 32px 24px;
    overflow: hidden;
    margin-left: 24px;
}

.about-wrap.about-wrap--banner {
    padding: 0;
    background: transparent;
    border-top-left-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.about-banner {
    position: relative;
    width: 100%;
}

.about-banner-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1579 / 768;
    overflow: hidden;
    background: transparent;
}

.about-banner-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.about-banner-media::after {
    display: none;
}

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

.about-banner-copy {
    position: absolute;
    inset: 0 auto 0 clamp(64px, 6.5vw, 120px);
    z-index: 2;
    width: min(36%, 520px);
    padding: clamp(42px, 4vw, 60px) 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
}

.about-wrap.about-wrap--banner.waypoint .about-banner-copy > * {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.55s, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
    will-change: opacity, transform;
}

.about-wrap.about-wrap--banner.waypoint.animated .about-banner-copy > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.about-banner-main {
    max-width: 450px;
}

.about-banner-title {
    font-family: var(--font-base);
    font-size: clamp(26px, 2.5vw, 40px);
    font-weight: 100;
    color: var(--color-dark);
    line-height: 1.55 !important;
    max-width: 460px;
    margin-bottom: 20px;
}

.about-banner-text {
    max-width: 430px;
}

.about-banner-text p {
    font-size: 16px !important;
    line-height: 1.48;
    color: var(--color-text);
    margin-bottom: 14px;
}   

.about-banner-text p:last-child {
    margin-bottom: 0;
}

.about-banner-brand {
    color: #a10404;
    font-weight: 700;
}

.about-banner-text strong {
    color: var(--color-dark);
    font-weight: 700;
}

.about-banner-sign {
    max-width: 430px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 0;
}

.about-banner-sign-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.about-banner-sign-role {
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-600);
    line-height: 1.3;
}

@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .about-wrap.about-wrap--banner {
        margin-left: 16px;
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .about-banner-media {
        aspect-ratio: auto;
    }

    .about-banner-media::after {
        background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0.78) 100%);
    }

    .about-banner img {
        height: auto;
        object-position: center top;
    }

    .about-banner-copy {
        position: absolute;
        inset: 22px auto auto 20px;
        width: min(98%, 270px);
        padding: 10px;
        background: transparent;
    }

    .about-wrap.about-wrap--banner.waypoint .about-banner-copy > * {
        transform: translate3d(0, 18px, 0);
    }

    .about-banner-main {
        max-width: none;
    }

    .about-banner-title {
        font-size: clamp(22px, 7vw, 20px) !important;
        line-height: 1.12 !important;
        max-width: none;
        margin: 0;
    }

    .about-banner-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .about-banner-sign {
        max-width: none;
        margin-top: 20px;
        padding-top: 16px;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: var(--container);
}

.about-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-dark);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 24px;
}

.about h2 {
    font-size: 1.875rem;
    font-weight: 300 !important;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}
.about p {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial {
    background: #fff;
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: 32px;
}
.testimonial .quote-icon {
    width: 32px; height: 32px;
    color: var(--color-primary);
    opacity: .2;
    position: absolute;
    top: 16px; left: 16px;
}
.testimonial p {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.testimonial .author {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}
.testimonial .author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-dark);
}
.testimonial .author span {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

/* About images — overlapping */
.about-images {
    position: relative;
    display: block;
    width: 100%;
    max-width: 360px;
    height: 520px;
    margin: 8px auto 0;
}
.about-images img {
    position: absolute;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}
.about-images .top {
    top: 0; right: 0;
    width: 64%;
    height: 350px;
    z-index: 10;
}
.about-images .bottom {
    bottom: 0; left: 0;
    width: 55%;
    height: 380px;
    z-index: 20;
    object-position: top;
}

@media (min-width: 1024px) {
    .about-wrap {
        padding: 64px;
        margin-left: max(24px, calc((100vw - 80rem) / 2 + 24px));
    }
    .about-wrap.about-wrap--banner {
        padding: 0;
        width: min(100%, 1579px);
        margin-left: auto;
    }
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        padding-right: 64px;
    }
    .about h2 { font-size: 2.25rem }
    .about p { font-size: 1.125rem }
    .about-banner-title {
        font-size: clamp(26px, 2.5vw, 30px) !important;
        line-height: 1.08;
        margin-bottom: 60px !important;
        margin-top: 80px !important;
        
    }
    .about-banner-text p {
        font-size: 16px;
        line-height: 1.48;
        margin-bottom: 14px;
    }
    .testimonial { padding: 32px }
    .testimonial p { font-size: 1rem }
    .about-images {
        height: 600px;
        max-width: none;
        margin: 0;
    }
    .about-images .top { width: 65%; }
}

@media (min-width: 1024px) and (max-width: 1599px) {
    .about-wrap.about-wrap--banner {
        width: min(calc(100% - 64px), 1420px);
        margin-left: auto;
    }

    .about-banner-copy {
        inset: 0 auto 0 clamp(42px, 4.5vw, 72px);
        width: min(34%, 350px);
        padding: clamp(34px, 3vw, 46px) 0;
        margin-left: clamp(32px, 3vw, 48px);
    }

    .about-banner-main,
    .about-banner-text,
    .about-banner-sign {
        max-width: 390px;
    }

    .about-banner-title {
        font-size: clamp(24px, 2vw, 24px) !important;
        max-width: 320px;
        margin-bottom: 40px !important;
    }

    .about-banner-text p {
        font-size: 14px !important;
        line-height: 1.42;
        margin-bottom: 12px;
    }

    .about-banner-sign-name {
        font-size: 1rem;
    }
}


/* ==========================================================
   BLOG GRID  (Blog.tsx)
   ========================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}
@media (min-width: 768px)  { .blog-grid { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr) } }

.card-post {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.card-post .img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 16px;
    aspect-ratio: 16/10;
    isolation: isolate;
}
.card-post .img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    background: rgba(15, 23, 42, 0);
    transition: background .35s ease, opacity .35s ease;
    pointer-events: none;
}
.card-post .img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Ccircle cx='12' cy='12' r='9' stroke-width='0.6'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='0.6' d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.82);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
    z-index: 2;
    pointer-events: none;
}
.card-post .img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card-post:hover .img img,
.card-post:focus-visible .img img { transform: scale(1.05) }
.card-post:hover .img::before,
.card-post:focus-visible .img::before {
    opacity: 1;
    background: rgba(15, 23, 42, .32);
}
.card-post:hover .img::after,
.card-post:focus-visible .img::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-post .body { padding: 0 16px }
.card-post .cat {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    margin-bottom: 12px;
}
.card-post h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.card-post:hover h3 { color: var(--color-primary) }

.card-post .resumo {
    color: var(--color-gray-600);
    margin-bottom: 16px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-post .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}
.card-post .ler-mais {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 0.875rem;
    transition: gap .2s;
}
.card-post:hover .ler-mais { gap: 12px }


/* ==========================================================
   LOCATION SECTION (LocationSection.tsx)
    gradient overlay + accent font
   ========================================================== */
.location-section {
    padding: 128px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.location-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}
/* gradient from left (white) to right (transparent) — text readable on left */
.location-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.8) 30%,
        rgba(255,255,255,0.4) 60%,
        rgba(255,255,255,0.1) 85%,
        rgba(255,255,255,0) 100%
    );
}
.location-section .container {
    position: relative;
    z-index: 10;
    
    margin: 0;
    margin-left: max(24px, calc((100% - var(--container)) / 2));
    padding: 0 24px;
}
.location-section h2 {
    font-family: var(--font-script);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1;
}
.location-section .lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 32px;
    max-width: 48rem;
}
.location-section p {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 48rem;
}

@media (min-width: 1024px) {
    .location-section h2 { font-size: 6rem }
    .location-section .lead { font-size: 1.875rem }
}
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .location-section .container {
        max-width: 100%;
        margin-left: 0;
    }
}


/* ==========================================================
   CTA SECTION  (CTASection.tsx)
   3 cards bg-soft with red icon
   ========================================================== */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .cta-grid { grid-template-columns: repeat(3, 1fr) } }

.cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 40px 36px;
    background: var(--color-bg-soft);
    border: 1px solid rgba(46,46,46,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .55s cubic-bezier(0.16,1,0.3,1), border-color .4s ease;
    text-decoration: none;
    color: var(--color-dark);
}

.cta-card::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), #b87030);
    border-radius: 0 0 14px 14px;
    transition: width .55s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}

.cta-card:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    border-color: rgba(46,46,46,0.08);
}

.cta-card:hover::after {
    width: 100%;
}

.cta-icon {
    width: 56px; height: 56px;
    background: rgba(46,46,46,0.04);
    border: 1px solid rgba(46,46,46,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: background .4s ease, border-color .4s ease, color .35s ease, transform .45s cubic-bezier(0.16,1,0.3,1);
}

.cta-card:hover .cta-icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: scale(1.12);
}

.cta-icon svg { width: 28px; height: 28px }

.cta-body {
    flex: 1;
    transition: none;
}

.cta-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-card p {
    font-size: .875rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 0;
}

.cta-card .acessar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(46,46,46,0.42);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 28px;
    transition: color .35s ease, gap .35s ease;
}

.cta-card .acessar svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(0.16,1,0.3,1);
}

.cta-card:hover .acessar {
    color: var(--color-primary);
    gap: 10px;
}

.cta-card:hover .acessar svg {
    transform: translateX(4px);
}


/* ==========================================================
   HOME TESTIMONIALS
   ========================================================== */
#home-depoimentos {
    background:
        radial-gradient(circle at top left, rgba(154, 39, 27, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, rgba(244, 239, 234, 0.92) 100%);
}

.home-testimonials-slider {
    position: relative;
    margin-top: 40px;
}

.home-testimonials-viewport {
    overflow: hidden;
}

.home-testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 6px 2px 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-testimonials-track::-webkit-scrollbar {
    display: none;
}

.home-testimonial-card {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 30px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(46, 46, 46, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .4s ease;
    scroll-snap-align: start;
}

.home-testimonial-card::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c58a2b, #dfbf7a);
    border-radius: 0 0 14px 14px;
    transition: width .55s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}

.home-testimonial-card:hover {
    border-color: rgba(197, 138, 43, 0.22);
}

.home-testimonial-card:hover::after {
    width: 100%;
}

.home-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--font-script);
    font-size: 5rem;
    line-height: 1;
    color: rgba(154, 39, 27, 0.12);
}

.home-testimonial-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding-right: 36px;
}

.home-testimonial-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(154, 39, 27, 0.12);
    transition: border-color .35s ease, background-color .35s ease;
}

.home-testimonial-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-testimonial-card:hover .home-testimonial-avatar {
    border-color: #c58a2b;
}

.home-testimonial-card:hover .home-testimonial-avatar--placeholder {
    background: #c58a2b;
}

.home-testimonial-head h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--color-dark);
}

.home-testimonial-copy {
    flex: 1;
}

.home-testimonial-copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.95;
    color: var(--color-gray-700);
}

.home-testimonials-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(46,46,46,.12);
    background: #fff;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.home-testimonials-arrow.prev {
    left: -74px;
}

.home-testimonials-arrow.next {
    right: -74px;
}

.home-testimonials-arrow:hover:not([disabled]) {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(calc(-50% - 1px));
}

.home-testimonials-arrow[disabled] {
    opacity: .45;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.home-testimonials-arrow svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .home-testimonial-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (min-width: 1100px) {
    .home-testimonial-card {
        flex-basis: calc((100% - 48px) / 3);
    }
}

@media (max-width: 1399px) {
    .home-testimonials-slider {
        display: grid;
        grid-template-columns: 1fr auto auto 1fr;
        align-items: start;
        gap: 18px 12px;
        overflow: visible;
    }

    .home-testimonials-viewport {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .home-testimonials-arrow {
        position: static;
        grid-row: 2;
        transform: none;
    }

    .home-testimonials-arrow.prev {
        grid-column: 2;
        left: auto;
        justify-self: end;
    }

    .home-testimonials-arrow.next {
        grid-column: 3;
        right: auto;
        justify-self: start;
    }

    .home-testimonials-arrow:hover:not([disabled]) {
        transform: translateY(-1px);
    }
}

@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .home-testimonials-slider {
        margin-top: 28px;
        gap: 14px 10px;
    }

    .home-testimonial-card {
        min-height: auto;
        padding: 28px 22px;
        border-radius: 14px;
    }

    .home-testimonials-arrow {
        width: 40px;
        height: 40px;
    }

    .home-testimonial-card::before {
        top: 14px;
        right: 18px;
        font-size: 4rem;
    }

    .home-testimonial-head {
        gap: 14px;
        margin-bottom: 22px;
        padding-right: 28px;
    }

    .home-testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .home-testimonial-head h3 {
        font-size: 1.12rem;
    }

    .home-testimonial-copy p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}


/* ==========================================================
   FOOTER (Footer.tsx)
   bg-soft with red dividers
   ========================================================== */
.site-footer {
    background: var(--color-bg-soft);
}
.site-footer .container { padding-top: 64px; padding-bottom: 32px }

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 24px }
.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.7;
}

.footer-cols {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.footer-cols h4 {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    font-size: 0.875rem;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px }
.footer-cols li,
.footer-cols a {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    transition: color .2s;
}
.footer-cols a:hover { color: var(--color-primary) }

@media (min-width: 768px)  { .footer-cols { grid-template-columns: repeat(4, 1fr) } }
@media (min-width: 1024px) {
    .footer-top { flex-direction: row; gap: 64px }
    .footer-brand { width: 256px; flex-shrink: 0 }
}

/* Red divider */
.footer-divider {
    height: 1px;
    background: var(--color-primary);
    margin-bottom: 32px;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-primary);
}
.footer-newsletter h4 {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.footer-newsletter p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}
.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--color-text);
    outline: none;
    transition: border-color .2s;
}
.footer-newsletter input[type="email"]:focus {
    border-color: var(--color-primary);
}
.footer-newsletter input[type="email"]::placeholder { color: var(--color-gray-500) }

.footer-newsletter button {
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--btn-base-fill, var(--color-primary));
    transition: color .35s var(--ease-cta), border-color .35s var(--ease-cta), background-color .35s var(--ease-cta);
    white-space: nowrap;
    cursor: pointer;
    --btn-base-fill: var(--color-primary);
    --btn-hover-fill: var(--color-dark);
    --btn-hover-color: #fff;
    --btn-hover-border: var(--color-dark);
}

.footer-newsletter button svg {
    width: 16px;
    height: 16px;
    transition: transform .35s var(--ease-cta);
}

.footer-newsletter button::before,
.btn-whatsbox::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--btn-hover-fill, var(--color-dark));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s var(--ease-cta);
    z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
    .footer-newsletter button:hover,
    .btn-whatsbox:hover {
        color: var(--btn-hover-color, #fff);
        border-color: var(--btn-hover-border, transparent);
    }

    .footer-newsletter button:hover::before,
    .btn-whatsbox:hover::before {
        transform: scaleX(1);
    }

    .footer-newsletter button:hover svg {
        transform: translateX(6px);
    }
}

@media (min-width: 640px) {
    .footer-newsletter form { flex-direction: row }
}
@media (min-width: 1024px) {
    .footer-newsletter {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer-newsletter form { min-width: 400px }
}

/* Bottom bar */
.footer-bottom {
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}
.credits a:hover { color: var(--color-primary) }
.socials { display: flex; align-items: center; gap: 12px }
.socials a {
    color: var(--color-gray-500);
    transition: color .2s;
    font-size: 1.2rem;
}
.socials a:hover { color: var(--color-primary) }

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    .credits { flex-direction: row; gap: 16px }
}


/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
    background: var(--color-bg-soft);
    padding: 80px 0 48px;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 36rem;
    margin: 0 auto;
}


/* ==========================================================
   CONTENT PROSE (post/page text)
   ========================================================== */
.content-prose { max-width: 48rem; margin: 0 auto }
.content-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 16px }
.content-prose h3 { font-size: 1.25rem; font-weight: 600; margin: 24px 0 12px }
.content-prose p { margin-bottom: 16px; line-height: 1.8; color: var(--color-gray-700) }
.content-prose ul { padding-left: 24px; margin-bottom: 16px; list-style: disc }
.content-prose li { margin-bottom: 8px; line-height: 1.7; color: var(--color-gray-700) }
.content-prose img { border-radius: var(--radius); margin: 24px 0 }
.content-prose a { color: var(--color-primary) }
.content-prose a:hover { text-decoration: underline }


/* ==========================================================
   FORMS
   ========================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr } }

.form-group { margin-bottom: 16px }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-dark);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: #fff;
    transition: border-color .2s;
    font-family: var(--font-base);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}
textarea.form-control { min-height: 120px; resize: vertical }


/* ==========================================================
   ALERTS
   ========================================================== */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.875rem;
}
.alert-success { background: #d1fae5; color: #065f46 }
.alert-error   { background: #fee2e2; color: #991b1b }


/* ==========================================================
   WHATSAPP BOX (botão flutuante + caixinha)
   ========================================================== */

/* Botão flutuante pulsante */
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.bt-whatsbox {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    cursor: pointer;
    animation: waPulse 2s infinite;
    transition: transform .3s, opacity .3s;
}
.bt-whatsbox i { line-height: 1; }
.bt-whatsbox.is-hide { opacity: 0; transform: scale(0); pointer-events: none; }
.bt-whatsbox:hover { transform: scale(1.12); }

/* Caixinha do formulário */
.whatsbox {
    display: block;
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1000;
    width: 310px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(22px) scale(0.96);
    transform-origin: right bottom;
    transition: opacity .24s ease, transform .42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .42s;
    will-change: opacity, transform;
}

.whatsbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}
.whatsbox-head {
    background: #25D366;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    position: relative;
}
.whatsbox-head i { font-size: 20px; margin-right: 6px; vertical-align: middle; }
.bt-close-whatsbox {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    opacity: .85;
}
.bt-close-whatsbox:hover { opacity: 1; }

.whatsbox-body {
    padding: 16px;
}
.whatsbox-body p {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
}
.whatsbox-body input,
.whatsbox-body select {
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
}
.whatsbox-body input:focus,
.whatsbox-body select:focus { border-color: #25D366; }
.whatsbox-body input::placeholder { color: #aaa; }

/* Dropdown custom do whatsbox — abre para CIMA (a lista do <select> nativo e
   posicionada pelo navegador e estourava a caixa em telas baixas) e permite
   animar a seta ao abrir. Valor real fica no input hidden de mesmo name. */
.whatsbox-select { position: relative; }

.whatsbox-select-trigger {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 34px 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.whatsbox-select-trigger:focus-visible { border-color: #25D366; }

.whatsbox-select-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .28s ease;
}

.whatsbox-select.is-open .whatsbox-select-trigger::after {
    transform: translateY(-30%) rotate(225deg);
}

.whatsbox-select-label { display: block; }
.whatsbox-select-label.is-placeholder { color: #aaa; }

.whatsbox-select-menu {
    position: absolute;
    bottom: calc(100% - 2px);
    left: 0;
    z-index: 30;
    width: 100%;
    max-height: 208px;
    overflow-y: auto;
    padding: 6px 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 -12px 30px rgba(0,0,0,.18);
}

.whatsbox-select-menu[hidden] { display: none; }

.whatsbox-select-menu button {
    display: block;
    width: 100%;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
}

.whatsbox-select-menu button:hover,
.whatsbox-select-menu button:focus-visible {
    background: rgba(0,0,0,.06);
    outline: none;
}

.btn-whatsbox {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--btn-base-fill, #25D366);
    transition: color .35s var(--ease-cta), border-color .35s var(--ease-cta), background-color .35s var(--ease-cta);
    text-align: center;
    --btn-base-fill: #25D366;
    --btn-hover-fill: var(--color-dark);
    --btn-hover-color: #fff;
    --btn-hover-border: var(--color-dark);
}
.btn-whatsbox i { margin-right: 6px; }
.btn-whatsbox.is-loading { opacity: .7; pointer-events: none; }

@media (max-width: 400px) {
    /* Full-width: a origem no canto direito fazia a caixa "nascer" torta.
       Ao centro ela abre alinhada com o eixo da tela. */
    .whatsbox { width: calc(100vw - 20px); right: 10px; bottom: 10px; transform-origin: center bottom; }
    .bt-whatsbox { right: 14px; bottom: 14px; }
}

/* ==========================================================
   SECTION INTERESSE (empreendimento)
   ========================================================== */
.section-interesse { background: var(--color-surface, #f9fafb); }
.section-interesse .form-group { margin-bottom: 14px; }
.section-interesse .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
.section-interesse .form-control:focus { border-color: var(--color-primary, #c8932a); }
.section-interesse .w100 { width: 100%; }
.btn.is-loading span { visibility: hidden; }
.btn.is-loading::after {
    content: '';
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   FORM CONTATO (page)
   ========================================================== */
#form-contato .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    #form-contato .form-row { grid-template-columns: 1fr; }
}
#form-contato .form-group { margin-bottom: 18px; }
#form-contato label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
#form-contato .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
#form-contato .form-control:focus { border-color: var(--color-primary, #c8932a); }
#form-contato select.form-control { background: #fff; }



/* ==========================================================
   ANIMATION — sistema idêntico ao Vokkan
   Gatilho: .animated adicionado pelo smooth-scroll-west OU
   pelo IntersectionObserver fallback (add-class-animated.js)
   ========================================================== */
:root {
    --ease-animation: cubic-bezier(0.38, 0, 0.02, 1);
    --t0: 1.0s;
    --t1: 1.5s;
    --t2: 2.0s;
    --t3: 2.5s;
    --t4: 3.0s;
    --anim-offset: 15%;
}

.waypoint { opacity: 0 }
.waypoint.animated { opacity: 1 }

/* FADE */
.animation_fade.animated { opacity: 1 }

/* BOTTOM */
.animation_bottom.animated    { opacity: 1; animation: fadeBottom    var(--t0) 1 var(--ease-animation) }
.animation_bottom_d1.animated  { opacity: 1; animation: fadeBottom    var(--t1) 1 var(--ease-animation) }
.animation_bottom_d2.animated  { opacity: 1; animation: fadeBottom    var(--t2) 1 var(--ease-animation) }
.animation_bottom_d3.animated  { opacity: 1; animation: fadeBottom    var(--t3) 1 var(--ease-animation) }
.animation_bottom_dd1.animated { opacity: 1; animation: fadeBottom_d1 var(--t2) 1 var(--ease-animation) }
.animation_bottom_dd2.animated { opacity: 1; animation: fadeBottom_d2 var(--t2) 1 var(--ease-animation) }
.animation_bottom_dd3.animated { opacity: 1; animation: fadeBottom_d2 var(--t4) 1 var(--ease-animation) }

/* TOP */
.animation_top.animated    { opacity: 1; animation: fadeTop var(--t0) 1 var(--ease-animation) }
.animation_top_d1.animated { opacity: 1; animation: fadeTop var(--t1) 1 var(--ease-animation) }
.animation_top_d2.animated { opacity: 1; animation: fadeTop var(--t2) 1 var(--ease-animation) }

/* LEFT — entra pela esquerda, desliza para direita */
.animation_left.animated     { opacity: 1; animation: fadeLeft    var(--t0) 1 var(--ease-animation) }
.animation_left_d1.animated  { opacity: 1; animation: fadeLeft    var(--t1) 1 var(--ease-animation) }
.animation_left_d2.animated  { opacity: 1; animation: fadeLeft    var(--t2) 1 var(--ease-animation) }
.animation_left_d3.animated  { opacity: 1; animation: fadeLeft    var(--t3) 1 var(--ease-animation) }
.animation_left_dd1.animated { opacity: 1; animation: fadeLeft_d1 var(--t2) 1 var(--ease-animation) }
.animation_left_dd2.animated { opacity: 1; animation: fadeLeft_d2 var(--t2) 1 var(--ease-animation) }
.animation_left_dd3.animated { opacity: 1; animation: fadeLeft_d3 var(--t4) 1 var(--ease-animation) }

/* RIGHT — entra pela direita, desliza para esquerda */
.animation_right.animated     { opacity: 1; animation: fadeRight    var(--t0) 1 var(--ease-animation) }
.animation_right_d1.animated  { opacity: 1; animation: fadeRight    var(--t1) 1 var(--ease-animation) }
.animation_right_d2.animated  { opacity: 1; animation: fadeRight    var(--t2) 1 var(--ease-animation) }
.animation_right_d3.animated  { opacity: 1; animation: fadeRight    var(--t3) 1 var(--ease-animation) }
.animation_right_d4.animated  { opacity: 1; animation: fadeRight    var(--t4) 1 var(--ease-animation) }
.animation_right_dd1.animated { opacity: 1; animation: fadeRight_d1 var(--t2) 1 var(--ease-animation) }
.animation_right_dd2.animated { opacity: 1; animation: fadeRight_d2 var(--t2) 1 var(--ease-animation) }
.animation_right_dd3.animated { opacity: 1; animation: fadeRight_d3 var(--t4) 1 var(--ease-animation) }

/* SCALE */
.animation_scale.animated         { opacity: 1; animation: escale         var(--t0) 1 var(--ease-animation) }
.animation_scale_d1.animated      { opacity: 1; animation: escale         var(--t1) 1 var(--ease-animation) }
.animation_scale_d2.animated      { opacity: 1; animation: escale         var(--t2) 1 var(--ease-animation) }
.animation_scale_d3.animated      { opacity: 1; animation: escale         var(--t3) 1 var(--ease-animation) }
.animation_scale_reverse.animated { opacity: 1; animation: escale_reverse 2.2s      1 var(--ease-animation) }
.animation_scale_x.animated    { opacity: 1; transform-origin: center left; animation: scaleX    var(--t0) 1 var(--ease-animation) }
.animation_scale_x_d1.animated { opacity: 1; transform-origin: center left; animation: scaleX    var(--t1) 1 var(--ease-animation) }
.animation_scale_x_d2.animated { opacity: 1; transform-origin: center left; animation: scaleX    var(--t2) 1 var(--ease-animation) }
.animation_scale_x_dd1.animated{ opacity: 1; transform-origin: center left; animation: scaleX_d1 var(--t2) 1 var(--ease-animation) }
.animation_scale_x_dd2.animated{ opacity: 1; transform-origin: center left; animation: scaleX_d2 var(--t3) 1 var(--ease-animation) }
.animation_scale_y.animated    { opacity: 1; transform-origin: top center; animation: scaleY    var(--t0) 1 var(--ease-animation) }
.animation_scale_y_d1.animated { opacity: 1; transform-origin: top center; animation: scaleY    var(--t1) 1 var(--ease-animation) }
.animation_scale_y_d2.animated { opacity: 1; transform-origin: top center; animation: scaleY    var(--t2) 1 var(--ease-animation) }
.animation_scale_y_dd1.animated{ opacity: 1; transform-origin: top center; animation: scaleY_d1 var(--t2) 1 var(--ease-animation) }
.animation_scale_y_dd2.animated{ opacity: 1; transform-origin: top center; animation: scaleY_d2 var(--t3) 1 var(--ease-animation) }

/* CLIP PATH */
.animation_clip_x { opacity: 0; -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0) }
.animation_clip_y { opacity: 0; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0) }
.animation_clip_x_smooth { opacity: 0; will-change: opacity, clip-path; -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%) }
.animation_clip_x_static { opacity: 0; will-change: opacity, clip-path; -webkit-clip-path: polygon(-12% 0, 8% 0, -4% 100%, -20% 100%); clip-path: polygon(-12% 0, 8% 0, -4% 100%, -20% 100%) }
.animation_clip_x.animated { opacity: 1; animation: clipX var(--t0) 1 var(--ease-animation) both }
.animation_clip_y.animated { opacity: 1; animation: clipY var(--t0) 1 var(--ease-animation) both }
.animation_clip_x_smooth.animated { opacity: 1; animation: clipXSmooth 1.1s 1 cubic-bezier(0.22, 1, 0.36, 1) both }
.animation_clip_x_static.animated { opacity: 1; animation: clipXStatic 1.05s 1 cubic-bezier(0.22, 1, 0.36, 1) both }
.animation_clip_x_static_d1.animated { opacity: 1; animation: clipXStatic 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.26s 1 both }

/* ELASTIC */
.animation_elastic.animated    { opacity: 1; animation: escale var(--t0) 1 cubic-bezier(0.74, 0.13, 0.42, 1.21) }
.animation_elastic_d1.animated { opacity: 1; animation: escale var(--t1) 1 cubic-bezier(0.74, 0.13, 0.42, 1.21) }

/* ── KEYFRAMES ── */
@keyframes fadeBottom {
    from { opacity: 0; transform: translateY(var(--anim-offset)) }
    to   { opacity: 1; transform: translateY(0) }
}
@keyframes fadeBottom_d1 {
    0%   { opacity: 0; transform: translateY(var(--anim-offset)) }
    25%  { opacity: 0; transform: translateY(var(--anim-offset)) }
    100% { opacity: 1; transform: translateY(0) }
}
@keyframes fadeBottom_d2 {
    0%   { opacity: 0; transform: translateY(var(--anim-offset)) }
    50%  { opacity: 0; transform: translateY(var(--anim-offset)) }
    100% { opacity: 1; transform: translateY(0) }
}
@keyframes fadeTop {
    from { opacity: 0; transform: translateY(calc(var(--anim-offset) * -1)) }
    to   { opacity: 1; transform: translateY(0) }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    to   { opacity: 1; transform: translateX(0) }
}
@keyframes fadeLeft_d1 {
    0%   { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    25%  { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes fadeLeft_d2 {
    0%   { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    50%  { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes fadeLeft_d3 {
    0%   { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    75%  { opacity: 0; transform: translateX(calc(var(--anim-offset) * -1)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(var(--anim-offset)) }
    to   { opacity: 1; transform: translateX(0) }
}
@keyframes fadeRight_d1 {
    0%   { opacity: 0; transform: translateX(var(--anim-offset)) }
    25%  { opacity: 0; transform: translateX(var(--anim-offset)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes fadeRight_d2 {
    0%   { opacity: 0; transform: translateX(var(--anim-offset)) }
    50%  { opacity: 0; transform: translateX(var(--anim-offset)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes fadeRight_d3 {
    0%   { opacity: 0; transform: translateX(var(--anim-offset)) }
    75%  { opacity: 0; transform: translateX(var(--anim-offset)) }
    100% { opacity: 1; transform: translateX(0) }
}
@keyframes headerMenuSlideIn {
    from { transform: translateX(var(--anim-offset)) }
    to   { transform: translateX(0) }
}
@keyframes escale {
    from { opacity: 0; transform: scale(0.8) }
    to   { opacity: 1; transform: scale(1) }
}
@keyframes escale_reverse {
    0%   { opacity: 0; transform: scale(1.2) }
    70%  { opacity: 1 }
    100% { transform: scale(1) }
}
@keyframes scaleX {
    from { transform: scaleX(0) }
    to   { transform: scaleX(1) }
}
@keyframes scaleX_d1 {
    0%   { transform: scaleX(0) }
    25%  { transform: scaleX(0) }
    100% { transform: scaleX(1) }
}
@keyframes scaleX_d2 {
    0%   { transform: scaleX(0) }
    50%  { transform: scaleX(0) }
    100% { transform: scaleX(1) }
}
@keyframes scaleY {
    from { transform: scaleY(0) }
    to   { transform: scaleY(1) }
}
@keyframes scaleY_d1 {
    0%   { transform: scaleY(0) }
    25%  { transform: scaleY(0) }
    100% { transform: scaleY(1) }
}
@keyframes scaleY_d2 {
    0%   { transform: scaleY(0) }
    50%  { transform: scaleY(0) }
    100% { transform: scaleY(1) }
}
@keyframes clipX {
    from { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0) }
    to   { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0) }
}
@keyframes clipXSmooth {
    from { -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%) }
    to   { -webkit-clip-path: polygon(0 0, 100% 0, 120% 100%, 0 100%); clip-path: polygon(0 0, 100% 0, 120% 100%, 0 100%) }
}
@keyframes clipXStatic {
    from { -webkit-clip-path: polygon(-12% 0, 8% 0, -4% 100%, -20% 100%); clip-path: polygon(-12% 0, 8% 0, -4% 100%, -20% 100%) }
    to   { -webkit-clip-path: polygon(-12% 0, 100% 0, 120% 100%, 0 100%); clip-path: polygon(-12% 0, 100% 0, 120% 100%, 0 100%) }
}
@keyframes clipY {
    from { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0) }
    to   { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0) }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .waypoint { opacity: 1 !important; animation: none !important; transition: none !important }
}
