/* ===================================
   CONHEÇA ITAPEMA PAGE
   It! Wheel - Conheça Itapema
   =================================== */


/* =============================================
   GRADIENT BACKGROUND
   ============================================= */
body.itapema-page {
    background: #EEF7F8 !important;
    min-height: 100vh;
}

.itapema-gradient-wrapper {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: linear-gradient(180deg, #9FE4F1 0%, #EEF7F8 100%);
}


/* =============================================
   BANNER HERO + LINHA INVERTIDA
   ============================================= */
.itapema-banner-wrapper {
    z-index: auto;
}

.itapema-banner {
    position: relative;
    width: 100%;
    overflow: visible !important;
    top: -90px;
}

.itapema-banner-media {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.itapema-banner-img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    /* Curva inferior — mesma máscara do banner da home (espelha o institucional) */
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 800' preserveAspectRatio='none'><path d='M0 688.37V0H1920V740H707.24C665.16 740 623.16 743.68 581.72 750.99L368.81 788.56C325.68 796.17 281.98 800 238.18 800H0V688.37Z' fill='white'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 800' preserveAspectRatio='none'><path d='M0 688.37V0H1920V740H707.24C665.16 740 623.16 743.68 581.72 750.99L368.81 788.56C325.68 796.17 281.98 800 238.18 800H0V688.37Z' fill='white'/></svg>");
    -webkit-mask-size: 100% calc(100% + 2px);
            mask-size: 100% calc(100% + 2px);
    -webkit-mask-position: top left;
            mask-position: top left;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

/* Dark gradient overlay for header contrast */
.itapema-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.97) 0%, rgba(11, 11, 11, 0) 100%);
}

/* Banner text overlay */
.itapema-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itapema-banner-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1280px;
    width: 100%;
    padding: 0 40px;
    
}

.itapema-banner-svg {
    flex-shrink: 0;
}
.itapema-banner-svg img {
    
    width: auto;
    display: block;
    margin-top: -230px;
    margin-left: 180px;
}

.itapema-banner-texto h1 {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 400;
    font-size: 45px;
    line-height: 54px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    margin-left: 160px;
    margin-top: -200px;
}

/* Linha invertida — clip-path reveal top→bottom (same as blog/institucional) */
.itapema-banner-linha {
    position: absolute;
    right: 0;
    bottom: -186px;
    width: auto;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    animation: itapemaClipRevealTopBottom 3.5s cubic-bezier(0.22, 1, 0.36, 1.3) 0.3s forwards;
}

@keyframes itapemaClipRevealTopBottom {
    0%   { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0% 0); }
}


/* =============================================
   BARRA INGRESSOS
   (Same pattern as blog/institucional)
   ============================================= */
.itapema-ingresso-anchor {
    position: relative;
    z-index: 120;
    display: flex;
    justify-content: flex-end;
    margin-top: -280px;
    overflow: hidden;
}

.itapema-ingresso-anchor.has-placeholder {
    min-height: 79px;
}

.itapema-ingresso-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px 0 40px;
    width: 1109px;
    max-width: 100%;
    height: 79px;
    background: linear-gradient(180deg, #279BB1 0.15%, #005284 100.15%);
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    pointer-events: none;
}

.itapema-ingresso-bar.is-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Stagger children */
.itapema-ingresso-bar .sticky-ingresso-label,
.itapema-ingresso-bar .sticky-ingresso-btn {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.itapema-ingresso-bar.is-visible .sticky-ingresso-label {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}
.itapema-ingresso-bar.is-visible .sticky-ingresso-btn:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.45s;
}
.itapema-ingresso-bar.is-visible .sticky-ingresso-btn:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}
.itapema-ingresso-bar.is-visible .sticky-ingresso-btn:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.75s;
}

/* Stuck near top */
.itapema-ingresso-bar.is-stuck {
    position: fixed;
    right: 0;
    z-index: 201;
    border-radius: 200px 0 0 200px;
    transform-origin: right center;
    transform: scaleX(0.82) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    will-change: transform, opacity;
}

.itapema-ingresso-bar.is-stuck.is-stuck-active {
    transform: scaleX(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.itapema-ingresso-bar.is-banner-hidden {
    transform-origin: right center;
    transform: scaleX(0.82) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.itapema-ingresso-bar.is-stuck-top {
    top: 15px;
    bottom: auto;
}

.itapema-ingresso-bar.is-stuck-bottom {
    top: auto;
    bottom: var(--itapema-mobile-ingresso-bottom-gap, 16px);
}

.itapema-ingresso-bar.is-stuck .sticky-ingresso-label,
.itapema-ingresso-bar.is-stuck .sticky-ingresso-btn {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

/* Scale label & buttons */
.itapema-ingresso-bar .sticky-ingresso-label {
    font-size: 16px;
    margin-right: 12px;
    color: #fff;
}
.itapema-ingresso-bar .sticky-ingresso-btn {
    font-size: 13px;
    padding: 9px 20px;
    width: 152px;
    height: 44px;
}
.itapema-ingresso-bar .sticky-ingresso-btn img {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
    margin-left: -5px;
}
.itapema-ingresso-bar .sticky-ingresso-btn span {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =============================================
   INGRESSO MOBILE PICKER — hidden by default
   ============================================= */
.inst-ingresso-mobile-picker { display: none; }

.inst-ingresso-select-wrap {
    position: relative;
}
.inst-ingresso-select-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 284px;
    height: 46px;
    border-radius: 64px;
    background: linear-gradient(180deg, #F29120 0%, #EC6608 100%);
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 20px;
}

.inst-ingresso-select-icon,
.inst-ingresso-dropdown-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.inst-ingresso-select-btn[data-inst-current-key="individual"] .inst-ingresso-select-icon,
.inst-ingresso-dropdown-item[data-key="individual"] .inst-ingresso-dropdown-icon {
    background-image: url('../img/home/individual.png');
}

.inst-ingresso-select-btn[data-inst-current-key="cabine"] .inst-ingresso-select-icon,
.inst-ingresso-dropdown-item[data-key="cabine"] .inst-ingresso-dropdown-icon {
    background-image: url('../img/home/cabine.webp');
}

.inst-ingresso-select-btn[data-inst-current-key="especial"] .inst-ingresso-select-icon,
.inst-ingresso-dropdown-item[data-key="especial"] .inst-ingresso-dropdown-icon {
    background-image: url('../img/home/especial.png');
}

.inst-ingresso-select-label {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.inst-ingresso-select-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}
.inst-ingresso-select-wrap.is-open .inst-ingresso-select-arrow {
    transform: translateY(2px) rotate(-135deg);
}
.inst-ingresso-dropdown-list {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 284px;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    background: linear-gradient(180deg, #EEF7F8 0%, #9FE4F1 100%);
    border-radius: 24px;
    border: none;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
    z-index: 310;
}
.inst-ingresso-select-wrap.is-open .inst-ingresso-dropdown-list {
    max-height: 220px;
    opacity: 1;
    pointer-events: auto;
    padding: 16px 14px;
}
.inst-ingresso-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 18px;
    margin-bottom: 8px;
    border-radius: 64px;
    color: #EC6608;
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease;
}
.inst-ingresso-dropdown-icon {
    filter: brightness(0) saturate(100%) invert(49%) sepia(94%) saturate(1910%) hue-rotate(357deg) brightness(96%) contrast(92%);
}
.inst-ingresso-dropdown-text {
    text-align: left;
}
.inst-ingresso-dropdown-item:last-child { margin-bottom: 0; }
.inst-ingresso-dropdown-item.is-active,
.inst-ingresso-dropdown-item:hover { background: rgba(236, 102, 8, 0.12); border-radius: 64px; }


/* =============================================
   NUVENS FLUTUANTES
   ============================================= */
.itapema-nuvens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}

.itapema-nuvens .nuvem-float {
    position: absolute;
    height: auto;
    will-change: transform;
    transform: translateX(0);
}

/* Nuvem 1 — near ingresso bar */
.itapema-nuvens .nuvem1 {
    top: 390px;
    left: 500px;
    width: 918px;
    animation: none !important;
}

/* Nuvem 2 — near intro text */
.itapema-nuvens .nuvem2 {
    top: 800px;
    right: -250px;
    left: auto;
    width: 883px;
    animation: none !important;
}

/* Nuvem 3 — above pier photo */
.itapema-nuvens .nuvem3 {
    top: 950px;
    left: -250px;
    width: 1071px;
    animation: none !important;
}


/* =============================================
   INTRO SECTION — Heading + Text side by side
   ============================================= */
.itapema-intro {
    position: relative;
    z-index: 4;
    padding: 120px 0 1px;
}

.itapema-intro .wrap {
    max-width: 1280px;
    position: relative;
}

.itapema-intro-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

/* Left column — heading */
.itapema-intro-heading {
    color: #858585;
}

.itapema-intro-heading h2 {
    font-weight: 500;
    font-size: 46px;
    line-height: 120%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EC6608;
    margin: 0;
    margin-top: 30px;
}

/* Right column — body text */
.itapema-intro-body {
    flex: 1;
    max-width: 650px;
    padding-top: 108px;
}

.itapema-intro-body p {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    color: #18899E;
    margin: 0 0 20px;
    margin-left: 245px;
}
.itapema-intro-body p:last-child {
    margin-bottom: 50px;
}

.itapema-intro-body strong {
    font-weight: 700;
    color: #18899E;
}


/* =============================================
   PIER OPORTO SECTION
   ============================================= */
.itapema-pier {
    position: relative;
    z-index: 4;
    padding: 0 0 1px;
    margin-top: -150px;
    overflow: visible;
}

.itapema-pier-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
}

/* Left column — flush left, no wrap constraint */
.itapema-pier-visual {
    flex: 0 0 952px;
    width: 952px;
    position: relative;
}

.itapema-pier-img {
    width: 952px;
    height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 0 20px 20px 0;
    position: relative;
    z-index: 2;

}

/* Linha itapema meio — clip-path under the image */
.itapema-pier-linha {
    position: relative;
    width: 952px;
    height: 258px;
    margin-top: -250px;
    z-index: 10;
    pointer-events: none;
}
.itapema-pier-linha img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
}
.itapema-pier-linha.is-revealed img {
    animation: itapemaClipRevealLeftRight 3.5s cubic-bezier(0.22, 0.6, 0.9, 1.5) 0.7s forwards;
}

@keyframes itapemaClipRevealLeftRight {
    0%   { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* Astronauta flutuante — below image, shifted right */
.itapema-pier-astronauta {
    position: absolute;
    bottom: -320px;
    right: 100px;
    width: 395px;
    height: 493px;
    z-index: 11;
    pointer-events: none;
}
.itapema-pier-astronauta img {
    width: 395px;
    height: 493px;
    display: block;
    animation: astronaut-bob 3s ease-in-out infinite;
}

/* Lines decoration — under the visual block */
.itapema-pier-lines {
    position: absolute;
    right: 495px;
    bottom: -459px;
    width: 457.0789489746094px;
    height: 460.3926696777344px;
    z-index: 101;
    pointer-events: none;
}
.itapema-pier-lines img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: inset(0 0 100% 0);
}
.itapema-pier-lines.is-revealed img {
    animation: itapemaClipRevealTopBottomLines 3.5s cubic-bezier(0.22, 1, 0.36, 1.5) 1.5s forwards;
}

@keyframes itapemaClipRevealTopBottomLines {
    0%   { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0% 0); }
}

/* Right column — text */
.itapema-pier-content {
    flex: 1;
    padding: 40px 0 0 60px;
}

.itapema-pier-content h2 {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 46px;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EC6608;
    margin: 0 0 80px;
    margin-left: 73px;
    margin-top: 270px;
}

.itapema-pier-body {
    max-width: 500px;
}

.itapema-pier-body p {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    color: #18899E;
    margin: 0 0 20px;
    margin-left: 73px;
}
.itapema-pier-body p:last-child {
    margin-bottom: 80px;
}

.itapema-pier-body strong {
    font-weight: 700;
    color: #18899E;
}


/* =============================================
   RAZÕES PARA SE APAIXONAR — Carousel
   ============================================= */
.itapema-razoes {
    position: relative;
    z-index: 4;
    padding: 40px 0 50px;
  
}

.itapema-razoes .wrap {
    max-width: 1280px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    
}

.itapema-razoes-titulo {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 46px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #279BB1;
    margin: 0 0 70px;  
    margin-left: 760px;
}

/* Carousel wrapper */
.itapema-razoes-carousel-wrap {
    position: relative;
}

.itapema-razoes-carousel {
    display: flex;
    gap: 16px;
    overflow: hidden;
   
}

/* Card */
.itapema-razoes-card {
    flex: 0 0 632px;
    max-width: 632px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
   
}

/* Card image */
.itapema-razoes-card-link {
    display: block;
    position: relative;
    width: 632px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
}
.itapema-razoes-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(305.41deg, #3D3A3A 0%, rgba(255, 255, 255, 0) 29.57%);
    pointer-events: none;
}
.itapema-razoes-card-link img.itapema-razoes-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.38, 0, 0.02, 1), filter 0.4s ease;
}
.itapema-razoes-card-link:hover img.itapema-razoes-card-img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* Zoom icon */
.itapema-razoes-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}
.itapema-razoes-zoom img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Card title */
.itapema-razoes-card-titulo {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500 !important;
    font-size: 28px;
    line-height: 33px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #EC6608;
    margin: 40px 0 32px; 
    margin-left: 33px;
}

/* Card description */
.itapema-razoes-card-desc {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    color: #279BB1;
    max-width: 350px;
    margin-left: 33px;
}

/* Navigation arrows */
.itapema-razoes-nav {
    position: absolute;
    top: 180px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
    left: 0;
}

.itapema-razoes-prev,
.itapema-razoes-next {
    width: 39px;
    height: 39px;
    border: none;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.itapema-razoes-prev { margin-left: -106px;  margin-bottom: -23px;}
.itapema-razoes-next { margin-right: -106px; margin-bottom: -23px;}

.itapema-razoes-prev:hover,
.itapema-razoes-next:hover {
    opacity: 0.7;
    transform: scale(1.1);
}
.itapema-razoes-prev img,
.itapema-razoes-next img {
    width: 100%;
    height: auto;
    display: block;
}


/* =============================================
   PARCEIROS + BANNER PUB OVERRIDE for itapema page
   ============================================= */
.itapema-page .section-parceiros {
    background: transparent !important;
}
.itapema-page .section-parceiros .bg2 {
    background-color: #D2EAEF !important;
}
.itapema-page .section-banner-publicidade {
    background: transparent !important;
    margin-top: -50px;
}

/* Gap before footer — only on itapema page */
.itapema-page .section-parceiros {
    margin-bottom: 120px;
    margin-top: -120px;
}


/* =============================================
   RESPONSIVE — NOTEBOOK (≤1440px)
   ============================================= */
@media only screen and (max-width: 1440px) {

/* =============================================
   GRADIENT BACKGROUND
   ============================================= */
body.itapema-page {
    background: #EEF7F8 !important;
    min-height: 100vh;
}
 
.itapema-gradient-wrapper {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: linear-gradient(180deg, #9FE4F1 0%, #EEF7F8 100%);
}
 
 
/* =============================================
   BANNER HERO + LINHA INVERTIDA
   ============================================= */
.itapema-banner-wrapper {
    z-index: auto;
}
 
/* top: -90px * 0.75 = -68px */
.itapema-banner {
    position: relative;
    width: 100%;
    overflow: visible !important;
}
 
.itapema-banner-img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}
 
/* Dark gradient overlay for header contrast */
.itapema-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.97) 0%, rgba(11, 11, 11, 0) 100%);
}
 
/* Banner text overlay */
.itapema-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
/* max-width: 1280px * 0.75 = 960px | gap: 50px * 0.75 = 38px | padding: 0 40px * 0.75 = 0 30px */
.itapema-banner-content {
    display: flex;
    align-items: center;
    gap: 38px;
    max-width: 960px;
    width: 100%;
    padding: 0 30px;
}
 
.itapema-banner-svg {
    flex-shrink: 0;
}
 
/* margin-top: -230px * 0.75 = -173px | margin-left: 180px * 0.75 = 135px */
.itapema-banner-svg img {
    width: auto;
    display: block;
    margin-top: -173px;
    margin-left: 105px;
}
 
/* font-size: 45px * 0.75 = 34px | line-height: 54px * 0.75 = 41px
   margin-left: 160px * 0.75 = 120px | margin-top: -200px * 0.75 = -150px */
.itapema-banner-texto h1 {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 400;
    font-size: 34px;
    line-height: 41px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    margin-left: 50px;
    margin-top: -120px;
}
 
/* Linha invertida — bottom: -207px * 0.75 = -155px */
.itapema-banner-linha {
    position: absolute;
    right: 0;
    bottom: -96px;
       width: 318px;
    height: 321px; 
    z-index: -2;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    animation: itapemaClipRevealTopBottom 3.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
 
@keyframes itapemaClipRevealTopBottom {
    0%   { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0% 0); }
}
 
 
/* =============================================
   BARRA INGRESSOS
   ============================================= */
.itapema-ingresso-anchor {
    margin-top: -250px;
}
 
.itapema-ingresso-anchor.has-placeholder {
    min-height: 65px;
}
 
.itapema-ingresso-bar {
    gap: 9px;
    padding: 0 23px 0 30px;
    width: 832px;
    height: 65px;
}
 .itapema-ingresso-bar .sticky-ingresso-btn span {
 
    font-size: 10px;
 }
.itapema-ingresso-bar .sticky-ingresso-label {
    font-size: 14px;
    margin-right: 9px;
}
 
/* font-size: 13px * 0.75 = 10px → mantido 12px (legibilidade mínima)
   padding: 9px 20px → 7px 15px */
.itapema-ingresso-bar .sticky-ingresso-btn {
    font-size: 12px;
    padding: 7px 15px;
    width: 108px;
    height: 31px;
}
 
/* width/height: 18px * 0.75 = 14px */
.itapema-ingresso-bar .sticky-ingresso-btn img {
    width: 14px;
    height: 14px;
    margin-bottom: 4px;
    margin-left: -7px;
}
.itapema-ingresso-bar .sticky-ingresso-btn img {
    font-size: 10px;
    letter-spacing: 0.01em;
}


/* =============================================
   NUVENS FLUTUANTES
   ============================================= */
.itapema-nuvens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}
 
.itapema-nuvens .nuvem-float {
    position: absolute;
    height: auto;
    will-change: transform;
    transform: translateX(0);
}
 
/* Nuvem 1 — top: 390px * 0.75 = 293px | left: 500px * 0.75 = 375px | width: 918px * 0.75 = 689px */
.itapema-nuvens .nuvem1 {
    top: 293px;
    left: 375px;
    width: 689px;
    animation: none !important;
}
 
/* Nuvem 2 — top: 800px * 0.75 = 600px | right: -250px * 0.75 = -188px | width: 883px * 0.75 = 662px */
.itapema-nuvens .nuvem2 {
    top: 600px;
    right: -188px;
    left: auto;
    width: 662px;
    animation: none !important;
}
 
/* Nuvem 3 — top: 950px * 0.75 = 713px | left: -250px * 0.75 = -188px | width: 1071px * 0.75 = 803px */
.itapema-nuvens .nuvem3 {
    top: 713px;
    left: -188px;
    width: 803px;
    animation: none !important;
}
 
 
/* =============================================
   INTRO SECTION — Heading + Text side by side
   ============================================= */
/* padding: 120px * 0.75 = 90px */
.itapema-intro {
    position: relative;
    z-index: 4;
    padding: 90px 0 1px;
}
 
/* max-width: 1280px * 0.75 = 960px */
.itapema-intro .wrap {
    max-width: 960px;
    position: relative;
}
 
/* gap: 80px * 0.75 = 60px */
.itapema-intro-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
 
/* Left column — flex: 0 0 420px * 0.75 = 315px */
.itapema-intro-heading {
    flex: 0 0 315px;
}
 
/* font-size: 46px * 0.75 = 35px | margin-top: 30px * 0.75 = 23px */
.itapema-intro-heading h2 {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 35px;
    line-height: 120%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EC6608;
    margin: 0;
    margin-top: 23px;
}
 
/* Right column — max-width: 650px * 0.75 = 488px | padding-top: 108px * 0.75 = 81px */
.itapema-intro-body {
    flex: 1;
    max-width: 588px;
    padding-top: 81px;
}
 
/* font-size: 16px * 0.75 = 12px → mantido 14px (legibilidade mínima)
   margin-bottom: 20px * 0.75 = 15px | margin-left: 245px * 0.75 = 184px */
.itapema-intro-body p {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    color: #18899E;
    margin: 0 0 15px;
    margin-left: 224px;
}
 
/* margin-bottom: 50px * 0.75 = 38px */
.itapema-intro-body p:last-child {
    margin-bottom: 38px;
}
 
.itapema-intro-body strong {
    font-weight: 700;
    color: #18899E;
}
 
 
/* =============================================
   PIER OPORTO SECTION
   ============================================= */
/* margin-top: -150px * 0.75 = -113px */
.itapema-pier {
    position: relative;
    z-index: 4;
    padding: 0 0 1px;
    margin-top: -113px;
    overflow: visible;
}
 
.itapema-pier-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
}
 
/* Left column — flex/width: 952px * 0.75 = 714px */
.itapema-pier-visual {
    flex: 0 0 714px;
    width: 714px;
    position: relative;
}
 
/* img width: 952px * 0.75 = 714px | height: 520px * 0.75 = 390px
   border-radius: 20px * 0.75 = 15px */
.itapema-pier-img {
    width: 714px;
    height: 390px;
    object-fit: cover;
    display: block;
    border-radius: 0 15px 15px 0;
    position: relative;
    z-index: 2;
}
 
/* Linha pier — width: 952px * 0.75 = 714px | height: 258px * 0.75 = 194px
   margin-top: -250px * 0.75 = -188px */
.itapema-pier-linha {
    position: relative;
    width: 714px;
    height: 194px;
    margin-top: -188px;
    z-index: 10;
    pointer-events: none;
}
.itapema-pier-linha img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    clip-path: circle(0% at 0% 50%);
}
.itapema-pier-linha.is-revealed img {
    animation: itapemaClipRevealLeftRight 4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
 
@keyframes itapemaClipRevealLeftRight {
    0%   { clip-path: circle(0% at 0% 50%); }
    100% { clip-path: circle(150% at 0% 50%); }
}
 
/* Astronauta — bottom: -320px * 0.75 = -240px | right: 100px * 0.75 = 75px
   width: 395px * 0.75 = 296px | height: 493px * 0.75 = 370px */
.itapema-pier-astronauta {
    position: absolute;
    bottom: -240px;
    right: 75px;
    width: 296px;
    height: 370px;
    z-index: 11;
    pointer-events: none;
}
.itapema-pier-astronauta img {
    width: 296px;
    height: 370px;
    display: block;
    animation: astronaut-bob 3s ease-in-out infinite;
}
 
/* Lines deco — right: 493px * 0.75 = 370px | bottom: -459px * 0.75 = -344px
   width: 457px * 0.75 = 343px | height: 460px * 0.75 = 345px */
.itapema-pier-lines {
    position: absolute;
    right: 400px;
    bottom: -314px;

   width: 318px;
    height: 321px; 

    z-index: -2;
    pointer-events: none;
}
.itapema-pier-lines img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: inset(0 0 100% 0);
}
.itapema-pier-lines.is-revealed img {
    animation: itapemaClipRevealTopBottomLines 3.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
 
@keyframes itapemaClipRevealTopBottomLines {
    0%   { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0% 0); }
}
 
/* Right column — padding: 40px 0 0 60px * 0.75 = 30px 0 0 45px */
.itapema-pier-content {
    flex: 1;
    padding: 30px 0 0 45px;
}
 
/* font-size: 46px * 0.75 = 35px | margin-bottom: 80px * 0.75 = 60px
   margin-left: 73px * 0.75 = 55px | margin-top: 270px * 0.75 = 203px */
.itapema-pier-content h2 {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 35px;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EC6608;
    margin: 0 0 60px;
    margin-left: 25px;
    margin-top: 203px;
}
 
/* max-width: 650px * 0.75 = 488px */
.itapema-pier-body {
    max-width: 388px;
}
 
/* font-size: 16px * 0.75 = 12px → mantido 14px (legibilidade mínima)
   margin-bottom: 20px * 0.75 = 15px | margin-left: 73px * 0.75 = 55px */
.itapema-pier-body p {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    color: #18899E;
    margin: 0 0 15px;
    margin-left: 25px;
}
 
/* margin-bottom: 80px * 0.75 = 60px */
.itapema-pier-body p:last-child {
    margin-bottom: 60px;
}
 
.itapema-pier-body strong {
    font-weight: 700;
    color: #18899E;
}
 
 
/* =============================================
   RAZÕES PARA SE APAIXONAR — Carousel
   ============================================= */
/* padding: 40px 0 50px * 0.75 = 30px 0 38px */
.itapema-razoes {
    position: relative;
    z-index: 4;
    padding: 30px 0 38px;
}
 
/* max-width adjusted to 910px to match banner-pub-grid */
.itapema-razoes .wrap {
    max-width: 910px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
}
 
/* font-size: 46px * 0.75 = 35px | margin-bottom: 70px * 0.75 = 53px
   margin-left: 760px * 0.75 = 570px */
.itapema-razoes-titulo {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 35px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #279BB1;
    margin: 0 0 53px;
    margin-left: 600px;
}
 
/* Carousel wrapper */
.itapema-razoes-carousel-wrap {
    position: relative;
}
 
/* gap: 16px * 0.75 = 12px */
.itapema-razoes-carousel {
    display: flex;
    gap: 12px;
    overflow: hidden;
}
 
/* Card — (910 - 12 gap) / 2 = 449px */
.itapema-razoes-card {
    flex: 0 0 449px;
    max-width: 449px;
    display: flex;
    flex-direction: column;
}
 
/* Card image — width: 632px * 0.75 = 474px | height: 360px * 0.75 = 270px
   border-radius: 20px * 0.75 = 15px */
.itapema-razoes-card-link {
    display: block;
    position: relative;
    width: 449px;
    height: 256px;
    border-radius: 15px;
    overflow: hidden;
}
.itapema-razoes-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(305.41deg, #3D3A3A 0%, rgba(255, 255, 255, 0) 29.57%);
    pointer-events: none;
}
.itapema-razoes-card-link img.itapema-razoes-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    border-radius: 15px;
    transition: transform 0.6s cubic-bezier(0.38, 0, 0.02, 1), filter 0.4s ease;
}
.itapema-razoes-card-link:hover img.itapema-razoes-card-img {
    transform: scale(1.05);
    filter: brightness(0.85);
}
 
/* Zoom icon — bottom/right: 16px * 0.75 = 12px | width/height: 20px * 0.75 = 15px */
.itapema-razoes-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}
.itapema-razoes-zoom img {
    width: 15px;
    height: 15px;
    display: block;
}
 
/* Card title — font-size: 28px * 0.75 = 21px | line-height: 33px * 0.75 = 25px
   margin top/bottom: 40px * 0.75 = 30px, 32px * 0.75 = 24px
   margin-left: 33px * 0.75 = 25px */
.itapema-razoes-card-titulo {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500 !important;
    font-size: 21px;
    line-height: 25px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #EC6608;
    margin: 30px 0 24px;
    margin-left: 25px;
}
 
/* Card description — font-size 16px * 0.75 = 12px → mantido 14px (legibilidade mínima)
   max-width: 350px * 0.75 = 263px | margin-left: 33px * 0.75 = 25px */
.itapema-razoes-card-desc {
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    color: #279BB1;
    max-width: 263px;
    margin-left: 25px;
}
 
/* Navigation arrows — top: 180px * 0.75 = 135px */
.itapema-razoes-nav {
    position: absolute;
    top: 135px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
    left: 0;
}
 
/* width/height: 39px * 0.75 = 29px */
.itapema-razoes-prev,
.itapema-razoes-next {
    width: 29px;
    height: 29px;
    border: none;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
 
/* margin-left: -106px * 0.75 = -80px | margin-bottom: -23px * 0.75 = -17px */
.itapema-razoes-prev { margin-left: -80px;  margin-bottom: -17px; }
 
/* margin-right: -106px * 0.75 = -80px | margin-bottom: -23px * 0.75 = -17px */
.itapema-razoes-next { margin-right: -80px; margin-bottom: -17px; }
 
.itapema-razoes-prev:hover,
.itapema-razoes-next:hover {
    opacity: 0.7;
    transform: scale(1.1);
}
.itapema-razoes-prev img,
.itapema-razoes-next img {
    width: 100%;
    height: auto;
    display: block;
}
 
 
/* =============================================
   PARCEIROS + BANNER PUB OVERRIDE for itapema page
   ============================================= */
.itapema-page .section-parceiros {
    background: transparent !important;
}
.itapema-page .section-parceiros .bg2 {
    background-color: #D2EAEF !important;
}
 
/* margin-top: -50px * 0.75 = -38px */
.itapema-page .section-banner-publicidade {
    background: transparent !important;
    margin-top: -38px;
}
 
/* margin-bottom: 120px * 0.75 = 90px | margin-top: -120px * 0.75 = -90px */
.itapema-page .section-parceiros {
    margin-bottom: 90px;
    margin-top: -90px;
}
}


/* =====================================================================
   RESPONSIVIDADE FLUIDA · 1280 → 1920 (conheça itapema)
   ---------------------------------------------------------------------
   Mesma técnica das outras páginas: interpola entre o snapshot que cobre
   1280 (@media max-width:1440) e o default de 1920, eliminando a
   desproporção do intervalo. slope = (V1920 - V1280) / 640.
   ===================================================================== */
@media only screen and (min-width: 1281px) and (max-width: 1920px) {

    /* --- Banner --- */
    .itapema-banner-content {
        gap: clamp(38px, calc(38px + (100vw - 1280px) * 0.01875), 50px);
        max-width: clamp(960px, calc(960px + (100vw - 1280px) * 0.5), 1280px);
        padding: 0 clamp(30px, calc(30px + (100vw - 1280px) * 0.015625), 40px);
    }
    .itapema-banner-svg img {
        margin-top: clamp(-230px, calc(-173px - (100vw - 1280px) * 0.089063), -173px);
        margin-left: clamp(105px, calc(105px + (100vw - 1280px) * 0.117188), 180px);
    }
    .itapema-banner-texto h1 {
        font-size: clamp(34px, calc(34px + (100vw - 1280px) * 0.017188), 45px);
        line-height: clamp(41px, calc(41px + (100vw - 1280px) * 0.020313), 54px);
        margin-left: clamp(50px, calc(50px + (100vw - 1280px) * 0.171875), 160px);
        margin-top: clamp(-200px, calc(-120px - (100vw - 1280px) * 0.125), -120px);
    }
    .itapema-banner-linha {
        bottom: clamp(-186px, calc(-96px - (100vw - 1280px) * 0.140625), -96px);
        width: clamp(318px, calc(318px + (100vw - 1280px) * 0.19375), 442px);
        height: clamp(321px, calc(321px + (100vw - 1280px) * 0.165625), 427px);
    }

    /* --- Barra de ingressos (desativada): preserva o espaçamento --- */
    .itapema-ingresso-anchor {
        margin-top: clamp(-280px, calc(-250px - (100vw - 1280px) * 0.046875), -250px);
    }
    .itapema-ingresso-bar {
        height: clamp(65px, calc(65px + (100vw - 1280px) * 0.021875), 79px);
    }

    /* --- Nuvens (estáticas) --- */
    .itapema-nuvens .nuvem1 {
        top: clamp(293px, calc(293px + (100vw - 1280px) * 0.151563), 390px);
        left: clamp(375px, calc(375px + (100vw - 1280px) * 0.195313), 500px);
        width: clamp(689px, calc(689px + (100vw - 1280px) * 0.357813), 918px);
    }
    .itapema-nuvens .nuvem2 {
        top: clamp(600px, calc(600px + (100vw - 1280px) * 0.3125), 800px);
        right: clamp(-250px, calc(-188px - (100vw - 1280px) * 0.096875), -188px);
        width: clamp(662px, calc(662px + (100vw - 1280px) * 0.345313), 883px);
    }
    .itapema-nuvens .nuvem3 {
        top: clamp(713px, calc(713px + (100vw - 1280px) * 0.370313), 950px);
        left: clamp(-250px, calc(-188px - (100vw - 1280px) * 0.096875), -188px);
        width: clamp(803px, calc(803px + (100vw - 1280px) * 0.41875), 1071px);
    }

    /* --- Intro --- */
    .itapema-intro {
        padding-top: clamp(90px, calc(90px + (100vw - 1280px) * 0.046875), 120px);
    }
    .itapema-intro .wrap {
        max-width: clamp(960px, calc(960px + (100vw - 1280px) * 0.5), 1280px);
    }
    .itapema-intro-inner {
        gap: clamp(60px, calc(60px + (100vw - 1280px) * 0.03125), 80px);
    }
    .itapema-intro-heading h2 {
        font-size: clamp(35px, calc(35px + (100vw - 1280px) * 0.017188), 46px);
        margin-top: clamp(23px, calc(23px + (100vw - 1280px) * 0.010938), 30px);
    }
    .itapema-intro-body {
        max-width: clamp(588px, calc(588px + (100vw - 1280px) * 0.096875), 650px);
        padding-top: clamp(81px, calc(81px + (100vw - 1280px) * 0.042188), 108px);
    }
    .itapema-intro-body p {
        font-size: clamp(14px, calc(14px + (100vw - 1280px) * 0.003125), 16px);
        margin-bottom: clamp(15px, calc(15px + (100vw - 1280px) * 0.0078125), 20px);
        margin-left: clamp(224px, calc(224px + (100vw - 1280px) * 0.032813), 245px);
    }
    .itapema-intro-body p:last-child {
        margin-bottom: clamp(38px, calc(38px + (100vw - 1280px) * 0.01875), 50px);
    }

    /* --- Píer O Porto (imagem + linha + astronauta + lines) --- */
    .itapema-pier {
        margin-top: clamp(-150px, calc(-113px - (100vw - 1280px) * 0.057813), -113px);
    }
    .itapema-pier-visual {
        flex-basis: clamp(714px, calc(714px + (100vw - 1280px) * 0.371875), 952px);
        width: clamp(714px, calc(714px + (100vw - 1280px) * 0.371875), 952px);
    }
    .itapema-pier-img {
        width: clamp(714px, calc(714px + (100vw - 1280px) * 0.371875), 952px);
        height: clamp(390px, calc(390px + (100vw - 1280px) * 0.203125), 520px);
    }
    .itapema-pier-linha {
        width: clamp(714px, calc(714px + (100vw - 1280px) * 0.371875), 952px);
        height: clamp(194px, calc(194px + (100vw - 1280px) * 0.1), 258px);
        margin-top: clamp(-250px, calc(-188px - (100vw - 1280px) * 0.096875), -188px);
    }
    .itapema-pier-astronauta {
        bottom: clamp(-320px, calc(-240px - (100vw - 1280px) * 0.125), -240px);
        right: clamp(75px, calc(75px + (100vw - 1280px) * 0.039063), 100px);
        width: clamp(296px, calc(296px + (100vw - 1280px) * 0.154688), 395px);
        height: clamp(370px, calc(370px + (100vw - 1280px) * 0.192188), 493px);
    }
    .itapema-pier-astronauta img {
        width: clamp(296px, calc(296px + (100vw - 1280px) * 0.154688), 395px);
        height: clamp(370px, calc(370px + (100vw - 1280px) * 0.192188), 493px);
    }
    .itapema-pier-lines {
        right: clamp(400px, calc(400px + (100vw - 1280px) * 0.148438), 495px);
        bottom: clamp(-459px, calc(-314px - (100vw - 1280px) * 0.226563), -314px);
        width: clamp(318px, calc(318px + (100vw - 1280px) * 0.217188), 457px);
        height: clamp(321px, calc(321px + (100vw - 1280px) * 0.217188), 460px);
    }
    .itapema-pier-content {
        padding: clamp(30px, calc(30px + (100vw - 1280px) * 0.015625), 40px) 0 0 clamp(45px, calc(45px + (100vw - 1280px) * 0.023438), 60px);
    }
    .itapema-pier-content h2 {
        font-size: clamp(35px, calc(35px + (100vw - 1280px) * 0.017188), 46px);
        margin-bottom: clamp(60px, calc(60px + (100vw - 1280px) * 0.03125), 80px);
        margin-left: clamp(25px, calc(25px + (100vw - 1280px) * 0.075), 73px);
        margin-top: clamp(203px, calc(203px + (100vw - 1280px) * 0.104688), 270px);
    }
    .itapema-pier-body {
        max-width: clamp(388px, calc(388px + (100vw - 1280px) * 0.175), 500px);
    }
    .itapema-pier-body p {
        font-size: clamp(14px, calc(14px + (100vw - 1280px) * 0.003125), 16px);
        margin-left: clamp(25px, calc(25px + (100vw - 1280px) * 0.075), 73px);
        margin-bottom: clamp(15px, calc(15px + (100vw - 1280px) * 0.0078125), 20px);
    }
    .itapema-pier-body p:last-child {
        margin-bottom: clamp(60px, calc(60px + (100vw - 1280px) * 0.03125), 80px);
    }

    /* --- Razões (carrossel de fotos) --- */
    .itapema-razoes {
        padding: clamp(30px, calc(30px + (100vw - 1280px) * 0.015625), 40px) 0 clamp(38px, calc(38px + (100vw - 1280px) * 0.01875), 50px);
    }
    .itapema-razoes .wrap {
        max-width: clamp(910px, calc(910px + (100vw - 1280px) * 0.578125), 1280px) !important;
    }
    .itapema-razoes-titulo {
        font-size: clamp(35px, calc(35px + (100vw - 1280px) * 0.017188), 46px);
        margin-bottom: clamp(53px, calc(53px + (100vw - 1280px) * 0.026563), 70px);
        margin-left: clamp(600px, calc(600px + (100vw - 1280px) * 0.25), 760px);
    }
    .itapema-razoes-carousel {
        gap: clamp(12px, calc(12px + (100vw - 1280px) * 0.00625), 16px);
    }
    .itapema-razoes-card {
        flex-basis: clamp(449px, calc(449px + (100vw - 1280px) * 0.285938), 632px);
        max-width: clamp(449px, calc(449px + (100vw - 1280px) * 0.285938), 632px);
    }
    .itapema-razoes-card-link {
        width: clamp(449px, calc(449px + (100vw - 1280px) * 0.285938), 632px);
        height: clamp(256px, calc(256px + (100vw - 1280px) * 0.1625), 360px);
        border-radius: clamp(15px, calc(15px + (100vw - 1280px) * 0.0078125), 20px);
    }
    .itapema-razoes-card-titulo {
        font-size: clamp(21px, calc(21px + (100vw - 1280px) * 0.010938), 28px);
        line-height: clamp(25px, calc(25px + (100vw - 1280px) * 0.0125), 33px);
        margin-top: clamp(30px, calc(30px + (100vw - 1280px) * 0.015625), 40px);
        margin-bottom: clamp(24px, calc(24px + (100vw - 1280px) * 0.0125), 32px);
        margin-left: clamp(25px, calc(25px + (100vw - 1280px) * 0.0125), 33px);
    }
    .itapema-razoes-card-desc {
        font-size: clamp(14px, calc(14px + (100vw - 1280px) * 0.003125), 16px);
        max-width: clamp(263px, calc(263px + (100vw - 1280px) * 0.135938), 350px);
        margin-left: clamp(25px, calc(25px + (100vw - 1280px) * 0.0125), 33px);
    }
    .itapema-razoes-zoom,
    .itapema-razoes-zoom img {
        width: clamp(15px, calc(15px + (100vw - 1280px) * 0.0078125), 20px);
        height: clamp(15px, calc(15px + (100vw - 1280px) * 0.0078125), 20px);
    }
    .itapema-razoes-zoom {
        bottom: clamp(12px, calc(12px + (100vw - 1280px) * 0.00625), 16px);
        right: clamp(12px, calc(12px + (100vw - 1280px) * 0.00625), 16px);
    }
    .itapema-razoes-nav {
        top: clamp(135px, calc(135px + (100vw - 1280px) * 0.070313), 180px);
    }
    .itapema-razoes-prev,
    .itapema-razoes-next {
        width: clamp(29px, calc(29px + (100vw - 1280px) * 0.015625), 39px);
        height: clamp(29px, calc(29px + (100vw - 1280px) * 0.015625), 39px);
    }
    .itapema-razoes-prev {
        margin-left: clamp(-106px, calc(-80px - (100vw - 1280px) * 0.040625), -80px);
        margin-bottom: clamp(-23px, calc(-17px - (100vw - 1280px) * 0.009375), -17px);
    }
    .itapema-razoes-next {
        margin-right: clamp(-106px, calc(-80px - (100vw - 1280px) * 0.040625), -80px);
        margin-bottom: clamp(-23px, calc(-17px - (100vw - 1280px) * 0.009375), -17px);
    }
}


/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   Escala: 1024/1440 ≈ 0.711 (do notebook)
   ============================================= */
@media only screen and (max-width: 1024px) {
/* ===================================
   CONHEÇA ITAPEMA PAGE — 1024px BREAKPOINT
   Escala base: 1920 → 1024 (fator ≈ 0.533)
   =================================== */

@media (max-width: 1024px) {

    /* =============================================
       GRADIENT BACKGROUND
       ============================================= */
    body.itapema-page {
        background: #EEF7F8 !important;
        min-height: 100vh;
    }

    .itapema-gradient-wrapper {
        position: relative;
        overflow: visible;
        isolation: isolate;
        background: linear-gradient(180deg, #9FE4F1 0%, #EEF7F8 100%);
    }


    /* =============================================
       BANNER HERO + LINHA INVERTIDA
       ============================================= */
    .itapema-banner-wrapper {
        z-index: auto;
    }

    .itapema-banner {
        position: relative;
        width: 100%;
        overflow: visible !important;
        top: -48px; /* -90px × 0.533 */
    }

    .itapema-banner-img {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
    }

    /* Dark gradient overlay for header contrast */
    .itapema-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(11, 11, 11, 0.97) 0%, rgba(11, 11, 11, 0) 100%);
    }

    /* Banner text overlay */
    .itapema-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .itapema-banner-content {
        display: flex;
        align-items: center;
        gap: 27px;        /* 50px × 0.533 */
        max-width: 682px; /* 1280px × 0.533 */
        width: 100%;
        padding: 0 21px;  /* 0 40px × 0.533 */
    }

    .itapema-banner-svg {
        flex-shrink: 0;
    }
    .itapema-banner-svg img {
        width: 184px;
        display: block;
        margin-top: -123px;  /* -230px × 0.533 */
        margin-left: 96px;   /* 180px × 0.533 */
    }

    .itapema-banner-texto h1 {
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 400;
        font-size: 24px;      /* 45px × 0.533 */
        line-height: 29px;    /* 54px × 0.533 */
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #FFFFFF;
        margin: 0;
        margin-left: 85px;    /* 160px × 0.533 */
        margin-top: -107px;   /* -200px × 0.533 */
    }

    /* Linha invertida */
    .itapema-banner-linha {
        position: absolute;
        right: 0;
        bottom: -70px;   /* -207px × 0.533 */
        width: auto;
        z-index: -1;
        pointer-events: none;
        clip-path: inset(0 0 100% 0);
        animation: itapemaClipRevealTopBottom 3.5s cubic-bezier(0.22, 1, 0.36, 1.3) 0.3s forwards;
        width: 220px;
        height: auto;
    }

    @keyframes itapemaClipRevealTopBottom {
        0%   { clip-path: inset(0 0 100% 0); }
        100% { clip-path: inset(0 0 0% 0); }
    }


    /* =============================================
       BARRA INGRESSOS
       ============================================= */
    .itapema-ingresso-anchor {
        margin-top: -210px;
    }
    .itapema-ingresso-anchor.has-placeholder {
        min-height: 55px;
    }
    .itapema-ingresso-bar {
        width: 591px;
        height: 60px;
        gap: 8px;
        padding: 0 20px 0 25px;
    }
    .itapema-ingresso-bar .sticky-ingresso-label {
        font-size: 13px;
        margin-right: 8px;
    }
    .itapema-ingresso-bar .sticky-ingresso-btn {
        font-size: 11px;
        padding: 6px 14px;
        width: 100px;
        height: 28px;
    }
    .itapema-ingresso-bar .sticky-ingresso-btn img {
        width: 13px;
        height: 13px;
        margin-bottom: 3px;
        margin-left: -5px;
    }
    .itapema-ingresso-bar .sticky-ingresso-btn span {
        font-size: 9px;
    }


    /* =============================================
       NUVENS FLUTUANTES
       ============================================= */
    .itapema-nuvens {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        pointer-events: none;
        overflow: visible;
    }

    .itapema-nuvens .nuvem-float {
        position: absolute;
        height: auto;
        will-change: transform;
        transform: translateX(0);
    }

    /* Nuvem 1 */
    .itapema-nuvens .nuvem1 {
        top: 208px;    /* 390px × 0.533 */
        left: 267px;   /* 500px × 0.533 */
        width: 489px;  /* 918px × 0.533 */
        animation: none !important;
    }

    /* Nuvem 2 */
    .itapema-nuvens .nuvem2 {
        top: 426px;    /* 800px × 0.533 */
        right: -133px; /* -250px × 0.533 */
        left: auto;
        width: 471px;  /* 883px × 0.533 */
        animation: none !important;
    }

    /* Nuvem 3 */
    .itapema-nuvens .nuvem3 {
        top: 506px;    /* 950px × 0.533 */
        left: -133px;  /* -250px × 0.533 */
        width: 571px;  /* 1071px × 0.533 */
        animation: none !important;
    }


    /* =============================================
       INTRO SECTION
       ============================================= */
    .itapema-intro {
        position: relative;
        z-index: 4;
        padding: 64px 0 1px; /* 120px × 0.533 */
    }

    .itapema-intro .wrap {
        max-width: 682px; /* 1280px × 0.533 */
        position: relative;
    }

    .itapema-intro-inner {
        display: flex;
        align-items: flex-start;
        gap: 43px; /* 80px × 0.533 */
    }

    /* Left column — heading */
    .itapema-intro-heading {
        flex: 0 0 224px; /* 420px × 0.533 */
    }

    .itapema-intro-heading h2 {
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 500;
        font-size: 25px;    /* 46px × 0.533 */
        line-height: 120%;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #EC6608;
        margin: 0;
        margin-top: 16px;   /* 30px × 0.533 */
    }

    /* Right column — body text */
    .itapema-intro-body {
        flex: 1;
        max-width: 347px;   /* 650px × 0.533 */
        padding-top: 58px;  /* 108px × 0.533 */
    }

    .itapema-intro-body p {
        font-family: 'Exo', sans-serif !important;
        font-weight: 400;
        font-size: 11px;      /* 16px × 0.533 */
        line-height: 130%;
        letter-spacing: 0;
        color: #18899E;
        margin: 0 0 11px;    /* 20px × 0.533 */
        margin-left: 131px;  /* 245px × 0.533 */
    }
    .itapema-intro-body p:last-child {
        margin-bottom: 27px; /* 50px × 0.533 */
    }

    .itapema-intro-body strong {
        font-weight: 700;
        color: #18899E;
    }


    /* =============================================
       PIER OPORTO SECTION
       ============================================= */
    .itapema-pier {
        position: relative;
        z-index: 4;
        padding: 0 0 1px;
        margin-top: -80px;  /* -150px × 0.533 */
        overflow: visible;
    }

    .itapema-pier-inner {
        display: flex;
        align-items: flex-start;
        gap: 0;
        max-width: 100%;
    }

    /* Left column */
    .itapema-pier-visual {
        flex: 0 0 508px; /* 952px × 0.533 */
        width: 508px;
        position: relative;
    }

    .itapema-pier-img {
        width: 508px;    /* 952px × 0.533 */
        height: 277px;   /* 520px × 0.533 */
        object-fit: cover;
        display: block;
        border-radius: 0 11px 11px 0; /* 20px × 0.533 */
        position: relative;
        z-index: 2;
    }

    /* Linha meio */
    .itapema-pier-linha {
        position: relative;
        width: 508px;    /* 952px × 0.533 */
        height: 138px;   /* 258px × 0.533 */
        margin-top: -133px; /* -250px × 0.533 */
        z-index: 10;
        pointer-events: none;
    }
    .itapema-pier-linha img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
        clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
    }
    .itapema-pier-linha.is-revealed img {
        animation: itapemaClipRevealLeftRight 3.5s cubic-bezier(0.22, 0.6, 0.9, 1.5) 0.7s forwards;
    }

    @keyframes itapemaClipRevealLeftRight {
        0%   { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); }
        100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    }

    /* Astronauta */
    .itapema-pier-astronauta {
        position: absolute;
        bottom: -171px;  /* -320px × 0.533 */
        right: 53px;     /* 100px × 0.533 */
        width: 211px;    /* 395px × 0.533 */
        height: 263px;   /* 493px × 0.533 */
        z-index: 11;
        pointer-events: none;
    }
    .itapema-pier-astronauta img {
        width: 211px;
        height: 263px;
        display: block;
        animation: astronaut-bob 3s ease-in-out infinite;
    }

    /* Lines decoration */
    .itapema-pier-lines {
        position: absolute;
        right: 264px;    /* 495px × 0.533 */
        bottom: -245px;  /* -459px × 0.533 */
        width: 244px;    /* 457px × 0.533 */
        height: 245px;   /* 460px × 0.533 */
        z-index: 101;
        pointer-events: none;
    }
    .itapema-pier-lines img {
        width: 100%;
        height: auto;
        display: block;
        clip-path: inset(0 0 100% 0);
    }
    .itapema-pier-lines.is-revealed img {
        animation: itapemaClipRevealTopBottomLines 3.5s cubic-bezier(0.22, 1, 0.36, 1.5) 1.5s forwards;
    }

    @keyframes itapemaClipRevealTopBottomLines {
        0%   { clip-path: inset(0 0 100% 0); }
        100% { clip-path: inset(0 0 0% 0); }
    }

    /* Right column — text */
    .itapema-pier-content {
        flex: 1;
        padding: 21px 0 0 32px; /* 40px 0 0 60px × 0.533 */
    }

    .itapema-pier-content h2 {
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 500;
        font-size: 25px;     /* 46px × 0.533 */
        line-height: 130%;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #EC6608;
        margin: 0 0 43px;    /* 80px × 0.533 */
        margin-left: 39px;   /* 73px × 0.533 */
        margin-top: 144px;   /* 270px × 0.533 */
    }

    .itapema-pier-body {
        max-width: 267px; /* 500px × 0.533 */
    }

    .itapema-pier-body p {
        font-family: 'Exo', sans-serif !important;
        font-weight: 400;
        font-size: 11px;      /* 16px × 0.533 */
        line-height: 130%;
        letter-spacing: 0;
        color: #18899E;
        margin: 0 0 11px;    /* 20px × 0.533 */
        margin-left: 39px;   /* 73px × 0.533 */
    }
    .itapema-pier-body p:last-child {
        margin-bottom: 43px; /* 80px × 0.533 */
    }

    .itapema-pier-body strong {
        font-weight: 700;
        color: #18899E;
    }


    /* =============================================
       RAZÕES PARA SE APAIXONAR — Carousel
       ============================================= */
    .itapema-razoes {
        position: relative;
        z-index: 4;
        padding: 21px 0 27px; /* 40px 0 50px × 0.533 */
    }

    .itapema-razoes .wrap {
        max-width: 682px !important; /* 1280px × 0.533 */
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative;
    }

    .itapema-razoes-titulo {
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 500;
        font-size: 25px;      /* 46px × 0.533 */
        line-height: 120%;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #279BB1;
        margin: 0 0 37px;     /* 70px × 0.533 */
        margin-left: 405px;   /* 760px × 0.533 */
    }

    /* Carousel wrapper */
    .itapema-razoes-carousel-wrap {
        position: relative;
    }

    .itapema-razoes-carousel {
        display: flex;
        gap: 9px;    /* 16px × 0.533 */
        overflow: hidden;
    }

    /* Card */
    .itapema-razoes-card {
        flex: 0 0 337px; /* 632px × 0.533 */
        max-width: 337px;
        display: flex;
        flex-direction: column;
        margin-bottom: 16px; /* 30px × 0.533 */
        margin-right: 10px;
    }

    /* Card image */
    .itapema-razoes-card-link {
        display: block;
        position: relative;
        width: 337px;    /* 632px × 0.533 */
        height: 192px;   /* 360px × 0.533 */
        border-radius: 11px; /* 20px × 0.533 */
        overflow: hidden;
    }
    .itapema-razoes-card-link::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 11px;
        background: linear-gradient(305.41deg, #3D3A3A 0%, rgba(255, 255, 255, 0) 29.57%);
        pointer-events: none;
    }
    .itapema-razoes-card-link img.itapema-razoes-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        mix-blend-mode: multiply;
        border-radius: 11px;
        transition: transform 0.6s cubic-bezier(0.38, 0, 0.02, 1), filter 0.4s ease;
    }
    .itapema-razoes-card-link:hover img.itapema-razoes-card-img {
        transform: scale(1.05);
        filter: brightness(0.85);
    }

    /* Zoom icon */
    .itapema-razoes-zoom {
        position: absolute;
        bottom: 9px;  /* 16px × 0.533 */
        right: 9px;
        width: 11px;  /* 20px × 0.533 */
        height: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        z-index: 2;
    }
    .itapema-razoes-zoom img {
        width: 11px;
        height: 11px;
        display: block;
    }

    /* Card title */
    .itapema-razoes-card-titulo {
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 500 !important;
        font-size: 15px;    /* 28px × 0.533 */
        line-height: 18px;  /* 33px × 0.533 */
        letter-spacing: 0;
        text-transform: uppercase;
        color: #EC6608;
        margin: 21px 0 17px; /* 40px 0 32px × 0.533 */
        margin-left: 18px;   /* 33px × 0.533 */
    }

    /* Card description */
    .itapema-razoes-card-desc {
        font-family: 'Exo', sans-serif !important;
        font-weight: 400;
        font-size: 9px;      /* 16px × 0.533 */
        line-height: 130%;
        letter-spacing: 0;
        color: #279BB1;
        max-width: 187px;    /* 350px × 0.533 */
        margin-left: 18px;   /* 33px × 0.533 */
    }

    /* Navigation arrows */
    .itapema-razoes-nav {
        position: absolute;
        top: 96px;     /* 180px × 0.533 */
        width: 100%;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 5;
        left: 0;
    }

    .itapema-razoes-prev,
    .itapema-razoes-next {
        width: 21px;   /* 39px × 0.533 */
        height: 21px;
        border: none;
        background: none;
        cursor: pointer;
        pointer-events: auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .itapema-razoes-prev {
        margin-left: -57px;  /* -106px × 0.533 */
        margin-bottom: -12px;
    }
    .itapema-razoes-next {
        margin-right: -57px;
        margin-bottom: -12px;
    }

    .itapema-razoes-prev:hover,
    .itapema-razoes-next:hover {
        opacity: 0.7;
        transform: scale(1.1);
    }
    .itapema-razoes-prev img,
    .itapema-razoes-next img {
        width: 100%;
        height: auto;
        display: block;
    }


    /* =============================================
       PARCEIROS + BANNER PUB OVERRIDE
       ============================================= */
    .itapema-page .section-parceiros {
        background: transparent !important;
    }
    .itapema-page .section-parceiros .bg2 {
        background-color: #D2EAEF !important;
    }
    .itapema-page .section-banner-publicidade {
        background: transparent !important;
        margin-top: -27px; /* -50px × 0.533 */
    }

    /* Gap before footer */
    .itapema-page .section-parceiros {
        padding-bottom: 174px !important;  /* 120px × 0.533 */
        margin-top: -64px !important;
    }
    
 
} /* end @media (max-width: 1024px) */
}


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

    body.itapema-page {
        --home-mobile-card-gap: clamp(12px, 2.963vw, 16px);
        --home-mobile-banner-title-size: clamp(20.222px, 5.1852vw, 28px);
        --home-mobile-banner-copy-size: clamp(15.889px, 4.0741vw, 22px);
        --home-mobile-section-title-lg: clamp(21.667px, 5.5556vw, 30px);
        --home-mobile-section-title-md: clamp(20.222px, 5.1852vw, 28px);
        --home-mobile-fs-18: clamp(13px, 3.3333vw, 18px);
        --home-mobile-fs-16: clamp(11.556px, 2.963vw, 16px);
        --home-mobile-side-gap: clamp(23.111px, 5.9259vw, 32px);
        --home-mobile-content-width: min(476px, calc(100vw - (var(--home-mobile-side-gap) * 2)));
        --home-mobile-footer-width: clamp(277.667px, 88.1481vw, 476px);
        --home-mobile-footer-map-btn-width: clamp(109.083px, 34.6296vw, 187px);
        --home-mobile-footer-map-btn-height: clamp(28px, 8.8889vw, 48px);
        --home-mobile-partner-slot-width: clamp(104.333px, 26.7407vw, 144.406px);
        --home-mobile-partner-logo-width: clamp(57.778px, 14.8148vw, 80px);
        --home-mobile-partner-logo-height: clamp(47.667px, 12.2222vw, 66px);
        --home-mobile-lines-width: clamp(144.444px, 37.037vw, 200px);
        --home-mobile-lines-height: clamp(145.574px, 37.3055vw, 201.4499px);
        --itapema-mobile-ingresso-bar-width: min(508px, 94.0741vw);
        --itapema-mobile-ingresso-bar-height: clamp(57.056px, 14.6294vw, 79px);
        --itapema-mobile-ingresso-select-width: min(284px, 52.5926vw);
        --itapema-mobile-ingresso-select-height: clamp(33.351px, 8.5516vw, 46.179px);
        --itapema-mobile-ingresso-bottom-gap: clamp(12px, 3.0769vw, 16px);
        --itapema-mobile-text-box-inset: clamp(22px, 5.641vw, 26px);
        --itapema-mobile-text-box-width: calc(var(--home-mobile-content-width) - (var(--itapema-mobile-text-box-inset) * 2));
        --itapema-mobile-pier-left-bleed: clamp(5px, 1.5385vw, 8px);
        --itapema-mobile-pier-media-width: min(511px, 94.6296vw);
        --itapema-mobile-pier-media-height: calc(var(--itapema-mobile-pier-media-width) * 301 / 511);
        --itapema-mobile-card-gap: 14px;
        --itapema-mobile-razoes-card-width: calc(var(--home-mobile-content-width) - var(--home-mobile-side-gap));
        --itapema-mobile-razoes-card-height: calc(var(--itapema-mobile-razoes-card-width) * 271 / 476);
    }

    /* =============================================
       BANNER
       ============================================= */
    .itapema-banner {
        top: 0;
        min-height: 939px;
        aspect-ratio: auto;
        overflow: hidden !important;
        background: url("../img/mobile/itapemabannermob.webp") center bottom / cover no-repeat;
    }
    .itapema-banner-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        -webkit-mask-image: url("../img/mobile/itapemabannermob.webp");
            mask-image: url("../img/mobile/itapemabannermob.webp");
        -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
        -webkit-mask-position: center;
            mask-position: center;
        -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
        -webkit-mask-mode: alpha;
            mask-mode: alpha;
    }
    .itapema-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        position: absolute;
        inset: 0;
        -webkit-mask-image: none !important;
            mask-image: none !important;
    }
    .itapema-banner-overlay {
        align-items: flex-start;
        padding-top: 140px;
    }
    .itapema-banner-content {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        max-width: 540px;
        margin: 0 auto;
        padding: 0 var(--home-mobile-side-gap);
        width: 100%;
        box-sizing: border-box;
    }
    .itapema-banner-svg {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .itapema-banner-svg img {
        width: 265px;
        height: 126px;
        margin-top: 50px;
        margin-left: 0;
        margin-right: 0;
    }
    .itapema-banner-texto {
        width: 100%;
        text-align: center;
    }
    .itapema-banner-texto h1 {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0.05em;
        margin-top: 40px;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        width: 100%;
        max-width: var(--home-mobile-content-width);
        text-wrap: balance;
    }
    .itapema-banner-linha {
        width: var(--home-mobile-lines-width);
        height: var(--home-mobile-lines-height);
        bottom: -93px;
    }


    /* =============================================
       BARRA INGRESSOS — pill, fixed bottom on mobile
       ============================================= */
    .itapema-ingresso-anchor {
        margin-top: -150px;
        overflow: visible;
    }
    .itapema-ingresso-anchor.has-placeholder {
        min-height: var(--itapema-mobile-ingresso-bar-height);
    }
    .itapema-ingresso-bar {
        width: var(--itapema-mobile-ingresso-bar-width);
        max-width: var(--itapema-mobile-ingresso-bar-width);
        height: var(--itapema-mobile-ingresso-bar-height);
        border-top-left-radius: 200px;
        border-bottom-left-radius: 200px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0;
        gap: 0;
        margin-left: auto;
        justify-content: space-between;
        align-items: center;
    }

    .itapema-ingresso-bar.is-stuck-bottom {
        bottom: var(--itapema-mobile-ingresso-bottom-gap);
    }

    /* Hide desktop label + buttons */
    .itapema-ingresso-bar .sticky-ingresso-label,
    .itapema-ingresso-bar .sticky-ingresso-btn {
        display: none !important;
    }

    /* Show mobile picker */
    .inst-ingresso-mobile-picker {
        display: flex;
        align-items: center;
        width: 100%;
        gap: clamp(8px, 1.8519vw, 10px);
        padding: 0 clamp(10px, 2.5926vw, 14px) 0 clamp(19px, 4.8148vw, 26px);
    }

    .inst-ingresso-mobile-label {
        color: #fff;
        font-family: 'ClashDisplay', sans-serif !important;
        font-weight: 500;
        font-size: clamp(12px, 3.3333vw, 18px);
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        white-space: nowrap;
        flex-shrink: 0;
        margin-left: clamp(10px, 2.5926vw, 14px);
    }

    /* Push select button to the right */
    .itapema-ingresso-bar .inst-ingresso-select-wrap {
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Select button — responsivo para 390/430px */
    .itapema-ingresso-bar .inst-ingresso-select-btn {
        width: var(--itapema-mobile-ingresso-select-width);
        height: var(--itapema-mobile-ingresso-select-height);
        font-size: clamp(11px, 2.5926vw, 14px);
        padding: 0 clamp(12px, 3.3333vw, 18px);
        gap: clamp(8px, 2.2222vw, 12px);
    }

    /* Dropdown acompanha largura do botão */
    .itapema-ingresso-bar .inst-ingresso-dropdown-list {
        width: var(--itapema-mobile-ingresso-select-width);
    }

    .inst-ingresso-dropdown-item {
        min-height: clamp(40px, 9.2593vw, 50px);
        font-size: clamp(11px, 2.5926vw, 14px);
        color: #858585;
    }

    .inst-ingresso-select-icon,
    .inst-ingresso-dropdown-icon {
        width: clamp(17px, 4.6296vw, 20px);
        height: clamp(17px, 4.6296vw, 20px);
        flex-basis: clamp(17px, 4.6296vw, 20px);
    }

    .inst-ingresso-dropdown-icon {
        filter: brightness(0) saturate(100%) invert(52%);
    }


    /* =============================================
       NUVENS
       ============================================= */
    .itapema-nuvens .nuvem1 {
        top: 820px;
        left: -30px;
        right: auto;
        width: 320px;
    }
    .itapema-nuvens .nuvem2 {
        top: 790px;
        right: -30px;
        left: auto;
        width: 240px;
    }
    .itapema-nuvens .nuvem3 {
        top: 900px;
        left: 200px;
        right: auto;
        width: 320px;
    }


    /* =============================================
       INTRO — Coração de Itapema
       ============================================= */
    .itapema-intro {
        padding: 160px 0 20px;
    }
    .itapema-intro .wrap.wide {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
        padding-left: var(--home-mobile-side-gap) !important;
        padding-right: var(--home-mobile-side-gap) !important;
        box-sizing: border-box;
    }
    .itapema-intro-inner {
        flex-direction: column;
        gap: 16px;
    }
    .itapema-intro-heading {
        flex: none;
        width: 100%;
        max-width: var(--itapema-mobile-text-box-width);
        margin-left: auto;
        margin-right: auto;
    }
    .itapema-intro-heading h2 {
        font-size: 28px;
        line-height: 1.15;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-wrap: balance;
    }
    .itapema-intro-body {
        flex: none;
        max-width: var(--itapema-mobile-text-box-width);
        width: 100%;
        padding-top: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .itapema-intro-body p {
        font-size: 20px;
        line-height: 1.35;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-wrap: pretty;
    }


    /* =============================================
       PÍER OPORTO
       ============================================= */
    .itapema-pier {
        padding: 0 0 0;
        margin-top: 20px;
        overflow: visible;
    }
    .itapema-pier-inner {
        flex-direction: column;
        align-items: stretch;
    }

    /* Visual block — full width, stacked */
    .itapema-pier-visual {
        flex: none;
        width: min(540px, 100vw);
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        margin-left: calc(50% - 50vw - var(--itapema-mobile-pier-left-bleed));
        overflow: visible;
    }
    .itapema-pier-visual::before {
        content: "";
        position: absolute;
        top: calc(var(--itapema-mobile-pier-media-width) * -0.2);
        left: calc(var(--itapema-mobile-pier-media-width) * -0.2);
        width: calc(var(--itapema-mobile-pier-media-width) * 1.04);
        aspect-ratio: 3 / 2;
        background: url('../img/home/nuvem3.png') center / contain no-repeat;
        pointer-events: none;
        z-index: 3;
    }
    .itapema-pier-img {
        width: var(--itapema-mobile-pier-media-width);
        max-width: var(--itapema-mobile-pier-media-width);
        height: auto;
        border-radius: 20px;
        display: block;
    }
    .itapema-pier-linha {
        width: var(--itapema-mobile-pier-media-width);
        max-width: var(--itapema-mobile-pier-media-width);
        height: auto;
        margin-top: calc(var(--itapema-mobile-pier-media-width) * -0.2735);
        margin-left: 0;
        z-index: 10;
        position: relative;
    }
    .itapema-pier-linha img {
        width: 100%;
        height: auto;
        object-fit: fill;
    }
    .itapema-pier-astronauta {
        position: absolute;
        width: 178px;
        height: auto;
        bottom: -150px;
        right: 30px;
        left: auto;
    }
    .itapema-pier-astronauta img {
        width: 178px;
        height: auto;
    }
    .itapema-pier-lines {
        position: absolute;
        width: var(--home-mobile-lines-width);
        height: var(--home-mobile-lines-height);
        bottom: -140px;
        left: 6px;
        right: auto;
        z-index: -1;
    }
    .itapema-pier-lines img {
        width: 100%;
        height: auto;
    }

    /* Content — inset igual ao .wrap.wide no mobile (35px cada lado) */
    .itapema-pier-content {
        flex: none;
        width: 100%;
        max-width: 540px;
        padding: 150px var(--home-mobile-side-gap) 0;
        box-sizing: border-box;
    }
    .itapema-pier-content h2 {
        font-size: 28px;
        line-height: 1.15;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        width: 100%;
        max-width: var(--itapema-mobile-text-box-width);
        padding: 0;
        text-wrap: balance;
    }
    .itapema-pier-body {
        flex: none;
        max-width: var(--itapema-mobile-text-box-width);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .itapema-pier-body p {
        font-size: 20px;
        line-height: 1.35;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-wrap: pretty;
    }
    .itapema-pier-body p:last-child {
        margin-bottom: 40px;
    }


    /* =============================================
       RAZÕES PARA SE APAIXONAR
       ============================================= */
    .itapema-razoes {
        padding: 40px 0 60px;
    }
    .itapema-razoes-titulo {
        font-size: 28px;
        line-height: 1.25;
        width: 100%;
        max-width: var(--itapema-mobile-text-box-width);
        margin: 0 auto 30px;
        padding: 0;
        box-sizing: border-box;
        text-align: left;
        text-wrap: balance;
    }

    .itapema-razoes .wrap {
        overflow: visible !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    .itapema-razoes-carousel-wrap {
        position: relative;
        width: calc(100% + var(--home-mobile-side-gap));
        max-width: none;
        margin: 0 calc(-1 * var(--home-mobile-side-gap)) 0 0;
        padding: 0;
        overflow: visible;
    }

    .itapema-razoes-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: var(--itapema-mobile-card-gap);
        padding: 0 calc(100% - var(--home-mobile-side-gap) - var(--itapema-mobile-razoes-card-width)) 72px var(--home-mobile-side-gap);
        justify-content: flex-start;
        max-width: none;
        margin: 0;
        scroll-padding-left: var(--home-mobile-side-gap);
        scroll-padding-right: calc(100% - var(--home-mobile-side-gap) - var(--itapema-mobile-razoes-card-width));
    }
    .itapema-razoes-carousel::-webkit-scrollbar {
        display: none;
    }
    .itapema-razoes-card {
        flex: 0 0 var(--itapema-mobile-razoes-card-width);
        width: var(--itapema-mobile-razoes-card-width);
        min-width: var(--itapema-mobile-razoes-card-width);
        max-width: var(--itapema-mobile-razoes-card-width);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        margin: 0;
        margin-bottom: 0;
    }
    .itapema-razoes-card-link {
        display: block;
        width: 100%;
        height: var(--itapema-mobile-razoes-card-height);
        aspect-ratio: 476 / 271;
    }

    .itapema-razoes-card-link picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .itapema-razoes-card-link picture > img.itapema-razoes-card-img {
        display: block;
        width: 100%;
        height: 100% !important;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 20px;
    }

    .itapema-razoes-card-titulo {
        font-size: 20px;
        line-height: 1.2;
        margin-left: var(--itapema-mobile-text-box-inset);
        margin-top: 30px;
        margin-bottom: 22px;
        width: calc(100% - (var(--itapema-mobile-text-box-inset) * 2));
        text-wrap: balance;
    }
    .itapema-razoes-card-desc {
        font-size: 17px;
        line-height: 1.35;
        width: calc(100% - (var(--itapema-mobile-text-box-inset) * 2));
        max-width: calc(100% - (var(--itapema-mobile-text-box-inset) * 2));
        margin-left: var(--itapema-mobile-text-box-inset);
        text-wrap: pretty;
    }

    /* Keep arrows visible but reposition for mobile */
    .itapema-razoes-nav {
        top: 95%;
        bottom: -50px;
        justify-content: center;
        gap: 58px;
    }
    .itapema-razoes-prev,
    .itapema-razoes-next {
        width: clamp(36px, 7.1795vw, 36px);
        height: clamp(36px, 7.1795vw, 36px);
    }
    .itapema-razoes-prev img,
    .itapema-razoes-next img {
        width: 100%;
        height: 100%;
    }
    .itapema-razoes-prev {
        margin-left: 0px;
        margin-bottom: 0;
    }
    .itapema-razoes-next {
        margin-right: 20px;
        margin-bottom: 0;
    }
    .itapema-razoes-zoom img {
        display: none;
    }


    /* =============================================
       PARCEIROS + BANNER PUB OVERRIDE
       ============================================= */
    .itapema-page .section-banner-publicidade {
        margin-top: 0;
    }

    body.itapema-page .section-parceiros {
        padding: 22px 0 32px !important;
        margin-top: -15px !important;
        overflow: visible;
    }

    body.itapema-page .section-parceiros .wrap.wide {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible;
        box-sizing: border-box;
    }

    body.itapema-page .section-parceiros h2 {
        margin-top: 10px !important;
        width: 100%;
        max-width: var(--home-mobile-content-width);
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--home-mobile-side-gap);
        padding-right: var(--home-mobile-side-gap);
        box-sizing: border-box;
    }

    body.itapema-page .section-parceiros .bg2 {
        width: 100%;
        height: 132px;
        left: 0;
        right: 0;
        top: 120px;
        transform: none;
        margin: 0;
    }

    body.itapema-page .parceiros-title-outside {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    body.itapema-page .section-parceiros .slide-parceiros {
        width: calc(100% - var(--home-mobile-side-gap));
        max-width: none;
        margin: 0 0 0 var(--home-mobile-side-gap) !important;
        overflow: visible;
    }

    body.itapema-page .section-parceiros .slide-parceiros .owl-stage-outer {
        overflow: hidden;
    }

    body.itapema-page .section-parceiros .slide-parceiros .owl-stage {
        display: flex !important;
        align-items: center !important;
    }

    body.itapema-page .section-parceiros .slide-parceiros .owl-item {
        width: var(--home-mobile-partner-slot-width) !important;
        min-width: var(--home-mobile-partner-slot-width);
        min-height: 132px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.itapema-page .section-parceiros .slide-parceiros .item-parceiro {
        width: var(--home-mobile-partner-slot-width);
        min-width: var(--home-mobile-partner-slot-width);
        min-height: var(--home-mobile-partner-logo-height);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    body.itapema-page .section-parceiros .slide-parceiros .item-parceiro img {
        width: var(--home-mobile-partner-logo-width) !important;
        height: var(--home-mobile-partner-logo-height) !important;
        max-width: var(--home-mobile-partner-logo-width) !important;
        max-height: var(--home-mobile-partner-logo-height) !important;
        margin-top: 100px !important;
        object-fit: contain;
        object-position: center;
    }

    body.itapema-page .section-parceiros .slide-parceiros .item-parceiro a {
        width: 100%;
        height: var(--home-mobile-partner-logo-height);
        display: flex;
        align-items: center;
        justify-content: center;
    }

}
