:root {
      --navy-900: #080F29;
      --navy-800: #0E1738;
      --navy-700: #182449;
      --navy-section: #1B2C61;
      --navy-section-2: #233872;
      --orange-500: #E8710D;
      --orange-400: #F28C2E;
      --orange-100: #FDE7D2;
      --slate-50: #F4F5F8;
      --slate-100: #EBEDF2;
      --ink: #12141C;
      --steel-500: #5B6478;
      --steel-300: #9AA1B2;
      --line: #E2E4EA;
      --line-dark: #38498C;
      --radius: 2px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--slate-50);
      color: var(--ink);
      font-family: 'IBM Plex Sans', sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Public Sans', sans-serif;
      margin: 0;
      letter-spacing: -0.01em;
    }

    p {
      margin: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .mono {
      font-family: 'IBM Plex Mono', monospace;
    }

    .wrap {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 32px;
    }

    .eyebrow {
      font-family: 'Public Sans', sans-serif;
      font-size: 12.5px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 700;
    }

    /* ---------- Ribbed container texture (signature motif) ---------- */
    .ribbed {
      background-image: repeating-linear-gradient(90deg,
          rgba(255, 255, 255, 0.08) 0px,
          rgba(255, 255, 255, 0.08) 2px,
          transparent 2px,
          transparent 10px);
    }

    .ribbed-light {
      background-image: repeating-linear-gradient(90deg,
          rgba(8, 15, 41, 0.07) 0px,
          rgba(8, 15, 41, 0.07) 2px,
          transparent 2px,
          transparent 10px);
    }

    /* ---------- Header ---------- */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #FFFFFF;
      border-bottom: 1px solid var(--line);
      box-shadow: 0 1px 0 rgba(8, 15, 41, 0.04);
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 76px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand img {
      height: 46px;
      width: auto;
    }

    .brand-name {
      color: var(--navy-900);
      font-family: 'Public Sans', sans-serif;
      font-weight: 800;
      font-size: 18px;
      letter-spacing: 0.01em;
      line-height: 1.1;
    }

    .brand-name span {
      display: block;
      font-family: 'Public Sans', sans-serif;
      font-weight: 600;
      font-size: 10.5px;
      letter-spacing: 0.1em;
      color: var(--orange-500);
      margin-top: 2px;
    }

    nav.primary-nav {
      display: flex;
      align-items: center;
      gap: 38px;
    }

    nav.primary-nav a {
      color: var(--steel-500);
      font-size: 14.5px;
      font-weight: 500;
      position: relative;
      padding: 6px 0;
      transition: color .2s ease;
    }

    nav.primary-nav a:hover {
      color: var(--navy-900);
    }

    nav.primary-nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--orange-500);
      transition: width .2s ease;
    }

    nav.primary-nav a:hover::after {
      width: 100%;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'IBM Plex Sans', sans-serif;
      font-weight: 600;
      font-size: 14px;
      padding: 12px 22px;
      border-radius: var(--radius);
      cursor: pointer;
      border: 1px solid transparent;
      transition: transform .15s ease, background .2s ease, border-color .2s ease;
    }

    .btn-primary {
      background: var(--orange-500);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--orange-400);
      transform: translateY(-1px);
    }

    .btn-ghost {
      background: transparent;
      color: #fff;
      border-color: rgba(255, 255, 255, 0.28);
    }

    .btn-ghost:hover {
      border-color: #fff;
    }

    .btn-dark {
      background: var(--navy-900);
      color: #fff;
    }

    .btn-dark:hover {
      background: var(--navy-700);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: 0;
      color: var(--navy-900);
      font-size: 26px;
      cursor: pointer;
    }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      overflow: hidden;
    }

    .hero-eyebrow {
      color: var(--orange-400);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
    }

    .hero-eyebrow::before {
      content: "";
      width: 26px;
      height: 1px;
      background: var(--orange-400);
    }

    .c-slide-title-main {
      color: #fff;
      font-size: 52px;
      line-height: 1.08;
      font-weight: 800;
      font-family: 'Public Sans', sans-serif;
      max-width: 640px;
      letter-spacing: -0.01em;
    }

    .c-slide-title-main em {
      font-style: normal;
      color: var(--orange-500);
    }

    .c-slide-lead {
      color: #AEB4C4;
      font-size: 17.5px;
      line-height: 1.6;
      max-width: 520px;
      margin-top: 22px;
    }

    .hero-ctas {
      display: flex;
      gap: 14px;
      margin-top: 36px;
    }

    /* ---------- Hero carousel (full-height, signature motif applied to slides) ---------- */
    .hero-carousel {
      position: relative;
      height: 660px;
      overflow: hidden;
    }

    .carousel-slides {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .c-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      visibility: hidden;
      transition: opacity .7s ease;
      display: flex;
      align-items: center;
    }

    .c-slide.active {
      opacity: 1;
      visibility: visible;
    }

    .c-slide-bg {
      position: absolute;
      inset: 0;
    }

    .c-bg-1 {
      background: radial-gradient(circle at 78% 32%, #2B438F 0%, var(--navy-section) 45%, var(--navy-800) 100%);
    }

    .c-bg-2 {
      background: radial-gradient(circle at 75% 60%, #2B438F 0%, var(--navy-section) 45%, var(--navy-800) 100%);
    }

    .c-bg-3 {
      background: radial-gradient(circle at 70% 40%, #3A2D6B 0%, var(--navy-section) 45%, var(--navy-800) 100%);
    }

    .c-bg-4 {
      background: radial-gradient(circle at 72% 35%, #2B438F 0%, var(--navy-section) 45%, var(--navy-800) 100%);
    }

    .c-bg-5 {
      background: radial-gradient(circle at 76% 50%, #3E2A5A 0%, var(--navy-section) 45%, var(--navy-800) 100%);
    }

    .c-slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(8, 15, 41, 0.94) 0%, rgba(8, 15, 41, 0.65) 48%, rgba(8, 15, 41, 0.2) 100%);
    }

    .c-slide-art {
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 340px;
      height: auto;
      opacity: 0.9;
    }

    .c-slide-art-main {
      width: 420px;
    }

    .c-slide-content {
      position: relative;
      z-index: 2;
      max-width: 560px;
      padding: 0 32px;
      margin: 0 auto;
      width: 100%;
    }

    .c-slide-content-main {
      max-width: 1180px;
    }

    .c-slide-content-main>* {
      max-width: 640px;
    }

    .c-slide-eyebrow {
      color: var(--orange-400);
      margin-bottom: 14px;
      display: block;
    }

    .c-slide-title {
      color: #fff;
      font-size: 44px;
      line-height: 1.12;
      font-weight: 800;
      font-family: 'Public Sans', sans-serif;
      letter-spacing: -0.01em;
      max-width: 640px;
    }

    .c-slide-desc {
      color: #AEB4C4;
      font-size: 17.5px;
      line-height: 1.6;
      max-width: 520px;
      margin-top: 22px;
    }

    .c-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(8, 15, 41, 0.35);
      color: #fff;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color .2s ease, background .2s ease;
    }

    .c-arrow:hover {
      border-color: var(--orange-400);
      background: rgba(8, 15, 41, 0.6);
    }

    .c-prev {
      left: 28px;
    }

    .c-next {
      right: 28px;
    }

    .c-dots {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 32px;
      display: flex;
      justify-content: center;
      gap: 9px;
      z-index: 3;
    }

    .c-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.5);
      background: transparent;
      padding: 0;
      cursor: pointer;
      transition: background .2s ease, width .2s ease;
    }

    .c-dot.active {
      background: var(--orange-500);
      border-color: var(--orange-500);
      width: 22px;
      border-radius: 5px;
    }

    @media (max-width:980px) {
      .hero-carousel {
        height: 760px;
      }

      .c-slide-art {
        width: 200px;
        opacity: 0.5;
      }

      .c-slide-art-main {
        width: 240px;
      }

      .c-slide-title {
        font-size: 34px;
      }

      .c-slide-desc {
        font-size: 16px;
      }

      .c-slide-title-main {
        font-size: 38px;
      }
    }

    @media (max-width:560px) {
      .hero-carousel {
        height: 640px;
      }

      .c-slide-art {
        display: none;
      }

      .c-slide-overlay {
        background: rgba(8, 15, 41, 0.88);
      }

      .c-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
      }

      .c-prev {
        left: 12px;
      }

      .c-next {
        right: 12px;
      }

      .c-slide-title-main {
        font-size: 30px;
      }

      .c-slide-title {
        font-size: 26px;
      }

      .hero-ctas {
        flex-direction: column;
      }

      .hero-ctas .btn {
        width: 100%;
        justify-content: center;
      }
    }

    /* ---------- Section basics ---------- */
    section {
      padding: 104px 0;
    }

    .section-head {
      max-width: 640px;
      margin-bottom: 56px;
    }

    .section-head .eyebrow {
      color: var(--orange-500);
      margin-bottom: 14px;
      display: block;
    }

    .section-head h2 {
      font-size: 34px;
      font-weight: 800;
      color: var(--navy-900);
      line-height: 1.15;
    }

    .section-head p {
      margin-top: 16px;
      color: var(--steel-500);
      font-size: 16px;
      line-height: 1.65;
    }

    .bg-navy {
      background: var(--navy-section);
    }

    .bg-navy .section-head h2 {
      color: #fff;
    }

    .bg-navy .section-head p {
      color: #AEB4C4;
    }

    /* ---------- Sobre ---------- */
    .about-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 64px;
      align-items: start;
    }

    .about-copy p {
      color: var(--steel-500);
      font-size: 16px;
      line-height: 1.75;
      margin-bottom: 18px;
    }

    .about-copy p:first-child {
      color: var(--ink);
      font-size: 19px;
      line-height: 1.6;
      font-weight: 500;
    }

    .diff-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      background: var(--line);
      border: 1px solid var(--line);
    }

    .diff-item {
      background: #fff;
      padding: 26px 24px;
    }

    .diff-tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--orange-500);
      letter-spacing: 0.08em;
      margin-bottom: 10px;
      display: block;
    }

    .diff-item h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy-900);
      margin-bottom: 8px;
    }

    .diff-item p {
      font-size: 14px;
      color: var(--steel-500);
      line-height: 1.55;
    }

    /* ---------- Serviços: container cards ---------- */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .service-card {
      background: #fff;
      border: 1px solid var(--line);
      position: relative;
      padding: 0 0 28px;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 36px -20px rgba(8, 15, 41, 0.35);
    }

    .service-card .rib-top {
      height: 10px;
      background: repeating-linear-gradient(90deg,
          var(--navy-900) 0px,
          var(--navy-900) 14px,
          var(--orange-500) 14px,
          var(--orange-500) 16px);
    }

    .service-code {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--steel-300);
      letter-spacing: 0.08em;
      padding: 20px 24px 0;
      display: block;
    }

    .service-card h4 {
      font-size: 18px;
      font-weight: 700;
      color: var(--navy-900);
      padding: 10px 24px 0;
    }

    .service-card p {
      font-size: 14px;
      color: var(--steel-500);
      line-height: 1.6;
      padding: 12px 24px 0;
    }

    .service-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin: 18px 24px 0;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--orange-500);
    }

    /* ---------- Estrutura ---------- */
    .structure-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--line-dark);
      border: 1px solid var(--line-dark);
    }

    .structure-item {
      background: var(--navy-section-2);
      padding: 34px 26px;
      min-height: 190px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .structure-item .num {
      font-family: 'IBM Plex Mono', monospace;
      color: var(--orange-400);
      font-size: 12.5px;
      margin-bottom: 14px;
    }

    .structure-item h4 {
      color: #fff;
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .structure-item p {
      color: #9AA1B2;
      font-size: 13.5px;
      line-height: 1.55;
    }

    /* ---------- Segmentos ---------- */
    .segment-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .segment-pill {
      border: 1px solid var(--line);
      padding: 14px 22px;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--navy-900);
      background: #fff;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .segment-pill::before {
      content: "";
      width: 8px;
      height: 8px;
      background: var(--orange-500);
      flex-shrink: 0;
    }

    /* ---------- CTA banda ---------- */
    .cta-band {
      background: var(--orange-500);
      padding: 56px 0;
    }

    .cta-band-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .cta-band h3 {
      color: #fff;
      font-size: 26px;
      font-weight: 800;
      max-width: 560px;
    }

    /* ---------- Contato ---------- */
    .contact-grid {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 56px;
    }

    .contact-info-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px 0;
      border-bottom: 1px solid var(--line-dark);
    }

    .contact-info-item .ico {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(232, 113, 13, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--orange-400);
      flex-shrink: 0;
    }

    .contact-info-item .ico svg {
      width: 20px;
      height: 20px;
      stroke: var(--orange-400);
    }

    .contact-info-item h5 {
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .contact-info-item p,
    .contact-info-item a {
      color: #AEB4C4;
      font-size: 14.5px;
      line-height: 1.5;
    }

    .map-frame {
      margin-top: 28px;
      border: 1px solid var(--line-dark);
      filter: grayscale(0.2) contrast(1.05);
    }

    .form-panel {
      background: #fff;
      padding: 40px;
    }

    .form-panel h4 {
      font-size: 20px;
      font-weight: 800;
      color: var(--navy-900);
      margin-bottom: 6px;
    }

    .form-panel>p {
      color: var(--steel-500);
      font-size: 14px;
      margin-bottom: 28px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }

    .field label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--navy-900);
      margin-bottom: 7px;
      letter-spacing: 0.02em;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 1px solid var(--line);
      background: var(--slate-50);
      padding: 12px 14px;
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 14px;
      color: var(--ink);
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: 2px solid var(--orange-500);
      outline-offset: 1px;
      background: #fff;
    }

    .field textarea {
      resize: vertical;
      min-height: 100px;
    }

    .full {
      grid-column: 1 / -1;
    }

    /* ---------- Footer ---------- */
    footer {
      background: var(--slate-100);
      border-top: 1px solid var(--line);
      padding: 56px 0 28px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--line);
    }

    .footer-logo-plate {
      display: inline-flex;
      padding: 0;
      margin-bottom: 16px;
    }

    .footer-brand img {
      height: 42px;
      display: block;
    }

    .footer-brand p {
      color: var(--steel-500);
      font-size: 14px;
      line-height: 1.6;
      max-width: 320px;
    }

    .footer-col h6 {
      color: var(--navy-900);
      font-family: 'Public Sans', sans-serif;
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .footer-col a,
    .footer-col p {
      display: block;
      color: var(--steel-500);
      font-size: 14px;
      margin-bottom: 12px;
    }

    .footer-col a:hover {
      color: var(--orange-500);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-bottom p {
      color: var(--steel-300);
      font-size: 13px;
    }

    /* ---------- Reveal on scroll ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .6s ease, transform .6s ease;
    }

    .reveal.in {
      opacity: 1;
      transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }

      html {
        scroll-behavior: auto;
      }
    }

    /* ---------- Responsive ---------- */
    @media (max-width:980px) {
      nav.primary-nav {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .diff-list {
        grid-template-columns: 1fr;
      }

      .service-grid {
        grid-template-columns: 1fr 1fr;
      }

      .structure-grid {
        grid-template-columns: 1fr 1fr;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      section {
        padding: 72px 0;
      }
    }

    @media (max-width:560px) {
      .wrap {
        padding: 0 20px;
      }

      .service-grid {
        grid-template-columns: 1fr;
      }

      .structure-grid {
        grid-template-columns: 1fr;
      }

      .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .form-panel {
        padding: 26px;
      }
    }

/* ---------- WhatsApp floating button (injetado via JS em main.js) ---------- */
.whatsapp-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-fab .fab-tip{
  background: var(--navy-900);
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  box-shadow: 0 10px 24px -12px rgba(8,15,41,0.4);
}
.whatsapp-fab:hover .fab-tip{ opacity: 1; transform: translateX(0); }
.whatsapp-fab .fab-btn{
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(8,15,41,0.45);
  transition: transform .2s ease, background .2s ease;
  flex: none;
}
.whatsapp-fab .fab-btn svg{ width: 28px; height: 28px; }
.whatsapp-fab .fab-btn:hover{ background: #20BD5A; transform: translateY(-2px); }
.whatsapp-fab .fab-ring{
  position: absolute;
  inset: 0;
  border: 2px solid #25D366;
  border-radius: 50%;
  animation: fabPing 2.6s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
}
@keyframes fabPing{
  0% { transform: scale(1); opacity: .55; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-fab .fab-ring{ animation: none; }
}
@media (max-width:560px){
  .whatsapp-fab{ right: 16px; bottom: 16px; }
  .whatsapp-fab .fab-btn{ width: 52px; height: 52px; }
  .whatsapp-fab .fab-btn svg{ width: 25px; height: 25px; }
  .whatsapp-fab .fab-tip{ display: none; }
}
