/* =========================================================
   DDDelivery — Public Site Stylesheet
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: .9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    color: #1e293b;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 32px;
    border-radius: 14px;
    transition: transform .15s, background .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(220, 38, 38, .25);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, .35);
}

.btn-primary:active {
    transform: scale(.97);
}

.btn-full {
    width: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: .85rem;
    padding: 12px 24px;
    border-radius: 12px;
    transition: border-color .2s, background .2s, color .2s;
}

.btn-outline:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, .04);
}

/* ---------- Header ---------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #064e3b;
    /* Emerald 900 */
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: background .4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .4s;
    backdrop-filter: blur(12px);
}

#site-header.scrolled {
    background: rgba(6, 78, 59, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dcfce7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    font-size: .85rem;
    font-weight: 600;
    color: #ffffff;
    transition: opacity .2s;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: width .25s;
}

.nav-desktop a:hover {
    opacity: 0.8;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-highlight {
    color: #fbbf24 !important;
    /* Yellow/Amber 400 */
    background: rgba(251, 191, 36, 0.1);
    padding: 8px 16px;
    border-radius: 99px;
}

.nav-highlight-mobile {
    color: #fbbf24 !important;
}

.footer-highlight {
    color: #fbbf24 !important;
}

.nav-highlight::after {
    display: none !important;
}

.nav-login-btn {
    background: #ffffff !important;
    color: #16a34a !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    font-size: .8rem !important;
    transition: background .2s, transform .15s !important;
}

.nav-login-btn::after {
    display: none !important;
}

.nav-login-btn:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .3s, opacity .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);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 16px 24px 24px;
    border-top: 1px solid #f1f5f9;
}

.nav-mobile a {
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    color: #475569;
    transition: background .2s, color .2s;
}

.nav-mobile a:hover {
    background: #fef2f2;
    color: #dc2626;
}

.nav-mobile .nav-login-btn {
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-mobile.open {
        display: flex;
    }
}

/* ---------- Hero / Banner ---------- */
.hero-section {
    margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, .7) 0%, rgba(15, 23, 42, .3) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 24px;
    animation: fadeUp .6s ease-out;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.banner-content h1 span {
    color: #dc2626;
}

.banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 28px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.6rem;
    z-index: 10;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.banner-dot.active {
    background: #dc2626;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .banner-slides {
        height: 380px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: .95rem;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* ---------- Sections (shared) ---------- */
.section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
}

.section-header.light h2 {
    color: #fff;
}

.section-header.light p {
    color: rgba(255, 255, 255, .65);
}

.section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #dc2626;
    background: rgba(220, 38, 38, .08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-header.light .section-tag {
    background: rgba(220, 38, 38, .2);
}

/* ---------- Posts ---------- */
.section-posts {
    background: #f8fafc;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform .25s, box-shadow .25s;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.post-card-img-wrapper {
    cursor: pointer !important;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.post-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e2e8f0;
    transition: transform .4s ease;
}

.post-card:hover .post-card-img {
    transform: scale(1.08);
}

.post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.post-card-cat {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #dc2626;
    margin-bottom: 8px;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color .2s;
}

.cursor-pointer {
    cursor: pointer;
}

.post-card-desc {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.post-card-date {
    font-size: .75rem;
    color: #94a3b8;
    font-weight: 600;
}

.post-card-link {
    font-size: .8rem;
    font-weight: 700;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}

.post-card-link:hover {
    gap: 8px;
}

/* ---------- Post Modal ---------- */
.post-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity .3s ease;
}

.post-modal.active {
    display: flex;
    animation: fadeIn .2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.post-modal-container {
    background: #fff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    animation: modalIn .4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.post-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .2s, transform .22s;
}

.post-modal-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.modal-post-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.modal-post-body {
    padding: 40px;
}

.modal-post-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #dc2626;
    background: #fef2f2;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.modal-post-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.modal-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

@media (max-width: 768px) {
    .modal-post-img {
        height: 240px;
    }

    .modal-post-body {
        padding: 24px;
    }

    .modal-post-title {
        font-size: 1.6rem;
    }

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

/* Skeleton */
.skeleton-card {
    pointer-events: none;
}

.skeleton-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 18px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
    margin: 14px 24px;
}

.skeleton-text.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

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

/* ---------- Stats ---------- */
.section-stats {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform .25s, background .25s;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .1);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-card {
        padding: 24px 16px;
    }
}

/* ---------- Depoimentos ---------- */
.section-depoimentos {
    background: #fff;
}

.depoimentos-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.depoimentos-carousel {
    display: flex;
    gap: 24px;
    animation: scrollDepoimentos 40s linear infinite;
    width: max-content;
}

.depoimentos-carousel:hover {
    animation-play-state: paused;
}

.depoimento-card {
    min-width: 340px;
    max-width: 340px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .25s, box-shadow .25s;
}

.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.depoimento-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    background: #fff;
}

.depoimento-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.depoimento-nome {
    font-size: .85rem;
    font-weight: 700;
    color: #0f172a;
}

.depoimento-text {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.depoimento-text::before {
    content: '"';
    font-size: 1.6rem;
    color: #dc2626;
    font-weight: 800;
    line-height: 0;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes scrollDepoimentos {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .depoimento-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* ---------- Revendas ---------- */
.section-revendas {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../revendedor-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.revendas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.revendas-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 28px 20px;
    transition: transform .2s, background .2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .1);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.benefit-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .revendas-layout {
        grid-template-columns: 1fr;
    }

    .revendas-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .revendas-benefits {
        grid-template-columns: 1fr;
    }
}

/* ---------- Teste Grátis ---------- */
.section-teste {
    background: #fef2f2;
}

.teste-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.teste-info h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.teste-info h2 span {
    color: #dc2626;
}

.teste-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
}

.teste-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    font-weight: 600;
    color: #334155;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .teste-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .teste-info h2 {
        font-size: 1.8rem;
    }
}

/* ---------- Form Card (shared) ---------- */
.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .08);
    border: 1px solid #e2e8f0;
}

.form-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-card p {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 24px;
}

.site-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-msg {
    font-size: .8rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    display: none;
}

.form-msg.success {
    display: block;
    background: #dcfce7;
    color: #15803d;
}

.form-msg.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
}

/* ---------- Suporte ---------- */
.section-suporte {
    background: #f8fafc;
}

.suporte-box {
    text-align: center;
    max-width: 600px;
    padding: 48px 24px;
}

.suporte-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.suporte-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.suporte-box p {
    color: #64748b;
    margin-bottom: 28px;
}

.suporte-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ---------- Footer ---------- */
#footer {
    background: #010409;
    color: rgba(255, 255, 255, .5);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.footer-brand p {
    font-size: .85rem;
    line-height: 1.7;
    margin-top: 20px;
}

.footer-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .1);
}

.footer-col h4 {
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    font-size: .85rem;
    padding: 6px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: #10b981;
}

.footer-cta {
    color: #10b981 !important;
    font-weight: 700 !important;
    margin-top: 12px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

/* ---------- Whitelabel Section ---------- */
.section-whitelabel {
    background: #020617;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.wl-layout-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.whitelabel-info {
    max-width: 480px;
}

.section-whitelabel h2 {
    font-size: 3.5rem;
    font-weight: 950;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1;
    letter-spacing: -2px;
}

.section-whitelabel h2 span {
    display: block;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.section-lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.whitelabel-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.wl-feature {
    display: flex;
    gap: 20px;
}

.wl-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.wl-text h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.wl-text p {
    color: #94a3b8;
    font-size: .95rem;
}

/* Right Content Area (Image + CTA) */
.wl-right-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wl-dashboard-bg {
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.wl-dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Bar — attached directly below the image */
.wl-cta-bar {
    background: #10b981;
    color: #fff;
    padding: 24px 32px;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.wl-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wl-cta-text h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 2px;
    line-height: 1.2;
}

.wl-cta-text p {
    font-size: .85rem;
    opacity: 0.9;
}

.wl-cta-bar .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    background: #ef4444;
    /* Vermelho como na imagem */
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.wl-cta-bar .btn-primary:hover {
    background: #dc2626;
}

@media (max-width: 1024px) {
    .wl-layout-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-whitelabel {
        padding: 60px 0;
    }

    .section-whitelabel h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .wl-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .wl-cta-bar {
        padding: 24px;
    }

    .wl-cta-bar .btn-primary {
        width: 100%;
    }

    .section-whitelabel h2 {
        font-size: 2rem;
    }
}

/* ---------- Site Modal (General) ---------- */
.site-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.site-modal.active {
    display: flex;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    background: #fff;
    width: 100%;
    max-width: 640px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #f8fafc;
    padding: 32px 32px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-body {
    padding: 32px;
}

.modal-body.no-padding {
    padding: 0 !important;
}

.modal-body.no-padding .site-form {
    padding: 32px;
    /* Restored padding for breathing room */
}

.modal-body.no-padding .site-form .input-group,
.modal-body.no-padding .site-form .form-row {
    padding: 0;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.modal-header p {
    color: #64748b;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.shadow-emerald {
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3) !important;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Fix mobile menu green */
@media (max-width: 768px) {
    .nav-mobile a:hover {
        background: #ecfdf5;
        color: #10b981;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .5s;
}

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

/* ---------- Loading spinner ---------- */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Equipamentos / Produtos ---------- */
.section-equipamentos {
    background: #f8fafc;
    overflow: hidden;
}

.equip-list {
    display: flex;
    gap: 24px;
    width: max-content;
}

.equip-card {
    min-width: 300px;
    max-width: 300px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.equip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.equip-img-wrap {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.equip-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equip-placeholder {
    font-size: 3rem;
}

.equip-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.equip-cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #dc2626;
    margin-bottom: 8px;
}

.equip-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.equip-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.equip-price {
    margin-top: auto;
    margin-bottom: 20px;
}

.equip-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #064e3b;
    /* Matching header green */
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.equip-cta:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .equip-card {
        min-width: 260px;
        max-width: 260px;
    }
}