/* ============================================
   CONECTA GESTÃO EMPRESARIAL - Main Styles
   ============================================ */

:root {
    --blue-900: #0d1b2a;
    --blue-800: #0a2540;
    --blue-700: #0e3a5c;
    --blue-600: #1565c0;
    --blue-500: #1976d2;
    --blue-400: #1e88e5;
    --blue-300: #42a5f5;
    --blue-200: #90caf9;
    --blue-100: #bbdefb;
    --blue-50: #e3f2fd;
    --accent: #4fc3f7;
    --accent-dark: #0288d1;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-800);
    line-height: 1.3;
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--blue-900);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar a {
    color: var(--blue-200);
    font-size: 13px;
}
.top-bar a:hover { color: var(--accent); }
.btn-topbar {
    background: var(--blue-600);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px !important;
    font-weight: 600;
}
.btn-topbar:hover { background: var(--blue-400) !important; }
.btn-outline-topbar {
    background: transparent !important;
    border: 1px solid var(--blue-400);
}
.btn-register {
    background: var(--accent) !important;
    color: var(--blue-900) !important;
}
.btn-register:hover { background: var(--blue-300) !important; }

/* ---- NAVBAR ---- */
.navbar-main {
    background: var(--blue-800);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
    transition: var(--transition);
}
.navbar-main.scrolled {
    padding: 8px 0;
    background: rgba(10,37,64,.97);
    backdrop-filter: blur(10px);
}

/* Logo */
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--blue-600), var(--accent));
    border-radius: 12px;
    padding: 6px;
    flex-shrink: 0;
}
.logo-icon-sm { width: 36px; height: 36px; padding: 5px; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-conecta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
}
.logo-gestao {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 9px;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar-main .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.1);
}
.navbar-main .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.btn-navbar-cta {
    background: linear-gradient(135deg, var(--accent), var(--blue-400));
    color: var(--blue-900) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(79,195,247,.4);
    transition: var(--transition);
}
.btn-navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,195,247,.6);
}

.dropdown-menu-dark-custom {
    background: var(--blue-800);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: 8px;
}
.dropdown-menu-dark-custom .dropdown-item {
    color: rgba(255,255,255,.8);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    transition: var(--transition);
}
.dropdown-menu-dark-custom .dropdown-item:hover {
    background: rgba(79,195,247,.15);
    color: var(--accent);
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.3);
    padding: 6px 10px;
}
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---- LGPD BANNER ---- */
.lgpd-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(10,37,64,.97);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--accent);
    z-index: 9999;
    padding: 16px 0;
    animation: slideUp .4s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.lgpd-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.lgpd-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 280px;
}
.lgpd-icon {
    color: var(--accent);
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}
.lgpd-text strong { color: #fff; font-family: 'Montserrat', sans-serif; display: block; margin-bottom: 4px; }
.lgpd-text p { color: var(--blue-200); font-size: 13px; margin: 0; line-height: 1.5; }
.lgpd-link { color: var(--accent); text-decoration: underline; }
.lgpd-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.btn-lgpd-accept {
    background: var(--accent);
    color: var(--blue-900);
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}
.btn-lgpd-accept:hover { background: var(--blue-300); transform: translateY(-1px); }
.btn-lgpd-essential {
    background: transparent;
    color: var(--blue-200);
    border: 1px solid var(--blue-400);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-lgpd-essential:hover { border-color: var(--accent); color: var(--accent); }
.btn-lgpd-config {
    background: transparent;
    color: var(--blue-300);
    border: none;
    padding: 10px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

/* ---- HERO SLIDER ---- */
.hero-slider { position: relative; height: 600px; overflow: visible; }
.swiper-hero { height: 100%; overflow: hidden; border-radius: 0; }

/* Search bar wrapper — floats over the hero/stats boundary */
.search-hero-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -32px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.slide-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}
.swiper-slide-active .slide-bg { transform: scale(1.05); }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,37,64,.85) 0%, rgba(21,101,192,.6) 100%);
}
.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 700px;
}
.slide-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--blue-900);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.slide-content h1 {
    font-size: clamp(28px, 4vw, 52px);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.slide-content p {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
    max-width: 550px;
}
.btn-slide-primary {
    background: linear-gradient(135deg, var(--accent), var(--blue-400));
    color: var(--blue-900);
    padding: 14px 32px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(79,195,247,.5);
    transition: var(--transition);
}
.btn-slide-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(79,195,247,.7);
    color: var(--blue-900);
}

.swiper-pagination-bullet { background: rgba(255,255,255,.5); width: 10px; height: 10px; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); width: 28px; border-radius: 5px; }
.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px; }

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-600);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid var(--blue-100);
}
.section-header h2 {
    font-size: clamp(26px, 3vw, 42px);
    margin-bottom: 16px;
    color: var(--blue-800);
}
.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 580px;
    margin: 0 auto;
}
.divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--blue-600), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ---- STATS ---- */
.stats-section {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    padding: 80px 0 60px; /* extra top padding for the search bar that floats above */
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    margin-top: 6px;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,.15);
    height: 60px;
}

/* ---- SERVICE CARDS ---- */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--blue-600);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-600), var(--accent));
    color: #fff;
    transform: rotate(5deg) scale(1.05);
}
.service-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue-800);
}
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ---- ANUNCIO CARDS ---- */
.anuncio-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
    width: 100%;      /* fill d-flex column width */
    display: flex;
    flex-direction: column;
}
.anuncio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.anuncio-card.visible:hover { transform: translateY(-6px); }
.anuncio-img {
    height: 200px;
    overflow: hidden;
    background: var(--blue-50);
    position: relative;
}
.anuncio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.anuncio-card:hover .anuncio-img img { transform: scale(1.05); }
.anuncio-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--blue-600);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
}
.anuncio-badge.destaque { background: #ff6f00; }
.anuncio-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.anuncio-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.anuncio-body h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--blue-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.anuncio-body p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.anuncio-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-600);
    margin-bottom: 14px;
}
.anuncio-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-50);
}
.anuncio-meta { font-size: 12px; color: var(--gray-500); }
.anuncio-meta i { margin-right: 4px; color: var(--blue-400); }
.btn-anuncio {
    background: var(--blue-600);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
.btn-anuncio:hover { background: var(--blue-400); color: #fff; }

/* ---- BLOG CARDS ---- */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-img { height: 200px; overflow: hidden; background: var(--blue-50); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-date {
    font-size: 12px;
    color: var(--blue-400);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-body h5 { font-size: 17px; margin-bottom: 10px; }
.blog-body h5 a { color: var(--blue-800); }
.blog-body h5 a:hover { color: var(--blue-400); }
.blog-body p { font-size: 14px; color: var(--gray-500); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--blue-50); }
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px; right: 28px;
    font-size: 80px;
    color: var(--blue-100);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-stars { color: #ffc107; margin-bottom: 16px; font-size: 15px; }
.testimonial-text { font-size: 15px; color: var(--gray-700); font-style: italic; line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--blue-100);
    object-fit: cover;
    border: 3px solid var(--blue-200);
}
.testimonial-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; color: var(--blue-800); }
.testimonial-company { font-size: 13px; color: var(--gray-500); }

/* ---- PARTNERS ---- */
.partner-logo {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: .6;
}
.partner-logo:hover { filter: none; opacity: 1; transform: scale(1.05); box-shadow: var(--shadow-lg); }
.partner-logo img { max-height: 55px; max-width: 150px; object-fit: contain; }

/* ---- TEAM CARDS ---- */
.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-photo {
    width: 100%; height: 260px;
    object-fit: cover;
    background: var(--blue-100);
}
.team-body { padding: 24px 20px; }
.team-name { font-size: 18px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--blue-400); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.team-social a {
    display: inline-flex;
    width: 36px; height: 36px;
    background: var(--blue-50);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    font-size: 14px;
    margin: 0 3px;
}
.team-social a:hover { background: var(--blue-600); color: #fff; }

/* ---- GALLERY ---- */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,37,64,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 30px; }

/* ---- VIDEO CARDS ---- */
.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    aspect-ratio: 16/9;
    position: relative;
}
.video-card iframe { width: 100%; height: 100%; border: none; }

/* ---- FORMS ---- */
.form-section { background: var(--gray-50); }
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--blue-700);
    margin-bottom: 6px;
}
.form-control, .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(30,136,229,.1);
}
.btn-primary-blue {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-blue:hover {
    background: linear-gradient(135deg, var(--blue-500), var(--accent));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21,101,192,.4);
}

/* ---- CONTACT INFO ---- */
.contact-info-card {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    height: 100%;
}
.contact-info-card h3 { color: #fff; margin-bottom: 30px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 46px; height: 46px;
    background: rgba(255,255,255,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-info-text strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.contact-info-text span, .contact-info-text a { color: rgba(255,255,255,.75); font-size: 14px; }
.contact-info-text a:hover { color: var(--accent); }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(79,195,247,.15), transparent 70%);
    pointer-events: none;
}
.cta-section h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 0; }

/* ---- FOOTER ---- */
.footer { background: var(--blue-900); color: var(--blue-200); }
.footer-top { padding: 70px 0 50px; }
.footer-title {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--accent);
}
.footer-desc { font-size: 14px; line-height: 1.8; color: var(--blue-200); margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-200);
    font-size: 15px;
    border: 1px solid rgba(255,255,255,.1);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--blue-900);
    border-color: var(--accent);
    transform: translateY(-3px);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--blue-200);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i { font-size: 10px; color: var(--accent); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--blue-200);
}
.footer-contact li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: var(--blue-200); }
.footer-contact a:hover { color: var(--accent); }
.newsletter-form .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    border-radius: 25px 0 0 25px;
    padding: 10px 18px;
    font-size: 13px;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form .btn { border-radius: 0 25px 25px 0; padding: 10px 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    font-size: 13px;
    color: var(--blue-300);
}
.footer-bottom a { color: var(--blue-300); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 58px; height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    background: #22c55e;
    transform: scale(1.1);
    color: #fff;
}
@keyframes pulse-whatsapp {
    0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
    50% { box-shadow: 0 6px 40px rgba(37,211,102,.8), 0 0 0 12px rgba(37,211,102,.1); }
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-900);
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%; right: -6px; transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-900);
    border-right: 0;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; right: 68px; }

/* ---- USER PANEL ---- */
.panel-sidebar {
    background: var(--blue-800);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    color: #fff;
    min-height: 500px;
}
.panel-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    background: var(--blue-600);
}
.panel-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; text-align: center; }
.panel-plan {
    display: inline-block;
    background: var(--accent);
    color: var(--blue-900);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 6px auto;
    display: block;
    text-align: center;
    width: fit-content;
    margin: 6px auto;
}
.panel-menu { list-style: none; padding: 0; margin-top: 24px; }
.panel-menu li { margin-bottom: 4px; }
.panel-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.75);
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.panel-menu a:hover, .panel-menu a.active {
    background: rgba(255,255,255,.12);
    color: #fff;
}
.panel-menu a i { width: 18px; text-align: center; color: var(--accent); }

.panel-content { padding: 0; }
.panel-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.panel-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blue-50);
    color: var(--blue-800);
}

/* ---- BADGES & PILLS ---- */
.badge-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
.badge-ativo { background: #d4edda; color: #155724; }
.badge-pendente { background: #fff3cd; color: #856404; }
.badge-expirado { background: #f8d7da; color: #721c24; }
.badge-gratuito { background: var(--blue-50); color: var(--blue-600); }
.badge-pago { background: #ffd700; color: #7a6000; }

/* ---- ALERT ---- */
.alert { border-radius: var(--radius); border: none; font-size: 14px; }
.alert-success { background: #d4f8e8; color: #0d6e3d; }
.alert-danger { background: #fde8e8; color: #7c2d12; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; position: relative; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 16px; position: relative; }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item.active { color: rgba(255,255,255,.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- B2B PRODUCTS SECTION ---- */
.b2b-section { background: var(--gray-50); }
.b2b-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.b2b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.b2b-img {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    display: flex;
    align-items: center;
    justify-content: center;
}
.b2b-img i { font-size: 56px; color: var(--blue-300); }
.b2b-body { padding: 20px; flex: 1; }
.b2b-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.b2b-body h5 { font-size: 16px; color: var(--blue-800); margin-bottom: 8px; }
.b2b-body p { font-size: 13px; color: var(--gray-500); }
.b2b-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

/* ---- ADMIN ---- */
.admin-sidebar {
    background: var(--blue-900);
    min-height: 100vh;
    padding: 0;
    position: fixed;
    width: 260px;
    left: 0; top: 0; bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: var(--transition);
}
.admin-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-nav { padding: 16px 0; }
.admin-nav-title {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    margin-top: 8px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.65);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
    color: #fff;
    background: rgba(255,255,255,.07);
    border-left-color: var(--accent);
}
.admin-nav a i { width: 20px; text-align: center; color: var(--accent); font-size: 15px; }
.admin-content {
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
    background: var(--gray-50);
}
.admin-topbar {
    background: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.admin-topbar h4 { font-size: 20px; margin: 0; color: var(--blue-800); }
.stat-card-admin {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--blue-400);
    transition: var(--transition);
}
.stat-card-admin:hover { transform: translateY(-3px); }
.stat-card-admin .stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--blue-600);
}
.stat-card-admin .stat-lbl { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.stat-card-admin .stat-icon {
    font-size: 32px;
    color: var(--blue-100);
    float: right;
    margin-top: -8px;
}

/* ---- TABLE ---- */
.table-custom { font-size: 14px; }
.table-custom thead th {
    background: var(--blue-800);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 16px;
}
.table-custom tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: var(--gray-100);
}
.table-custom tbody tr:hover { background: var(--blue-50); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .top-bar-left { display: none; }
    .top-bar-right { justify-content: center; width: 100%; }
    .hero-slider { height: 500px; }
    .slide-hero { height: 500px; }
    .search-hero-wrapper { margin-top: -28px; }
    .search-hero { max-width: 100%; }
    .stats-section { padding: 72px 0 48px; }
    section { padding: 60px 0; }
    .admin-sidebar { transform: translateX(-260px); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .stat-divider { display: none; }
}
@media (max-width: 767px) {
    .hero-slider { height: 420px; }
    .slide-hero { height: 420px; }
    .slide-content h1 { font-size: 26px; }
    .search-hero-wrapper { margin-top: -24px; }
    .search-hero { flex-wrap: wrap; gap: 4px; padding: 8px; }
    .search-hero select { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--gray-100); }
    .search-hero input { flex: 1 1 auto; }
    .stats-section { padding: 60px 0 40px; }
    .contact-form-wrapper { padding: 24px; }
    .footer-top { padding: 50px 0 30px; }
    .lgpd-content { flex-direction: column; }
    .lgpd-buttons { width: 100%; justify-content: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 22px; }
    section { padding: 50px 0; }
}
@media (max-width: 480px) {
    .logo-conecta { font-size: 15px; }
    .logo-gestao { font-size: 8px; }
    .logo-icon { width: 40px; height: 40px; }
}

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

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* B2Blue section */
.b2blue-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.b2blue-filter button {
    background: #fff;
    border: 2px solid var(--gray-200);
    color: var(--gray-500);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}
.b2blue-filter button.active,
.b2blue-filter button:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #fff;
}

/* Search bar */
.search-hero {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    max-width: 720px;
    margin: 0 auto;  /* center within .container */
}
.search-hero select, .search-hero input {
    border: none;
    outline: none;
    font-size: 14px;
    padding: 10px 16px;
    flex: 1;
    background: transparent;
    min-width: 0;
}
.search-hero select {
    border-right: 2px solid var(--gray-100);
    flex: 0 0 160px;
    font-weight: 600;
    color: var(--gray-700);
}
.search-hero button {
    background: var(--blue-600);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.search-hero button:hover { background: var(--blue-400); }
