/* ============================================================
   VIMA Informatica - Site publico (rebuild sem WebAcappella)
   Mesma paleta e informacoes do site original.
   ============================================================ */

:root {
    --orange: #ff5c00;
    --orange-dark: #e65100;
    --orange-soft: #fff1e8;
    --navy: #050b3b;
    --navy-2: #121131;
    --ink: #0d0c2d;
    --text: #333333;
    --muted: #6b6b7b;
    --bg-soft: #f4f6fb;
    --white: #ffffff;
    --border: #eceef4;
    --wa-green: #25d366;
    --shadow: 0 12px 28px rgba(18, 17, 49, .12);
    --radius: 12px;
    --nav-h: 90px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }

.eyebrow {
    display: block;
    text-align: center;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
    color: var(--navy-2);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 46px;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--orange);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    transition: box-shadow .25s ease, height .25s ease;
}

.navbar.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .22); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img { height: 66px; width: auto; display: block; }

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

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
    padding: 6px 0;
    position: relative;
    transition: opacity .2s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--white);
    transition: width .25s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: var(--white);
    padding: 84px 0 100px;
    overflow: hidden;
}

/* Formas geometricas laranja (canto sup. direito) e azul (canto inf. direito) */
.hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 48%;
    background: linear-gradient(135deg, #ff7a2e 0%, var(--orange) 100%);
    clip-path: polygon(42% 0, 100% 0, 100% 100%);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 30%; height: 52%;
    background: linear-gradient(160deg, #0b1550 0%, var(--navy) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    color: var(--navy);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-subtitle {
    color: var(--orange);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-text {
    color: var(--muted);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-logo {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-logo img {
    max-width: 330px;
    margin: 0 auto;
    filter: drop-shadow(0 16px 34px rgba(5, 11, 59, .18));
}

/* ---------- BOTOES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn svg { width: 20px; height: 20px; fill: currentColor; }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 92, 0, .4);
}

.btn-wa { background: var(--wa-green); color: var(--white); }
.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- SERVICOS ---------- */
.servicos { background: var(--bg-soft); }

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

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card-icon {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img { width: 66px; height: 66px; object-fit: contain; }

.card h3 {
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card p { color: var(--text); font-size: 14.5px; }

/* ---------- BANNER WHATSAPP ---------- */
.wa-banner {
    position: relative;
    background: var(--orange);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    margin: -3% 0;
}

.wa-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 92, 0, .58);
}

.wa-banner .container { position: relative; z-index: 1; max-width: 720px; }
.wa-banner h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.wa-banner p { font-size: 17px; margin-bottom: 26px; opacity: .96; }
.wa-banner .wa-banner-sub {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 1;
}

/* ---------- QUEM SOMOS ---------- */
.quem-somos .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quem-somos .eyebrow { text-align: left; }

.quem-somos h2 {
    color: var(--navy-2);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
}

.quem-somos-text p { color: var(--text); font-size: 16px; margin-bottom: 16px; }

.quem-somos-fotos { display: flex; flex-direction: column; gap: 18px; }
.quem-somos-fotos img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- COMO CHEGAR / CONTATO ---------- */
.como-chegar {
    position: relative;
    background: var(--navy);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 110px 0;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -2.5% 0;
}

.como-chegar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 59, .88);
}

.como-chegar .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.como-chegar h2 { font-size: 28px; font-weight: 700; margin-bottom: 26px; line-height: 1.25; }

.contato-info p { margin-bottom: 16px; font-size: 16px; color: #e7e9f5; }
.contato-info .contato-sub { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.contato-info strong { color: var(--white); }
.contato-info a { color: var(--white); text-decoration: underline; }
.contato-info .ico { color: var(--orange); margin-right: 8px; }

.map-frame {
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- INSTAGRAM ---------- */
.instagram .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.instagram h2 { color: var(--navy-2); font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.instagram p { color: var(--text); font-size: 17px; margin-bottom: 22px; }
.instagram-embed iframe { width: 100%; max-width: 420px; height: 480px; border: none; border-radius: var(--radius); }

/* ---------- FORMULARIO CONTATO ---------- */
.contato-form { background: var(--bg-soft); }
.contato-form .container { max-width: 680px; }
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #dfe3ec;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, .12);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.alert-msg {
    padding: 13px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
}
.alert-ok { background: #e8f7ee; color: #1b8a4b; }
.alert-err { background: #fdecec; color: #c0392b; }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy);
    color: #d7dae8;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer h4 { color: var(--white); font-size: 18px; margin-bottom: 18px; font-weight: 700; }
.footer p, .footer li { font-size: 14.5px; line-height: 1.9; }
.footer ul { list-style: none; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--orange); }
.footer-logo { max-width: 185px; margin-top: 16px; }
.footer-copy {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    font-size: 14px;
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-float .bubble {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--wa-green);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .2s;
}
.wa-float .bubble:hover { transform: scale(1.06); }
.wa-float .bubble svg { width: 34px; height: 34px; fill: var(--white); }
.wa-float .tip {
    background: var(--wa-green);
    color: var(--white);
    padding: 9px 18px;
    border-radius: 40px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* ---------- PAGINAS INTERNAS ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, #0b1550 100%);
    color: var(--white);
    padding: 72px 0 64px;
    text-align: center;
}
.page-hero h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
}
.page-hero h1::after {
    content: "";
    display: block;
    width: 70px; height: 4px;
    background: var(--orange);
    border-radius: 2px;
    margin: 18px auto 0;
}
.page-hero-sub {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    color: #d7dae8;
}

.page-content .container { max-width: 860px; }
.page-content h2 {
    color: var(--navy-2);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 38px 0 16px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    margin: 26px 0 10px;
}
.page-content p {
    font-size: 16.5px;
    color: var(--text);
    margin-bottom: 16px;
}
.page-content ul {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}
.page-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 11px;
    font-size: 16.5px;
    color: var(--text);
}
.page-content ul li::before {
    content: "";
    position: absolute;
    left: 6px; top: 10px;
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
}
.page-content strong { color: var(--ink); }

.page-cta {
    background: var(--bg-soft);
    padding: 66px 0;
    text-align: center;
}
.page-cta h2 { color: var(--navy-2); font-size: 27px; font-weight: 700; margin-bottom: 12px; }
.page-cta p { color: var(--text); font-size: 16.5px; margin-bottom: 24px; }
.page-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}
.page-cta-info { font-size: 14.5px; color: var(--muted); margin: 0; }

.btn-outline-light {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-light:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-hero { padding: 52px 0 46px; }
    .page-hero h1 { font-size: 27px; }
    .page-content h2 { font-size: 22px; }
}

/* ---------- ANIMACAO AO ROLAR ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.servicos-grid .card:nth-child(2) { transition-delay: .08s; }
.servicos-grid .card:nth-child(3) { transition-delay: .16s; }
.servicos-grid .card:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 991px) {
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 38px; }
}

@media (max-width: 768px) {
    :root { --nav-h: 72px; }
    .nav-logo img { height: 52px; }

    .section { padding: 56px 0; }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--orange);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 14px 0; }
    .nav-links a::after { display: none; }

    .hero { padding: 46px 0 56px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero::before, .hero::after { display: none; }
    .hero-actions { justify-content: center; }
    .hero-logo { order: -1; }
    .hero-logo img { max-width: 220px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 19px; }
    .hero-text { margin-left: auto; margin-right: auto; }

    .section-title { font-size: 26px; }
    .quem-somos .container,
    .como-chegar .container,
    .instagram .container { grid-template-columns: 1fr; gap: 30px; }
    .quem-somos .eyebrow, .quem-somos h2 { text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 520px) {
    .servicos-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .wa-float .tip { display: none; }
    .hero-title { font-size: 27px; }
}
