/* Definição das cores, sombras e outros valores reutilizáveis do tema */
:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --surface-alt: #f5f1ec;
    --text: #1a1a1a;
    --muted: #666666;
    --accent: #c9a961;
    --accent-dark: #b08d57;
    --success: #25d366;
    --shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

/* Reset básico para padronizar o comportamento dos elementos */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Centraliza o conteúdo e limita a largura das seções */
.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

/* Estilo do cabeçalho fixo e dinâmico */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white;
}

.site-header.scrolled .logo {
    color: var(--text);
}

.logo small {
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--accent);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.25rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.site-header.scrolled .menu-toggle span {
    background: var(--text);
}

.site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 220px;
}

.site-nav.open {
    display: flex;
}

.site-nav a {
    color: var(--text);
    font-weight: 600;
}

.site-nav a:hover {
    transform: scale(1.05);
    /* Aumenta 5% */
    transition: transform 0.3s ease;
    /* Animação suave */
}

/* Estilo base dos botões principais e secundários */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--success);
    color: white;
}

.btn-primary:hover {
    background: #1ebc57;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

/* Primeira seção visual com imagem de fundo e mensagem principal */
.hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 6rem 0 3rem;
    background-color: #111;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.35)),
        url('./images/imagem-main.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.35));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 760px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
    padding-top: 15px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.scroll-indicator {
    display: inline-block;
    margin-top: 2rem;
    width: 40px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    position: relative;
}

.scroll-indicator span {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}

/* Espaçamento padrão das seções e ajuste para o scroll suave */
.section {
    padding: 5rem 0;
    scroll-margin-top: 96px;
}

.section-light {
    background: var(--surface-alt);
}

.section-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.2rem;
}

/* Estados iniciais para animação de entrada ao rolar a página */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content h2,
.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    margin-bottom: 0.8rem;
}

.about-lead {
    font-size: 1.02rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.about-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.about-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-card h3 {
    margin-bottom: 0.3rem;
    color: var(--accent-dark);
}

.portfolio-grid {
    display: grid;
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.portfolio-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: all 0.35s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    font-weight: 700;
}

.portfolio-overlay small {
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-cta {
    margin-top: 1.6rem;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.testimonial-slider {
    display: grid;
    gap: 1rem;
}

.testimonial-card {
    display: none;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: start;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.testimonial-card.active {
    display: grid;
}


@media (min-width: 1024px) {
    .testimonial-card {
        display: grid;
    }
}

.testimonial-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card h3 {
    margin-bottom: 0.2rem;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.stars {
    margin-top: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.15em;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.slider-btn {
    border: 0;
    background: var(--accent);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

.testimonial-dots {
    display: flex;
    gap: 0.4rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #d9d0c3;
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--accent-dark);
}

.packages-grid {
    display: grid;
    gap: 1.2rem;
}

.package-card {
    background: var(--surface);
    border: 1px solid #e9e2da;
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    position: relative;
}

.package-card.featured {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.package-card h3 {
    margin-bottom: 0.4rem;
}

.package-price {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-dark);
}

.package-card ul {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.package-extra {
    margin-top: 1.4rem;
    padding: 1.25rem;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border: 1px dashed #d9d0c3;
}

.contact-intro {
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-form,
.contact-info {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.6rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links img {
    max-width: 50px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 0.8rem 0.95rem;
    font: inherit;
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--success);
    color: white;
    box-shadow: var(--shadow);
    font-size: 1.5rem;
    animation: pulse 1.8s infinite;
    z-index: 1000;
}

/* Rodapé com fundo escuro e informações finais */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-content a {
    display: inline-block;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-content a:hover {
    transform: scale(1.05);
    /* Aumenta 5% */
    transition: transform 0.3s ease;
    /* Animação suave */
}

.footer-note {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Animação da seta de scroll do hero */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

/* Animação de pulsar do botão flutuante */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Ajustes para telas menores: desloca o foco da imagem para a direita */
@media (max-width: 767px) {
    .hero {
        background-position: 78% center;
    }
}

/* Ajustes visuais para telas maiores */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        min-width: auto;
    }

    .site-nav a {
        color: white;
    }

    .site-nav a:hover {
        transform: scale(1.05);
        /* Aumenta 5% */
        transition: transform 0.3s ease;
        /* Animação suave */
    }

    .site-header.scrolled .site-nav a {
        color: var(--text);
    }

    .nav-cta {
        margin-left: 0.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-controls {
        display: none;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.h6 {
    margin-bottom: 10px;
}