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

:root {
    --bg-dark: #0a0a0a;
    --bg-light: #f5f0eb;
    --gold-primary: #d4af37;
    --gold-light: #e6c875;
    --gold-button: #d8a757;
    --text-dark: #1a1a1a;
    --text-muted: #aaaaaa;
    --text-light: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-hand: 'Caveat', cursive;
}

html {
    width: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #050505;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
iframe {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* 3. PULL TO REFRESH */
.pull-to-refresh {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background-color: #1a1a1a;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: top 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.pull-to-refresh .spinner-icon {
    font-size: 24px;
    color: var(--gold-primary);
}

.pull-to-refresh.refreshing .spinner-icon {
    animation: spinRefresh 0.8s linear infinite;
}

@keyframes spinRefresh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 4. HEADER & NAVEGAÇÃO */
header {
    background-color: #050505;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: fixed;
    /* Força o alinhamento fixo na tela */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Garante que fique por cima de qualquer elemento ao rolar */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    color: var(--gold-primary);
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-text span {
    display: block;
    font-size: 10px;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 4px;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    color: var(--gold-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.hero-banner {
    width: 100%;
    min-height: 580px;
    background: radial-gradient(circle at 65% 50%, #2e2114 0%, #0c0a08 50%, #050505 85%);
    display: flex;
    align-items: flex-end;
    padding: 100px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 0 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-areas: "texto imagem";
    align-items: flex-end;
    gap: 0px;
    position: relative;
}

.hero-content {
    grid-area: texto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
    z-index: 2;
}

.hero-image-area {
    grid-area: imagem;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    margin-right: -40px;
}

.hero-image-area img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)) contrast(105%) brightness(102%);
    transform: scale(1.05);
    /* Leve expansão para encostar perfeitamente */
    transform-origin: bottom right;
}

.subtitle-welcome {
    font-size: 15px;
    letter-spacing: 4px;
    color: #e5c378;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.main-title {
    font-family: 'Alex Brush', cursive;
    font-size: 88px;
    font-weight: 400;
    line-height: 0.95;
    background: linear-gradient(135deg, #ffd984 0%, #d4af37 50%, #aa7c11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

.tagline-sub {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: #f1db9d;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 12px;
}

.description {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.5;
    max-width: 420px;
    font-weight: 300;
    margin-bottom: 30px;
}

.btn-agendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #e6be75 0%, #c9963d 100%);
    color: #111111 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.btn-agendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f2cd85 0%, #d8a347 100%);
}

.btn-agendar i {
    font-size: 20px;
    color: #1c4d10 !important;
}

.handwritten-tag {
    position: absolute;
    bottom: 25px;
    right: 40px;
    text-align: right;
    color: #d4af37;
    font-family: 'Caveat', cursive;
    font-size: 28px;
    line-height: 1.1;
    transform: rotate(-7deg);
    pointer-events: none;
    z-index: 5;
}

.handwritten-tag span {
    display: block;
}

.handwritten-tag .heart {
    font-size: 20px;
    margin-top: 5px;
    display: inline-block;
}

/* 6. SERVIÇOS */
.services {
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);
    max-width: 250px;
}

.section-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 34px;
    color: #f1db9d;
    font-weight: 400;
    margin-bottom: 0;
}

.services {
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.section-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.section-line {
    height: 1px;
    width: 50px;
    background-color: var(--gold-primary);
    opacity: 0.5;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.icon-circle {
    width: 75px;
    height: 75px;
    border: 1.5px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--gold-primary);
    font-size: 32px;
    transition: background 0.3s, transform 0.3s;
}

.service-card:hover .icon-circle {
    background-color: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 180px;
}

/* 7. SOBRE */
.about {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 70px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.about-text h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 20px;
}

.about-divider::after {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centraliza exatamente no meio da linha */
    transform: translate(-50%, -50%);
    background-color: var(--bg-light);
    padding: 0 10px;
    color: #b89230;
    font-size: 14px;
}

.about-side {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.about-map-box {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.about-address-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
    text-align: center;
}

.about-address-text i {
    color: #b89230;
    font-size: 18px;
}

/* 8. GALERIA */
.gallery {
    padding: 70px 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    aspect-ratio: 3/4;
    width: 100%;
}

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

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

/* 9. FOOTER */
footer {
    background-color: #050505;
    padding: 50px 0 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 32px;
    color: var(--gold-primary);
}

.contact-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.contact-text strong {
    font-size: 18px;
    color: var(--gold-primary);
}

.footer-handwritten {
    font-family: var(--font-hand);
    font-size: 28px;
    color: var(--gold-primary);
    transform: rotate(-6deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.whatsapp-color {
    color: #1c4d10 !important;
}

.instagram-color {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (min-width: 601px) and (max-width: 1024px) {
    .hero-banner {
        padding: 90px 20px 0 20px;
        min-height: 520px;
    }

    .hero-container {
        padding: 0 0 0 20px;
        grid-template-columns: 1fr 1fr;
    }

    .main-title {
        font-size: 64px;
    }

    .tagline-sub {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .headline {
        font-size: 22px;
    }

    .description {
        font-size: 14px;
        max-width: 340px;
    }

    .hero-image-area img {
        max-width: 440px;
    }

    .handwritten-tag {
        font-size: 22px;
        right: 20px;
        bottom: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 600px) {

    .hero-image-area img {
        width: 85%;
        max-width: 320px;
        height: auto;
        object-fit: contain;
        transform: scale(1);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #050505;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    nav a {
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-banner {
        padding: 70px 15px 30px 15px;
        min-height: auto;
        background: radial-gradient(circle at 70% 30%, #2e2114 0%, #0c0a08 50%, #050505 85%);
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
        grid-template-areas: none;
    }

    .hero-image-area {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-right: -15px;
        margin-top: 25px;
        margin-bottom: -140px;
        z-index: 1;
    }

    .hero-image-area img {
        width: 85%;
        max-width: 320px;
        height: auto;
        object-fit: contain;
        transform: scale(1);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        align-items: center;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 0;
    }

    .subtitle-welcome {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 2px;
    }

    .main-title {
        font-size: 48px;
        line-height: 1;
        margin-bottom: 4px;
    }

    .tagline-sub {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .headline {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .description {
        font-size: 12.5px;
        max-width: 280px;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .btn-agendar {
        padding: 13px 30px;
        font-size: 12px;
    }

    .handwritten-tag {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        margin-right: 15px;
        align-self: flex-end;
        text-align: right;
        font-size: 20px;
        transform: rotate(-6deg);
        z-index: 3;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-side {
        border-left: none;
        padding-left: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        gap: 25px;
    }

    .contact-item {
        justify-content: center;
        width: 100%;
    }

    .footer-handwritten {
        text-align: center;
        width: 100%;
    }

    .section-title-container {
        gap: 12px;
        margin-bottom: 35px;
        width: 100%;
        padding: 0 10px;
    }

    .header-line {
        height: 1px;
        background: rgba(212, 175, 55, 0.4);
        max-width: 100%;
    }

    .section-title {
        font-size: 22px;
        white-space: nowrap;
    }
}