:root {
    --primary: #DFA22B;
    --primary-dark: #090909;
    --primary-bright: #FFD875;
    --secondary: #F6B836;
    --gold-deep: #9C6711;
    --gold-soft: #FFF4D2;
    --gold-line: rgba(246, 184, 54, 0.35);
    --dark: #111111;
    --black: #000000;
    --text: #27231B;
    --muted: #6F6759;
    --light: #FFFCF5;
    --surface: #FFFFFF;
    --surface-warm: #F8F0E1;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 244, 210, 0.42), transparent 280px),
        var(--light);
    padding-top: 92px;
    line-height: 1.65;
}

h1,
h2,
h3 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: var(--dark);
    letter-spacing: 0;
}

p {
    margin-bottom: 14px;
}

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

/* HEADER */
.header {
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--gold-line);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 92px;
    padding: 0;
    position: relative;
}

.logo {
    height: 156px;
    width: auto;
    display: block;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 14px;
    z-index: 2;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
}

/* MENU */
.nav {
    margin: 0 0 0 auto;
    padding-left: 240px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav a {
    margin-left: 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.86);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.25s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--primary-bright), var(--secondary));
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-bright);
}

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

.insta {
    width: 20px;
    filter: grayscale(1) brightness(2.5);
    opacity: 0.86;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.nav a:hover .insta {
    filter: none;
    opacity: 1;
}

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

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

/* HERO */
.hero {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 117, 0.26) 0, rgba(223, 162, 43, 0.11) 34%, transparent 58%),
        linear-gradient(135deg, #000000 0%, #17120A 48%, #050505 100%);
    color: white;
    text-align: center;
    padding: 72px 0 68px;
    border-bottom: 4px solid var(--secondary);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 760px;
    margin: 10px auto 0;
}

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

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin: 5px;
    display: inline-block;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn.primary,
.btn.secondary {
    background: linear-gradient(135deg, var(--primary-bright), var(--secondary) 54%, var(--gold-deep));
    color: var(--black);
    box-shadow: 0 10px 22px rgba(156, 103, 17, 0.24);
}

.btn.secondary {
    background: transparent;
    color: var(--gold-deep);
    border-color: var(--gold-line);
    box-shadow: none;
}

.hero .btn.secondary,
.cookie-content .btn.secondary {
    color: var(--primary-bright);
}

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

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

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

.section.light {
    background: var(--surface-warm);
    border-top: 1px solid rgba(156, 103, 17, 0.12);
    border-bottom: 1px solid rgba(156, 103, 17, 0.12);
}

.section h2 {
    margin-bottom: 20px;
}

.section h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--gold-deep), var(--primary-bright));
}

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

.card-metodo {
    background: var(--surface);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(156, 103, 17, 0.16);
    border-top: 5px solid var(--secondary);
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.card-metodo:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.16);
    background: var(--black);
    color: var(--white);
}

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

.card-metodo:hover strong {
    color: var(--primary-bright);
}

.card-metodo:nth-child(1) {
    border-top-color: #C0871D;
}

.card-metodo:nth-child(2) {
    border-top-color: #D99B25;
}

.card-metodo:nth-child(3) {
    border-top-color: #E8B54B;
}

.card-metodo:nth-child(4) {
    border-top-color: #B77916;
}

.card-metodo:nth-child(5) {
    border-top-color: #FFD875;
}

.card-metodo:nth-child(6) {
    border-top-color: #C9952F;
}

.card-metodo:nth-child(7) {
    border-top-color: #F6B836;
}

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

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

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

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

.book img {
    max-width: 200px;
    margin-bottom: 15px;
    filter: drop-shadow(0 14px 24px rgba(17, 17, 17, 0.16));
    transition: transform 0.3s ease;
}

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

/* FOOTER */
.footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 20px 0;
    border-top: 5px solid var(--secondary);
}

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

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

/* HERO LIVROS */
.hero-livros {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 117, 0.24), transparent 52%),
        linear-gradient(135deg, #000000, #1F1608, #0B0B0B);
}

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

.book-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--surface);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(156, 103, 17, 0.16);
    border-top: 5px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.book-card img {
    max-width: 220px;
    border-radius: 6px;
    filter: drop-shadow(0 16px 28px rgba(17, 17, 17, 0.16));
}

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

.book-subtitle {
    font-style: italic;
    color: var(--muted);
    margin-bottom: 15px;
}

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

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

/* APLICATIVOS */
.hero-aplicativos {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 117, 0.24), transparent 52%),
        linear-gradient(135deg, #000000, #241907, #080808);
}

.app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.app-links .btn {
    margin-left: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.app-card {
    background:
        linear-gradient(180deg, rgba(255, 244, 210, 0.46), transparent 190px),
        var(--surface);
    border: 1px solid rgba(156, 103, 17, 0.18);
    border-top: 5px solid var(--secondary);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.app-card h3 {
    font-size: 1.65rem;
}

.app-card p {
    margin-bottom: 0;
}

.app-card ul {
    margin: 4px 0 8px 18px;
    color: var(--text);
}

.app-card li {
    margin-bottom: 6px;
}

.app-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.app-logo {
    display: block;
    max-width: 230px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.app-logo-financas,
.app-logo-agenda {
    max-width: 210px;
    background: rgba(255, 252, 245, 0.92);
    border: 1px solid rgba(156, 103, 17, 0.16);
    border-radius: 20px;
    filter: contrast(0.92) drop-shadow(0 8px 16px rgba(17, 17, 17, 0.08));
    opacity: 0.92;
}

.app-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gold-line);
    border-radius: 999px;
    color: var(--gold-deep);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
}

/* COMUNIDADE */
.hero-comunidade {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 117, 0.2), transparent 52%),
        linear-gradient(135deg, #151009, #000000);
}

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

.community-list li {
    background: var(--surface);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

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

.community-list li:nth-child(1) {
    border-color: #C0871D;
}

.community-list li:nth-child(2) {
    border-color: #D99B25;
}

.community-list li:nth-child(3) {
    border-color: #E8B54B;
}

.community-list li:nth-child(4) {
    border-color: #F6B836;
}

/* CONTATO */
.hero-contato {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 117, 0.2), transparent 52%),
        linear-gradient(135deg, #000000, #211707, #080808);
}

.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 rgba(156, 103, 17, 0.28);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    resize: none;
    background: var(--surface);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(246, 184, 54, 0.18);
}

.lgpd-check {
    font-size: 0.95rem;
    color: var(--muted);
}

.success-msg {
    background: #F8F0E1;
    color: #4D3209;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(156, 103, 17, 0.28);
    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: var(--muted);
    margin-bottom: 30px;
}

.politica-container h2 {
    margin-top: 30px;
    font-size: 1.4rem;
}

.politica-container p,
.politica-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

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

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

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

/* COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--black);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    border-top: 1px solid var(--gold-line);
}

.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: rgba(255, 255, 255, 0.82);
}

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

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

/* MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 74px;
    }

    .header .container {
        min-height: 74px;
        padding: 0;
    }

    .logo {
        height: 112px;
        top: 8px;
    }

    .menu-toggle {
        margin-left: auto;
    }

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

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

    .nav.active {
        right: 0;
    }

    .nav a {
        margin-left: 0;
        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 {
        padding: 56px 0 52px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .grid-metodo {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .book-card {
        flex-direction: column;
        text-align: center;
    }

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

    .app-links {
        justify-content: center;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }

    .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%;
    }
}

@media (max-width: 460px) {
    .grid-metodo {
        grid-template-columns: 1fr;
    }

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

    .books {
        flex-direction: column;
    }
}
