:root {
    --primary: #1F4F3A;
    /* verde mais elegante */
    --secondary: #C9A24D;
    /* dourado */
    --accent: #E7E3D8;
    /* bege claro */
    --dark: #1E1E1E;
    --text: #3A3A3A;
    --light: #FAFAF7;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    padding-top: 90px;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}


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

/* HEADER */
.header {
    background: white;
    border-bottom: 1px solid #eee;

    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Header quando rola */
.header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    height: 100px;
    position: fixed;
    top: 20px;
}

/* MENU */
.nav {
    margin: 20px auto;
}

.nav-list {
    padding-top: 10px;
    display: flex;
    list-style: none;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;

    position: relative;
    padding-bottom: 5px;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--primary);
    margin: 2.5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {

    .logo {
        height: 50px;
        position: relative;
        top: 0;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        margin: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.3rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

}


/* HERO */
.hero {
    background: linear-gradient(135deg, #1F4F3A, #14392A);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    opacity: 1;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}


/* BUTTONS */
.buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn.primary,
.btn.secondary {
    background: var(--secondary);
    color: white;
}

.btn.primary:hover,
.btn.secondary:hover {
    background: #b38d3c;
    color: var(--primary);
    transform: translateY(-2px);
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section.light {
    background: var(--light);
}

.section h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* MÉTODO */
.grid-metodo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card-metodo {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-metodo:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: var(--secondary);
}

.card-metodo strong {
    font-size: 2rem;
    color: var(--primary);
}

.card-metodo span {
    font-size: 1rem;
}

/* Faz o último ocupar a linha inteira */
.card-metodo.acompanhar {
    grid-column: span 3;
}

/* Responsivo */
@media (max-width: 768px) {
    .grid-metodo {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-metodo.acompanhar {
        grid-column: span 2;
    }
}


/* LIVROS */
.books {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.book {
    flex: 1;
    text-align: center;
}

.book img {
    max-width: 200px;
    margin-bottom: 15px;
}

.book:hover img {
    transform: translateY(6px);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 20px 0;
}
.insta{
    width: 20px;
    /* position: fixed;
    bottom: 20px;
    left: 20px; */
}


/* *************************************************** */
/* *********************LIVROS************************ */
/* *************************************************** */

/* HERO LIVROS */
.hero-livros {
    background: linear-gradient(135deg, #14392A, #1F4F3A);
}

/* GRID DE LIVROS */
.books-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.book-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.book-card img {
    max-width: 220px;
    border-radius: 6px;
}

.book-info h3 {
    font-size: 1.8rem;
}

.book-subtitle {
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

.book-desc {
    margin-bottom: 20px;
}

.book-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 768px) {
    .book-card {
        flex-direction: column;
        text-align: center;
    }

    .book-actions {
        justify-content: center;
    }
}


/* *************************************************** */
/* *********************COMUNIDADE******************** */
/* *************************************************** */

/* HERO COMUNIDADE */
.hero-comunidade {
    background: linear-gradient(135deg, #1F4F3A, #0F2E21);
}

/* LISTA COMUNIDADE */
.community-list {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
}

.community-list li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.community-list li:hover {
    transform: translateX(6px);
    background: var(--secondary);
}

/* *************************************************** */
/* *********************CONTATO*********************** */
/* *************************************************** */

/* HERO CONTATO */
.hero-contato {
    background: linear-gradient(135deg, #14392A, #1F4F3A);
}

/* CONTATO */
.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea {
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    resize: none;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

button {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .contato-container {
        grid-template-columns: 1fr;
    }
}

.success-msg {
    background: #e6f7ee;
    color: #1a7f5a;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #b6e2cd;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* *************************************************** */
/* *********************POLITICA*********************** */
/* *************************************************** */

.politica-container {
    max-width: 900px;
}

.politica-container h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.politica-atualizacao {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 30px;
}

.politica-container h2 {
    margin-top: 30px;
    font-size: 1.4rem;
    color: var(--primary);
}

.politica-container p,
.politica-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.politica-container ul {
    margin: 15px 0 15px 20px;
}

.politica-container a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.politica-container a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* *************************************************** */
/* *********************COOKIES*********************** */
/* *************************************************** */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #ddd;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-content .btn {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 620px){
    .lity-content{
        height: 100%;
    }
    .lity-iframe-container {
        height: 100%;
    }

    .lity-iframe .lity-container {
        height: 80%;
    } 
}