/* ==========================================================================
   Create Tech — estilos
   Valores derivados do kit global e do CSS gerado pelo Elementor (post-13).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-navy: #05071e;
  --color-blue: #0078ff;
  --color-blue-light: #00c6ff;
  --color-blue-dark: #0072ff;
  --color-text: #000;
  --color-muted-bg: #fafafa;
  --color-white: #fff;
  --color-field-bg: #e5ebff;
  --color-field-text: #2f2365;

  --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-space: clamp(4rem, 9vw, 7.5rem);
  --radius-pill: 40px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

a { color: inherit; }

[id] { scroll-margin-top: 90px; }

mark {
  color: inherit;
  background: var(--color-blue);
  padding: 0 .15em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: .5rem 1rem;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--color-blue-light); outline-offset: 3px; }

/* ---------- Componentes ---------- */
.section-title {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  font-weight: 700;
  line-height: 1.23;
}
.section-title--accent { color: var(--color-blue); }
.section-title--light  { color: var(--color-white); text-align: center; }
.section-title--center { text-align: center; }

.text-accent { color: var(--color-blue); }

.eyebrow { font-weight: 500; letter-spacing: .02em; }

.divider {
  width: 15%;
  min-width: 60px;
  margin: .5rem 0;
  border: 0;
  border-top: 9px solid var(--color-blue);
}
.divider--center { margin-inline: auto; }

.btn {
  display: inline-block;
  border: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn--cta {
  padding: 12px 28px;
  font-size: .9375rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-white);
  background-image: linear-gradient(to bottom right, var(--color-blue-light), var(--color-blue-dark));
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 var(--color-blue-dark);
  transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}
.btn--cta:hover  { transform: translateY(-2px); box-shadow: 0 6px 0 var(--color-blue-dark); }
.btn--cta:active {
  transform: translateY(0);
  box-shadow: none;
  background-image: linear-gradient(to bottom right, var(--color-blue-dark), var(--color-blue-light));
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.site-header__logo { flex: none; }
.site-header__logo img { width: clamp(150px, 15vw, 200px); }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav__list a {
  display: block;
  padding: 4px clamp(.6rem, 1.6vw, 1.5rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-white);
  text-decoration: none;
  transition: color .2s;
}
.site-nav__list a:hover { color: var(--color-blue); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 26px; height: 3px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before,
.nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after  { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 62vh, 620px);
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center / cover no-repeat;
  animation: ken-burns 6s ease-out forwards;
}

@keyframes ken-burns {
  from { transform: scale(1.3); }
  to   { transform: scale(1); }
}

.hero__content { position: relative; }

.hero__title {
  max-width: 66%;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.23;
}

.hero__lead { margin-top: 1.5rem; font-size: clamp(.9375rem, 1.6vw, 1.1875rem); line-height: 1.7; }

/* ---------- Sobre ---------- */
.about {
  padding-block: var(--section-space);
  background: var(--color-muted-bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.about__text { display: grid; gap: .75rem; justify-items: start; max-width: 34rem; }
.about__text > p:not(.eyebrow) { margin-top: .75rem; font-size: 1.0625rem; line-height: 1.8; }
.about__badge { margin-top: 1.5rem; width: 232px; }

.about__media img { width: min(85%, 500px); margin-inline: auto; }

/* ---------- Soluções ---------- */
.solutions {
  padding-block: var(--section-space);
  background: var(--color-navy) url("../images/solucoes-bg.png") center / cover no-repeat;
}

.solutions .section-title { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
}

.solution { color: var(--color-white); line-height: 1.75; }

.solution__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .75rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-blue);
}

/* ícone » (substitui fa-angle-double-right) */
.solution__title::before {
  content: "";
  flex: none;
  width: 1.1em; height: 1.1em;
  background: var(--color-white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.6 4.6 13 12l-7.4 7.4L4 17.8 9.8 12 4 6.2zm7 0L20 12l-7.4 7.4-1.6-1.6 5.8-5.8L11 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.6 4.6 13 12l-7.4 7.4L4 17.8 9.8 12 4 6.2zm7 0L20 12l-7.4 7.4-1.6-1.6 5.8-5.8L11 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Parceiros ---------- */
.partners { padding-block: var(--section-space); }



.partners__track-wrap {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: max-content;
  padding-inline: 18px;
}

.partners__track li { flex: none; width: clamp(110px, 16vw, 190px); }
.partners__track img { max-height: 90px; width: auto; margin-inline: auto; }

/* ativado via JS (duplica a lista para rolagem contínua) */
.partners__track.is-animated { animation: marquee 30s linear infinite; }
.partners__track-wrap:hover .partners__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* sem JS: lista centralizada com quebra */
.partners__track:not(.is-animated) {
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
}

/* ---------- Contato ---------- */
.contact {
  display: flex;
  align-items: center;
  min-height: 620px;
  padding-block: var(--section-space);
  background: var(--color-blue) url("../images/contato-bg.png") center / cover no-repeat;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact__title {
  padding-top: 20px;
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* 40px */
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
}
.contact__title mark { background: #000; }

.contact__lead {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-white);
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(100%, 500px);
  justify-self: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-white);
  border-radius: 21px;
}

.field { display: grid; gap: 2px; }

.field label { font-size: .9375rem; }

.field input {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  color: var(--color-field-text);
  background: var(--color-field-bg);
  border: 0;
  border-radius: 6px;
}

.btn--submit {
  justify-self: stretch;
  padding: 1rem;
  margin-top: .5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 26px;
  transition: background-color .2s;
}
.btn--submit:hover { background: var(--color-blue-dark); }

.contact-form__status:empty { display: none; }
.contact-form__status { font-size: .875rem; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.site-footer__brand img { width: 80%; max-width: 220px; }

.site-footer__col { display: grid; align-content: start; gap: 8px; }

.site-footer__title {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-blue);
}

.site-footer__col p,
.site-footer address {
  font-size: .9375rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
}
.site-footer address { display: grid; gap: .75rem; }

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-blue); }

.social-link {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  color: var(--color-white) !important;
  background: var(--color-blue);
  border-radius: 16px;
  transition: transform .2s;
}
.social-link:hover { transform: translateY(-2px); }

.site-footer__menu a {
  display: inline-block;
  padding-block: 7px;
  font-size: .9375rem;
  font-weight: 500;
}

.site-footer__bottom p {
  padding-block: 1rem;
  border-top: 2px solid #000;
  text-align: center;
  font-size: .9375rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .site-header__cta { display: none; }
  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--color-navy);
    border-top: 1px solid rgb(255 255 255 / .1);
  }
  .site-nav[data-open="false"] { display: none; }
  .site-nav__list { flex-direction: column; padding-block: .5rem; }
  .site-nav__list a { padding: .75rem var(--gutter); }

  .hero { min-height: 270px; }
  .hero__title { max-width: 100%; line-height: 1.4; }

  .about__inner,
  .contact__inner,
  .solutions__grid { grid-template-columns: 1fr; }

  .about__media { order: -1; }

  .contact__title { text-align: center; }
  .contact__lead  { text-align: center; }

  .site-footer__grid { grid-template-columns: 1fr; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
