/* --- FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@font-face {
    font-family: 'Autography';
    src: url('fonts/autography.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* --- VARIÁVEIS DE COR E RESET --- */
:root {
    --creme: #f2f2f0;
    --azul-marinho: #172033;
    --terracota: #a65943;
    --texto-secundario: #4a5568;
}

html {
    scroll-padding-top: 64px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background-color: var(--creme);
    color: var(--azul-marinho);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--azul-marinho);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-estreito {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

/* --- NAVEGAÇÃO --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(24px, 6vw, 80px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: none;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0); /* força GPU layer própria — nada passa por cima */
    will-change: background;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--azul-marinho);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--terracota);
}

/* --- BOTÕES --- */
.btn-loja, .btn-principal, .btn-secundario {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 14px 28px;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: var(--terracota);
    color: var(--creme);
    border: 1px solid var(--terracota);
    border-radius: 3px;
}

/* Estado Hover: Fundo Azul Marinho, Texto Creme */
.btn-loja:hover, .btn-principal:hover, .btn-secundario:hover {
    background-color: var(--azul-marinho);
    color: var(--creme);
    border-color: var(--azul-marinho);
}

/* --- BOTÃO VER CARRINHO (EXCLUSIVO DA LOJA) --- */
.loja-acoes {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.btn-carrinho-loja {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--azul-marinho);
    border: 1px solid var(--azul-marinho);
    padding: 10px 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-carrinho-loja svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-carrinho-loja:hover {
    background-color: var(--terracota);
    color: var(--creme);
    border-color: var(--terracota);
}

.btn-carrinho-loja:hover svg {
    transform: translateX(-3px);
}

/* --- HEADER / BANNER --- */
header {
    height: 85vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--creme);
    padding: 0 8%; 
}

.header-content h1 {
    font-size: 4rem; 
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px; 
    color: var(--azul-marinho);
    max-width: 800px;
}

.header-content p {
    font-size: 1.15rem;
    color: var(--texto-secundario);
    margin-bottom: 45px;
    max-width: 550px;
    line-height: 1.8;
    font-style: italic; 
    opacity: 0.85;
}

.btn-principal {
    padding: 18px 40px;
    letter-spacing: 3px; 
    border-radius: 3px; /* Corrigido de 3 para 3px */
    font-size: 10px;
}

/* --- SEÇÕES GERAIS --- */
section {
    padding: 120px 0;
    display: block;
    border: none;
    margin-top: -1px; 
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--texto-secundario);
    max-width: 600px;
    margin: 0 auto;
}

/* --- SEÇÃO MANIFESTO WERN --- */
#manifesto.texto-longo {
    padding: 50px 0 120px 0; 
    background-color: var(--creme);
}

/* --- ESTILO ARTÍSTICO DO TÍTULO MANIFESTO --- */
#manifesto.texto-longo h2 {
    font-size: 2.8rem; 
    color: var(--terracota); 
    text-align: center;
    margin-bottom: 70px;
    font-weight: 400; 
    text-transform: none; 
}

#manifesto.texto-longo h2 span {
    text-transform: uppercase; 
    letter-spacing: 0.6em;      
    font-family: 'Roboto', sans-serif;
    font-weight: 700; 
    margin-left: 20px; 
    margin-right: -0.8em; 
}

.grid-manifesto {
    display: flex;
    gap: 40px; 
    align-items: stretch;
    margin-top: 50px; 
}

.coluna-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.coluna-texto p {
    text-align: left;
    margin-bottom: 10px;
    display: block !important;          
    -webkit-line-clamp: none !important; 
    overflow: visible !important;       
    height: auto !important;            
}

.coluna-texto p:last-child {
    margin-bottom: 0;
}

.coluna-texto:nth-child(1) { flex: 1; }
.coluna-texto:nth-child(2) { flex: 1.15; }
.coluna-texto:nth-child(3) { flex: 1; }

/* --- ASSINATURA FINAL (FORÇANDO CENTRALIZAÇÃO) --- */
.citacao-marca {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: none !important;
    
    font-family: 'Autography', cursive;
    font-size: 3.5rem; 
    font-weight: 300; 
    color: var(--terracota);
    text-align: center !important;
    line-height: 1.1;
    
    max-width: 800px;
    margin-top: 80px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(166, 89, 67, 0.2) !important;
    width: 100%; 
}

@media (max-width: 1024px) {
    .grid-manifesto {
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .grid-manifesto {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 30px;
    }
    
    #manifesto.texto-longo h2 {
        font-size: 2.1rem;
        margin-bottom: 50px;
    }

    .citacao-marca {
        font-size: 2.5rem;
        max-width: 90%;
        margin-top: 50px !important;
    }
}

/* --- SEÇÃO CURADORIA (Fundo Azul Marinho) --- */
#curadoria {
    background-color: var(--azul-marinho);
    padding: 80px 0;
}

#curadoria .container {
    max-width: 1400px;
    padding: 0 3%; 
}

#curadoria .section-header h2 {
    color: var(--creme);
}

#curadoria .section-header p {
    color: #a0aec0;
}

/* --- CARROSSEL DE PRODUTOS --- */
.carousel-wrapper {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.track-produtos {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0 40px 0; 
    scrollbar-width: none; 
    width: 100%;
    align-items: stretch;
}

.track-produtos::-webkit-scrollbar {
    display: none;
}

.card-produto {
    flex: 0 0 calc(22%); 
    min-width: 280px; 
    scroll-snap-align: start; 
    background: #fff; 
    border: none; 
    border-radius: 3px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto; 
    position: relative;
    cursor: pointer;
}

.card-produto:hover {
    box-shadow: 0 4px 10px rgba(166, 89, 67, 0.75); 
}

.btn-card {
    margin-top: auto; 
    display: block;
    text-align: center;
    padding: 12px 0; 
    border: 1px solid var(--terracota);
    color: var(--terracota);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: 0.3s;
    position: relative; 
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.btn-card:hover {
    background-color: var(--terracota);
    color: var(--creme);
}

.produto-img {
    height: 260px;
    background-color: #f8f8f8; 
    border-radius: 4px 4px 0 0; 
    background-size: cover;
    background-position: center;
    flex-shrink: 0; 
}

.produto-info {
    padding: 30px 25px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.produto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--azul-marinho); 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.notas {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: var(--terracota);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.produto-info p {
    color: var(--texto-secundario);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px; 
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arrow {
    background-color: var(--terracota); 
    color: var(--azul-marinho); 
    border: 1px solid var(--terracota); 
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.arrow:hover {
    background-color: var(--azul-marinho); 
    color: var(--creme); 
    border-color: var(--azul-marinho); 
}

.arrow-prev { left: -20px; }
.arrow-next { right: -20px; }

/* --- JOURNAL (Blog) --- */
#journal {
    background-color: var(--creme);
    padding: 100px 0;
    padding-top: 10px;
}

.grid-journal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px;
    margin-bottom: 60px;
}

.card-post {
    display: flex;
    flex-direction: column;
    height: 100%; 
    cursor: default; 
}

.data {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: var(--terracota);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.card-post h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post h3 a {
    text-decoration: none;
    color: var(--azul-marinho);
    transition: color 0.3s ease;
    cursor: pointer;
}

.card-post h3 a:hover {
    color: var(--terracota);
}

.resumo-post {
    color: var(--texto-secundario);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; 
}

.link-ler {
    color: var(--azul-marinho);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--azul-marinho);
    padding-bottom: 2px;
    align-self: flex-start;
    margin-top: auto; 
    transition: 0.3s ease;
    cursor: pointer;
}

.link-ler:hover {
    color: var(--terracota);
    border-bottom-color: var(--terracota);
}

.ver-mais-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--azul-marinho);
    color: var(--azul-marinho);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.page-link.active, .page-link:hover {
    background-color: var(--azul-marinho);
    color: var(--creme);
}

/* --- SEÇÃO DO RODAPÉ: WERN CAFÉS --- */
footer {
    background-color: var(--azul-marinho);
    color: var(--creme);
    padding: 40px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start;     
    max-width: 100%; 
    margin: 0 auto;
    padding: 0 5%;
}

.footer-brand {
    flex: 0 0 450px; 
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;
    margin-left: 0px;  
    margin-top: 0px;   
}

.logo-footer {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.footer-tagline {    
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--creme);
    width: 80%;
    opacity: 0.9;
}

.footer-content > .footer-links:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    align-items: flex-start; 
    text-align: left;
    margin-left: 180px;  
    margin-top: 20px;    
}

.footer-content > .footer-links:nth-child(3) {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    align-items: flex-start; 
    text-align: left;
    margin-left: 100px;  
    margin-top: 20px;    
}

.footer-links h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--terracota);
}

.footer-menu { list-style: none; padding: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a {
    text-decoration: none;
    color: var(--creme);
    opacity: 0.8;
    font-size: 0.9rem;
    transition: 0.3s;
}
.footer-menu a:hover { opacity: 1; color: var(--terracota); }

/* --- NEWSLETTER WERN --- */
.newsletter-minimal p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(242, 242, 240, 0.2);
    width: 100%;
    position: relative;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--creme);
    padding: 10px 0;
    outline: none;
    flex: 1;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--terracota);
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s ease;
}
.newsletter-form.loading button {
    transform: scale(0.9);
}
.newsletter-form button:hover {
    color: #f2f2f0;
}

.form-message {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s ease;
}

.form-message.success {
    color: #f2f2f0;
    opacity: 0.8;
    transform: translateY(0);
}

.form-message.error {
    color: var(--terracota);
    opacity: 0.8;
    transform: translateY(0);
}

.newsletter-form.loading button {
    opacity: 0.5;
    pointer-events: none;
}

/* --- BASE: COPYRIGHT CENTRALIZADO E INSTAGRAM --- */
.footer-copyright {
    margin-top: 50px; 
    border-top: 1px solid rgba(242, 242, 240, 0.05);
    padding: 20px 5% 0 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-copyright p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    margin: 0;
}

.instagram-link {
    position: absolute;
    right: 3%;
    display: flex;
    align-items: center;
    gap: 4px; 
    text-decoration: none;
    color: var(--terracota);
    font-size: 0.9rem;
    opacity: 0.9;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.instagram-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(39%) sepia(32%) saturate(900%) hue-rotate(345deg);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.85; 
}

.instagram-link:hover {
    color: #f2f2f0;
    opacity: 1;
}

.instagram-link:hover .instagram-icon {
    filter: brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(200%) hue-rotate(300deg);
    transform: translateY(0px);
    opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-content > .footer-links,
    .footer-content > .footer-newsletter {
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    .footer-content {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================================
   CORREÇÕES DA LOJA (Sobreposição de estilos do HTML)
   ========================================================= */

/* 1. Torna o hover do card da loja extremamente sutil e sobrepõe o HTML interno */
.produto-card:hover, .produto-card:focus-within {
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 48px rgba(23,32,51,.15) !important;
}

/* 2. Resolve o "flickering" (tremida) da imagem ao passar o mouse */
.produto-media {
    overflow: hidden !important;
    border-radius: 3px 3px 0 0 !important;
    z-index: 1;
}

.produto-media img {
    transition: transform 0.4s ease-out !important;
    backface-visibility: hidden; 
    transform: scale(1.001); 
}

.produto-card:hover .produto-media img {
    transform: scale(1.05) !important; /* Zoom controlado e suave */
}

/* 3. Garante que os botões internos da loja respeitem os 3px */
.btn-add {
    border-radius: 3px !important;
}
/* =========================================================
   CARRINHO LATERAL (SIDEBAR)
   ========================================================= */
.overlay-carrinho {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(23, 32, 51, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay-carrinho.ativo {
    opacity: 1;
    visibility: visible;
}

.sidebar-carrinho {
    position: fixed;
    top: 0; right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--creme);
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.sidebar-carrinho.aberto {
    right: 0;
}

.carrinho-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(23,32,51,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrinho-header h3 {
    font-size: 1.2rem;
    font-family: var(--font-display);
    font-style: italic;
    margin: 0;
}

.btn-fechar {
    background: none; border: none;
    font-size: 1.5rem; color: var(--azul-marinho);
    cursor: pointer;
}

.carrinho-itens {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carrinho-item {
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(23,32,51,.05);
    padding-bottom: 15px;
}

.carrinho-item img {
    width: 100%;
    border-radius: 3px;
    object-fit: cover;
}

.carrinho-item-info h4 {
    font-size: 0.9rem; margin-bottom: 4px;
}

.carrinho-item-info span {
    font-size: 0.75rem; color: var(--texto-secundario);
    display: block; margin-bottom: 5px;
}

.carrinho-item-preco {
    font-size: 0.85rem; font-weight: 700; color: var(--terracota);
}

.btn-remover {
    background: none; border: none; color: #cc0000;
    font-size: 1.2rem; cursor: pointer;
}

.carrinho-footer {
    padding: 25px;
    border-top: 1px solid rgba(23,32,51,.1);
    background: #fff;
}

.carrinho-total {
    display: flex; justify-content: space-between;
    font-size: 1.1rem; font-weight: 700; color: var(--azul-marinho);
    margin-bottom: 20px;
}

.btn-checkout-final {
    width: 100%; background: var(--terracota); color: var(--creme);
    padding: 15px; border: none; border-radius: 3px;
    font-family: 'Roboto', sans-serif; font-weight: 700; text-transform: uppercase;
    cursor: pointer; transition: 0.3s;
}

.btn-checkout-final:hover { background: var(--azul-marinho); }

/* ============================================================
   HERO HOMEPAGE
   ============================================================ */
header#home {
    height: 100vh;
    background-color: var(--azul-marinho);
    align-items: center;
    padding: 0 clamp(24px, 6vw, 80px);
    text-align: center;
    position: relative;
}

.hero-centro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    transform: translateY(-16vh);
}

.hero-logo {
    height: clamp(58px, 8.5vw, 98px);
    width: auto;
    filter: invert(0.3) brightness(1.5);
    opacity: 0;
    animation: hero-logo-in 1.6s ease 0.1s both;
}

/* Frase — Roboto, espaçamento convergente */
.hero-frase {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.6rem, 4.1vw, 3rem);
    font-weight: 300;
    font-style: normal;
    color: rgba(242, 242, 240, 0.82);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Cada palavra aparece em sequência com letter-spacing decrescente */
.hero-frase .hw {
    display: inline;
    opacity: 0;
    animation: hw-appear 0.65s ease both;
}

.hero-frase .hw1 { letter-spacing: 2.2em;   animation-delay: 0.9s;  }
.hero-frase .hw2 { letter-spacing: 1.6em;   animation-delay: 1.05s; }
.hero-frase .hw3 { letter-spacing: 1.1em;   animation-delay: 1.18s; }
.hero-frase .hw4 { letter-spacing: 0.60em;  animation-delay: 1.30s; }
.hero-frase .hw5 { letter-spacing: 0.30em;  animation-delay: 1.41s; }
.hero-frase .hw6 { letter-spacing: 0.16em;  animation-delay: 1.51s; }
.hero-frase .hw7 { letter-spacing: 0.08em;  animation-delay: 1.60s; }
.hero-frase .hw8 { letter-spacing: 0.02em;  animation-delay: 1.69s; }
.hero-frase .hw9 { letter-spacing: 0.06em;  font-size: 1.12em; animation-delay: 1.80s; }

@keyframes hw-appear {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-subfrase {
    font-family: 'Autography', cursive;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    color: rgba(242, 242, 240, 0.35);
    line-height: 1.5;
    text-align: center;
    margin: 0;
    opacity: 0;
    animation: hw-appear 1.2s ease 2.5s both;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fade-up 1s ease 2.4s both;
}

.scroll-linha {
    display: block;
    width: 1px;
    height: 60px;
    background: rgba(242, 242, 240, 0.12);
    position: relative;
    overflow: hidden;
}

.scroll-linha::after {
    content: '';
    position: absolute;
    top: -60%;
    left: 0;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(166, 89, 67, 0.85), transparent);
    animation: scroll-drop 2.6s ease-in-out infinite;
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 0.7; transform: translateY(0); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1;  transform: translateX(-50%) translateY(0); }
}

@keyframes scroll-drop {
    0%   { top: -60%; }
    100% { top: 160%; }
}

/* ============================================================
   CURADORIA — GRID EDITORIAL
   ============================================================ */
.curadoria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.ficha-cafe {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.ficha-foto {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.04);
    overflow: hidden;
}

.ficha-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}

.ficha-cafe:hover .ficha-foto img {
    transform: scale(1.04);
}

.ficha-corpo {
    padding: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ficha-torra {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--terracota);
    opacity: 0.85;
}

.ficha-nome {
    font-family: 'Cormorant', Georgia, serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(242, 242, 240, 0.92);
    line-height: 1.15;
    margin: 0;
}

.ficha-desc {
    font-family: 'Cormorant', Georgia, serif;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(242, 242, 240, 0.38);
    line-height: 1.7;
    margin: 4px 0 0;
}

.ficha-link {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(242, 242, 240, 0.45);
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 242, 240, 0.15);
    padding-bottom: 3px;
    align-self: flex-start;
    margin-top: 12px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.ficha-link:hover {
    color: rgba(242, 242, 240, 0.9);
    border-bottom-color: rgba(242, 242, 240, 0.5);
}

@media (max-width: 768px) {
    .curadoria-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   MANIFESTO REDESENHADO — coluna única, centrada
   ============================================================ */
.manifesto-centro {
    max-width: 680px;
}

.manifesto-p {
    font-family: 'Cormorant', Georgia, serif;
    font-size: clamp(1rem, 1.75vw, 1.2rem);
    font-weight: 300;
    color: #444;
    line-height: 1.95;
    text-align: center;
    margin-bottom: 28px;
}