/* ==========================================================
   BASE & RESET
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FAF7F2;
    --linen: #F5EFE6;
    --terracotta: #C47A5A;
    --sage: #758B74;
    --petrol: #355B67;
    --gold: #C9A55B;
    --text: #2C3A3F;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Textura de papel */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.6;
    mix-blend-mode: multiply;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.title-font {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
	font-size: 2rem;
    letter-spacing: -0.02em;
}

/* ==========================================================
   TÍTULO INTERMEDIÁRIO (entre H1 e H2)
   ========================================================== */
.title-medium {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4.5vw, 3rem);  /* Entre H1 e H2 */
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   HEADER
   ========================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

header.scrolled {
    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(44, 58, 63, 0.06);
}

/* ==========================================================
   LOGO HORIZONTAL
   ========================================================== */
.logo-horizontal {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    transition: color 0.4s ease;
}

.logo-base {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.logo-final {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-v {
    font-weight: 600;
    transition: color 0.4s ease;
}

/* --- ESTADO: HEADER TRANSPARENTE (HERO) --- */
header:not(.scrolled) .logo-horizontal {
    color: #fff;
}

header:not(.scrolled) .logo-v {
    color: #D38A68;
}

/* --- ESTADO: HEADER ROLADO (FUNDO CLARO) --- */
header.scrolled .logo-horizontal {
    color: var(--text);
}

header.scrolled .logo-v {
    color: var(--terracotta);
}

/* ==========================================================
   NAVEGAÇÃO
   ========================================================== */
.header-nav {
    display: flex;
    gap: 2.2rem;
}

.header-nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 0.6;
}

/* ==========================================================
   BOTÕES
   ========================================================== */
.btn-primary {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 0.9rem 2.8rem;
    border-radius: 60px;
    border: none;
    background: var(--terracotta);
    color: #fff;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 28px rgba(196, 122, 90, 0.15);
    text-decoration: none;
}

.btn-primary:hover {
    background: #b06a4d;
    transform: scale(1.02);
    box-shadow: 0 12px 36px rgba(196, 122, 90, 0.25);
}

.btn-sage {
    background: var(--sage);
    box-shadow: 0 8px 28px rgba(117, 139, 116, 0.15);
}

.btn-sage:hover {
    background: #667f65;
    box-shadow: 0 12px 36px rgba(117, 139, 116, 0.25);
}

/* ==========================================================
   CAPÍTULO 1: O CONVITE
   ========================================================== */
.chapter-one {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background: var(--petrol);
    color: #fff;
    overflow: hidden;
}

.chapter-one-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(1.05) contrast(1.05);
    z-index: 0;
}

.chapter-one-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.chapter-one-content h1 {
    font-size: clamp(2.8rem, 10vw, 5.6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.chapter-one-content .sub {
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    font-weight: 300;
    opacity: 0.7;
    max-width: 480px;
    margin: 0 auto 2.8rem;
    letter-spacing: 0.03em;
}

.chapter-one-content .convite {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    opacity: 0.4;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    margin-top: 0.5rem;
}
/* ==========================================================
   CAPÍTULO 2: A PERGUNTA (Nova versão)
   ========================================================== */
.chapter-two {
    padding: 8rem 1.5rem 10rem;
    background: var(--cream);
    position: relative;
    text-align: center;
}

.chapter-two .container {
    max-width: 820px;
}

.pergunta-conteudo {
    max-width: 680px;
    margin: 0 auto;
}

.pergunta-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 400;
    color: var(--petrol);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.pergunta-texto {
    font-size: 1.1rem;
    font-weight: 300;
    color: #4a5f66;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.pergunta-final {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--terracotta);
    line-height: 1.3;
    letter-spacing: -0.02em;
    padding-top: 2rem;
    border-top: 1px solid rgba(196, 122, 90, 0.15);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   CAPÍTULO 3: OS CAMINHOS
   ========================================================== */
.chapter-three {
    padding: 6rem 1.5rem 10rem;
    background: var(--linen);
}

.chapter-three .cabeca {
    text-align: center;
    margin-bottom: 3.5rem;
}

.chapter-three .cabeca .label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.chapter-three .cabeca h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 400;
    color: var(--petrol);
    letter-spacing: -0.02em;
}

.caminhos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.card-caminho {
    background: #fff;
    border-radius: 40px 12px 40px 12px;
    overflow: hidden;
    border: 1px solid rgba(200, 180, 160, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.01);
    text-decoration: none;
    color: inherit;
}

.card-caminho:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 56px -24px rgba(53, 91, 103, 0.12);
}

.card-caminho img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #d9d0c2;
}

.card-caminho .info {
    padding: 1.5rem 1.8rem 1.8rem;
}

.card-caminho .info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--petrol);
    margin-bottom: 0.2rem;
}

.card-caminho .info p {
    font-size: 0.85rem;
    color: #4f6a72;
    opacity: 0.6;
    font-weight: 300;
}

/* ==========================================================
   CAPÍTULO 4: A PAUSA
   ========================================================== */
.chapter-four {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    background: var(--petrol);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.chapter-four-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.1);
    z-index: 0;
}

.chapter-four-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 2rem;
}

.chapter-four-content .frase {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.chapter-four-content .autor {
    margin-top: 1.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.4;
    font-weight: 300;
}

/* ==========================================================
   CAPÍTULO 5: A CARTA
   ========================================================== */
.chapter-five {
    padding: 8rem 1.5rem;
    background: var(--cream);
}

.chapter-five .container {
    max-width: 820px;
}

.carta {
    max-width: 680px;
    margin: 0 auto;
}

.carta .saudacao {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--petrol);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.carta p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #2C3A3F;
    margin-bottom: 1.6rem;
    line-height: 1.9;
}

.carta p:last-of-type {
    margin-bottom: 3rem;
}

.carta .assinatura {
    border-top: 1px solid rgba(200, 180, 160, 0.15);
    padding-top: 2.5rem;
    margin-top: 0.5rem;
}

.carta .assinatura .nome {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--petrol);
    letter-spacing: 0.02em;
}

.carta .assinatura .titulo {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--sage);
    font-weight: 300;
    margin-top: 0.2rem;
}

.carta .assinatura .linha {
    width: 60px;
    height: 1px;
    background: var(--terracotta);
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ==========================================================
   CAPÍTULO 6: LEITURAS
   ========================================================== */
.chapter-six {
    padding: 6rem 1.5rem 9rem;
    background: #fff;
}

.chapter-six .cabeca {
    text-align: center;
    margin-bottom: 3.5rem;
}

.chapter-six .cabeca .label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.chapter-six .cabeca h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--petrol);
    letter-spacing: -0.02em;
}

.leitura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.leitura-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.leitura-item:hover {
    transform: translateY(-6px);
}

.leitura-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 30px 8px 30px 8px;
    background: #ddd2c4;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
    transition: box-shadow 0.3s;
}

.leitura-item:hover img {
    box-shadow: 0 20px 36px -16px rgba(53, 91, 103, 0.06);
}

.leitura-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--petrol);
    margin-bottom: 0.15rem;
}

.leitura-item p {
    font-size: 0.85rem;
    color: #4f6a72;
    opacity: 0.6;
    font-weight: 300;
}

/* ==========================================================
   CAPÍTULO 7: O RETORNO
   ========================================================== */
.chapter-seven {
    padding: 8rem 1.5rem;
    background: var(--linen);
    text-align: center;
}

.chapter-seven .container {
    max-width: 700px;
}

.chapter-seven .frase {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 400;
    color: var(--petrol);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2.8rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
    padding: 2.5rem 2rem;
    background: var(--cream);
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--sage);
    font-weight: 300;
    border-top: 1px solid rgba(200, 180, 160, 0.06);
}

footer span {
    display: inline-block;
    margin: 0 1rem;
}

/* ==========================================================
   MOBILE - RESPONSIVO
   ========================================================== */
@media (max-width: 600px) {
    header {
        padding: 1rem 1.5rem;
    }
    
    .logo-horizontal {
        gap: 0.3rem;
    }
    
    .logo-base {
        font-size: 1rem;
    }
    
    .logo-final {
        font-size: 1.2rem;
    }
    
    .header-nav {
        gap: 1.2rem;
    }
    
    .header-nav a {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .logo-base {
        font-size: 0.85rem;
    }
    
    .logo-final {
        font-size: 1rem;
    }
    
    .header-nav {
        gap: 0.8rem;
    }
    
    .header-nav a {
        font-size: 0.55rem;
    }
}