/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-principal: #0A3D62;
    --azul-claro: #1B6CA8;
    --verde-principal: #2ECC71;
    --verde-escuro: #27AE60;
    --branco: #FFFFFF;
    --fundo-institucional: #0b1224;
    --cinza-claro: #f4f6f8;
    --texto-escuro: #1a1a2e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--texto-escuro);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--fundo-institucional);
    padding: 0 2rem;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo img {
    height: 50px;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.navbar-links a {
    color: var(--branco);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-principal);
    transition: width 0.3s;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-links a:hover {
    color: var(--verde-principal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--branco);
    transition: all 0.3s;
}

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

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

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(11, 28, 45, 0.85), rgba(11, 28, 45, 0.85)), url('images/bg_destaque.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 2rem 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150vw;
    height: 150vh;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(46, 204, 113, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(27, 108, 168, 0.15) 0%, transparent 40%);
    top: -25%;
    left: -25%;
    animation: bg-drift 20s linear infinite alternate;
    pointer-events: none;
}

@keyframes bg-drift {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(5deg) scale(1.05);
    }
}

/* ===== GLOBE ANIMATION ===== */
.hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(500px, 60vw, 900px);
    height: clamp(500px, 60vw, 900px);
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
    opacity: 0.2;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(46, 204, 113, 0.4),
        0 0 100px rgba(10, 61, 98, 0.2);
}

.hero-globe::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="500" viewBox="0 0 1000 500"><path fill="%232ECC71" d="M100,200 Q150,150 200,200 T300,200 T400,200 T500,200 T600,200 T700,200 T800,200 T900,200 T1000,200 L1000,300 Q950,350 900,300 T800,300 T700,300 T600,300 T500,300 T400,300 T300,300 T200,300 T100,300 Z" opacity="0.3"/><circle fill="%232ECC71" cx="150" cy="150" r="5"/><circle fill="%232ECC71" cx="350" cy="250" r="8"/><circle fill="%232ECC71" cx="550" cy="180" r="6"/><circle fill="%232ECC71" cx="750" cy="280" r="4"/><circle fill="%232ECC71" cx="850" cy="120" r="7"/><circle fill="%232ECC71" cx="250" cy="350" r="10"/><circle fill="%232ECC71" cx="450" cy="400" r="5"/><circle fill="%232ECC71" cx="650" cy="380" r="9"/><circle fill="%232ECC71" cx="850" cy="420" r="6"/><circle fill="%232ECC71" cx="950" cy="250" r="4"/></svg>');
    background-repeat: repeat-x;
    background-size: 50% 100%;
    animation: rotate-globe 40s linear infinite;
    filter: blur(1px);
}

.hero-globe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

@keyframes rotate-globe {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 3.5rem;
    padding: 0.5rem;
    background: transparent;
    border-radius: 40px;
    border: none;
    box-shadow: none;
    animation: hero-logo-float 6s ease-in-out infinite;
}

.hero-logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

.hero-logo {
    width: clamp(280px, 50vw, 600px);
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.hero-logo-container:hover .hero-logo {
    transform: scale(1.03);
}

@keyframes hero-logo-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--verde-principal);
    font-weight: 600;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-text-content {
    background: rgba(11, 28, 45, 0.6);
    padding: 3rem;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto 3.5rem;
    max-width: 900px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero p:last-child {
    margin-bottom: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--verde-principal);
    color: var(--branco);
    padding: 1.4rem 4rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-cta:hover {
    background: var(--verde-escuro);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px rgba(46, 204, 113, 0.5);
}

.hero-cta svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    z-index: 2;
}

.scroll-mouse {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 5px;
    height: 9px;
    background: var(--verde-principal);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: 100px 2rem;
}

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

.section-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: var(--verde-escuro);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-text {
    font-size: 1.05rem;
    color: #555;
    max-width: 700px;
    line-height: 1.8;
}

/* ===== O QUE COMPRAMOS ===== */
.compramos {
    background: var(--cinza-claro);
}

.compramos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.compramos-card {
    background: var(--branco);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(10, 61, 98, 0.06);
}

.compramos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.08);
}

.compramos-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-claro));
    display: flex;
    align-items: center;
    justify-content: center;
}

.compramos-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--branco);
}

.compramos-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-principal);
    margin-bottom: 0.3rem;
}

.compramos-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== COMO FUNCIONA ===== */
.como-funciona {
    background: var(--branco);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-escuro));
    color: var(--branco);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-principal);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: #666;
}

.step-connector {
    display: none;
}

@media (min-width: 900px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 50px;
        right: -1rem;
        width: 2rem;
        height: 2px;
        background: rgba(46, 204, 113, 0.3);
    }

    .step:last-child .step-connector {
        display: none;
    }
}

/* ===== EXCEDENTES (Compra) ===== */
.excedentes {
    background: linear-gradient(135deg, var(--fundo-institucional), var(--azul-principal));
    color: var(--branco);
}

.excedentes .section-tag {
    background: rgba(46, 204, 113, 0.15);
    color: var(--verde-principal);
}

.excedentes .section-title {
    color: var(--branco);
}

.excedentes .section-text {
    color: rgba(255, 255, 255, 0.8);
}

.garantias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.garantia-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s;
}

.garantia-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.garantia-item svg {
    width: 36px;
    height: 36px;
    fill: var(--verde-principal);
    margin-bottom: 1rem;
}

.garantia-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.garantia-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ===== VENDA DESCONTO ===== */
.venda-desconto {
    background: var(--cinza-claro);
}

.venda-desconto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.busca-list {
    list-style: none;
    margin-top: 2rem;
}

.busca-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(10, 61, 98, 0.08);
    font-size: 1rem;
    color: #444;
}

.busca-list li:last-child {
    border-bottom: none;
}

.busca-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-escuro));
    display: flex;
    align-items: center;
    justify-content: center;
}

.busca-check svg {
    width: 16px;
    height: 16px;
    fill: var(--branco);
}

.venda-highlight {
    background: var(--branco);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(10, 61, 98, 0.06);
    text-align: center;
}

.venda-highlight-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.venda-highlight-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--branco);
}

.venda-highlight h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 1rem;
}

.venda-highlight p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--azul-principal);
    color: var(--branco);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--azul-claro);
    transform: translateY(-2px);
}

/* ===== ESTOQUE PARADO ===== */
.estoque-parado {
    background: var(--branco);
}

.estoque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.estoque-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(10, 61, 98, 0.06);
    transition: all 0.3s;
}

.estoque-item:hover {
    border-color: var(--verde-principal);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.1);
}

.estoque-item svg {
    width: 40px;
    height: 40px;
    fill: var(--azul-claro);
    margin-bottom: 1rem;
}

.estoque-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-principal);
}

/* ===== SOBRE NOS ===== */
.sobre {
    background: linear-gradient(135deg, var(--azul-principal), var(--fundo-institucional));
    color: var(--branco);
}

.sobre .section-tag {
    background: rgba(46, 204, 113, 0.15);
    color: var(--verde-principal);
}

.sobre .section-title {
    color: var(--branco);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.sobre-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.sobre-value {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.sobre-value:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sobre-value svg {
    width: 32px;
    height: 32px;
    fill: var(--verde-principal);
    margin-bottom: 0.8rem;
}

.sobre-value h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.sobre-slogan {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--verde-principal);
}

/* ===== CTA FINAL ===== */
.cta-section {
    background: var(--verde-principal);
    text-align: center;
    padding: 80px 2rem;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--branco);
    color: var(--azul-principal);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-white svg {
    width: 22px;
    height: 22px;
    fill: var(--verde-principal);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--fundo-institucional);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 0.85rem;
}

.footer .footer-tagline {
    color: var(--verde-principal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--branco);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .venda-desconto-content,
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-values {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--fundo-institucional);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 70px 1.5rem;
    }

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

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

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

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

    .sobre-values {
        grid-template-columns: 1fr;
    }

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

    .hero-logo-container {
        padding: 1.5rem;
        border-radius: 25px;
        margin-bottom: 2.5rem;
    }

    .hero-logo {
        width: 250px;
    }

    .hero-text-content {
        padding: 1.5rem;
    }

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

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}