/* ===== Agência Inova Souzza ===== */
:root {
  --navy: #0F1B3D;
  --navy-2: #18264F;
  --coral: #FF6B35;
  --ambar: #FF9F1C;
  --grad: linear-gradient(90deg, var(--coral), var(--ambar));
  --cinza: #F4F5F8;
  --linha: #E3E6EE;
  --texto: #4A5272;
  --raio: 16px;
  --sombra: 0 10px 30px rgba(15, 27, 61, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 53, .3); }
.btn--primario:hover { box-shadow: 0 12px 26px rgba(255, 107, 53, .4); }
.btn--contorno { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--contorno:hover { background: rgba(255,255,255,.08); }
.btn--pequeno { padding: 10px 20px; font-size: .88rem; }
.btn--largo { width: 100%; }

/* ===== Topo ===== */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.topo.rolou { border-color: var(--linha); box-shadow: 0 4px 20px rgba(15,27,61,.06); }
.topo__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.topo__logo img { height: 42px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--texto); }
.menu a:not(.btn):hover { color: var(--coral); }
.menu-btn { display: none; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(255,159,28,.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,107,53,.12), transparent 60%),
    var(--navy);
  color: #fff; padding: 90px 0 110px; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.selo {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(255,159,28,.14); color: var(--ambar); border: 1px solid rgba(255,159,28,.35);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.destaque { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 1.1rem; color: #C9CFE2; max-width: 560px; }
.hero__acoes { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero__provas { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: #C9CFE2; font-size: .9rem; }
.hero__provas strong { color: #fff; }

/* Painel ilustrativo */
.painel {
  background: #fff; color: var(--navy); border-radius: 20px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-1.5deg);
}
.painel__topo { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.bolinha { width: 10px; height: 10px; border-radius: 50%; background: var(--linha); }
.bolinha:nth-child(1) { background: #FF6B6B; }
.bolinha:nth-child(2) { background: #FFC94D; }
.bolinha:nth-child(3) { background: #4CD48A; }
.painel__titulo { margin-left: 10px; font-weight: 700; font-size: .85rem; color: var(--texto); }
.painel__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--cinza); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.kpi small { font-size: .68rem; color: var(--texto); font-weight: 600; }
.kpi b { font-size: 1.4rem; font-weight: 800; }
.kpi em { font-style: normal; font-size: .7rem; font-weight: 700; }
.ok { color: #1FA463; }
.alerta { color: var(--coral); }
.painel__grafico { margin: 14px 0; background: var(--cinza); border-radius: 12px; padding: 12px; }
.painel__grafico small { font-size: .7rem; color: var(--texto); font-weight: 600; }
.barras { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 10px; }
.barras i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--navy); opacity: .85; }
.barras i:nth-child(6) { background: var(--grad); opacity: 1; }
.painel__lista { list-style: none; margin: 0; padding: 0; font-size: .78rem; }
.painel__lista li { display: flex; justify-content: space-between; align-items: center; padding: 9px 4px; border-top: 1px solid var(--linha); gap: 10px; }
.tag { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag--alerta { background: #FFE9E0; color: #D9480F; }
.tag--ok { background: #E1F7EC; color: #157347; }
.tag--info { background: #E6ECFF; color: #3451B2; }

/* ===== Seções ===== */
.secao { padding: 96px 0; }
.secao--clara { background: var(--cinza); }
.secao--escura { background: var(--navy); color: #fff; }
.secao__cabeca { max-width: 680px; margin-bottom: 48px; }
.secao__cabeca p { color: var(--texto); font-size: 1.05rem; }
.secao--escura .secao__cabeca p { color: #C9CFE2; }
.sobretitulo {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}

/* Cards de soluções */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid var(--linha); border-radius: var(--raio); padding: 28px; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: transparent; }
.card p { color: var(--texto); font-size: .95rem; margin: 0; }
.card--destaque { background: var(--navy); color: #fff; border-color: var(--navy); }
.card--destaque p { color: #C9CFE2; }
.card__icone {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #FFF1EA; margin-bottom: 18px;
}
.card--destaque .card__icone { background: rgba(255,159,28,.15); }
.card__icone svg { width: 26px; height: 26px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Segmentos */
.segmentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.segmento {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--raio);
  padding: 26px; position: relative; overflow: hidden;
}
.segmento::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--grad); }
.segmento p { color: #C9CFE2; font-size: .93rem; margin: 0; }
.segmentos__nota { margin: 32px 0 0; color: #C9CFE2; }
.segmentos__nota a { color: var(--ambar); font-weight: 700; }

/* Portfólio */
.projetos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.projeto { border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.projeto:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.projeto__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cinza); border-bottom: 1px solid var(--linha); }
.projeto__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.projeto:hover .projeto__img img { transform: scale(1.03); }
.projeto__info { padding: 24px 26px 26px; }
.projeto__tag { font-size: .75rem; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; }
.projeto__info h3 { margin-top: 8px; font-size: 1.25rem; }
.projeto__info p { color: var(--texto); font-size: .95rem; }
.projeto__link { font-weight: 700; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--ambar); padding-bottom: 2px; }
.projeto__link:hover { color: var(--coral); }

/* Passos */
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.passos li { position: relative; padding-top: 8px; }
.passo__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.passos li:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 64px; right: -10px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--linha) 0 8px, transparent 8px 14px);
}
.passos p { color: var(--texto); font-size: .95rem; }

/* Sobre */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sobre__texto p { color: var(--texto); }
.diferenciais { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diferenciais li { background: #fff; border-radius: var(--raio); padding: 22px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 6px; }
.diferenciais b { font-size: 1rem; }
.diferenciais b::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--grad); margin-bottom: 12px; }
.diferenciais span { color: var(--texto); font-size: .9rem; }

/* Contato */
.contato { background: linear-gradient(180deg, #fff, var(--cinza)); }
.contato__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contato__texto p { color: var(--texto); font-size: 1.05rem; }
.contato__canais { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.contato__canais a {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--linha);
  text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff;
}
.contato__canais a:hover { border-color: var(--coral); color: var(--coral); }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--sombra); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--linha);
  background: var(--cinza); color: var(--navy); resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ambar); outline-offset: 1px; background: #fff; }
.form__erro { color: #D9480F; font-size: .88rem; margin: 0; }

/* Rodapé */
.rodape { background: var(--navy); color: #C9CFE2; padding: 40px 0; font-size: .88rem; }
.rodape__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rodape p { margin: 0; text-align: right; }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .15s;
}
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 32px; height: 32px; }

/* Animação de entrada */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .hero__inner, .sobre, .contato__inner { grid-template-columns: 1fr; }
  .painel { transform: none; max-width: 520px; }
  .cards, .segmentos { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: repeat(2, 1fr); }
  .passos li::after { display: none; }
}
@media (max-width: 760px) {
  .menu-btn {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .menu-btn span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--linha); box-shadow: 0 10px 20px rgba(15,27,61,.08);
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--linha); }
  .menu .btn { margin-top: 14px; }
  .topo__logo img { height: 36px; }
  .hero { padding: 60px 0 80px; }
  .secao { padding: 72px 0; }
  .cards, .segmentos, .passos, .diferenciais, .projetos { grid-template-columns: 1fr; }
  .painel__kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi b { font-size: 1.1rem; }
  .form { padding: 24px; }
  .rodape__inner { flex-direction: column; text-align: center; }
  .rodape p { text-align: center; }
}
