:root {
  --ink: #28343a;
  --muted: #607581;
  --dark: #213a41;
  --green: #74bf43;
  --green-dark: #2f7a22;
  --red: #ef2a32;
  --blue: #70b7cf;
  --cyan: #eef9fb;
  --line: #dce9ec;
  --soft: #f6fbfc;
  --surface: #ffffff;
  --shadow: 0 18px 42px rgba(33, 58, 65, .12);
}

@font-face {
  font-family: "NissanCartcom";
  src: url("nissanregular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

html {
  scroll-padding-top: 104px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 16px rgba(33, 58, 65, .08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 clamp(28px, 5vw, 72px);
  color: #fff;
  background: var(--dark);
  font-size: 15px;
  font-weight: 800;
}

.topbar-links,
.socials,
.navbar,
nav {
  display: flex;
  align-items: center;
}

.topbar-links {
  gap: 28px;
}

.topbar a,
nav a,
.mega-menu a,
footer a {
  text-decoration: none;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.top-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.top-icon::before,
.top-icon::after {
  content: "";
  position: absolute;
}

.top-icon::after {
  right: 0;
  top: 1px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 99px;
}

.phone::before {
  inset: 4px;
  border: 4px solid #80a5ad;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-42deg);
}

.pin::before {
  left: 5px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #80a5ad;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin::after {
  left: 10px;
  top: 9px;
  width: 5px;
  height: 5px;
}

.headset::before {
  left: 3px;
  top: 5px;
  width: 18px;
  height: 14px;
  border: 4px solid #80a5ad;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.work::before {
  inset: 3px;
  background:
    linear-gradient(var(--dark), var(--dark)) 4px 8px / 12px 3px no-repeat,
    #80a5ad;
  border-radius: 50%;
}

.socials {
  gap: 13px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.facebook {
  background: #4167b2;
}

.instagram {
  background: #ff4b22;
}

.linkedin {
  background: #0a79b8;
}

.youtube {
  background: #f51f2c;
}

.navbar {
  min-height: 62px;
  padding: 0 clamp(28px, 5vw, 72px);
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 210px;
  color: #333;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-lockup span {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-lockup strong {
  color: #4b4b4b;
  font-family: "NissanCartcom", "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  transform: scaleX(1.08);
  transform-origin: left center;
}

.brand-lockup strong span {
  display: inline;
  color: var(--green);
}

.brand-lockup small {
  margin-top: 2px;
  color: #777;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .42em;
  text-transform: uppercase;
  text-align: right;
}

nav {
  gap: 22px;
  margin-left: auto;
  color: #425057;
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--green-dark);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 58px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  width: min(940px, calc(100vw - 100px));
  padding: 32px 36px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(21, 44, 55, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-31%) translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-31%) translateY(0);
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 110px;
  width: 22px;
  height: 22px;
  background: #fff;
  transform: rotate(45deg);
}

.mega-menu div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mega-menu h3 {
  margin: 0 0 8px;
  color: #344047;
  font-size: 20px;
  line-height: 1.1;
}

.mega-menu a {
  color: #425057;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.search-box input {
  width: 148px;
  height: 36px;
  padding: 0 16px;
  color: var(--ink);
  background: #f5f9fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, .12) 76%);
}

.slide-content {
  position: absolute;
  z-index: 1;
  left: clamp(32px, 12vw, 184px);
  top: 47%;
  max-width: 610px;
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #344047;
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #344047;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: #26353d;
  font-size: 24px;
}

.slide-content p:not(.eyebrow),
.section-copy p,
.history-copy p {
  color: var(--muted);
  font-size: 20px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.blue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.primary-button {
  color: #10220f;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(116, 191, 67, .28);
}

.secondary-button {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(33, 58, 65, .78);
  border: 0;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.prev {
  left: 32px;
}

.next {
  right: 32px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, .8);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--red);
}

.segments-section {
  position: relative;
  padding: 78px clamp(28px, 5vw, 72px) 88px;
  background:
    radial-gradient(circle, rgba(112, 183, 207, .18) 2px, transparent 3px) left 10% top 42% / 22px 22px,
    radial-gradient(circle, rgba(112, 183, 207, .16) 2px, transparent 3px) right 9% top 56% / 22px 22px,
    linear-gradient(180deg, #f5fbfd 0%, #edf8fb 100%);
}

.segments-section h2 {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.segments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.segments-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 190px;
  min-height: 182px;
  padding: 24px 22px;
  color: #1d2b36;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 34px rgba(24, 63, 76, .08);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.segments-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(24, 63, 76, .13);
}

.segment-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
}

.segments-grid strong {
  font-size: 20px;
  line-height: 1.25;
}

.cartorio {
  border-radius: 50% 50% 50% 0;
  background: #16c784;
  transform: rotate(-45deg);
}

.analytics {
  border-radius: 50%;
  background: conic-gradient(#38d3bd 0 75%, transparent 0);
}

.material {
  border-radius: 50% 50% 50% 0;
  background: #ffb000;
  transform: rotate(45deg);
}

.auto {
  background:
    linear-gradient(#6478d1, #6478d1) 0 8px / 30px 4px no-repeat,
    linear-gradient(#6478d1, #6478d1) 0 16px / 30px 4px no-repeat,
    linear-gradient(#6478d1, #6478d1) 0 24px / 30px 4px no-repeat;
}

.auto-center {
  background:
    radial-gradient(circle at 8px 23px, #1f3d46 0 4px, transparent 5px),
    radial-gradient(circle at 23px 23px, #1f3d46 0 4px, transparent 5px),
    linear-gradient(#1f3d46, #1f3d46) 5px 12px / 22px 8px no-repeat,
    linear-gradient(135deg, transparent 0 7px, #68bd45 8px 15px, transparent 16px) 7px 2px / 16px 12px no-repeat;
}

.epi {
  background:
    radial-gradient(circle at 6px 8px, #72b62b 0 4px, transparent 5px),
    radial-gradient(circle at 15px 8px, #72b62b 0 4px, transparent 5px),
    radial-gradient(circle at 24px 8px, #72b62b 0 4px, transparent 5px),
    linear-gradient(#72b62b, #72b62b) 4px 14px / 4px 13px no-repeat,
    linear-gradient(#72b62b, #72b62b) 13px 14px / 4px 13px no-repeat,
    linear-gradient(#72b62b, #72b62b) 22px 14px / 4px 13px no-repeat;
}

.totem {
  background:
    linear-gradient(#34444c, #34444c) 6px 2px / 18px 23px no-repeat,
    linear-gradient(#34444c, #34444c) 1px 25px / 28px 4px no-repeat;
}

.contador {
  background:
    linear-gradient(#ff9811, #ff9811) 1px 22px / 28px 5px no-repeat,
    linear-gradient(#ff9811, #ff9811) 8px 15px / 21px 5px no-repeat,
    linear-gradient(#ff9811, #ff9811) 15px 8px / 14px 5px no-repeat;
}

.whatsapp {
  border-radius: 50%;
  background: #1fb958;
}

.whatsapp::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.mobile {
  border: 3px solid #e71932;
  border-radius: 5px;
}

.mobile::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  background: #e71932;
  border-radius: 50%;
}

.partnership-section,
.history-section,
.solution-section,
.platform-section,
.career-section,
.instagram-section,
.contact-section {
  padding: clamp(62px, 7vw, 96px) clamp(28px, 5vw, 72px);
}

#segmentos,
#cliente,
#historia,
#cartorios,
#varejo,
#saas,
#lgpd,
#trabalhe-conosco,
#instagram,
#contato {
  scroll-margin-top: 104px;
}

.contact-card span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.partnership-section,
.solution-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  background: #fff;
}

.section-copy {
  max-width: 650px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.feature-panel {
  display: grid;
  gap: 14px;
}

.feature-panel article {
  padding: 24px;
  background: #f5fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-panel span {
  color: var(--blue);
  font-weight: 900;
}

.feature-panel strong {
  display: block;
  margin: 6px 0;
  font-size: 22px;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
}

.history-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  min-height: 500px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 44%, rgba(229, 245, 248, .68) 100%),
    radial-gradient(circle, rgba(112, 183, 207, .14) 2px, transparent 3px) right 39% center / 20px 20px;
}

.history-copy {
  max-width: 480px;
  margin-left: clamp(0px, 7vw, 118px);
}

.blue-button {
  margin-top: 18px;
  color: #fff;
  background: var(--blue);
}

.history-visual {
  position: relative;
  min-height: 380px;
}

.history-visual img {
  position: absolute;
  right: 0;
  top: 0;
  width: min(720px, 100%);
  height: 380px;
  object-fit: cover;
  filter: saturate(.65) hue-rotate(145deg) opacity(.8);
}

.floating-card {
  position: absolute;
  z-index: 1;
  min-width: 108px;
  padding: 14px 16px;
  color: #344047;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(28, 64, 39, .12);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.card-years {
  left: 8%;
  top: 56px;
}

.card-support {
  left: 30%;
  top: 156px;
}

.card-local {
  left: 0;
  top: 258px;
}

.card-solutions {
  left: 48%;
  top: 238px;
}

.solution-section {
  border-top: 1px solid var(--line);
}

.solution-section.alt,
.platform-section {
  background: #f8fbf7;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-grid li {
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.solution-card {
  display: grid;
  gap: 6px;
  min-height: 94px;
  padding: 17px 18px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.solution-card strong {
  font-size: 17px;
  line-height: 1.25;
}

.solution-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.solution-card:hover,
.solution-card.is-open {
  border-color: #c8e7bd;
  border-left-color: var(--green-dark);
  box-shadow: 0 14px 32px rgba(33, 58, 65, .1);
  transform: translateY(-1px);
}

.solution-detail {
  display: none;
  grid-column: 1 / -1;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #d6ead0;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(33, 58, 65, .08);
}

.solution-detail.is-open {
  display: block;
}

.solution-detail h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.solution-detail p {
  margin: 0;
  color: var(--muted);
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.contact-section {
  background:
    radial-gradient(circle, rgba(112, 183, 207, .12) 2px, transparent 3px) right 8% top 38% / 22px 22px,
    linear-gradient(180deg, #f6fbfd 0%, #fff 100%);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  max-width: 520px;
  margin-bottom: 4px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-action {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 18px;
  color: var(--ink);
  background: #f5fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.contact-action small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-action {
  color: #10220f;
  background: #eaf8e2;
  border-color: #cae8bd;
}

.email-action {
  grid-column: 1 / -1;
}

.contact-card p {
  color: #10220f;
  font-weight: 700;
}

.career-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
  background:
    radial-gradient(circle, rgba(112, 183, 207, .13) 2px, transparent 3px) left 8% bottom 14% / 22px 22px,
    linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
}

.career-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.career-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.career-form input,
.career-form select,
.career-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f7fbfc;
  border: 1px solid #d9e8ec;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  outline: none;
}

.career-form textarea {
  resize: vertical;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(116, 191, 67, .14);
}

.career-form input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.full-field,
.career-form button {
  grid-column: 1 / -1;
}

.form-trap {
  display: none !important;
}

.form-status {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.form-status.is-success {
  color: #1f6b24;
  background: #eff9ed;
  border: 1px solid #cfeec8;
}

.form-status.is-error {
  color: #9c1827;
  background: #fff1f3;
  border: 1px solid #f4c8ce;
}

.career-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.instagram-section {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(520px, 1.38fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  background:
    radial-gradient(circle, rgba(112, 183, 207, .13) 2px, transparent 3px) right 9% top 16% / 22px 22px,
    linear-gradient(180deg, #fff 0%, #f7fcfd 100%);
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: 920px;
}

.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #1f3d46;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(33, 58, 65, .13);
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}

.instagram-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(33, 58, 65, .18);
}

.instagram-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.01);
  transition: transform .35s ease;
}

.instagram-post:hover img {
  transform: scale(1.06);
}

.instagram-post::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 35, 42, 0) 22%, rgba(15, 35, 42, .76) 100%),
    linear-gradient(135deg, rgba(116, 191, 67, .26), rgba(239, 42, 50, .14));
}

.instagram-post::before {
  content: "◎";
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 2;
  font-size: 22px;
  font-weight: 900;
}

.instagram-post span {
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.instagram-post strong {
  position: relative;
  z-index: 2;
  max-width: 300px;
  font-size: 20px;
  line-height: 1.22;
}

.post-featured {
  grid-row: span 2;
  min-height: 394px;
}

.instagram-post::before {
  content: "";
  right: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .98) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, .98) 0 2px, transparent 3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  font-size: 0;
}

.instagram-post span {
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 0;
  padding: 0 10px;
  color: #14323a;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font-size: 11px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.instagram-post strong {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: -webkit-box;
  overflow: hidden;
  max-width: none;
  font-size: 16px;
  line-height: 1.28;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .22);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-featured {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.post-featured span {
  left: 22px;
  top: 20px;
}

.post-featured strong {
  left: 22px;
  right: 22px;
  bottom: 22px;
  max-width: 520px;
  font-size: 24px;
  -webkit-line-clamp: 4;
}

.instagram-status {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  min-height: 260px;
  align-content: center;
  justify-items: start;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.instagram-status strong {
  font-size: 24px;
}

.instagram-status span {
  color: var(--muted);
}

.instagram-status a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

footer {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr .72fr;
  gap: 22px;
  padding: 42px clamp(28px, 5vw, 72px);
  color: #526973;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfd 100%);
  border-top: 1px solid var(--line);
}

footer div {
  align-content: start;
}

footer strong {
  color: var(--ink);
}

.footer-brand,
.footer-panel {
  display: grid;
  gap: 14px;
}

.footer-brand p {
  max-width: 330px;
  margin: 0;
}

.footer-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.footer-brand-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-logo span {
  display: grid;
  line-height: 1;
}

.footer-brand-logo strong {
  color: #3f484d;
  font-family: "NissanCartcom", "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  transform: scaleX(1.06);
  transform-origin: left center;
}

.footer-brand-logo strong span {
  display: inline;
  color: var(--green);
}

.footer-brand-logo small {
  margin-top: 1px;
  color: #7a858a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .42em;
  text-align: right;
  text-transform: uppercase;
}

.footer-link {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #526973;
  text-decoration: none;
}

.footer-address .footer-link {
  align-items: start;
}

.text-icon {
  width: 18px;
  height: 18px;
  fill: var(--green);
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 9px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  max-width: 34px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, .42);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.segment-page {
  background: #fff;
}

.segment-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.segment-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 36%, rgba(255, 255, 255, .18) 72%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.22));
}

.segment-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 132px clamp(28px, 8vw, 140px) 72px;
}

.segment-hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.04;
}

.segment-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #526973;
  font-size: 21px;
}

.segment-benefits,
.segment-proof,
.segment-cta {
  padding: clamp(62px, 7vw, 96px) clamp(28px, 5vw, 72px);
}

.segment-benefits {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  background:
    radial-gradient(circle, rgba(112, 183, 207, .13) 2px, transparent 3px) right 8% top 18% / 22px 22px,
    #fff;
}

.segment-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.segment-feature-grid article {
  display: grid;
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(33, 58, 65, .08);
}

.segment-feature-grid article span {
  width: 28px;
  height: 28px;
  background: conic-gradient(var(--green) 0 75%, transparent 0);
  border-radius: 50%;
}

.segment-feature-grid strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.segment-proof {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  background: #f6fbfd;
}

.segment-proof ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.segment-proof li {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
}

.segment-dor {
  padding: clamp(62px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: #fff;
}

.segment-dor .section-copy {
  max-width: 800px;
  margin-bottom: 40px;
}

.segment-dor ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 1000px;
}

.segment-dor li {
  padding: 20px 24px;
  background: #fff5f5;
  border: 1px solid #f4c8ce;
  border-left: 4px solid #c53030;
  border-radius: 8px;
  color: #742a2a;
  font-size: 17px;
  line-height: 1.5;
}

.segment-diferenciais {
  padding: clamp(62px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: #f6fbfd;
}

.segment-diferenciais .section-copy {
  max-width: 800px;
  margin-bottom: 40px;
}

.segment-resultado {
  padding: clamp(62px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: var(--dark);
  text-align: center;
}

.segment-resultado .section-copy {
  max-width: 800px;
  margin: 0 auto;
}

.segment-resultado h2 {
  color: #fff;
}

.segment-resultado p {
  color: #d7e7eb;
  font-size: 22px;
  line-height: 1.7;
  max-width: 720px;
  margin: 20px auto 0;
}

.segment-cta {
  text-align: center;
  background: var(--dark);
}

.segment-cta h2 {
  max-width: 840px;
  margin: 0 auto 14px;
  color: #fff;
}

.segment-cta p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #d7e7eb;
  font-size: 20px;
}

.segment-faq {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.segment-faq .section-copy {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid #e5e9ec;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
  background: #fff;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 18px;
  color: #4a5568;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .search-box {
    display: none;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar,
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .topbar-links,
  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  nav {
    margin-left: 0;
  }

  .brand-lockup {
    min-width: 0;
  }

  .nav-item {
    min-height: auto;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .slide::after {
    background: rgba(255, 255, 255, .9);
  }

  .slide-content {
    left: 28px;
    right: 28px;
    max-width: none;
  }

  .partnership-section,
  .history-section,
  .solution-section,
  .platform-section,
  .instagram-section,
  .contact-section,
  footer {
    grid-template-columns: 1fr;
  }

  .instagram-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .post-featured {
    grid-column: span 2;
  }

  .history-copy {
    margin-left: 0;
  }

  .history-visual {
    min-height: 520px;
  }

  .history-visual img {
    position: relative;
    height: 280px;
  }

  .floating-card {
    position: relative;
    left: auto;
    top: auto;
    display: inline-block;
    margin: 10px 8px 0 0;
  }
}

@media (max-width: 560px) {
  .brand-lockup img {
    width: 38px;
    height: 38px;
  }

  .brand-lockup strong {
    font-size: 23px;
  }

  .socials {
    gap: 8px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .slide-actions,
  .primary-button,
  .secondary-button,
  .blue-button {
    width: 100%;
  }

  .carousel-control {
    display: none;
  }

  .segments-grid a {
    width: 100%;
    min-height: 132px;
  }

  .segment-icon {
    margin-bottom: 16px;
  }

  .segment-benefits,
  .segment-proof {
    grid-template-columns: 1fr;
  }

  .segment-proof ul {
    grid-template-columns: 1fr;
  }

  .check-grid,
  .platform-grid,
  .instagram-feed,
  .contact-actions,
  .segment-dor ul,
  .segment-diferenciais .segment-feature-grid,
  .segment-proof ul {
    grid-template-columns: 1fr;
  }

  .instagram-feed {
    grid-auto-rows: auto;
  }

  .instagram-post,
  .post-featured {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .instagram-post strong,
  .post-featured strong {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 17px;
    -webkit-line-clamp: 3;
  }

  .instagram-post span,
  .post-featured span {
    left: 16px;
    top: 14px;
  }

  .contact-action {
    font-size: 19px;
  }

  .email-action {
    grid-column: auto;
  }
}
