/* ===========================================================
   RCELO — Soluções em Tecnologia
   Folha de estilo compartilhada (paleta baseada no logotipo)
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue: #0A84E2;
  --blue-d: #0066c4;
  --teal: #00B2B4;
  --teal-d: #008f91;
  --orange: #FD7C24;
  --orange-d: #e86a13;

  --ink: #15161B;
  --ink-soft: #2a2d36;
  --bg: #F5F7FB;
  --card: #ffffff;
  --line: #e7eaf1;
  --muted: #6b7280;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 10px 25px -5px rgba(16, 24, 40, .10), 0 8px 10px -6px rgba(16, 24, 40, .08);
  --shadow-lg: 0 25px 50px -12px rgba(16, 24, 40, .22);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.18rem; font-weight: 700; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

.grad-text {
  background: linear-gradient(90deg, var(--blue), var(--teal) 55%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  padding: 13px 24px; border-radius: 14px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #000; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -6px rgba(10,132,226,.5); }
.btn-blue:hover { background: var(--blue-d); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 20px -6px rgba(253,124,36,.5); }
.btn-orange:hover { background: var(--orange-d); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 20px -6px rgba(0,178,180,.45); }
.btn-teal:hover { background: var(--teal-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfd5e1; }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 20px -6px rgba(37,211,102,.5); }
.btn-wa:hover { background: #1ebe5a; }
.btn-ml { background: #FFE600; color: #2d3277; box-shadow: 0 10px 20px -6px rgba(255,230,0,.5); }
.btn-ml:hover { background: #f5dd00; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  min-height: 72px; height: auto; padding-top: 10px; padding-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.site-header .header-brand {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center;
}
.brand-logo { height: 38px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.brand-logo.tall { height: 46px; max-width: min(280px, 100%); }
.nav { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.back-home {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem;
  color: var(--muted); flex-shrink: 0; white-space: nowrap;
}
.back-home:hover { color: var(--ink); }
.back-home svg { flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd3dc; padding: 50px 0 34px; }
.site-footer .container { display: flex; flex-direction: column; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-hex { height: 40px; flex-shrink: 0; }
.foot-name { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.foot-name span { color: var(--muted); font-weight: 500; display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.foot-col a:not(.foot-social), .foot-col p { display: block; color: #aeb4c0; font-size: .92rem; margin-bottom: 7px; }
.foot-col a:not(.foot-social):hover { color: #fff; }
.foot-col .foot-socials {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
  gap: 14px; margin: 4px 0 0; width: fit-content;
}
.foot-col .foot-socials .foot-social {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 23px; height: 23px; padding: 0; margin: 0; border: none; background: none;
  color: #aeb4c0; line-height: 0; vertical-align: middle;
  transition: color .2s ease;
}
.foot-col .foot-socials .foot-social:hover { color: #fff; }
.foot-col .foot-socials .foot-social svg { width: 23px; height: 23px; max-width: 23px; max-height: 23px; flex-shrink: 0; display: block; }
.foot-col .foot-socials .foot-social--ig:hover { color: #f77737; }
.foot-col .foot-socials .foot-social--pin:hover { color: #e60023; }
.foot-bottom { border-top: 1px solid #2a2d36; padding-top: 20px; font-size: .82rem; color: #8b909c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utils ---------- */
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 100px;
}
.tag-blue { background: rgba(10,132,226,.12); color: var(--blue-d); }
.tag-teal { background: rgba(0,178,180,.14); color: var(--teal-d); }
.tag-orange { background: rgba(253,124,36,.14); color: var(--orange-d); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .section { padding: 60px 0; }
  .back-home-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .back-home {
    width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0;
    border-radius: 12px; border: 1px solid var(--line); background: #fff;
  }
  .brand-logo.tall { height: 40px; max-width: min(240px, 72vw); }
  .header-actions .btn { padding: 10px 14px; font-size: .86rem; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .site-header .container { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .brand-logo.tall { height: 36px; max-width: min(200px, 68vw); }
}
@media (max-width: 420px) {
  .header-actions .btn { display: none; }
  .brand-logo.tall { max-width: calc(100vw - 88px); }
}
