:root{
  --bg:#0b1220;
  --text:#0b1220;
  --muted:#5b6b86;
  --brand:#2f6cff;
  --brand2:#1f4bd6;
  --orange:#ff9a3c;
  --orange2:#f47b20;
  --white:#ffffff;
  --radius: 14px;

  --shadowSoft: 0 8px 20px rgba(16,24,40,.06);
  --border: 1px solid rgba(16,24,40,.10);

  /* faixas */
  --bandLight:#ffffff;
  --bandIce:#f3f7ff;
  --bandDark:#0b1220;

  /* cards escuros */
  --darkCard: rgba(255,255,255,.06);
  --darkBorder: 1px solid rgba(255,255,255,.14);

  /* gap entre faixas (>= 3 linhas) */
  --bandGap: 48px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #f6f8fc;
}
a{color:inherit; text-decoration:none}
.arrow{font-weight:1000}

/* =========================================
   LAYOUT ESTILO W4CLOUDS (miolo estreito)
   ========================================= */

/* 20% de margem em cada lado (miolo ~60%) */
.container,
.wrap{
  width: 60% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Em telas menores, não dá pra manter 20% fixo */
@media (max-width: 1200px){
  .container,
  .wrap{
    width: auto !important;
    max-width: 1120px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* =========================================
   TOPBAR
   ========================================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(16,24,40,.06);
}
.wrap{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  color:#0b1220;
}
.brand img{
  width: 132px;
  height: auto;
  display:block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}
.right{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  color:#24324a;
  font-weight: 700;
  font-size: 14px;
}
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  transition: .2s ease;
}
.nav a:hover{ background: rgba(47,108,255,.08); }
.nav a.active{
  background: rgba(47,108,255,.10);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.ctaTop{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f28a2a;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(242,138,42,.35);
  box-shadow: 0 10px 22px rgba(242,138,42,.18);
  white-space: nowrap;
}
.ctaTop:hover{filter: brightness(1.03)}

/* =========================================
   FAIXAS (seções em bandas com respiro)
   ========================================= */
.band{
  padding: 56px 0;
  margin-bottom: var(--bandGap);
}
.band:last-of-type{ margin-bottom: 0; }

.band-light{ background: var(--bandLight); }
.band-ice{ background: var(--bandIce); }
.band-dark{ background: var(--bandDark); color: #fff; }
.band-hero{ padding: 0; margin-bottom: var(--bandGap); }

/* =========================================
   TITULAÇÃO
   ========================================= */
.sectionTitle{
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -.2px;
  color:#0b1220;
}
.sectionSub{
  margin: 0 0 18px;
  color: #415171;
  max-width: 90ch;
  line-height: 1.7;
}
.sectionTitle.inverted{ color:#fff; }
.sectionSub.inverted{ color: rgba(255,255,255,.82); }

/* =========================================
   HERO
   ========================================= */
.hero{
  position: relative;
  min-height: 560px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background: #0b1220;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(19,34,74,.86), rgba(11,18,32,.78)),
    url("hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 420px at 50% 45%, rgba(255,255,255,.06), rgba(0,0,0,.35));
  pointer-events:none;
}
.heroInner{
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 !important;
}
.hero h1{
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  text-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.hero p{
  margin: 0 auto 22px;
  max-width: 78ch;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  text-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.heroActions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.badgeRow{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-weight: 800;
  font-size: 13px;
  backdrop-filter: blur(6px);
}
.pill.darkPill{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.msLogo{
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: conic-gradient(from 180deg, #00a4ef, #7fba00, #ffb900, #f25022, #00a4ef);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  flex: 0 0 auto;
}

/* =========================================
   BOTÕES
   ========================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  transition: .2s ease;
  min-width: 200px;
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09)}
.btn.primary{
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border-color: rgba(255,154,60,.25);
  color:#1b1208;
  box-shadow: 0 16px 40px rgba(244,123,32,.22);
}
.btn.primary:hover{filter: brightness(1.03)}
.btn.ghost{background: rgba(255,255,255,.06); color:#fff}
.btn.dark{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border: 1px solid rgba(31,75,214,.22);
  color:#fff;
  box-shadow: 0 16px 40px rgba(47,108,255,.18);
  min-width: 170px;
}
.btn.light{
  background:#fff;
  color:#0b1220;
  border:1px solid rgba(16,24,40,.12);
  box-shadow:none;
  min-width: 170px;
}

/* =========================================
   GRIDS / CARDS
   ========================================= */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.grid3.tight{ margin-top: 10px; }

.card{
  background:#fff;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadowSoft);
  padding: 16px;
}
.card h3{margin:0 0 6px; font-size: 16px}
.card p{margin:0; color:#5b6b86; line-height: 1.6; font-size: 14px}
.card.flat{box-shadow:none}
.card.darkCard{
  background: var(--darkCard);
  border: var(--darkBorder);
  box-shadow: none;
}
.card.darkCard h3{ color:#fff; }
.card.darkCard p{ color: rgba(255,255,255,.78); }

/* =========================================
   SERVIÇOS
   ========================================= */
.categoryGrid{display:grid; gap: 18px}
.category{
  background:#fff;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadowSoft);
  padding: 16px;
}
.categoryHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(16,24,40,.08);
  margin-bottom: 12px;
}
.categoryHeader h3{ margin:0; font-size: 18px; }
.categoryHeader p{ margin:6px 0 0; color:#5b6b86; font-size: 13.5px; }
.categoryHint{
  font-size: 12px;
  font-weight: 900;
  color:#3b4a68;
  background: rgba(47,108,255,.08);
  border: 1px solid rgba(47,108,255,.14);
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-box{
  display:block;
  background:#ffffff;
  border: var(--border);
  border-radius: 12px;
  padding: 28px 16px 14px;
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  position:relative;
  min-height: 138px;
}
.service-box:hover{
  transform: translateY(-3px);
  border-color: rgba(47,108,255,.22);
  background: #fbfdff;
}
.service-box h4{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: #0b1220;
  line-height: 1.25;
}
.service-box p{
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5b6b86;
}
.linkHint{
  font-size: 13px;
  font-weight: 900;
  color: rgba(47,108,255,.95);
}
.featured{
  border-color: rgba(244,123,32,.28);
  background: rgba(244,123,32,.05);
  padding-right: 120px;
}
.tagTop{
  position:absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244,123,32,.16);
  color: #b34b00;
  border: 1px solid rgba(244,123,32,.22);
  white-space: nowrap;
}

/* CTA box */
.sectionCTA{margin-top: 14px}
.ctaBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  padding: 14px 16px;
}
.ctaBox h4{margin:0 0 4px; font-size: 15px}
.ctaBox p{margin:0; color:#5b6b86; font-size: 13.5px}

/* Copilot split */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.pillRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================================
   CONTATO
   ========================================= */
.contactBox{
  background:#fff;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadowSoft);
  padding: 16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  align-items:start;
}
label{
  display:block;
  font-size: 13px;
  font-weight: 900;
  color:#415171;
  margin-bottom: 6px;
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,.12);
  outline:none;
  font-size: 14px;
  background: #fbfcff;
}
input:focus, textarea:focus{
  border-color: rgba(47,108,255,.45);
  box-shadow: 0 0 0 4px rgba(47,108,255,.12);
}
textarea{min-height: 120px; resize: vertical}
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mt12{margin-top: 12px}
.formActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.note{
  color:#5b6b86;
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.6;
}
.sideCards{display:grid; gap: 12px}

/* footer */
footer{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(16,24,40,.10);
  color:#5b6b86;
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 980px){
  .hero{min-height: 520px}
  .hero h1{font-size: 38px}
  .hero p{font-size: 16px}
  .services-grid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .contactBox{grid-template-columns: 1fr}
  .formGrid{grid-template-columns: 1fr}
  .featured{padding-right: 16px;}
  .split{grid-template-columns: 1fr;}
  .nav{gap: 10px}
}

/* =========================================
   AJUSTES: Cards "Sobre" (maiores e tipografia)
   ========================================= */
.aboutCards .card{
  padding: 24px;
  min-height: 170px;
}
.aboutCards .card h3{
  font-size: 18px;
  margin: 0 0 10px;
}
.aboutCards .card p{
  font-size: 15px;
  line-height: 1.7;
}

/* Em telas menores, reduz um pouco para não estourar */
@media (max-width: 980px){
  .aboutCards .card{
    min-height: 0;
    padding: 18px;
  }
  .aboutCards .card h3{ font-size: 16px; }
  .aboutCards .card p{ font-size: 14px; }
}

/* Logo responsivo - versão 3x */
@media (max-width: 768px){
  .brand img{
    width: 96px;
  }
}
