/* Página inicial W2 Soluções */
:root {
    --w2-primary: #164EA8;
    --w2-primary-dark: #0f3a80;
    --w2-accent: #1A9FCC;
    --w2-dark: #1e2429;
    --w2-darker: #14191d;
    --w2-gray: #94989B;
    --w2-text: #3a4047;
    --w2-light: #f4f7fb;
    --w2-white: #ffffff;
    --w2-radius: 14px;
    --w2-shadow: 0 10px 30px rgba(22, 78, 168, .10);
}

html { scroll-behavior: smooth; }
/* compensa o header fixo ao navegar pelas âncoras do menu */
section[id] { scroll-margin-top: 40px; }
body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: var(--w2-text);
    background: var(--w2-white);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--w2-dark); font-weight: 700; margin-top: 0; }
a { color: var(--w2-primary); }
a:hover, a:focus { color: var(--w2-accent); text-decoration: none; }
img { max-width: 100%; }

.w2-skip { position: absolute; left: -9999px; top: 0; }
.w2-skip:focus { left: 16px; top: 16px; z-index: 2000; background: var(--w2-white); padding: 8px 14px; border-radius: 6px; }

.w2-section { padding: 96px 0; }
.w2-section--light { background: var(--w2-light); }
.w2-eyebrow {
    display: inline-block; font-size: 26px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--w2-accent); margin-bottom: 12px;
}
.w2-title { font-size: 38px; line-height: 1.2; margin-bottom: 18px; }
.w2-lead { font-size: 18px; color: #5b6168; max-width: 720px; }
.w2-center { text-align: center; }
.w2-center .w2-lead { margin: 0 auto; }

/* Botões */
.w2-btn {
    display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 700;
    font-size: 15px; border: 2px solid transparent; transition: all .25s ease; cursor: pointer;
}
.w2-btn--primary { background: var(--w2-accent); color: var(--w2-white); }
.w2-btn--primary:hover, .w2-btn--primary:focus { background: var(--w2-white); color: var(--w2-primary); }
.w2-btn--ghost { border-color: rgba(255,255,255,.6); color: var(--w2-white); }
.w2-btn--ghost:hover, .w2-btn--ghost:focus { background: var(--w2-white); color: var(--w2-primary); }
.w2-btn--blue { background: var(--w2-primary); color: var(--w2-white); }
.w2-btn--blue:hover, .w2-btn--blue:focus { background: var(--w2-accent); color: var(--w2-white); }

/* Header */
.w2-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.97); transition: box-shadow .25s ease;
    padding: 14px 0;
}
.w2-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.w2-header .container { display: flex; align-items: center; justify-content: space-between; }
.w2-logo img { height: 88px; width: auto; }
.w2-nav { display: flex; align-items: center; gap: 28px; }
.w2-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.w2-nav ul a { color: var(--w2-dark); font-weight: 600; font-size: 15px; }
.w2-nav ul a:hover { color: var(--w2-primary); }
.w2-nav__access { display: flex; gap: 10px; }
.w2-nav__access a {
    font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
    border: 2px solid var(--w2-primary); color: var(--w2-primary);
}
.w2-nav__access a:hover { background: var(--w2-primary); color: var(--w2-white); }
.w2-nav__access a.w2-cta { background: var(--w2-primary); color: var(--w2-white); }
.w2-nav__access a.w2-cta:hover { background: var(--w2-accent); border-color: var(--w2-accent); }
.w2-burger { display: none; background: none; border: 0; font-size: 26px; color: var(--w2-primary); }

/* Hero */
.w2-hero {
    position: relative; overflow: hidden; color: var(--w2-white);
    background: radial-gradient(circle at 85% 20%, rgba(26,159,204,.45), transparent 45%),
                linear-gradient(135deg, var(--w2-darker) 0%, var(--w2-primary-dark) 55%, var(--w2-primary) 100%);
    padding: 190px 0 130px;
}
.w2-hero::after {
    content: ""; position: absolute; right: -120px; bottom: -160px; width: 480px; height: 480px;
    border-radius: 50%; border: 60px solid rgba(255,255,255,.05);
}
.w2-hero h1 { color: var(--w2-white); font-size: 54px; line-height: 1.12; margin-bottom: 24px; }
.w2-hero h1 span { color: var(--w2-accent); }
.w2-hero p { font-size: 19px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.w2-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Intro */
.w2-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.w2-intro > div { flex: 1 1 380px; }
.w2-intro__highlight {
    background: var(--w2-primary); color: var(--w2-white); border-radius: var(--w2-radius);
    padding: 40px; box-shadow: var(--w2-shadow);
}
.w2-intro__highlight h3 { color: var(--w2-white); font-size: 24px; }
.w2-intro__highlight ul { list-style: none; padding: 0; margin: 0; }
.w2-intro__highlight li { padding: 6px 0; }
.w2-intro__highlight li i { color: var(--w2-accent); margin-right: 10px; }

/* Serviços */
.w2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.w2-card {
    background: var(--w2-white); border-radius: var(--w2-radius); padding: 36px 30px;
    box-shadow: var(--w2-shadow); border-top: 4px solid transparent;
    transition: transform .25s ease, border-color .25s ease;
}
.w2-card:hover { transform: translateY(-6px); border-top-color: var(--w2-accent); }
.w2-card__icon {
    width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--w2-primary), var(--w2-accent)); color: var(--w2-white);
    font-size: 26px; margin-bottom: 22px;
}
.w2-card h3 { font-size: 20px; margin-bottom: 10px; }
.w2-card p { color: #5b6168; margin: 0; }
.w2-card__link { display: inline-block; margin-top: 16px; font-weight: 700; }
.w2-cards--wide { grid-template-columns: repeat(2, 1fr); }

/* Números */
.w2-stats { background: var(--w2-dark); color: var(--w2-white); }
.w2-stats .w2-title { color: var(--w2-white); }
.w2-stats .w2-lead { color: rgba(255,255,255,.75); }
.w2-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.w2-stat { border-left: 3px solid var(--w2-accent); padding: 6px 0 6px 22px; }
.w2-stat strong { display: block; font-size: 44px; line-height: 1.1; color: var(--w2-white); }
.w2-stat span { color: var(--w2-gray); font-size: 15px; }

/* Processo */
.w2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; counter-reset: step; }
.w2-step { position: relative; padding: 30px 26px; border-radius: var(--w2-radius); background: var(--w2-white); box-shadow: var(--w2-shadow); }
.w2-step::before {
    counter-increment: step; content: "0" counter(step);
    display: block; font-size: 36px; font-weight: 700; color: var(--w2-accent); margin-bottom: 8px;
}
.w2-step h3 { font-size: 19px; }
.w2-step p { margin: 0; color: #5b6168; }

/* Cases */
.w2-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.w2-case {
    display: flex; flex-direction: column; border-radius: var(--w2-radius); overflow: hidden;
    background: var(--w2-white); box-shadow: var(--w2-shadow); transition: transform .25s ease;
}
.w2-case:hover { transform: translateY(-6px); }
.w2-case__logo { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--w2-light); padding: 24px; }
.w2-case__logo img { max-height: 90px; width: auto; }
.w2-case__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.w2-case__body h3 { font-size: 20px; margin-bottom: 8px; }
.w2-case__body p { color: #5b6168; flex: 1; }
.w2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.w2-tags span {
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
    background: rgba(22,78,168,.08); color: var(--w2-primary);
}

/* Quem somos */
.w2-about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.w2-about > div { flex: 1 1 380px; }
.w2-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.w2-values div {
    background: var(--w2-white); border-radius: 12px; padding: 18px 20px; font-weight: 600;
    color: var(--w2-dark); box-shadow: var(--w2-shadow);
}
.w2-values i { color: var(--w2-accent); margin-right: 8px; }

/* CTA */
.w2-cta-band {
    background: linear-gradient(135deg, var(--w2-primary) 0%, var(--w2-accent) 100%);
    color: var(--w2-white); text-align: center; padding: 80px 0;
}
.w2-cta-band h2 { color: var(--w2-white); font-size: 36px; }
.w2-cta-band p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 30px; }

/* Rodapé */
.w2-footer { background: var(--w2-darker); color: rgba(255,255,255,.7); padding: 64px 0 24px; font-size: 15px; }
.w2-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.w2-footer h4 { color: var(--w2-white); font-size: 16px; margin-bottom: 16px; }
.w2-footer ul { list-style: none; padding: 0; margin: 0; }
.w2-footer li { padding: 4px 0; }
.w2-footer a { color: rgba(255,255,255,.7); }
.w2-footer a:hover { color: var(--w2-accent); }
.w2-footer__tagline { font-size: 20px; font-weight: 700; color: var(--w2-white); margin-bottom: 10px; }
.w2-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px;
}

/* WhatsApp flutuante */
.w2-whats {
    position: fixed; right: 22px; bottom: 22px; z-index: 1001; width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease;
}
.w2-whats:hover, .w2-whats:focus { color: #fff; transform: scale(1.08); }

/* Animação de entrada */
.w2-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.w2-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .w2-reveal { opacity: 1; transform: none; transition: none; }
}

/* Modais (mantém compatibilidade com o Bootstrap 3) */
.modal-content { border-radius: var(--w2-radius); border: 0; }
.modal .btn-primary { background: var(--w2-primary); border-color: var(--w2-primary); }
.modal .btn-primary:hover { background: var(--w2-accent); border-color: var(--w2-accent); }
#list_operadora { width: 100%; margin-top: 16px; }
#list_operadora th { background: var(--w2-primary); color: #fff; padding: 8px; }
#list_operadora td { padding: 6px 8px; border-bottom: 1px solid #eee; }
@media (max-width: 991px) {
    #modal-form .modal-dialog, #modal-form-operadora .modal-dialog { width: auto !important; margin: 10px; }
}

/* Responsivo */
@media (max-width: 991px) {
    .w2-burger { display: block; }
    .w2-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
        align-items: flex-start; background: var(--w2-white); padding: 20px 24px 28px;
        box-shadow: 0 12px 24px rgba(0,0,0,.08);
    }
    .w2-nav.is-open { display: flex; }
    .w2-nav ul { flex-direction: column; gap: 12px; }
    .w2-nav__access { flex-wrap: wrap; }
    .w2-cards, .w2-cases { grid-template-columns: repeat(2, 1fr); }
    .w2-stats__grid, .w2-steps { grid-template-columns: repeat(2, 1fr); }
    .w2-footer__grid { grid-template-columns: 1fr 1fr; }
    .w2-hero h1 { font-size: 42px; }
}
@media (max-width: 600px) {
    .w2-section { padding: 64px 0; }
    .w2-hero { padding: 140px 0 90px; }
    .w2-hero h1 { font-size: 32px; }
    .w2-hero p { font-size: 17px; }
    .w2-title { font-size: 28px; }
    .w2-cards, .w2-cards--wide, .w2-cases, .w2-stats__grid, .w2-steps, .w2-values, .w2-footer__grid { grid-template-columns: 1fr; }
    .w2-logo img { height: 64px; }
}
