:root {
    --bg: #F5F0E1;
    --green-dark: var(--green-dark);
    --green: #8BC048;
    --green-medium: #B8E87C;
    --green-light: #eef5e1;
    --text-dark: #3e3e3e;
    --white: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
}

/* HEADER - NAVIGATION - BANNER */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

section, #lancamento {
    scroll-margin-top: 120px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--green-dark);
    text-transform: uppercase;
    line-height: 1.2;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--green-dark);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
}

/*Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    right: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--green-dark);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--green-medium);
}

.nav-links a.active {
    background-color: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-left: -1rem;
}

.pre-venda-button {
    background-color: var(--green-dark);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
    justify-self: center;
}

#lancamento {
    text-align: center;
}

.cta-button:hover {
    background-color: var(--green);
}

dialog {
  border: none;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog::backdrop {
  background: var(--text-dark);
}

dialog p {
  margin-bottom: 20px;
}

dialog button {
  padding: 10px 30px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

dialog button:hover {
  background: var(--green);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-items: flex-start;
    padding: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 70% ; 
    z-index: -1; 
    transition: all 0.3s ease;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%);
}

.hero-content {
    max-width: 600px;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--green-light);
    text-shadow: 2px 3px 2px var(--green-dark);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 3px 2px var(--green-dark);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--green-light);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #7a8c6b;
}

.btn-secondary {
    background-color: rgba(139, 157, 124, 0.3);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(139, 157, 124, 0.5);
}

/* ENERGIA VERDADEIRA */
.product-info {
    margin: 0;
    padding: 25px;
    color: var(--green-dark);
    text-align: center;
}

.container-text h3 {
    padding: 10px 20px;
    text-align: start;
    color: var(--green-dark);
}

.container-text p {
    padding: 5px 20px;
    text-align: start;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.card {
    width: 100%;
    max-width: 350px;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--green-dark);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Container para a imagem com altura fixa */
.card img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-icons {
    margin: 20px 20px 0 20px;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: var(--green-dark);
    color: var(--white);
    width: fit-content;
    font-size: 32px;
}
/*   CONTADOR */
.box {
    background: var(--bg);
    border: 3px solid var(--green-dark);
    border-radius: 16px;
    padding: 30px 20px;
    max-width: 800px;
    width: 100%;
    margin: 80px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 25px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--green-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--green-dark);
    color: var(--white);
    padding: 20px 10px;
    border-radius: 12px;
    width: calc(25% - 8px);
    min-width: 65px;
    max-width: 140px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(77, 100, 35, 0.3);
    flex: 1;
}

.countdown-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

.cta-button {
    display: block;
    margin: 0 auto;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 100, 35, 0.3);
    width: 100%;
    max-width: 350px;
}

.cta-button:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 100, 35, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* FOOTER */
footer {
    margin: 0;
    padding: 3%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-left {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-left ul{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-left: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-left li{
    color: var(--green-dark);
    list-style: none;
}

.footer-left a{
    text-decoration: none;
}

.footer-left i{
    width: 50px;
    height: 50px;
    background-color: var(--green-medium);
    border: 2px solid var(--green-dark);
    color: var(--green-dark);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-right {
    color: var(--text-dark);
    padding: 0 5px;
    text-align: center;
}

.footer-right h4 {
    color: var(--green-dark);
    margin-bottom: 15px;
}

.footer-bottom {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-bottom a{
    display: flex;
    align-content: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: smaller;
}

/* ------------ MEDIA QUERIES ---------------*/
@media (max-width: 800px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-bg {
        filter: brightness(0.5);
    }
}

/* Tablet */
@media (min-width: 768px) {

    section, #lancamento {
    scroll-margin-top: 90px;
}

    .hero {
        min-height: 100vh;
        width: 100%;
        aspect-ratio: 1101/796;
        background-size: cover;
        background-position: center;
    }

.hero-title {
    font-size: 4rem;
}

.hero-buttons {
    flex-direction: row;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
}

.cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
        align-items: stretch;
    }

    .card {
        width: 100%;
        max-width: none;
    }

    .card img {
        height: 220px;
    }

.box {
    padding: 40px 30px;
    border-radius: 20px;
}

.header {
    margin-bottom: 30px;
}

.badge {
    font-size: 13px;
    padding: 7px 18px;
    margin-bottom: 18px;
}

h1 {
    font-size: 38px;
}

.subtitle {
    font-size: 16px;
}

.countdown {
    gap: 15px;
    margin: 35px 0;
}

.countdown-item {
    padding: 25px 15px;
    border-radius: 14px;
    width: calc(25% - 12px);
}

.countdown-number {
    font-size: 44px;
    margin-bottom: 7px;
}

.countdown-label {
    font-size: 11px;
}

.cta-button {
    font-size: 15px;
    padding: 17px 45px;
    width: auto;
}

footer {
    margin: 0;
    padding: 3%;
    display: grid;
    grid-template-columns: 2;
    grid-template-rows: 2;
    gap: 10px;
}

.footer-left {
    padding: 0;
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    justify-self: center;
}

.footer-left ul{
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding-left: 5px;
}

.footer-left li{
    color: var(--green-dark);
    list-style: none;
}

.footer-left a{
    text-decoration: none;
}

.footer-left i{
    width: 50px;
    height: 50px;
    background-color: var(--green-medium);
    border: 2px solid var(--green-dark);
    color: var(--green-dark);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-right {
    grid-column: 2;
    grid-row: 1;
    align-content: center;
    color: var(--text-dark);
    padding-left: 5px;
}

.footer-right h4 {
    color: var(--green-dark);
}

.footer-bottom {
    margin: 0;
    padding-top: 30px;
    grid-column: 1/3;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a{
    display: flex;
    align-content: center;
    justify-content: end;
    color: var(--text-dark);
    justify-content: end;
    text-decoration: none;
    font-size: smaller;
}
}

/* Desktop */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        align-content: center;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        gap: 2rem;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-links a.active {
        margin-left: 0;
    }

    .hero {
        padding: 4rem;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

 .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 25px;
    }

    .card img {
        height: 200px;
    }

    .header {
        margin-bottom: 35px;
    }

    .badge {
        font-size: 14px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 48px;
    }

    .subtitle {
        font-size: 18px;
    }

    .countdown {
        gap: 20px;
        margin: 40px 0;
    }

    .countdown-item {
        padding: 30px 20px;
        border-radius: 16px;
        width: calc(25% - 15px);
    }

    .countdown-number {
        font-size: 56px;
        margin-bottom: 8px;
    }

    .countdown-label {
        font-size: 12px;
    }

    .cta-button {
        font-size: 16px;
        padding: 18px 50px;
    }
}