.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ajuste para garantir que o conteúdo nunca toque as bordas extremas */
    padding: 2rem 24%; 
    padding-top: 7.5rem; /* Espaço para o header fixed */
    gap: 6rem; /* Espaçamento grande entre header, conteúdo e footer */
    /* Imagem preenche o hero de forma fluida */
    background: url('../../assets/images/img-hero-bg.png') no-repeat right center / cover;
    background-color: #12100f; 
    color: white;
    box-sizing: border-box;
}

/* Conteúdo central com espaçamentos generosos */
.hero-main-content {
    max-width: 800px;
    margin-left: 0; /* Alinha à esquerda do padding do pai */
    margin-top: auto; /* Empurra conteúdo para baixo em mobile */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 2;
}

/* --- HEADER & NAV --- */
.hero-header {
    position: fixed;
    top: 2rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    padding: 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-out, background 0.3s ease, backdrop-filter 0.3s ease;
    box-sizing: border-box;
}

/* Navbar com cor primária quando scrollada (melhor contraste) */
.hero-header.scrolled {
    background: #C69B86 !important;
    background-color: #C69B86 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.hero-header.header-hidden {
    transform: translateY(-150%);
}

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

.brand-icon { 
    height: 32px; 
    width: auto; 
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.nav-menu { display: flex; align-items: center; gap: 1.5rem; }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    padding: 9px 8px;
    z-index: 40;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span + span {
    margin-top: 6px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Efeito Badge nos Links */
.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-menu a:hover {
    background: rgba(196, 154, 132, 0.4); /* Tom bronze sutil */
    color: #fff4ee;
}

/* Links com melhor contraste quando navbar scrollada */
.hero-header.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.95);
}

.hero-header.scrolled .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Botão de Contato fatorado */
.btn-contact {
    background: #E8D8D0;
    color: #4A3A35;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #C49A84;
    color: white;
    transform: scale(1.05);
}

/* Botão mais visível quando navbar scrollada */
.hero-header.scrolled .btn-contact {
    background: #ffffff;
    color: #4A3A35;
}

.hero-header.scrolled .btn-contact:hover {
    background: #f0f0f0;
    color: #2D2D2D;
}

/* Títulos e textos com tamanhos exagerados */
.hero-main-content h1 {
    font-size: clamp(3.5rem, 7vw, 10rem); /* Hero gigante e impactante */
    line-height: 1.05;
    margin: 0;
    font-weight: normal;
    margin-bottom: 1rem;
    font-family: Playfair Display, serif; /* Fonte elegante para o título */
}

.hero-main-content p {
    font-size: 1.35rem; /* Texto maior e mais legível */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
}

/* Botão CTA Principal - maior e mais chamativo */
.btn-cta {
    width: fit-content;
    background: #C49A84;
    color: white;
    border: none;
    padding: 1.5rem 3rem; /* Botão maior */
    border-radius: 12px;
    font-size: 1.1rem; /* Fonte maior */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-cta:hover { transform: translateY(-3px); }

/* Animação de entrada suave para o conteúdo principal */
.hero-main-content h1,
.hero-main-content p,
.hero-main-content .btn-cta,
.hero-main-content .share-link {
    opacity: 0; /* Começa invisível */
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Atrasos para criar um efeito escalonado (stagger) */
.hero-main-content h1 { animation-delay: 0.3s; }
.hero-main-content p { animation-delay: 0.5s; }
.hero-main-content .btn-cta { animation-delay: 0.7s; }
.hero-main-content .share-link { animation-delay: 0.9s; }

/* --- RODAPÉ (DEPOIMENTOS) --- */
.hero-footer {
    width: 100%;
    margin-top: auto;
    /* O componente do carrossel agora gerencia seu próprio layout interno.
       Este container serve apenas como um ponto de montagem. */
}

/* Link de compartilhamento */
.share-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.share-link:hover {
    color: #C49A84;
}

/* Keyframe para a animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVIDADE DO NAV --- */

/* Telas grandes (laptops 13-15") */
@media (max-width: 1400px) {
    .hero {
        padding: 2rem 18%;
        padding-top: 9.5rem;
    }
}

/* Desktop padrão e laptops */
@media (max-width: 1200px) {
    .hero {
        padding: 2rem 12%;
        padding-top: 7rem;
    }

    .brand-icon {
        height: 28px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.82rem;
        padding: 0.45rem 0.9rem;
    }

    .btn-contact {
        padding: 0.55rem 1.3rem;
        font-size: 0.82rem;
    }
}

/* Laptop pequeno / Tablet landscape */
@media (max-width: 1024px) {
    .hero {
        padding: 2rem 8%;
        padding-top: 6.5rem;
    }

    .hero-header {
        padding: 0.65rem 8%;
    }

    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.78rem;
    }

    .btn-contact {
        padding: 0.5rem 1.1rem;
        font-size: 0.78rem;
    }

    .hero-main-content h1 {
        font-size: 3rem;
    }

    .hero-main-content p {
        font-size: 1.2rem;
    }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .hero {
        padding: 1.8rem 6%;
        padding-top: 6rem;
    }

    .hero-header {
        padding: 0.65rem 6%;
    }

    .brand-name {
        font-size: 0.88rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }

    .btn-contact {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
    }
}

/* Mobile / Tablet pequeno */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 5%;
        padding-top: 7rem;
        background-position: 80% center;
    }

    .hero-header {
        position: fixed;
        top: 1rem;        left: 0.8rem;
        right: 0.8rem;
        width: auto;        padding: 0.7rem 5%;
        /* Cor sólida primary no mobile */
        background: #C69B86 !important;
        backdrop-filter: none !important;
        -webkit-backdroilter: none !important;
        border-color: rgba(255, 255, 255, 0.2);
    }

    /* Na versão scrolled mobile, mantém a cor */
    .hero-header.scrolled {
        background: #C69B86 !important;
        backdrop-filter: none !important;
    }

    .brand-icon {
        height: 28px;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.8rem;
        border-radius: 16px;
        background: rgba(17, 15, 14, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
        z-index: 35;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        text-align: left;
        padding: 0.65rem 0.8rem;
        border-radius: 10px;
        font-size: 0.85rem;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
        margin-top: 0.2rem;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .hero-main-content h1 {
        font-size: 2.5rem;
    }

    .hero-main-content p {
        font-size: 1.1rem;
    }
}

/* Mobile médio */
@media (max-width: 620px) {
    .hero {
        padding: 1.2rem 4%;
        padding-top: 6.5rem;
    }

    .hero-header {
        top: 0.8rem;        left: 0.6rem;
        right: 0.6rem;        padding: 0.6rem 4%;
    }

    .brand-icon {
        height: 26px;
    }

    .brand-name {
        font-size: 0.8rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 8px 7px;
    }

    .hero-main-content h1 {
        font-size: 2.2rem;
    }

    .hero-main-content p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 1.2rem 2.2rem;
        font-size: 1rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero {
        padding: 1rem 3%;
        padding-top: 6rem;
    }

    .hero-header {
        top: 0.5rem;        left: 0.5rem;
        right: 0.5rem;        padding: 0.55rem 3%;
        border-radius: 80px;
    }

    .brand-icon {
        height: 24px;
    }

    .brand-name {
        font-size: 0.75rem;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 7px 6px;
    }

    .menu-toggle span {
        height: 1.5px;
    }

    .menu-toggle span + span {
        margin-top: 5px;
    }

    .nav-menu {
        padding: 0.6rem;
        gap: 0.3rem;
    }

    .nav-menu a {
        padding: 0.55rem 0.7rem;
        font-size: 0.8rem;
    }

    .btn-contact {
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-main-content h1 {
        font-size: 1.8rem;
    }

    .hero-main-content p {
        font-size: 0.95rem;
    }

    .btn-cta {
        padding: 1rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Mobile muito pequeno */
@media (max-width: 360px) {
    .hero {
        padding: 0.8rem 2%;
        padding-top: 5.5rem;
    }

    .hero-header {
        left: 0.4rem;
        right: 0.4rem;
        padding: 0.5rem;
    }

    .brand-icon {
        height: 22px;
    }

    .brand-name {
        font-size: 0.7rem;
    }

    .hero-main-content h1 {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}