/* ARQUIVO: Home/css/Global.css */
/* --- PALETA: CREME & CAFÉ + CORREÇÕES GERAIS --- */

:root {
    --bg-main: #fdfbf9;
    --bg-alt: #FAF7F2;
    --header-bg: #F2E8DF;
    --header-bg-scrolled: transparent;
    --text-primary: #3A2723;
    --text-secondary: #635b58;
    --text-on-header: #211f1d;
    --accent: #D4C1B8;
    --hover: #E8D5CC;
    --payment-area: #9db89c;
    --button-primary-bg: #798d83;
    --button-primary-hover: #928c84;
    --button-primary-text: #ffffff;
    --clr-champagne-pink: #EDE6E2;
    --clr-apricot: #E8DCD3;
    --clr-peach: #E6D2C6;
    --accent-border-active: var(--accent);
    --accent-border-hover: var(--accent);
    --header-height-desktop: 70px;
    --header-height-mobile: 110px;
    --clr-white-soft: #fefcfb;
    --isabelline: #F6F2EE;
    --pale-dogwood: #EDE6E2;
    --mountbatten-pink: #A67C81;
    --timberwolf: #D8D6D4;
    --davy-gray: #565254;
    --dim-gray: #6F6A6A;
    --white-ish: #F7F6F5;
    --accent-color: var(--accent);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    background-color: white;
    color: var(--text-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CABEÇALHO --- */
.cabecalho {
    display: flex;
    justify-content: space-between;
    background-color: white;
    align-items: center;
    color: var(--text-on-header);
    padding: 10px 8%;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 103;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cabecalho a, .cabecalho button {
    color: #ffffff;
}

.cabecalho-scrolled {
    background: linear-gradient(to left, rgba(242, 232, 223, 0), rgb(255, 255, 255));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: none;
}

/* Container para alinhar Logo em cima e Slogan em baixo */
.logo-container {
    display: flex;
    flex-direction: column; /* Um embaixo do outro */
    justify-content: center;
    align-items: flex-start; /* Alinha à esquerda */
    line-height: 1; /* Junta as linhas */
}

.logo {
    font-family: 'Lavishly Yours', cursive;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 400;
    text-decoration: none;
    color: #5e5a56;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    margin-bottom: 0px; 
    line-height: 0.8;
}

/* O Estilo do Slogan (Atualizado) */
.slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;       
    font-style: normal;    /* Sem itálico */
    color: #6b6666;        /* Cinza escuro elegante */
    letter-spacing: 2px;   /* Espaçamento chique */
    font-weight: 400;
    margin-top: 5px;
    margin-left: 2px;
}

/* --- NAVEGAÇÃO --- */
.navegacao {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navegacao a {
    padding: 8px 18px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #afbc9d;
    white-space: nowrap;
}

.navegacao a:hover {
    color: var(--button-primary-text);
    background-color: #be8996;
}

/* --- ÍCONES SOCIAIS --- */
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    text-decoration: none;
    color: #99938c;
    transition: all 0.3s ease;
}

.social-icons a i {
    font-size: 28px;
}

.social-icons a:hover {
    color: #1b1a18;
    transform: scale(1.1);
}

/* --- RODAPÉ MINIMALISTA (Apenas Assinatura) --- */
.rodape-site {
    background-color: #000000; /* Fundo preto */
    color: #b1b1b1;
    padding: 30px 0;           /* Altura do rodapé */
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;   /* Centraliza horizontalmente */
    align-items: center;       /* Centraliza verticalmente */
}

.nome-cursivo-rodape {
    font-family: 'Lavishly Yours', cursive;
    font-size: 28px;           /* Tamanho da fonte */
    font-weight: 400;
    text-transform: lowercase; /* Mantém minúsculas charmosas */
    color: #8d8989;
    letter-spacing: 1px;
    margin: 0;
}

/* --- MUDANÇAS PARA MOBILE --- */
.link-clicavel-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Reforço do Layout do Cabeçalho Mobile */
    .cabecalho {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 30px 20px 20px 20px !important;
        height: auto !important;
    }

    .logo-container {
        align-items: center; /* Centraliza logo e slogan no mobile */
        margin-bottom: 15px;
    }

    .cabecalho .logo {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 5px !important; /* Margem reduzida para aproximar o slogan */
        margin-right: 0 !important;
        font-size: 40px !important; /* AUMENTADO PARA 40px */
        line-height: 1.1;
    }

    .slogan {
        font-size: 13px; /* Tamanho discreto no mobile */
        margin-left: 0;
        margin-top: 10px;
    }

    .navegacao {
        margin: 0 !important;
        width: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
    }

    .social-icons {
        display: none !important;
    }

    .rodape-site {
        text-align: center;
    }

    .rodape-coluna h4, .rodape-coluna p, .rodape-coluna a {
        text-align: center;
    }

    .btn-card-home,
    .btn-comprar {
        display: none !important;
    }
}

/* --- SELO DE DESTAQUE (Badge) --- */
.selo-destaque {
    position: absolute;
    top: 10px;
    left: 0px; 
    background-color: #ffead3; 
    color: #d37a5a;            
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;          
    padding: 4px 8px;
    border-radius: 0px;       
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;               
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    pointer-events: none;      
}

.carousel-container, 
.img-wrapper {
    position: relative; 
}

/* ARQUIVO: Home/css/Global.css */

/* --- BARRA DE PESQUISA (VERSÃO DESTAQUE - ATUALIZADO) --- */
.area-pesquisa-destaque {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px; 
    margin-bottom: 20px; 
    padding: 0 10px;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    
    /* BORDA MAIS VISÍVEL (Era muito clara, agora um cinza médio) */
    border: 1px solid #bfbfbf; 
    
    border-radius: 50px; 
    padding: 10px 25px; 
    width: 100%;
    max-width: 700px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #A67C81; /* Mountbatten Pink ao clicar */
    box-shadow: 0 8px 25px rgba(166, 124, 129, 0.15);
    transform: translateY(-2px);
}

#campo-pesquisa {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; 
    color: var(--text-secondary); /* Cor do texto que a pessoa digita (Escuro) */
    width: 100%;
    height: 100%;
}

/* --- NOVO: COR DO TEXTO DE EXEMPLO (Placeholder) --- */
#campo-pesquisa::placeholder {
    color: #b0b0b0; /* Cinza claro suave */
    opacity: 1; /* Garante a cor exata em todos os navegadores */
}

#btn-buscar {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #A67C81; 
    font-size: 20px; 
    padding: 0 0 0 15px;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
}

#btn-buscar:hover {
    transform: scale(1.2);
    color: #3A2723;
}

/* --- AJUSTE PARA MOBILE --- */
@media (max-width: 768px) {

    /* ARQUIVO: Home/css/Global.css (Dentro do @media max-width: 768px) */
    
    .navegacao {
        /* Mudei de 0 para margens em cima e embaixo */
        margin-top: 15px !important;    /* Afasta do que está em cima (Barra ou Logo) */
        margin-bottom: 10px !important; /* Dá um respiro embaixo */
        
        width: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
    }
    
    .area-pesquisa-destaque {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .search-container {
        padding: 8px 20px;
        max-width: 100%; 
    }
    
    #campo-pesquisa {
        font-size: 14px; 
    }
}

/* --- ANIMAÇÃO DA BARRA DE PESQUISA --- */

/* 1. Define a transição suave para a barra */
.area-pesquisa-destaque {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Movimento bem suave */
    opacity: 1;
    transform: translateY(0) scale(1);
    
    /* Animação de entrada (ao carregar a página) */
    animation: slideEntrada 0.8s ease-out forwards;
}

/* 2. Classe que esconde a barra (será ativada pelo JS) */
.search-hidden {
    opacity: 0;
    transform: translateY(-20px) scale(0.95); /* Sobe um pouco e diminui */
    pointer-events: none; /* Impede clique quando invisível */
    margin-bottom: -50px; /* Puxa o conteúdo de baixo pra cima suavemente */
}

/* 3. Keyframes da Animação de Entrada */
@keyframes slideEntrada {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}