
:root {
  --blue: #506090;
  --blue-900: #0E2A47;
  --green: #B0C070;
  --wine: #805070;

  --bg: #ffffff;
  --alt: #F4F6F9;
  --text: #111827;
  --muted: rgba(17, 24, 39, 0.72);
  --border: rgba(17, 24, 39, 0.10);

  --shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: calc(20px + env(safe-area-inset-left));
  padding-right: calc(20px + env(safe-area-inset-right));
}

.muted { color: var(--muted); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand__logo {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: rgba(17, 24, 39, 0.76);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover {
  background: rgba(82, 101, 140, 0.08);
  color: rgba(17, 24, 39, 0.92);
}
.nav a.is-active {
  background: rgba(82, 101, 140, 0.12);
  color: rgba(17, 24, 39, 0.92);
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.icon-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: rgba(17, 24, 39, 0.78);
}
.icon-link:hover {
  background: rgba(17, 24, 39, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { filter: brightness(.96); }
.btn--secondary {
  background: rgba(175, 188, 120, 0.22);
  color: rgba(17, 24, 39, 0.92);
  border-color: rgba(175, 188, 120, 0.5);
}
.btn--secondary:hover { background: rgba(175, 188, 120, 0.28); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: rgba(17, 24, 39, 0.88);
}
.btn--ghost:hover {
  background: rgba(82, 101, 140, 0.08);
  border-color: rgba(82, 101, 140, 0.20);
}
.btn--link {
  height: auto;
  padding: 0;
  border: 0;
  text-decoration: underline;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.75);
}
.btn--link:hover { color: rgba(17, 24, 39, 0.92); }

.hero {
  position: relative;
  padding: 76px 0 30px;
  background:
    radial-gradient(1200px 520px at 20% 0%, rgba(82, 101, 140, 0.20), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(175, 188, 120, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(14, 42, 71, 0.05), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(82, 101, 140, 0.90);
  background: rgba(82, 101, 140, 0.10);
  border: 1px solid rgba(82, 101, 140, 0.16);
  padding: 10px 12px;
  border-radius: 999px;
}
h1 {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 18px;
  font-size: 18px;
  color: rgba(17, 24, 39, 0.78);
  max-width: 58ch;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
}

.hero__panel .panel {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(17, 24, 39, 0.74);
}
.panel__cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.section {
  padding: 64px 0;
}
.section--alt {
  background: var(--alt);
}
.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.grid {
  display: grid;
  gap: 16px;
}
.grid--2 {
  grid-template-columns: 1fr 1fr;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(17, 24, 39, 0.78);
}
.note {
  border-radius: var(--radius);
  border: 1px solid rgba(122, 95, 112, 0.18);
  background: rgba(122, 95, 112, 0.05);
  padding: 16px;
}
.note strong {
  display: block;
  margin-bottom: 6px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.90);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card--soft {
  background: rgba(255,255,255,0.82);
}
.card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(82, 101, 140, 0.12);
  border: 1px solid rgba(82, 101, 140, 0.16);
  color: rgba(17, 24, 39, 0.86);
  font-weight: 800;
  margin-bottom: 10px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: rgba(17, 24, 39, 0.74);
}
.mini {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(17, 24, 39, 0.72);
}
.mini li { margin: 6px 0; }

.about {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}
.about__card {
  border-radius: var(--radius);
  border: 1px solid rgba(82, 101, 140, 0.16);
  background: rgba(82, 101, 140, 0.06);
  padding: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
label {
  font-weight: 700;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.82);
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 12px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.95);
  font-size: 15px;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(82, 101, 140, 0.55);
  box-shadow: 0 0 0 4px rgba(82, 101, 140, 0.12);
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
  color: rgba(17, 24, 39, 0.70);
}
.check input {
  margin: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.check span { line-height: 1.3; }

.form-status {
  margin-top: 10px;
  min-height: 22px;
}

.form-status:empty {
  display: none;
}

.contact-aside .hr {
  height: 1px;
  background: rgba(17, 24, 39, 0.10);
  margin: 16px 0;
}

.divider {
  height: 42px;
}
.divider--diag {
  background: linear-gradient(135deg, rgba(82, 101, 140, 0.10) 0%, rgba(175, 188, 120, 0.10) 60%, rgba(122, 95, 112, 0.08) 100%);
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.footer {
  position: relative;
  background: var(--blue-900);
  color: rgba(255,255,255,0.92);
  padding: 28px 0 46px;
  overflow: hidden;
}
.footer a { color: rgba(255,255,255,0.92); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.footer__logo {
  height: 28px;
  width: auto;
  border-radius: 6px;
}
.footer__bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  opacity: 0.12;
  background-image: url('../img/footer.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hero__grid, .about { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
}

/* Footer refinado */
.footer .muted { color: rgba(255,255,255,0.78); }

.footer {
  position: relative;
  background: var(--blue-900);
  color: rgba(255,255,255,0.92);
  padding: 40px 0 34px;
  overflow: hidden;
}
.footer a { color: rgba(255,255,255,0.92); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}
.footer__logo { height: 26px; width: auto; }

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(175,188,120,0.10) 0%, rgba(175,188,120,0.00) 40%),
    linear-gradient(315deg, rgba(122,95,112,0.12) 0%, rgba(122,95,112,0.00) 45%);
  pointer-events: none;
}
.footer::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -46px;
  height: 140px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.12) 0px,
      rgba(255,255,255,0.12) 10px,
      rgba(255,255,255,0.00) 10px,
      rgba(255,255,255,0.00) 26px
    );
  transform: skewY(-6deg);
  opacity: 0.95;
  pointer-events: none;
}

/* Logos section */
.logos{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.logo-chip{
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.80);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(17,24,39,0.78);
}
.section--alt .logo-chip{ background: rgba(255,255,255,0.86); }

@media (max-width: 980px){
  .logos{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .check{ align-items: flex-start; }
  .check span{ display: block; }
}

/* Logos com imagens */
.logos--img{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.logo-item{
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.86);
  border-radius: 14px;
  padding: 14px 12px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.logo-item:hover{
  transform: translateY(-1px);
  border-color: rgba(82,101,140,0.25);
  box-shadow: 0 10px 26px rgba(17,24,39,0.08);
}
.logo-item img{
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.92;
}
.logo-item:hover img{
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 980px){
  .logos--img{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .logo-item{ padding: 12px 10px; }
  .logo-item img{ max-height: 40px; }
}


/* ===== Footer v2 (mais alinhado ao timbrado) ===== */
.footer{
  background: var(--blue-900);
  padding: 44px 0 58px;
}
.footer__inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.footer__logo{
  height: 30px;
}
.footer .muted{ color: rgba(255,255,255,0.78); }
.footer::before,
.footer::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height: 150px;
  pointer-events:none;
  z-index: 1;
}
.footer::before{
  background:
    linear-gradient(135deg,
      rgba(175,192,112,0.18) 0%,
      rgba(175,192,112,0.00) 55%),
    linear-gradient(315deg,
      rgba(128,80,112,0.20) 0%,
      rgba(128,80,112,0.00) 60%);
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.footer::after{
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.00) 60%);
  clip-path: polygon(0 55%, 75% 20%, 100% 35%, 100% 100%, 0 100%);
  opacity: .7;
}

/* Links no footer */
.footer a{
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.footer a:hover{
  border-bottom-color: rgba(255,255,255,0.5);
}

/* Checkbox mais “colado” e estável no mobile */
.check{
  gap: 8px;
}
@media (max-width: 520px){
  .check{ align-items: flex-start; }
  .check span{ display: inline; }
}

/* Header não gruda nas bordas em telas pequenas */
@media (max-width: 520px){
  .header__inner{ padding-left: 0; padding-right: 0; }
  .brand__logo{ height: 30px; }
  .btn{ height: 42px; padding: 0 14px; }
}

/* Feedback do formulário */
.form-status{
  margin-top: 12px;
  padding: 12px 44px 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(17,24,39,0.04);
  color: rgba(17,24,39,0.86);
  position: relative;
  min-height: 0;
}

.form-status.is-hidden{
  display: none;
}

.form-status.is-success{
  border-color: rgba(46, 125, 50, 0.35);
  background: rgba(46, 125, 50, 0.10);
  color: rgba(20, 90, 40, 0.95);
}

.form-status.is-error{
  border-color: rgba(211, 47, 47, 0.35);
  background: rgba(211, 47, 47, 0.10);
  color: rgba(140, 25, 25, 0.95);
}

.form-status__close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: rgba(17,24,39,0.65);
}

.form-status__close:hover{
  background: rgba(255,255,255,0.95);
  color: rgba(17,24,39,0.85);
}
