:root {
    --bg-cream: #F5F4F0; 
    --green-dark: #40503C; 
    --green-light: #8BA67E; 
    --text-dark: #222222;
    --text-gray: #444444;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Reset Global para impedir vazamentos */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    max-width: 100%; 
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-gray);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Impede a rolagem lateral acidental */
}

.container { width: 90%; max-width: 1150px; margin: 0 auto; }

img { max-width: 100%; height: auto; }

/* --- HEADER --- */
header { 
    background-color: var(--bg-cream); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: nowrap;
}

.logo { display: flex; align-items: center; }
.logo img { 
    height: 70px; 
    width: 70px;
    border-radius: 50%; 
    object-fit: cover;
    flex-shrink: 0; 
} 

nav ul { list-style: none; display: flex; gap: 20px; align-items: center;} 
nav a { text-decoration: none; color: var(--text-dark); font-size: 0.9rem; font-weight: 600; transition: 0.3s;} 
nav a:hover { color: var(--green-light); }

.btn-dark-header { 
    background-color: var(--green-dark); 
    color: white; 
    padding: 10px 20px;
    border-radius: 6px; 
    font-size: 0.9rem; 
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.btn-dark-header:hover { background-color: #2a3528; }

/* Botão Hamburger (Escondido no PC) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; 
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--green-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}
.mobile-only-btn { display: none; }

/* --- BANNER HERO --- */
.metodo-hero {
    position: relative;
    width: 100%;
    height: 60vh; 
    min-height: 450px;
    background-image: url('../img/banner-metodo.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.metodo-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(245, 244, 240, 0.3); 
    z-index: 1;
}

.metodo-hero-content {
    position: relative;
    z-index: 2;
    color: var(--green-dark);
    padding: 0 15px;
    width: 100%;
}

.metodo-hero-pre {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: -5px;
    font-style: normal;
    color: var(--green-dark);
}

.metodo-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 5rem); 
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--green-dark);
    line-height: 1.1;
}

.ornament { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 25px; }
.line-img { width: 80px; height: auto; object-fit: contain; }
.heart-icon { width: 35px; height: auto; object-fit: contain; }

.metodo-hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
}

/* --- SEÇÃO PRINCIPAL UNIFICADA --- */
.metodo-principal-section {
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.metodo-bg-image {
    position: absolute;
    top: 0;
    right: -100px;
    width: 100%;
    height: 100%;
    background-image: url('../img/leaf-outline.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 800px;
    opacity: 0.15; 
    z-index: 1;
    pointer-events: none;
}

.relative-container { position: relative; z-index: 2; }

/* --- PARTE SUPERIOR (LÓTUS + TEXTO) --- */
.metodo-top-split {
    display: flex;
    align-items: center;
    gap: 80px; 
    margin-bottom: 80px; 
}

.metodo-lotus-col {
    flex: 0.4; 
    display: flex;
    justify-content: center;
}

.lotus-big-icon {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    animation: flutuar 6s ease-in-out infinite; 
}

@keyframes flutuar {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.metodo-text-col { flex: 0.6; }

.metodo-overline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.metodo-title { 
    font-size: clamp(2.5rem, 8vw, 4.2rem); 
    line-height: 1.1; 
    margin-bottom: 30px; 
    color: var(--green-dark); 
    font-family: var(--font-serif);
    font-weight: 400;
}

.metodo-title em { color: var(--green-light); font-style: italic; }

.metodo-desc { 
    font-size: 1.25rem; 
    color: var(--text-gray); 
    line-height: 1.6; 
    margin-bottom: 25px; 
    font-weight: 500;
}

/* --- PARTE INFERIOR (GRID/TABELA) --- */
.metodo-bottom-grid {
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto; 
}

.metodo-grid { display: grid; grid-template-columns: 1fr 1fr; }

.grid-item {
    background-color: #EBECE5; 
    padding: 35px 30px;
    text-align: left;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    line-height: 1.4;
    font-weight: 500;
    border-bottom: 1px solid #D9DACF; 
}

.grid-item:nth-child(odd) { border-left: 3px solid var(--green-light); }
.grid-item:nth-child(even) { border-left: 2px solid #D9DACF; }
.grid-item:nth-last-child(1),
.grid-item:nth-last-child(2) { border-bottom: none; }


/* --- FOOTER --- */
footer { 
    background-color: var(--green-dark); 
    color: #A3ACA0; 
    padding: 25px 0; 
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-align: center;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-family: var(--font-serif); font-size: 1.1rem; color: white; }
.footer-left .text-green { color: var(--green-light); font-style: italic; }
.footer-center { display: flex; gap: 30px; }
.footer-center a { color: #A3ACA0; text-decoration: none; text-transform: uppercase; transition: 0.3s; }
.footer-center a:hover { color: white; }
.footer-right { text-transform: uppercase; }

/* ========================================= */
/* --- MEDIA QUERIES (RESPONSIVIDADE) --- */
/* ========================================= */

@media (max-width: 992px) {
    /* Ativa Menu Hambúrguer */
    .hamburger { display: flex; }
    .desktop-only-btn { display: none; }
    .mobile-only-btn { display: block; margin-top: 20px; }
    
    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-cream);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding-top: 100px;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    .desktop-nav.active { right: 0; }
    
    nav ul { flex-direction: column; align-items: center; gap: 25px; }
    nav a { font-size: 1.2rem; }

    /* Animação do X no Hambúrguer */
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Layout da Página Método */
    .metodo-top-split { flex-direction: column; text-align: center; gap: 40px; }
    .metodo-grid { grid-template-columns: 1fr; }
    
    /* Na tabela 1 coluna, todos os itens ganham a borda verde */
    .grid-item:nth-child(even) { border-left: 3px solid var(--green-light); }
    .grid-item:nth-last-child(2) { border-bottom: 1px solid #D9DACF; }

    /* Footer */
    .footer-content { flex-direction: column; gap: 20px; }
    .footer-center { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
    .metodo-hero-pre { font-size: 2rem; }
    .metodo-hero-subtitle { font-size: 1.1rem; padding: 0 10px; }
    .metodo-desc { font-size: 1.1rem; text-align: left; padding: 0 10px; }
    .metodo-title { text-align: left; padding: 0 10px; }
    .metodo-overline { text-align: left; padding: 0 10px; }
}