/* CSS Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f5f1e9;
    color: #181818;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    position: relative;
}

/* Variáveis de cores (tokens do Framer) */
:root {
    --token-c63c5632: #181818;
    --token-1aed300e: #7c7c7bb3;
    --token-0acd1300: #1818181a;
    --token-655c1f47: #25586c;
    --token-cb52c7ff: #ede8df;
    --token-b9c300e0: #bbaf90;
    --token-92d4f3eb: #dfcfa8;
    --token-89354630: #fff;
    --token-1b7bb1c4: #000;
    --token-28d21c18: #fff;
    --token-356fc046: #555;
    --token-41bb20e6: #2e2e2e80;
    --token-bfbbf012: #999;
    
    --font-carla: 'Carla Sans', sans-serif;
    --font-sarabun: 'Sarabun', sans-serif;
    --font-manrope: 'Manrope', sans-serif;
}

/* Fallbacks para as fontes customizadas */
@font-face {
    font-family: 'Carla Sans';
    src: url('https://framerusercontent.com/assets/U1Q5Wc5QESTs4vXslh0yAM7Keg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Carla Sans';
    src: url('https://framerusercontent.com/assets/QyvV3xUhaIRCUaYF3XcAB34Zb80.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Carla Sans';
    src: url('https://framerusercontent.com/assets/n0T14SitdOvcczV9d20FwgqChvE.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Utilitários */
.framer-text {
    font-family: var(--font-sarabun);
}

.rich-text {
    max-width: 100%;
}

.header {
    position: absolute;
}

/* Layout principal */
.main-container {
    min-height: 100vh;
    width: 100%;
    background-color: #f5f1e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    overflow: hidden;
}

.section {
    width: 100%;
    /*max-width: 1440px;*/
    margin: 0 auto;
    position: relative;
}

/* Hero Section */
/* #home precisa ser "o palco" do pin */
#home{
  position: relative;
  width: 100%;
  height: 100vh;      /* o pin segura aqui */
  overflow: hidden;
}

/* Os banners precisam ficar empilhados no mesmo lugar */
#banner-1, #banner-2{
top: 0;
  position: absolute;
  inset: 0;           /* top:0; right:0; bottom:0; left:0 */
}

/* Estado inicial do banner-2 */
#banner-2{
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(1.02);
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#0003 -40%, #0000 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Carla Sans Regular', sans-serif;
    font-size: 58px;
    letter-spacing: -0.02em;
    line-height: 1.15em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-weight: 100;
}

.hero-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: translateX(-50%) scale(1.05);
}

.hero-logo svg {
    width: 180px;
    height: 125px;
}

/* Seções de texto com blocos coloridos nas laterais */
.text-gancho {
    position: relative;
    padding: 80px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
}

.bloco-lateral {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 271px;
    height: 85px;
    background-color: var(--token-92d4f3eb);
    transition: all 0.5s ease;
}

.bloco-lateral.esquerda {
    left: 0;
}

.bloco-lateral.direita {
    right: 0;
}

.bloco-lateral.azul {
    background-color: var(--token-655c1f47);
}

.bloco-lateral.bege {
    background-color: var(--token-b9c300e0);
}

.titulo-secao {
    font-family: 'Carla Sans Regular', sans-serif;
    font-size: 46px;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.2;
    font-weight: 100;
}

.subtitulo-secao {
    font-size: 20px;
    line-height: 1.5em;
    color: var(--token-1aed300e);
    text-align: center;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Botões */
.btn-video {
    background: transparent;
    border: none;
    font-family: 'Carla Sans', sans-serif;
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--token-655c1f47);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.btn-video:hover {
    color: var(--token-b9c300e0);
    text-decoration-thickness: 2px;
}

/* Cards e imagens */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
}

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

.card img, .card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img,
.card:hover video {
    transform: scale(1.05);
}

/* Localização e mapas */
.localizacao-section {
    padding: 80px 0;
    width: 100%;
}

.parallax-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.parallax-container img,
.parallax-container video {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    transition: transform 0.1s ease-out;
}

.loc-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 150px;
    gap: 50px;
    flex-wrap: wrap;
}

.loc-text {
    flex: 1;
    min-width: 300px;
}

.loc-images {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.loc-img-wrapper {
    width: 200px;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.loc-img-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.loc-img-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    transition: transform 0.5s ease;
}

.loc-img-wrapper:hover img {
    transform: scale(1.1);
}

/* Mapa interativo */
.map-container {
    width: 100%;
    height: auto;
    position: relative;
    background-size: cover;
    margin-top: 0;
}

.map-container.bg {
    background: url(https://framerusercontent.com/images/dOtztLU3h3vnK7m92I2uAs8Swp0.png?width=1920&height=1080) center center / cover no-repeat;
    max-width: 100%;
}

.map-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--token-655c1f47);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: var(--token-655c1f47);
    color: white;
}

/* Formulário de contato */
.contact-section {
    background: linear-gradient(136deg, var(--token-655c1f47) -2%, #3084a6 25%, var(--token-655c1f47) 65%);
    padding: 140px 40px 120px;
    color: white;
    width: 100%;
}

.contact-container {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-title {
    font-family: 'Carla Sans', sans-serif;
    font-size: 46px;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-description {
    font-size: 20px;
    line-height: 1.5em;
    color: rgba(255,255,255,0.9);
}

.contact-divider {
    width: 100%;
    height: 1px;
    background-color: var(--token-356fc046);
    margin: 20px 0;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-phone:hover {
    transform: translateX(5px);
}

.phone-icon {
    width: 49px;
    height: 38px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 49 38" xmlns="http://www.w3.org/2000/svg"><path d="M25.754 24.38C24.058 24.383 22.372 24.114 20.76 23.584C19.98 23.316 19.02 23.562 18.54 24.052L15.392 26.428C11.742 24.48 9.492 22.23 7.572 18.608L9.876 15.54C10.476 14.942 10.69 14.068 10.432 13.248C9.9 11.635 9.63 9.947 9.632 8.248C9.634 7.652 9.399 7.08 8.978 6.658C8.557 6.236 7.986 5.999 7.39 6L2.25 6C1.006 6 0 7.008 0 8.246C0 22.446 11.552 34 25.754 34C26.992 34 28 32.992 28 31.754L28 26.626C28 25.386 26.992 24.378 25.754 24.378Z" fill="white"/></svg>') no-repeat center;
    background-size: contain;
}

.contact-phone span {
    font-size: 27px;
    font-weight: 700;
    color: white;
}

.contact-form {
    background: linear-gradient(186deg, #b3b3b3de 0%, var(--token-cb52c7ff) 100%);
    border-radius: 16px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 20px;
    color: var(--token-655c1f47);
    font-weight: 500;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--token-0acd1300);
    border-radius: 8px;
    font-family: var(--font-sarabun);
    font-size: 16px;
    background-color: white;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--token-655c1f47);
    box-shadow: 0 0 0 3px rgba(37,88,108,0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    background-color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 500;
    color: black;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--token-b9c300e0);
    color: white;
    transform: scale(1.02);
}

.form-submit:hover .submit-icon {
    background-color: white;
}

.form-submit:hover .submit-icon svg path {
    fill: var(--token-b9c300e0);
}

.submit-icon {
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.submit-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

/* Rodapé */
.footer {
    background-color: var(--token-b9c300e0);
    padding: 80px 40px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 320px;
}

.footer-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo svg {
    width: 180px;
    height: 125px;
}

.footer-address {
    color: white;
    font-family: var(--font-manrope);
    line-height: 1.5em;
}

.footer-address a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-align:center;
}

.footer-address a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 12px;
    color: white;
    text-align: center;
    max-width: 1120px;
    line-height: 1.6;
}

/* WhatsApp fixo */
.whatsapp-fixed {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #71c76f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Loader global */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--token-655c1f47);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-bars {
    display: flex;
    gap: 8px;
}

.loader-bar {
    width: 12px;
    height: 18px;
    background-color: var(--token-92d4f3eb);
    border-radius: 6px;
    animation: wave-bounce 1s ease-in-out infinite;
}

.loader-bar:nth-child(2) { animation-delay: 0.1s; }
.loader-bar:nth-child(3) { animation-delay: 0.2s; }
.loader-bar:nth-child(4) { animation-delay: 0.3s; }
.loader-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave-bounce {
    0%, 100% { height: 18px; }
    20% { height: 40px; }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: white;
    color: var(--token-655c1f47);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--token-92d4f3eb);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--token-92d4f3eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.toast-close {
    margin-left: 16px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* Botão flutuante de brochura */
.brochura-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(237,232,223,0.5);
    backdrop-filter: blur(10px);
    padding: 5px 8px 5px 12px;
    border-radius: 120px;
    border: 1px solid var(--token-655c1f47);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--token-655c1f47);
}

.brochura-btn:hover {
    background-color: var(--token-655c1f47);
    color: white;
}

.brochura-btn:hover svg path {
    fill: white;
}

.brochura-btn svg {
    width: 24px;
    height: 24px;
}

/* Animações */
@keyframes bounce {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsividade */
@media (max-width: 1440px) {
    .main-container, .section { max-width: 100%; }
    .loc-content { padding: 80px 100px; }
}

@media (max-width: 1100px) {
    /* .gallery-section { display: none; } */
    .gallery-item {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 5px;
    }
    .gallery-item.expanded {
        flex: 0 0 200px !important;
        width: 200px;
    }
    .gallery-item.expanded .item-description {
        background: #000000c2;
    }
    .gallery-container {
        display:table !important;
        flex-wrap: wrap !important;
    }
    .gallery-item:not(.expanded) .item-description .item-title {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .titulo-secao { font-size: 38px; }
    .loc-content { padding: 60px 40px; }
    .contact-container { grid-template-columns: 1fr; }
    .bloco-lateral { width: 200px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .titulo-secao { font-size: 32px; }
    .bloco-lateral { display: none;}
    .loc-content { flex-direction: column; padding: 40px 20px; }
    .loc-images { justify-content: center; }
    .contact-section { padding: 80px 20px; }
    .form-row { flex-direction: column; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-info { align-items: center; }
    .hero-logo svg { width: 140px; height: 100px; }
    .brochura-btn { top: 20px; left: 20px; }
    h3 { font-size: 30px !important; line-height: 1.2; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .titulo-secao { font-size: 26px; }
    .bloco-lateral { width: 100px; height: 60px; }
    .contact-title { font-size: 32px; }
    .contact-phone span { font-size: 22px; }
    #markers-villas { display: none; }
}

/* Galerias interativas */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contador de caracteres */
.char-counter {
    font-size: 12px;
    color: var(--token-bfbbf012);
    margin-top: 4px;
    text-align: right;
}

/* Estilo para campo inválido */
.form-input.error,
.form-textarea.error {
    border-color: #ff4444;
    background-color: rgba(255,68,68,0.05);
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
}

/* Loading state */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Scroll indicator */
.scroll-indicator {
        position: fixed;
    bottom: 50px;
    left: 0;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    animation: bounce 2s infinite;
    width: 100%;
}

/* Tilt effect cards */
[data-tilt] {
    transition: box-shadow 0.3s ease;
}

/* Estilos originais do Framer */
.safari-video-fix video {
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform, opacity !important;
    display: block !important;
    object-fit: cover !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    z-index: 0 !important;
}

.safari-video-fix .framer-stack {
    height: 100% !important;
    width: 100% !important;
}

/* Classes dos cards */
.framer-text {
    margin: 0;
    padding: 0;
}

.framer-styles-preset-17gslv5 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.framer-styles-preset-br95hy {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.framer-styles-preset-yyplsr {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.framer-WCScs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Container principal */
.container {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 480px;
    width: 1140px;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

/* Cards */
.card {
    width: 270px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
}

.card-inner {
    width: 270px;
    position: relative;
    background: transparent;
    overflow: visible;
    mask-image: linear-gradient(white, white);
    transform: translateZ(0px);
    height: 380px;
}

.card-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.card-link {
        height: 100vh;
    width: 100vw;
    opacity: 1;
    display: block;
    text-decoration: none;
    /* position: relative; */
    overflow: hidden;
    border-radius: 3px;
}

/* Camadas dos cards */
.card-texto {
    position: relative;
    z-index: 40;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.card-titulo h4 {
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-descricao {
    margin-top: 10px;
}

.card-descricao p {
    color: white;
    margin-bottom: 15px;
    max-width: 200px;
}

.card-saiba-mais {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.card-saiba-mais p {
    color: white;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.card-saiba-mais:hover p {
    opacity: 1;
}

/* Filtros */
.filtro-blur {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
}

.filtro-blur div {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    mask: radial-gradient(118% 97.2527%, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
}

.card .filtro-blur {
    transition: opacity .4s ease;
}

.card:hover .filtro-blur {
    opacity: 0;
    pointer-events: none;
}

.card:hover .filtro-cor {
    mask: radial-gradient(75% 52.6558%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.filtro-cor {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    mask: radial-gradient(75% 52.6558%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.filtro-cor div {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(223, 207, 168) 0%, rgb(37, 88, 108) 100%);
}

.filtro-granulado {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    mask: radial-gradient(173% 121.459%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    overflow: hidden;
}

.granulado-bg {
    position: absolute;
    inset: -200%;
    width: 400%;
    height: 400%;
    background: url('https://framerusercontent.com/images/rR6HYXBrMmX4cRpXfXUOvpvpB0.png') 0% 0% / 250px 250px repeat;
    opacity: 0.25;
    transform: translateX(-6.2%) translateY(-7%);
}

.bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 3px;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* Variações específicas */
.granulado-1 {
    transform: translateX(-15%) translateY(5%);
}

.granulado-2 {
    transform: translateX(-15%) translateY(5%);
}

.granulado-3 {
    transform: translateX(-14%) translateY(3.5%);
}

/* Container do formulário */
.form-container {
        background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 20px 0px;
    width: 100%;
    max-width: 290px;
    padding: 30px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    margin-top: 75px;
    margin-left: 30px;
    width: 100%;
}

/* Estilos do formulário */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Grupos de campo */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Labels */
.form-label {
    font-family: 'Sarabun', 'Sarabun Placeholder', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgb(136, 136, 136);
    margin-bottom: 2px;
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 12px 15px;
    /* background-color: rgba(187, 187, 187, 0.15);
    border: 1px solid rgba(136, 136, 136, 0.1); */
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: rgb(153, 153, 153);
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: rgba(136, 136, 136, 0.3);
    background-color: rgba(187, 187, 187, 0.2);
}

.form-input::placeholder {
    color: rgb(153, 153, 153);
    opacity: 0.7;
}

/* Botão */
.form-button {
    background-color: rgb(51, 51, 51);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'Carla Sans Semibold', 'Carla Sans Semibold Placeholder', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-button:hover {
    background-color: rgb(71, 71, 71);
}

.form-button:first-letter {
    text-transform: uppercase;
}

/* Campos honeypot ocultos */
.honeypot {
    position: absolute;
    transform: scale(0);
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Fonte Sarabun */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600&display=swap');

/* Fonte Carla Sans (fallback) */
@font-face {
    font-family: 'Carla Sans Semibold';
    src: local('Arial Bold'), local('Helvetica Bold');
    font-weight: 600;
    font-style: normal;
}

/* Botão para abrir o modal */
.open-modal-btn {
    padding: 12px 24px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.open-modal-btn:hover {
    background-color: #555;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: transform;
}

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

/* Botão fechar */
.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    transition: transform 0.2s, background-color 0.2s;
    padding: 0;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-close:active {
    transform: scale(0.95);
}

/* Container do vídeo */
.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    opacity: 1;
    will-change: transform;
}

/* Player de vídeo */
.modal-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 50px;
    background-color: transparent;
}

/* Conteúdo de exemplo para a página */
.content {
    text-align: center;
}

.content h1 {
    margin-bottom: 30px;
    color: #333;
}

/* Prevenir scroll quando modal está aberto */
body.modal-open {
    overflow: hidden;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.map-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: visible;
}

.tabs {
    position: relative;
    display: flex;
    z-index: 200;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    gap: 8px;
}

.tab-btn {
    border: none;
    padding: 10px 24px;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.tab-btn.active {
    background-color: #c5a67c;
    color: #ffffff;
}

.map-image-container {
    position: relative;
    display: inline-block;
    line-height: 0;
    max-width: 100%;
    flex: 1 1 auto;
    outline: none;
}

.map-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.markers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.marker {
    position: absolute;
    width: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: auto;
}

.marker-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #25586c;
    opacity: 1;
    transform: none;
    transition: transform 0.2s, background-color 0.2s;
    position: relative;
}

.marker-btn:hover {
    transform: scale(1.1);
    background-color: #25586c;
    color: #ffffff;
}

.popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #25586c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    z-index: 100;
}

.popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #25586c transparent transparent transparent;
}

.marker-btn:hover .popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Esconder elementos */
.hidden {
    display: none !important;
}

/* Container principal */
        .galeria-anoai {
            width: 100%;
            /* max-width: 1200px; */
            height: 800px;
            position: relative;
            overflow: hidden;
            background-color: #25586c;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        /* Camada de imagem */
        .imagem-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .imagem-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Gradiente overlay */
        .gradiente-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: linear-gradient(to top, 
                rgba(0, 0, 0, 0.6) 0%, 
                rgba(0, 0, 0, 0.2) 50%, 
                rgba(0, 0, 0, 0) 100%);
            pointer-events: none;
            z-index: 2;
        }

        /* Navegação superior */
        .nav-superior {
            position: absolute;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 24px;
            z-index: 10;
            width: 90%;
            justify-content: center;
            flex-wrap: wrap;
        }

        .nav-btn {
            background: none;
            border: none;
            padding: 8px 0;
            font-size: 13px;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Sarabun', sans-serif;
            border-bottom: 1px solid #ffffff;
            color: #ffffff;
        }

        .nav-btn:hover {
            opacity: 0.8;
            transform: translateY(-2px);
        }

        /* Controles inferiores */
        .controles-inferiores {
            position: absolute;
            bottom: 40px;
            left: 0;
            width: 100%;
            padding: 0 5%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 20px;
            z-index: 10;
            box-sizing: border-box;
        }

        /* Informações do slide */
        .slide-info {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 10px;
        }

        .numero-principal {
            font-size: 64px;
            font-weight: 400;
            line-height: 1;
            font-family: 'Carla Sans', sans-serif;
            color: #ffffff;
        }

        .numero-total {
            font-size: 16px;
            font-weight: 300;
            margin-left: 4px;
            opacity: 0.8;
            font-family: 'Sarabun', sans-serif;
            color: #ffffff;
        }

        .slide-titulo {
            margin-left: 20px;
            font-family: 'Sarabun', sans-serif;
            color: #ffffff;
            opacity: 0.7;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Botões de navegação */
        .botoes-navegacao {
            display: flex;
            gap: 16px;
        }

        .btn-nav {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 1px solid;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            border-color: #ffffff;
            color: #ffffff;
        }

        .btn-nav:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.1);
        }

        .btn-nav:active {
            transform: scale(0.95);
        }

        .btn-nav.primario {
            border-color: #ffffff;
            background-color: #ffffff;
            color: #25586c;
        }

        .btn-nav.primario:hover {
            background-color: #f0f0f0;
            border-color: #f0f0f0;
        }

        /* Fallback para fonte Carla Sans */
        @font-face {
            font-family: 'Carla Sans';
            src: local('Arial'), local('Helvetica');
            font-weight: 400;
            font-style: normal;
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .galeria-anoai {
                height: 500px;
            }

            .numero-principal {
                font-size: 48px;
            }

            .slide-titulo {
                margin-left: 0;
                width: 100%;
            }

            .btn-nav {
                width: 48px;
                height: 48px;
            }
        }

        @media (max-width: 480px) {
            .nav-superior {
                top: 20px;
            }

            .controles-inferiores {
                bottom: 20px;
            }

            .numero-principal {
                font-size: 36px;
            }
        }


        .gallery-container {
            width: 100%;
            display: flex;
            align-items: stretch;
            justify-content: center;
            overflow: hidden;
            height: 600px;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 8px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .gallery-item {
            position: relative;
            cursor: pointer;
            overflow: hidden;
            border-radius: 0;
            background: rgb(0, 0, 0);
            transform: translateZ(0);
            flex: 0 0 80px;
            width: 80px;
            height: 100%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item.expanded {
            flex: 0 0 480px;
            width: 480px;
        }

        .gallery-item:not(.expanded) .item-description {
            display: none;
        }

        .item-image-container {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }

        .item-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .item-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
            z-index: 1;
        }

        .item-number {
            position: absolute;
            top: 8px;
            left: 8px;
            z-index: 2;
        }

        .item-number span {
            font-family: 'Carla Sans Regular', sans-serif;
            font-size: 14px;
            font-weight: 400;
            color: #fff;
            pointer-events: none;
            text-shadow: 0 0 5px rgba(0,0,0,0.7);
        }

        .item-icon {
            position: absolute;
            bottom: 8px;
            left: 8px;
            z-index: 2;
            pointer-events: none;
        }

        .item-icon img {
            width: 20px;
            height: 20px;
            filter: invert(1);
            display: block;
        }

        .item-description {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            box-sizing: border-box;
            z-index: 3;
            pointer-events: none;
            padding: 20px 20px 60px;
            opacity: 1;
            transform: none;
        }

        .item-title {
            margin: 0 0 2px 0;
            font-weight: normal;
            color: #ffffff;
            font-size: 18px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
            line-height: normal;
        }

        .item-text {
            margin: 0;
            color: #dddddd;
            font-size: 14px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Fallback para fonte */
        @font-face {
            font-family: 'Carla Sans Regular';
            src: local('Arial');
            font-display: swap;
        }

        .map-card {
      width: 100%;
      max-width: 1440px;
      background-color: transparent;
      display: flex;
      flex-direction: column;
      margin: 0 auto;
    }

    /* área do mapa */
    .map-wrapper {
      position: relative;
      overflow: hidden;
      width: 100%;
      min-height: 400px;          /* flexível, mas com altura confortável */
      cursor: default;
      border-radius: 4px 4px 0 0;
    }

    .map-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none;        /* permite clicar através da imagem nos botões */
    }

    .map-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none;        /* por padrão nada no overlay pega clique, só os pins com auto */
    }

    /* pins circulares */
    .pin {
      position: absolute;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background-color: white;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 300;
      font-size: 16px;
      color: #25586c;               /* cor principal */
      cursor: pointer;
      pointer-events: auto;
      transition: background-color 0.2s, color 0.2s, transform 0.2s;
      border: 2px solid transparent;
      will-change: transform;
    }

    .pin:hover, .pin.active-pin {
      background-color: #25586c;
      color: white;
      transform: translate(-50%, -50%) scale(1.08);
      border-color: rgba(255,255,255,0.5);
    }

    /* botão "VER NO MAPA" */
    .map-btn {
      position: absolute;
      top: 24px;
      left: 24px;
      padding: 14px 32px;
      border: none;
      font-weight: 600;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background-color: #bbaF90;     /* tom areia */
      color: white;
      cursor: pointer;
      z-index: 60;
      border-radius: 2px;
      transition: background 0.2s;
      pointer-events: auto;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .map-btn:hover {
      background-color: #a69774;
    }

    /* faixa de cartões (cards) – 4 colunas flexíveis */
    .cards-row {
      display: flex;
      width: 100%;
      position: relative;
      z-index: 10;
      flex-direction: row;
      margin-top: -260px;             /* sobreposição leve */
      gap: 20px;
      padding: 30px;
      pointer-events: none;          /* fundo não bloqueia, cards com auto */
      box-sizing: border-box;
      flex-wrap: wrap;               /* fallback caso encolha demais */
    }

    .card {
      flex: 1 1 0%;
      min-width: 200px;
      height: 360px;
      position: relative;
      cursor: pointer;
      pointer-events: auto;
      overflow: hidden;
      border-radius: 8px;
      background-color: rgba(186, 174, 143, 0.28); /* tom base */
      transition: box-shadow 0.25s;
      will-change: transform;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .card:hover {
      box-shadow: 0 12px 24px -8px rgba(0,0,0,0.2);
    }

    .card-image-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.3s ease;
      will-change: opacity;
    }

    .card-image-layer img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .card-image-layer .gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }

    /* quando card estiver ativo, imagem aparece */
    .card.active-card .card-image-layer {
      opacity: 1;
    }

    .card-content {
      position: relative;
      z-index: 2;
      width: 100%;
      height: 100%;
      padding: 28px 20px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-sizing: border-box;
    }

    .dist-row {
      display: flex;
      flex-direction: row;
      align-items: baseline;
      margin-bottom: 8px;
    }

    .dist-number {
      font-family: 'Carla Sans Regular', system-ui, sans-serif;
      font-weight: 400;
      font-size: 64px;
      line-height: 1;
      margin-right: 10px;
      color: #25586c;
      transition: color 0.2s;
    }

    .dist-unit {
      display: flex;
      flex-direction: column;
    }

    .dist-unit .time {
      font-weight: 300;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #25586c;
      opacity: 0.8;
    }

    .dist-unit .vehicle {
      font-weight: 300;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #bbaF90;
      margin-top: 2px;
    }

    .card-divider {
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.1);
      margin-bottom: 14px;
    }

    .card-title {
      margin: 0;
      font-weight: 300;
      font-size: 15px;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #25586c;
    }

    /* pequeno ajuste mobile */
    @media (max-width: 900px) {
      .cards-row {
        flex-wrap: wrap;
        margin-top: 20px;
        gap: 16px;
      }
      .card {
        flex: 1 1 40%;
        min-width: 240px;
      }
      .map-wrapper {
        min-height: 350px;
      }
    }