/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fcfcfc;
    color: #333;
}

a {
    text-decoration: none;
}

/* Header Top */
.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    background-color: #fff;
    overflow: hidden;
}

.header-top img {
    height: 200px;
}

/* Navigation */
.navbar {
    background-color: #0F2A4A;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: #27ae60;
}

.btn-nav {
    background-color: #27ae60;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: #1e8449;
}

/* Banner */
.banner {
    width: 100%;
    position: relative;
    display: flex;
    height: 400px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-content-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42%;
    z-index: 10;
}


.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    padding-right: 40px;
}

.banner-content h2 {
    color: #fff;
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
}

.banner-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 90%;
}

.btn-banner {
    background-color: #27ae60;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    align-self: center;
    transition: 0.3s;
}

.btn-banner:hover {
    background-color: #1e8449;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-card img {
    height: 50px;
    margin-bottom: 20px;
    object-fit: contain;
}

.feature-card h3 {
    color: #0F2A4A;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 800;
}

.feature-card p {
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
    flex-grow: 1;
    max-width: 200px;
    font-weight: 500;
}

.btn-feature {
    background-color: #27ae60;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    transition: 0.3s;
}

.btn-feature:hover {
    background-color: #1e8449;
}

/* Catálogo Section */
.catalogo-section {
    padding: 80px 20px;
    background-color: #f2f2f2;
}

.tabs-container {
    width: 100%;
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-link {
    background-color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #0F2A4A;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.tab-link:hover, .tab-link.active {
    background-color: #27ae60;
    color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.grid-catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.catalogo-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #27ae60;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalogo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.catalogo-card h4 {
    color: #0F2A4A;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 800;
}

.catalogo-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.catalogo-aviso {
    margin-top: 50px;
    text-align: center;
    background: #0F2A4A;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
}

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

/* Footer */
.footer {
    background-color: #0F2A4A;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.footer-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.footer-info {
    display: flex;
    gap: 20px;
}

.footer-info span {
    font-weight: bold;
}

/* Fix for iOS auto-linking phone numbers */
a[href^="tel"], a[href^="sms"] {
    color: inherit;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.footer-social a:hover img {
    opacity: 0.8;
}

/* WhatsApp Float */
@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { -webkit-transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { -webkit-transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Ponta de Estoque */
.ponta-estoque {
    padding: 60px 20px;
    background-color: #fff;
}
.linha-cosmetica {
    padding: 60px 20px;
    background-color: #fcfcfc;
}
.container-ponta {
    max-width: 1100px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 38px;
    color: #0F2A4A;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #27ae60;
    margin: 15px auto 0;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 25px auto 40px auto;
    line-height: 1.6;
}
.section-footer-text {
    text-align: center;
    font-size: 16px;
    color: #555;
    max-width: 800px;
    margin: 40px auto 0 auto;
    line-height: 1.6;
    font-weight: 500;
}
.grid-oportunidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.oportunidade-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.oportunidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.oportunidade-card.destaque {
    border: 1px solid #27ae60;
}
.card-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 25px;
    height: 55px;
}
.product-icon {
    display: flex;
    justify-content: center;
    width: 100%;
}
.product-icon img {
    height: 55px;
    width: auto;
    object-fit: contain;
}
.badge-discount {
    position: absolute;
    right: 15px;
    top: 15px;
    background-color: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 10;
}
.product-category {
    background-color: #f8f9fa;
    color: #0F2A4A;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    align-self: center;
    border: 1px solid #eaeaea;
    margin-bottom: 20px;
}
.product-name {
    color: #0F2A4A;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}
.product-details {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}
.btn-product {
    background-color: #0F2A4A;
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
    display: block;
}
.btn-product:hover {
    background-color: #0a1c32;
}

/* Como Funciona */
.como-funciona {
    padding: 80px 20px;
    background-color: #fff;
}
.grid-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.step-card {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.step-number {
    width: 60px;
    height: 60px;
    background-color: #0F2A4A;
    color: #25d366;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(15, 42, 74, 0.2);
}
.step-title {
    font-size: 18px;
    color: #0F2A4A;
    font-weight: 800;
    margin-bottom: 15px;
}
.step-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-container {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        padding-top: 20px;
    }
    .nav-links.active {
        display: flex;
    }
}
@media (max-width: 768px) {
    .banner-content-wrapper {
        width: 100%;
        background: rgba(15, 42, 74, 0.75);
    }
    .banner-content {
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
        text-align: center;
    }
    .banner-content h2 {
        font-size: 32px;
    }
    .section-title {
        font-size: 26px;
        word-break: break-word;
    }
    .banner-content p {
        font-size: 14px;
        max-width: 100%;
    }
    
    .grid-oportunidades {
        grid-template-columns: 1fr;
    }
    .grid-steps, .grid-catalogo {
        grid-template-columns: 1fr;
    }
    .features {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    footer {
        padding-bottom: 90px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .footer-info {
        flex-direction: column;
        gap: 10px;
    }
    .footer-social {
        justify-content: center;
        margin-left: 25px;
    }
    
    .tabs-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .tab-link {
        white-space: nowrap;
    }
}
