html {
    scroll-behavior: smooth;
}

:root {
    --primary: #320003;
    --primary-container: #540b0e;
    --on-primary: #ffffff;
    --background: #f9f9f9;
    --surface: #f9f9f9;
    --surface-container-low: #f3f3f3;
    --surface-container: #eeeeee;
    --on-surface: #1a1c1c;
    --on-surface-variant: #554241;
    --outline-variant: #dbc0be;
    --text-slate-600: #475569;
    --text-slate-500: #64748b;
    --text-slate-400: #94a3b8;
}

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

body {
    font-family: 'Sarabun', sans-serif;
    background-color: var(--background);
    color: var(--on-surface);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Sarabun', sans-serif;
}

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

ul {
    list-style: none;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Navigation */
nav.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-links {
    display: none;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-slate-600);
    text-transform: uppercase;
}

.nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.25rem;
}

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

.btn-primary {
    display: inline-block;
    background-color: var(--primary-container);
    color: white;
    padding: 0.45rem 1.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

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

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-contact.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.contact-badge {
    width: 5.5rem;
    height: 5.5rem;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-badge:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

/* Video Section */
.video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 124%;
    height: 124%;
    transform: translate(-50%, -50%);
    border: none;
    object-fit: cover;
}.desktop-video {
    display: none;
}

.mobile-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

@media (min-width: 768px) {
    .desktop-video {
        display: block;
    }
    .mobile-video {
        display: none;
    }
}


.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.video-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    color: white;
}

.video-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.video-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Project Highlight */
.project-highlight {
    background-color: var(--surface-container);
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}


.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.highlight-text .text-bold {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-container);
}

.highlight-text .text-accent {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 400;
}

@media (max-width: 767px) {
    .highlight-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Editorial Section */
.editorial {
    padding: 5rem 2rem;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    background-color: #ffffff;
}


@media (min-width: 768px) {
    .editorial {
        padding: 5rem 0;
    }
}

.editorial-img {
    width: 90%;
    padding: 0 10%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0.5rem;
}

.editorial-content {
    width: 90%;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
}
@media (max-width: 767px) {
    .editorial {
        padding: 3rem 1rem;
    }
    .editorial-img {
        width: 100%;
        padding: 0;
    }
    .editorial-content {
        width: 100%;
        padding: 0 0.5rem;
    }
    .diferenciais-horizontal {
        width: 100%;
        padding: 2rem 1rem;
    }
}

.label-small {
    color: var(--primary-container);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.editorial h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.editorial-text {
    color: var(--text-slate-600);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.diferenciais-horizontal {
    width: 80%;
    background-color: var(--surface-container-low);
    padding: 3.5rem 2.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}



.diferenciais-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .diferenciais-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .diferenciais-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.diferencial-item-h {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.diferencial-item-h img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.diferencial-item-h p {
    font-size: 1rem;
    color: var(--on-surface-variant);
    font-weight: 500;
}

/* Gallery */
.gallery-section {
    background: var(--surface-container-low);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    margin-bottom: 4rem;
    text-align: center;
}

.gallery-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gallery-header p {
    color: var(--text-slate-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2rem;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 85%;
    height: 400px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 45%;
        height: 500px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

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

.btn-outline {
    color: white;
    border: 1px solid white;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 0.25rem;
    backdrop-filter: blur(4px);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

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

/* Location */
.location-section {
    padding: 5rem 2rem;
    background: var(--surface);
}

.location-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.location-info h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.location-info p {
    color: var(--text-slate-500);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.map-container {
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, #320003, #540b0e);
    padding: 5rem 2rem;
    color: white;
}

.form-grid {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-intro p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
}

.form-input:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
}

.btn-submit {
    width: 100%;
    background: white;
    color: var(--primary);
    padding: 1rem;
    border-radius: 0.25rem;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    width: 120px;
    margin-bottom: 1.5rem;
}

.footer-about {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Ebook Section */
.ebook {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.ebook-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebook-content {
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .ebook-content {
        left: 1.5rem;
        width: calc(100% - 3rem);
    }
}


.ebook-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

@media (max-width: 767px) {
    .ebook-overlay {
        background: rgba(0, 0, 0, 0.65);
    }
}


@media (min-width: 768px) {
    .ebook-content {
        left: 6rem;
        max-width: 50%;
        padding-right: 4rem;
    }
}

.ebook-content h2 {
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.ebook-content .btn-primary {
    font-size: 1.05rem;
    padding: 0.75rem 2rem;
}

@media (min-width: 768px) {
    .ebook-content h2 {
        font-size: 3.5rem;
    }
}

.ebook-content p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 38rem;
}

/* Amenities & Address */
.amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-slate-600);
}

.amenity-item .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
}

.endereco_referencia {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--outline-variant);
}

.endereco_referencia h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-container);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.endereco_referencia h4 span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-container);
    font-weight: bold;
}


