/* ECIRT — ESTILOS */

/* Fonte hospedada junto com o site: nenhuma visita consulta o Google. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --clr-bg: #f7f9fc;
  --clr-white: #ffffff;
  --clr-dark: #171b22;
  --clr-text: #1c2430;
  --clr-muted: #576271;
  --clr-border: #e3eaf1;
  --clr-blue: #68b9e9;
  --clr-blue-strong: #2479b4;
  --clr-blue-soft: #eaf6fd;
  --clr-gold: #f3c34d;
  --clr-whatsapp: #25d366;
  --clr-whatsapp-dark: #128c7e;
  --header-h: 68px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(28, 57, 89, 0.06), 0 2px 7px rgba(28, 57, 89, 0.04);
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* O menu fechado fica fora da tela, à direita; sem isto, a página rola para o lado. */
  overflow-x: clip;
}

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

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  color: var(--clr-muted);
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

/* BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 52px;
  padding: 13px 24px;
}

.btn-whatsapp {
  background: var(--clr-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--clr-whatsapp-dark);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.22);
}

.btn-email {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-email:hover {
  background: rgba(255, 255, 255, 0.18);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--clr-blue-strong);
  outline-offset: 3px;
}

/* CABEÇALHO */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid #113f16;
  border-bottom: 1px solid var(--clr-border);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(25, 52, 79, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: calc(var(--header-h) - 4px);
}

.logo {
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--clr-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-blue-strong);
  background: var(--clr-blue-soft);
}

.nav-link.active {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* INÍCIO */

.section-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 12%, rgba(104, 185, 233, 0.18), transparent 28%),
    radial-gradient(circle at 4% 77%, rgba(243, 195, 77, 0.12), transparent 29%),
    linear-gradient(160deg, #ffffff 0%, #f7faff 51%, #fffefa 100%);
}

.section-hero::before,
.section-hero::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(104, 185, 233, 0.22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.section-hero::before {
  top: 30px;
  right: -140px;
}

.section-hero::after {
  bottom: 110px;
  left: -160px;
  border-color: rgba(243, 195, 77, 0.26);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

/* A apresentação ocupa a largura toda; as perguntas ficam abaixo dela. */

.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 270px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px);
  border: 1px solid var(--clr-border);
  border-left: 5px solid var(--clr-blue);
  border-radius: var(--radius);
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 60%, #eff8fe 100%);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-title {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.13;
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.hero-decoration {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 245px;
  height: 245px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
}

.hero-ring--outer {
  inset: 0;
  border: 2px solid rgba(104, 185, 233, 0.32);
}

.hero-ring--inner {
  inset: 36px;
  border: 17px solid rgba(104, 185, 233, 0.12);
}

.hero-dot {
  position: absolute;
  top: 24px;
  right: 14px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--clr-gold);
  box-shadow: 0 0 0 9px rgba(243, 195, 77, 0.18);
}

/* PERGUNTAS */

.diagnostic-block {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-white);
  box-shadow: var(--shadow);
}

.diagnostic-heading {
  max-width: 710px;
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--clr-blue-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.diagnostic-lead {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 800;
}

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

.question-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-content: start;
  gap: 15px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  background: #fbfdff;
}

.question-item:nth-child(2),
.question-item:nth-child(3) {
  background: #fffdf8;
}

.question-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clr-blue-soft);
  color: var(--clr-blue-strong);
  font-size: 0.9375rem;
  font-weight: 800;
}

.question-item:nth-child(2) .question-number,
.question-item:nth-child(3) .question-number {
  background: #fff0c9;
  color: #805f08;
}

.question-text {
  margin-bottom: 11px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.question-detail {
  margin-bottom: 0;
  font-size: 0.925rem;
  line-height: 1.7;
}

/* SEÇÕES INTERNAS */

.section-highlight {
  background: #151b24;
  color: #fff;
}

.section-highlight p,
.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-light {
  background:
    radial-gradient(circle at 92% 15%, rgba(104, 185, 233, 0.1), transparent 28%),
    #fff;
}

.section-dark {
  background: #1b222c;
  color: #fff;
}

.section-header {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
}

.section-body {
  margin-bottom: 14px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-body:last-child {
  margin-bottom: 0;
}

/* COMO AJUDAMOS */

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.clarity-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition), transform var(--transition);
}

.clarity-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.clarity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 7px;
}

.clarity-icon--ok {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
}

.clarity-icon--attention {
  background: rgba(243, 195, 77, 0.18);
  color: #f3c34d;
}

.clarity-icon--decision {
  background: rgba(104, 185, 233, 0.2);
  color: #95d7fa;
}

.clarity-card-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.0625rem;
}

.clarity-card-text {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* SERVIÇOS */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 28px 23px;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  background: #fbfdff;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--clr-blue-soft);
  color: var(--clr-blue-strong);
}

.service-title {
  margin-bottom: 10px;
  font-size: 1.0625rem;
}

.service-desc {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* CONTATO E RODAPÉ */

.contact-content {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.contact-body {
  margin-bottom: 30px !important;
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #11171f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-brand {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.875rem;
}

.footer-link:hover {
  color: #fff;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.35);
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-whatsapp);
  color: #fff;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.35);
}

/* TELAS MENORES */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 22px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--clr-border);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-link {
    padding: 14px 12px;
    border-bottom: 1px solid var(--clr-border);
    font-size: 1rem;
  }

  .nav-cta {
    width: 100%;
  }

  .whatsapp-fab {
    display: flex;
  }

  /* Espaço para o botão do WhatsApp não cobrir o fim do rodapé. */
  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 700px) {
  .questions-list,
  .clarity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding-block: 60px;
  }

  .hero-card {
    min-height: auto;
    padding: 32px 26px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .diagnostic-block {
    padding: 26px 18px;
  }

  .question-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }

  .question-number {
    width: 34px;
    height: 34px;
  }

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

  .footer-inner,
  .footer-contacts {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ANIMAÇÃO CONTÍNUA DO ELEMENTO DECORATIVO DO INÍCIO */

/* INÍCIO — verificações de TI em sequência */
.hero-decoration {
  width: 245px;
  height: 245px;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  top: 43px;
  bottom: 43px;
  left: 22px;
  width: 2px;
  background: #c8dfec;
}

.hero-ring,
.hero-dot {
  inset: auto;
  right: auto;
  bottom: auto;
  left: 42px;
  display: flex;
  align-items: center;
  width: 190px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #d9e8f1;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 57, 89, 0.07);
  animation: ecirt-verificar 9s ease-in-out infinite;
}

.hero-ring--outer {
  top: 18px;
  animation-delay: 0s;
}

.hero-ring--inner {
  top: 95px;
  animation-delay: 3s;
}

.hero-dot {
  top: 172px;
  animation-delay: 6s;
}

.hero-ring::before,
.hero-dot::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: -30px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dceaf2;
  color: #2479b4;
  font-size: 13px;
  font-weight: 800;
}

.hero-ring::after,
.hero-dot::after {
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #26394a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-ring--outer::after { content: "ACESSOS"; }
.hero-ring--inner::after { content: "SEGURANÇA"; }
.hero-dot::after         { content: "BACKUP"; }

@keyframes ecirt-verificar {
  0%, 26%, 100% {
    border-color: #d9e8f1;
    box-shadow: 0 6px 18px rgba(28, 57, 89, 0.07);
    transform: translateX(0);
  }

  8%, 18% {
    border-color: #68b9e9;
    box-shadow: 0 6px 20px rgba(36, 121, 180, 0.18);
    transform: translateX(5px);
  }
}

/* Abaixo de 1100 px a animação não cabe na posição fixa sem cobrir o texto:
   passa a ocupar uma coluna própria, e o texto fica com o restante. */
@media (max-width: 1100px) {
  .hero-card {
    gap: 28px;
  }

  .hero-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-decoration {
    position: relative;
    top: auto;
    right: auto;
    flex: 0 0 245px;
    transform: none;
  }
}

/* Em tela estreita não há largura para os dois: fica só o texto. */
@media (max-width: 760px) {
  .hero-decoration {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring,
  .hero-dot {
    animation: none !important;
  }
}


/* COMO AJUDAMOS — cartões que se organizam */
@media (min-width: 1101px) {
  #como-ajudamos .section-header {
    position: relative;
    max-width: none;
    min-height: 310px;
  }

  #como-ajudamos .section-header>h2,
  #como-ajudamos .section-header>p {
    max-width: 680px;
  }

  #como-ajudamos .section-header>h2::after,
  #como-ajudamos .section-header>p::after {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    width: 270px;
    height: 64px;
    padding-left: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid #68b9e9;
    border-radius: 8px;
    background: #293440;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.17);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    animation: ecirt-organizar 12s ease-in-out infinite;
  }

  #como-ajudamos .section-header>h2::after {
    top: 18px;
    right: 26px;
    content: "·  Organizar";
  }

  #como-ajudamos .section-header>p:first-of-type::after {
    top: 100px;
    right: 0;
    border-left-color: #f3c34d;
    content: "·  Atender";
    animation-delay: 0.45s;
  }

  #como-ajudamos .section-header>p:last-of-type::after {
    top: 182px;
    right: 26px;
    border-left-color: #4ade80;
    content: "·  Gerenciar";
    animation-delay: 0.9s;
  }
}

@keyframes ecirt-organizar {

  0%,
  6% {
    opacity: 0;
    transform: translate(32px, -38px) rotate(5deg);
  }

  17%,
  78% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }

  92%,
  100% {
    opacity: 0;
    transform: translate(0, 12px) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  #como-ajudamos .section-header>h2::after,
  #como-ajudamos .section-header>p::after {
    animation: none;
  }
}
/* SOLICITAÇÃO — página do formulário */

.form-card {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--clr-border);
  border-left: 5px solid var(--clr-blue);
  border-radius: var(--radius);
  background: var(--clr-white);
  box-shadow: var(--shadow);
}

.request-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  color: var(--clr-text);
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--clr-border);
  border-radius: 7px;
  background: #fbfdff;
  color: var(--clr-text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--clr-blue-strong);
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 121, 180, 0.18);
}

.form-trap {
  position: absolute;
  left: -9999px;
}

.btn-primary {
  justify-self: start;
  background: var(--clr-blue-strong);
  color: #fff;
}

.btn-primary:hover {
  background: #1b6399;
  box-shadow: 0 6px 18px rgba(36, 121, 180, 0.22);
}

.form-privacy {
  margin-bottom: 0;
  font-size: 0.8125rem;
}

.form-notice {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 7px;
  font-size: 0.9375rem;
}

.form-notice--ok {
  border: 1px solid #b7e4c7;
  background: #eefaf2;
  color: #1d6b3a;
}

.form-notice--error {
  border: 1px solid #f3c1c1;
  background: #fdf0f0;
  color: #9b2222;
}

@media (max-width: 600px) {
  .btn-primary {
    justify-self: stretch;
  }
}

/* Link dentro de texto corrido: o estilo geral tira cor e sublinhado dos links. */
.text-link {
  color: var(--clr-blue-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: #1b6399;
}
