html {
    scroll-behavior: smooth;
    font-size: 18px; /* aumenta a base de fonte para escalar rems */
}

/* Evita rolagem horizontal (responsável pela sensação de "diagonal") */
html, body {
    overflow-x: hidden;
}

:root {
    --navbar-height: 64px; /* valor padrão, ajustado via JS */
    --nav-opacity: 0.5; /* opacidade dinâmica da navbar, ajustada via JS */
}

/* Estilos globais */
body {
    font-family: sans-serif;
    margin: 0;
    /* Cor sólida nude para todo o restante do site */
    background-color: #dfc7b8;
}

/* Estilo global de botões (igual ao botão central da hero) */
.btn {
    background-color: #c8a876;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Navbar */
header {
    padding: 1rem 0;
    background-color: rgba(223, 199, 184, var(--nav-opacity)); /* nude #dfc7b8 */
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

header.transparent {
    background-color: rgba(223, 199, 184, 0.6);
}

header.scrolled {
    /* Fallback quando JS adiciona a classe ao rolar */
    --nav-opacity: 0.85;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    backdrop-filter: blur(4px);
}

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

header .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header ul li {
    margin-left: 2rem;
}

header ul li a {
    text-decoration: none;
    color: #555;
    font-weight: normal;
    transition: color 0.3s;
    font-size: 1.1rem; /* links mais legíveis */
}

header ul li a:hover {
    color: #000;
}

/* Toggle de menu mobile (três pontinhos no canto direito) */
.mobile-menu-toggle {
    display: none; /* só aparece no mobile */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #000; /* preto */
    border-radius: 2px;
    margin: 3.5px 0;
}
.mobile-menu-toggle .dot {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}

/* Banner com botão sobreposto */
.site-banner {
    position: relative;
}

#banner-img {
    width: 100%;
    display: block;
}

.banner-buy {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -30px); /* mantém subida de 30px */
    top: 44%; /* posiciona acima das letras "My.Story" no desktop */
    z-index: 5;
}

@media (max-width: 768px) {
    /* Esconde links padrão e mostra botão no mobile */
    header ul { display: none; }
    header .container { width: 100%; padding: 0 8px; }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 42px;
        height: 38px;
        position: absolute;
        right: 13px; /* mais 4px para a esquerda */
        top: 50%;
        transform: translateY(-50%);
        z-index: 1500;
        background: transparent;
    }

    /* Dropdown do menu quando aberto */
    header.menu-open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 12px;
        top: calc(100% + 8px);
        background-color: rgba(223, 199, 184, 0.95);
        padding: 0.75rem 1rem;
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        z-index: 1001;
    }
    header.menu-open ul li { margin: 0.5rem 0; }
    header.menu-open ul li a { color: #333; font-weight: 500; }
    .banner-buy {
        top: auto;           /* desativa o top no mobile */
        bottom: 64px;        /* sobe mais para ficar acima do fim da tela */
        transform: translate(-50%, 0); /* remove a subida extra no mobile */
    }
}

/* Hero Section */
.hero {
    /* Removido o background com imagem para manter cor uniforme */
    background-color: #dfc7b8;
    min-height: 0; /* não força altura extra */
    padding: 5rem 0 5rem; /* mesmo espaço em cima e embaixo, maior */
}

.hero .container {
    /* display: flex; */
    /* align-items: center; */
    /* gap: 2rem; */
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.6rem;
    margin-top: 0; /* remove espaço extra acima do título */
    margin-bottom: 1rem;
    font-family: 'Georama', sans-serif;
}

/* Ajustes responsivos para telas pequenas */
@media (max-width: 480px) {
    html { font-size: 16px; } /* evita exagero no mobile */
    header .logo { font-size: 1.8rem; }
    header ul li a { font-size: 1rem; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content p { font-size: 1.2rem; }
    .cta p { font-size: 1.1rem; }
}

.hero-content p {
    font-size: 1.5rem; /* aumenta para melhor destaque e leitura */
    margin-bottom: 2rem;
    font-family: 'Georama', sans-serif;
}

.hero-content .btn {
    /* Usa o estilo global .btn para manter consistência */
}

.hero-content .site-link {
    display: block;
    margin-top: 1rem;
    color: #555;
    text-decoration: none;
}

.hero-image {
    width: 40%;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
}

/* About Us Section */
.about-us {
    padding: 4rem 0;
}

.about-us .container {
    /* display: flex; */
    /* align-items: center; */
    /* gap: 2rem; */
}

.about-us-image {
    width: 40%;
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
}

.about-us-content {
    width: 100%;
    text-align: center;
}

.about-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-us-content p {
    font-size: 1.25rem;
}

/* Gallery Section */
.gallery {
    padding: 0 0 4rem; /* remove o espaço no topo para colar na hero */
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin: 0 0 2rem; /* evita margem no topo que criaria espaço */
}

.gallery-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px; /* pequeno espaço entre cada look */
}

/* Contêiner visual para os looks, dá respiro nas bordas */
.looks-container {
    padding: 8px;
}

/* CTA abaixo da galeria */
.gallery-cta {
    margin-top: 2rem;
    text-align: center;
}

.album-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.album-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    border-radius: 10px;
}

/* CTA Section */
.cta {
    background-color: transparent;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #e8dad1; /* cor solicitada para o rodapé */
    backdrop-filter: none; /* sem desfoque em fundo translúcido */
    color: #000000; /* texto preto */
    padding: 2rem 0;
    text-align: center;
}

/* Degradê removido conforme solicitado */

footer p {
    margin: 0.5rem 0;
    font-size: 1rem; /* levemente maior no rodapé */
}

.social-icons {
    margin-bottom: 1rem;
}

.social-icons a {
    margin: 0 0.5rem;
}

.social-icons img {
    width: 32px;
    height: 32px;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
/* Ícones flutuantes (WhatsApp e Instagram) fixos seguindo a página */
.floating-social {
    position: fixed;
    bottom: 20px;
    right: 12px;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1600;
    align-items: flex-end;
}
.floating-social img {
    width: 48px;
    height: 48px;
}
@media (max-width: 480px) {
    .floating-social { bottom: 16px; right: 10px; left: auto; }
    .floating-social img { width: 44px; height: 44px; }
}
/* Banner */
.site-banner {
    /* Full-bleed: ocupa toda a largura da janela */
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw) 1.5rem calc(50% - 50vw);
    height: calc(100vh - var(--navbar-height)); /* altura fixa pela viewport para contain funcionar */
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-color: #dfc7b8; /* fundo igual ao site para áreas vazias */
}

.site-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* preenche sem distorcer e com menos faixas */
    object-position: center; /* centraliza a área mais importante */
}

/* Título delicado sobre o banner (apenas mobile) */
.banner-mobile-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    color: #ffffff;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.02em;
    text-shadow: 0 6px 22px rgba(0,0,0,0.45);
    line-height: 1.1;
    padding: 0.25rem 0.75rem;
    display: none;
}

@media (max-width: 768px) {
    .banner-mobile-title { display: block; }
}

/* Estilos das duas linhas (mobile) */
.banner-mobile-title .title-primary {
    display: block;
    font-weight: 600;
    font-size: 4.4rem;
}
.banner-mobile-title .title-sub {
    display: block;
    font-weight: 500;
    font-size: 2.4rem;
    margin-top: 0.4rem;
}

/* Ajuste fino para telas muito pequenas */
@media (max-width: 480px) {
    .banner-mobile-title .title-primary { font-size: 3.7rem; }
    .banner-mobile-title .title-sub { font-size: 2.1rem; }
}