/* ============================================================
   Ponto Mais Informática — Folha de estilos principal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Syne:wght@600;700&display=swap');

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

:root {
  --blue:    #0f4c81;
  --blue-l:  #1a6cb5;
  --accent:  #00b4d8;
  --dark:    #0d1b2a;
  --gray:    #f4f6f9;
  --text:    #1a2332;
  --muted:   #6b7280;
  --white:   #ffffff;
  --green:   #10b981;
  --radius:  10px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); font-size: 15px; line-height: 1.6; background: var(--white); }
.container { max-width: 1060px; margin: 0 auto; padding: 0 1.5rem; }
.bg-gray { background: var(--gray); }
section { padding: 4.5rem 0; }

/* NAV */
#navbar { background: var(--dark); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.nav-logo { font-family: 'Syne', sans-serif; font-size: 18px; color: #fff; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13.5px; padding: 6px 12px; border-radius: 6px; transition: all .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { background: var(--accent) !important; color: var(--dark) !important; font-weight: 600 !important; border-radius: 7px !important; }

/* HERO */
#hero { background: linear-gradient(135deg, var(--dark) 0%, #0f3460 100%); padding: 5.5rem 0 4.5rem; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-badge { display: inline-block; background: rgba(0,180,216,.15); color: var(--accent); border: 1px solid rgba(0,180,216,.3); border-radius: 20px; font-size: 12px; font-weight: 500; padding: 5px 14px; margin-bottom: 1.5rem; }
.hero-title { font-family: 'Syne', sans-serif; font-size: clamp(2rem,5vw,2.8rem); color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.hero-title span { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 560px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--accent); color: var(--dark); font-weight: 600; padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: all .2s; }
.btn-primary:hover { background: #00c8f0; transform: translateY(-1px); }
.btn-outline { display: inline-block; background: transparent; color: #fff; font-weight: 500; padding: 12px 24px; border-radius: 8px; border: 1px solid rgba(255,255,255,.28); cursor: pointer; font-size: 14px; text-decoration: none; transition: all .2s; }
.btn-outline:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* STATS */
.stats-bar { background: var(--gray); border-bottom: 1px solid #e5e7eb; }
.stats-inner { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; padding: 1.5rem 0; }
.stat { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--blue); }
.stat-label { font-size: 12px; color: var(--muted); }

/* SECTION TAGS */
.section-tag { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: .5rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.5rem,3vw,2rem); color: var(--dark); margin-bottom: .75rem; line-height: 1.25; }
.section-sub { color: var(--muted); max-width: 520px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-top: 2.5rem; }
.svc-card { background: var(--gray); border-radius: var(--radius); padding: 1.5rem; border: 1px solid #e9ecef; transition: all .2s; }
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-icon { font-size: 1.6rem; margin-bottom: .875rem; }
.svc-title { font-weight: 600; font-size: 14.5px; margin-bottom: .35rem; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* SOBRE */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-list { list-style: none; margin-top: 1.25rem; }
.about-list li { padding: 6px 0; padding-left: 18px; position: relative; font-size: 14px; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.about-card { background: linear-gradient(135deg, var(--blue) 0%, #0f3460 100%); border-radius: 16px; padding: 2.5rem; text-align: center; color: #fff; }
.about-card-icon { font-size: 3rem; margin-bottom: 1rem; }
.about-card h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: .5rem; }
.about-card p { font-size: 13.5px; opacity: .75; }
.about-nums { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.about-nums div { text-align: center; }
.about-nums strong { display: block; font-family: 'Syne', sans-serif; font-size: 1.4rem; }
.about-nums span { font-size: 12px; opacity: .65; }

/* CHAMADOS */
.chamados-tabs { display: flex; gap: 6px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn { padding: 8px 18px; border-radius: 8px; border: 1px solid #dde1e7; background: var(--white); font-size: 13.5px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .15s; }
.tab-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* FORM CHAMADO */
.chamado-form { background: var(--white); border: 1px solid #e9ecef; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 9px 12px; border-radius: 7px; border: 1px solid #dde1e7; font-size: 13.5px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--gray); transition: border-color .15s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.fg textarea { height: 100px; resize: vertical; }
.alert-success { background: #d1fae5; color: #065f46; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 1rem; border: 1px solid #6ee7b7; }
.alert-erro { background: #fee2e2; color: #991b1b; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 1rem; }
.hidden { display: none !important; }

/* CONSULTA */
.consulta-box { background: var(--white); border: 1px solid #e9ecef; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.consulta-box label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
.consulta-row { display: flex; gap: 10px; }
.consulta-row input { flex: 1; padding: 9px 12px; border-radius: 7px; border: 1px solid #dde1e7; font-size: 14px; font-family: 'DM Sans', sans-serif; }
.consulta-row input:focus { outline: none; border-color: var(--accent); }
#consulta-resultado { margin-top: 1.25rem; }
.resultado-card { background: var(--gray); border-radius: 8px; border: 1px solid #e9ecef; padding: 1rem; }
.resultado-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #eee; font-size: 13.5px; }
.resultado-row:last-child { border-bottom: none; }
.badge { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 10px; }
.badge-aberto { background: #dbeafe; color: #1d4ed8; }
.badge-andamento { background: #fef3c7; color: #92400e; }
.badge-fechado { background: #d1fae5; color: #065f46; }

/* WHATSAPP TAB */
.wa-box { text-align: center; padding: 3rem 2rem; background: var(--white); border: 1px solid #e9ecef; border-radius: var(--radius); box-shadow: var(--shadow); }
.wa-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.wa-box h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; margin-bottom: .5rem; }
.wa-box p { color: var(--muted); font-size: 14px; max-width: 440px; margin: 0 auto 1.5rem; }
.btn-wa { display: inline-block; background: #25d366; color: #fff; font-weight: 600; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-size: 14.5px; transition: background .15s; }
.btn-wa:hover { background: #128c7e; }
.wa-box small { display: block; margin-top: .875rem; color: var(--muted); font-size: 13px; }

/* CONTATO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.25rem; font-size: 13.5px; }
.contact-item span { font-size: 1.3rem; }
.contact-item strong { display: block; font-weight: 500; color: var(--dark); }
.contact-item p { color: var(--muted); margin-top: 2px; }
.contact-cta { background: var(--blue); border-radius: 14px; padding: 2rem; text-align: center; color: #fff; }
.contact-cta div { font-size: 2.5rem; margin-bottom: .75rem; }
.contact-cta h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; margin-bottom: .5rem; }
.contact-cta p { font-size: 13.5px; opacity: .75; margin-bottom: 1.25rem; }
.contact-cta .btn-primary { display: block; width: 100%; text-align: center; }

/* FOOTER */
footer { background: var(--dark); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .875rem; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 15px; color: #fff; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); text-align: center; }

/* RESPONSIVO */
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .stats-inner { gap: 1.5rem; }
}
