/* =============================================
   AM Technologies — style.css
   ============================================= */

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

:root {
  --blue-900: #0A1628;
  --blue-800: #0D1F3C;
  --blue-700: #1565C0;
  --blue-600: #1976D2;
  --blue-500: #1E88E5;
  --blue-400: #42A5F5;
  --blue-200: #90CAF9;
  --blue-100: #BBDEFB;
  --blue-50:  #EBF3FD;
  --slate:    #78909C;
  --slate-d:  #546E7A;
  --slate-l:  #90A4AE;
  --gray-bg:  #F5F7FA;
  --border:   rgba(0,0,0,0.10);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1A2332; background: #fff; font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

/* ── TOPBAR ── */
.topbar { background: var(--blue-900); padding: 7px 2.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--slate); }
.topbar a { color: var(--slate); }
.topbar a:hover { color: #fff; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 1.25rem; }
.tb-item { display: flex; align-items: center; gap: 5px; }

/* ── NAVBAR ── */
.nav { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--border); padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; height: 64px; box-shadow: 0 2px 12px rgba(10,22,40,0.07); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -0.5px; }
.nav-logo-text { font-size: 17px; font-weight: 600; color: var(--blue-900); letter-spacing: -0.3px; }
.nav-logo-text span { color: var(--blue-700); font-weight: 400; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; color: #4A5568; display: flex; align-items: center; gap: 4px; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-700); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tel { font-size: 13px; color: var(--slate-d); }
.nav-cta { background: var(--blue-700); color: #fff; border: none; padding: 9px 20px; border-radius: var(--radius-md); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue-600); }

/* ── HERO ── */
.hero { background: var(--blue-900); padding: 80px 2.5rem 72px; display: flex; align-items: center; gap: 3.5rem; min-height: 460px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(21,101,192,0.22) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 40%; bottom: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(30,136,229,0.10) 0%, transparent 70%); pointer-events: none; }
.hero-text { flex: 1; position: relative; z-index: 1; }
.hero-badge { background: rgba(21,101,192,0.22); border: 1px solid rgba(30,136,229,0.35); color: var(--blue-200); font-size: 12px; padding: 5px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 1.5rem; }
.hero h1 { font-size: 40px; font-weight: 600; color: #fff; line-height: 1.18; margin-bottom: 1.1rem; letter-spacing: -0.5px; }
.hero h1 em { color: var(--blue-400); font-style: normal; }
.hero p { font-size: 15.5px; color: var(--slate-l); line-height: 1.78; max-width: 510px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--blue-700); color: #fff; border: none; padding: 12px 26px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--slate-l); border: 1px solid rgba(255,255,255,0.18); padding: 12px 26px; border-radius: var(--radius-md); font-size: 14px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero-visual { flex: 0 0 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.hc { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11); border-radius: var(--radius-lg); padding: 18px 16px; transition: background 0.2s; }
.hc:hover { background: rgba(255,255,255,0.10); }
.hc-icon { font-size: 24px; margin-bottom: 8px; }
.hc-lbl { font-size: 10.5px; color: var(--slate); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.hc-val { font-size: 18px; font-weight: 500; color: #fff; }

/* ── SECTIONS ── */
.sec { padding: 64px 2.5rem; }
.sec-alt { background: var(--gray-bg); }
.sec-dark { background: var(--blue-900); }
.sec-label { font-size: 11px; color: var(--blue-700); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; font-weight: 600; }
.sec-dark .sec-label { color: var(--blue-400); }
.sec-title { font-size: 26px; font-weight: 600; margin-bottom: 10px; line-height: 1.28; letter-spacing: -0.3px; }
.sec-dark .sec-title { color: #fff; }
.sec-sub { font-size: 14.5px; color: #667080; margin-bottom: 2.5rem; max-width: 530px; line-height: 1.72; }
.sec-dark .sec-sub { color: var(--slate); }

/* ── DIFERENCIAIS ── */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
.diff-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 18px; background: #fff; transition: box-shadow 0.2s; }
.diff-card:hover { box-shadow: 0 4px 20px rgba(21,101,192,0.10); }
.diff-icon { width: 44px; height: 44px; background: var(--blue-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.diff-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.diff-card p { font-size: 13px; color: #667080; line-height: 1.65; }

/* ── PRODUTOS ── */
.prod-tabs { display: flex; gap: 8px; margin-bottom: 1.75rem; flex-wrap: wrap; }
.prod-tab { padding: 7px 18px; border-radius: 20px; font-size: 13px; border: 1px solid var(--border); cursor: pointer; background: transparent; color: #667080; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.prod-tab:hover { border-color: var(--blue-700); color: var(--blue-700); }
.prod-tab.active { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: border-color 0.2s, box-shadow 0.2s; }
.prod-card:hover { border-color: var(--blue-700); box-shadow: 0 4px 20px rgba(21,101,192,0.10); }
.prod-img { width: 100%; height: 118px; background: var(--blue-50); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 40px; }
.prod-num { font-size: 10px; color: var(--blue-700); margin-bottom: 4px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }
.prod-name { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.prod-desc { font-size: 13px; color: #667080; line-height: 1.65; margin-bottom: 14px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag { font-size: 11px; background: var(--blue-50); color: var(--blue-700); padding: 3px 10px; border-radius: 20px; font-weight: 500; }

/* ── OPERAÇÕES ── */
.ops-tabs { display: flex; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; width: fit-content; margin-bottom: 1.75rem; }
.ops-tab { padding: 9px 22px; font-size: 13px; cursor: pointer; border: none; background: transparent; color: #667080; border-right: 1px solid var(--border); font-family: 'Inter', sans-serif; transition: all 0.2s; }
.ops-tab:last-child { border-right: none; }
.ops-tab:hover { background: var(--blue-50); color: var(--blue-700); }
.ops-tab.active { background: var(--blue-700); color: #fff; }
.ops-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .ops-content { grid-template-columns: 1fr; } }
.ops-img { background: var(--blue-50); border-radius: var(--radius-lg); height: 240px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.ops-text h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.2px; }
.ops-text p { font-size: 14px; color: #667080; line-height: 1.75; margin-bottom: 10px; }
.ops-link { font-size: 14px; color: var(--blue-700); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.ops-link:hover { color: var(--blue-600); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2.5rem; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.stat-val { font-size: 32px; font-weight: 600; color: #fff; letter-spacing: -0.5px; }
.stat-unit { font-size: 14px; color: var(--blue-400); }
.stat-lbl { font-size: 12px; color: var(--slate); margin-top: 5px; line-height: 1.4; }

/* ── CASOS ── */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; cursor: pointer; background: #fff; transition: all 0.2s; }
.case-card:hover { background: var(--blue-50); border-color: var(--blue-700); }
.case-icon { font-size: 28px; margin-bottom: 8px; }
.case-name { font-size: 13px; font-weight: 600; }
.case-desc { font-size: 11.5px; color: #667080; margin-top: 4px; line-height: 1.4; }

/* ── SERVE ── */
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
.serve-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; background: #fff; transition: box-shadow 0.2s; }
.serve-card:hover { box-shadow: 0 4px 20px rgba(21,101,192,0.10); }
.serve-letter { width: 38px; height: 38px; background: var(--blue-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: var(--blue-700); margin-bottom: 14px; }
.serve-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.serve-card p { font-size: 12.5px; color: #667080; line-height: 1.65; margin-bottom: 12px; }
.serve-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.serve-list li { font-size: 12px; color: #667080; display: flex; align-items: flex-start; gap: 6px; }
.serve-list li::before { content: '✓'; color: var(--blue-700); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

/* ── PARTNERS ── */
.partners-strip { background: var(--gray-bg); padding: 32px 2.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { font-size: 11px; color: #8A97A8; text-align: center; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.2px; }
.partners-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.partner-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 9px 20px; font-size: 12.5px; font-weight: 500; color: #667080; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--blue-700); padding: 56px 2.5rem; text-align: center; }
.cta-banner h2 { font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 10px; letter-spacing: -0.3px; }
.cta-banner p { font-size: 15px; color: var(--blue-100); margin-bottom: 1.75rem; }
.cta-banner button { background: #fff; color: var(--blue-700); border: none; padding: 13px 30px; border-radius: var(--radius-md); font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: opacity 0.2s; }
.cta-banner button:hover { opacity: 0.92; }

/* ── FOOTER ── */
.footer { background: var(--blue-900); padding: 56px 2.5rem 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-logo { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: -0.3px; }
.footer-logo span { color: var(--blue-400); font-weight: 400; }
.footer-tagline { font-size: 13px; color: var(--slate-d); line-height: 1.72; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--slate); font-size: 15px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.social-btn:hover { border-color: var(--blue-400); color: var(--blue-400); }
.footer-col h5 { font-size: 10.5px; color: var(--blue-400); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: var(--slate-d); transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: #37474F; }
