/* ===========================================================
   LIMC — Site institucional
   Estilos globais
   =========================================================== */

:root {
  --navy: #0a2540;
  --navy-700: #0d2e4f;
  --navy-600: #133a63;
  --orange: #fb6514;
  --orange-600: #e04403;
  --orange-300: #ff9a4d;
  --accent: #ffb547;
  --ink: #1b2a3a;
  --muted: #5b6b7d;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(10, 37, 64, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(10, 37, 64, 0.4);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .logo__text {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.btn--primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 14px 30px -14px rgba(251, 101, 20, 0.7);
}
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(10, 37, 64, 0.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}
.logo__mark {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo__text { font-size: 1.3rem; letter-spacing: 0.02em; }
.logo--light .logo__text { color: var(--white); }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--navy); background: var(--bg-alt); }
.nav__cta {
  background: var(--orange);
  color: var(--white) !important;
  margin-left: 0.4rem;
}
.nav__cta:hover { background: var(--orange-600); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(251, 101, 20, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(255, 181, 71, 0.18), transparent 55%),
    linear-gradient(160deg, #0a2540 0%, #0d2e4f 60%, #0a2540 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  padding: 96px 24px 104px;
  max-width: 840px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.hero__title span { color: var(--orange); }
.hero__subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.8rem;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.hero__stats span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 3rem; }
.section__head--center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange-600);
  margin-bottom: 0.8rem;
}
.eyebrow--light { color: var(--orange); }
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section__lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* ---------- About ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.about__text p { color: var(--muted); font-size: 1.05rem; }
.checklist { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(251, 101, 20, 0.15), rgba(251, 101, 20, 0.05));
  color: var(--orange-600);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.card__text { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.2rem; }
.card__list { display: grid; gap: 0.5rem; }
.card__list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature__num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 0.7rem;
}
.feature h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- CTA / Contato ---------- */
.cta {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% 0%, rgba(251, 101, 20, 0.22), transparent 60%);
}
.cta .section__title, .cta__lead { color: var(--white); }
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.cta__lead { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; max-width: 460px; }
.contact-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; color: rgba(255, 255, 255, 0.9); }
.contact-list svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.contact-list a:hover { color: var(--orange); }

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 1.1rem; }
.form__row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(251, 101, 20, 0.15);
}
.form__row textarea { resize: vertical; }
.form__feedback { margin: 1rem 0 0; font-size: 0.92rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__feedback.is-success { color: var(--orange-600); }
.form__feedback.is-error { color: #e0506a; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-700); color: rgba(255, 255, 255, 0.7); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 56px 24px;
}
.footer__brand { max-width: 320px; }
.footer__brand p { margin-top: 1rem; font-size: 0.95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }
.footer__nav a { font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom .container { padding-top: 1.4rem; padding-bottom: 1.4rem; }
.footer__bottom p { margin: 0; font-size: 0.86rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0;
  width: 60px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: width 0.35s var(--ease), background 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin: 0 15px;
}
.whatsapp-float__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.25s, max-width 0.35s var(--ease);
}
.whatsapp-float:hover {
  width: 220px;
  background: #1fb955;
  transform: translateY(-2px);
}
.whatsapp-float:hover .whatsapp-float__label { opacity: 1; max-width: 160px; padding-right: 20px; }
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wppPulse 2.4s ease-out infinite;
}
@keyframes wppPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 520px) {
  .whatsapp-float { right: 16px; bottom: 16px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .cta__inner { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: var(--white);
    padding: 1rem 1.2rem 1.6rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 0.85rem 1rem; }
  .nav__cta { margin-left: 0; text-align: center; margin-top: 0.4rem; }
  .nav__toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero__inner { padding: 72px 24px 80px; }
  .hero__stats { gap: 1.6rem; }
}

@media (max-width: 520px) {
  .cards, .features, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float::before { animation: none; }
}
