/* ============================================
   CL Tecnologia - Custom Stylesheet
   ============================================ */

:root {
    --primary:     #1a56db;
    --primary-dark:#1342b0;
    --accent:      #f59e0b;
    --accent-dark: #d97706;
    --dark:        #0f172a;
    --dark-2:      #1e293b;
    --light-bg:    #f8fafc;
    --text-muted:  #94a3b8;
    --green:       #10b981;
    --orange:      #f59e0b;
    --purple:      #8b5cf6;
    --border:      #e2e8f0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1e293b;
    overflow-x: hidden;
}

/* ---- Utility ---- */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.section-padding { padding: 96px 0; }
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted-light { color: var(--text-muted); }
.bg-light-custom { background: var(--light-bg); }
.bg-dark-custom  { background: var(--dark); }

/* ---- Section Headers ---- */
.section-tag {
    display: inline-block;
    background: rgba(26,86,219,.1);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 99px;
    margin-bottom: .5rem;
}
.section-tag-light {
    display: inline-block;
    background: rgba(245,158,11,.15);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 99px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}
.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 600px;
    margin: .75rem auto 0;
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
    background: transparent;
    padding: 1.2rem 0;
    transition: all .35s ease;
}
#mainNav.scrolled {
    background: var(--dark);
    padding: .7rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.navbar-brand { text-decoration: none; }
.brand-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}
.brand-sub {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,.85) !important;
    font-size: .92rem;
    padding: .5rem .85rem !important;
    border-radius: 8px;
    transition: all .2s;
}
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,.08); }
.btn-nav-cta {
    background: rgba(26,86,219,.25);
    border: 1px solid rgba(26,86,219,.5);
    color: #fff !important;
}
.btn-nav-cta:hover { background: var(--primary); border-color: var(--primary); }

/* ============================================
   HERO
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(26,86,219,.25) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(245,158,11,.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-particles {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.4);
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
    padding: .4rem 1rem;
    border-radius: 99px;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

/* Stats */
.hero-stats { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; }
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); font-weight: 500; margin-top: .25rem; }
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,.15);
    align-self: stretch;
}

/* Graphic */
.hero-graphic {
    position: relative;
    width: 360px; height: 360px;
}
.graphic-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.ring-1 { width: 360px; height: 360px; animation: spin 30s linear infinite; }
.ring-2 { width: 260px; height: 260px; animation: spin 20s linear infinite reverse; }
.ring-3 { width: 160px; height: 160px; animation: spin 15s linear infinite; }
.ring-1::before, .ring-2::before, .ring-3::before {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}
.graphic-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff;
    box-shadow: 0 0 40px rgba(26,86,219,.5);
}
.floating-icon {
    position: absolute;
    width: 48px; height: 48px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
}
.fi-1 { top: 4%; left: 44%; animation: float1 5s ease-in-out infinite; }
.fi-2 { top: 44%; right: 0; animation: float2 6s ease-in-out infinite; }
.fi-3 { bottom: 4%; left: 42%; animation: float1 7s ease-in-out infinite; }
.fi-4 { top: 44%; left: 0; animation: float2 5.5s ease-in-out infinite; }

@keyframes spin  { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px);  } }

/* Scroll btn */
.scroll-down-btn {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    transition: color .2s;
}
.scroll-down-btn:hover { color: #fff; }
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-accent {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    border: none;
    transition: all .2s;
}
.btn-accent:hover { background: var(--accent-dark); color: #000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.4); }

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    transition: all .2s;
}
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,.4); }

.btn-outline-primary-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    background: transparent;
    transition: all .2s;
}
.btn-outline-primary-custom:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-whatsapp {
    display: flex; align-items: center; justify-content: center;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    padding: .85rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all .2s;
    font-size: 1rem;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

/* ============================================
   SERVIÇOS
   ============================================ */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all .3s;
    display: flex;
    gap: 1.5rem;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
    border-color: var(--primary);
}
.service-icon-wrap {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
}
.bg-blue   { background: linear-gradient(135deg, #1a56db, #1342b0); }
.bg-green  { background: linear-gradient(135deg, #10b981, #059669); }
.bg-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}
.service-content p {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: .75rem;
}
.service-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .4rem;
}
.service-list li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .85rem;
    color: #475569;
    font-weight: 500;
}
.service-list li i { color: var(--green); font-size: .9rem; flex-shrink: 0; }

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferencial-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all .3s;
}
.diferencial-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(245,158,11,.3);
    transform: translateY(-4px);
}
.diferencial-icon { font-size: 1.8rem; margin-bottom: .75rem; display: block; }
.diferencial-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.diferencial-card p  { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ============================================
   SOBRE
   ============================================ */
.about-graphic {
    position: relative;
    width: 340px; height: 320px;
}
.about-card-main {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(26,86,219,.35);
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.about-card-main i  { font-size: 2.5rem; margin-bottom: .5rem; }
.about-card-main span { font-size: 1.1rem; font-weight: 700; }
.about-card-main small { font-size: .8rem; opacity: .75; }

.about-badge {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: .5rem 1rem;
    display: flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 600; color: #0f172a;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.ab-1 { top: 0; left: -10px; }
.ab-2 { top: 0; right: -10px; }
.ab-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }

.about-highlight {
    background: linear-gradient(135deg, rgba(26,86,219,.06), rgba(245,158,11,.06));
    border-left: 4px solid var(--primary);
}

/* ============================================
   CONTATO
   ============================================ */
.contact-info-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
}
.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(26,86,219,.12);
}
.ci-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
    flex-shrink: 0;
}
.ci-label { font-size: .78rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.ci-value { font-size: .95rem; font-weight: 600; color: #1e293b; line-height: 1.4; }

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
}
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }

.footer-contact {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .75rem;
}
.footer-contact li {
    display: flex; align-items: flex-start; gap: .75rem;
    font-size: .9rem; color: var(--text-muted);
}
.footer-contact a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { flex-shrink: 0; margin-top: .15rem; }

.social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all .2s;
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 58px; height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    z-index: 1000;
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: rgba(37,211,102,.4);
    animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(1.9); opacity: 0;  }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .service-card { flex-direction: column; }
    .about-graphic { width: 280px; height: 280px; }
    .about-card-main { padding: 1.5rem; }
    .contact-form-wrap { padding: 1.5rem; }
    .hero-stats .stat-divider { display: none; }
}
