/* style.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;900&display=swap');

:root {
    --primary: #1d3029; /* verde escuro */
    --green-btn: #2e5e2e; /* verde botão */
    --green-light: #5a9a3a; /* verde destaque */
    --bg-white: #fbfbf8; /* fundo geral (bege claro / branco) */
    --bg-mint: #f0f7f2; /* fundo seções */
    --bg-bege: #f5f0e8; /* fundo seções */
    --cta-orange: #e85d2a; /* botão CTA oferta */
    --learn-bg: #7a9e8a; /* Caixa o que você vai aprender */
    --white: #ffffff;
    --text-dark: #1d3029;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.2s ease, background-color 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    will-change: transform;
    transform: translateZ(0);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.btn, button {
    cursor: pointer;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

h1 { font-size: 2rem; }
h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1d3029;
    margin-bottom: 20px;
}
h3 { font-size: 1.3rem; }

p { margin-bottom: 15px; }

.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-600 { font-weight: 600; }
.font-900 { font-weight: 900; }
.text-green-light { color: var(--green-light); }
.text-green { color: var(--green-btn); }
.text-dark-green { color: var(--primary); }
.text-dark { color: #111; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.85rem; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-inline-block { display: inline-block; }
.block { display: block; }

.subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 20px;
    font-weight: 600;
}

/* Layout & Sections */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

.b-white { background-color: var(--bg-white); }
.b-mint { background-color: var(--bg-mint); }
.b-bege { background-color: var(--bg-bege); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--primary); }

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--green-btn);
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(46, 94, 46, 0.3);
    border: none;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #244b24;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.primary-cta {
    background-color: var(--cta-orange);
    box-shadow: 0 4px 15px rgba(232, 93, 42, 0.35);
    font-size: 1.2rem;
    padding: 20px 48px;
}

.primary-cta:hover {
    background-color: #d15123;
    box-shadow: 0 8px 20px rgba(232, 93, 42, 0.45);
}

.oferta-cta {
    background-color: var(--cta-orange);
    box-shadow: 0 4px 15px rgba(232, 93, 42, 0.3);
    font-size: 1.2rem;
    padding: 22px 56px;
    width: 100%;
}

.oferta-cta:hover {
    background-color: #d15123;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* 0. BANNER */
.top-banner {
    background-color: #d13229;
    color: var(--white);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
}
.top-banner p { margin: 0; display: inline-block; }

/* 1. HERO */
.logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 32px;
}
.hero-sub {
    font-size: 1rem;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #444;
}
.hero-img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    flex-wrap: wrap;
}

/* 2. DORES */
.label {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}
.card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
}

/* 3. SOLUÇÃO */
.lead-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}
.mockup-img {
    max-width: 500px;
    margin-bottom: 30px;
}
.learn-box {
    background-color: var(--learn-bg);
    padding: 30px;
    border-radius: 12px;
    max-width: 600px; margin-bottom: 30px;
}
.learn-box ul {
    list-style: none;
}
.learn-box li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.border-r-16 { border-radius: 16px; }

/* 4. SALADAS */
.grid-saladas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.salada-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: left;
}
.salada-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.salada-card .info {
    padding: 20px;
}
.salada-card h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
}
.molho {
    color: var(--green-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 5px;
}
.fire-badge {
    background: #fff0e5;
    color: #e85d2a;
}

/* 5. PÁGINAS DO EBOOK */
.scroll-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    margin: 30px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.scroll-grid::-webkit-scrollbar { height: 8px; }
.scroll-grid::-webkit-scrollbar-track { background: #e1e1e1; border-radius: 10px; }
.scroll-grid::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 10px; }

.no-radius-grid img {
    flex: 0 0 calc(80%);
    scroll-snap-align: center;
}

/* 6. MOLHOS */
.grid-molhos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.align-top {
    text-align: left;
    padding: 0;
    overflow: hidden;
}
.align-top img {
    border-radius: 12px 12px 0 0;
    margin-bottom: 20px;
    width: 100%;
}
.align-top h3 {
    color: #2e5e2e;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 20px;
}
.align-top p {
    font-size: 0.88rem;
    padding: 0 20px 20px 20px;
}

/* 7. & 8. BÔNUS E DEPOIMENTOS */
.img-grid img {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.img-grid a:hover img {
    transform: translateY(-5px);
}
.border-radius-grid img {
    border-radius: 12px;
}

/* 9. OFERTA */
.oferta {
    background-color: var(--primary);
    padding: 80px 0;
}
.oferta-card {
    max-width: 480px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.mockup-oferta {
    max-width: 300px;
}
.check-list {
    list-style: none;
}
.check-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 0.95rem;
}
.check-list li:last-child {
    border-bottom: none;
}
.old-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}
.price-big {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
    color: #2e5e2e !important;
}

/* 10. SOBRE */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.linha-verde {
    width: 40px;
    height: 3px;
    background-color: #2e5e2e;
    border: none;
    margin-bottom: 16px;
}

/* 11. FAQ */
.max-w-700 { max-width: 700px; margin: 0 auto; }
.accordion { margin-top: 30px; }
details {
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}
summary {
    padding: 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--green-light);
}
details[open] summary::after {
    content: '−';
}
details p {
    padding: 15px 0 0 0;
    margin: 0;
    color: #555;
}

/* 12. FOOTER */
.footer {
    padding: 40px 20px;
    background-color: var(--primary);
}
.logo-footer { max-width: 160px; opacity: 1; }
.footer p { color: #fff; opacity: 0.7; font-size: 0.85rem; }

/* REsponsividade Mobile/Tablet até Desktop */
@media (min-width: 768px) {
    h1 { font-size: 2.8rem; }
    
    .grid-saladas { grid-template-columns: repeat(2, 1fr); }
    .grid-molhos { grid-template-columns: repeat(2, 1fr); }
    
    .no-radius-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .no-radius-grid img { flex: none; }
    
    .sobre-grid {
        display: flex;
        flex-direction: row;
        gap: 48px;
    }
    .sobre-grid img {
        width: 45%;
        border-radius: 16px;
        flex-shrink: 0;
    }
    .sobre-grid .texto {
        width: 55%;
    }
}

@media (min-width: 1024px) {
    .grid-saladas { grid-template-columns: repeat(4, 1fr); }
    .grid-molhos { grid-template-columns: repeat(3, 1fr); }
}
