:root {
  --navy: #061426;
  --navy-2: #0b213a;
  --ink: #102033;
  --muted: #627287;
  --line: #d9e2ee;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --blue: #082b5f;
  --blue-2: #0f4c91;
  --orange: #f36c12;
  --orange-2: #d94d00;
  --green: #1aa85b;
  --shadow: 0 24px 70px rgba(8, 30, 56, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 238, 0.72);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(172px, 17vw, 270px);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(8, 43, 95, 0.14);
  border-radius: 6px;
  background: #ffffff;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  padding: 0 7px;
  color: var(--blue);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: #ffffff;
  background: var(--blue);
}

.language-button.is-active .flag {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.flag {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
  width: 21px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(6, 20, 38, 0.18);
}

.flag-br {
  background: #009739;
}

.flag-br::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  background: #ffdf00;
  transform: translate(-50%, -50%) rotate(45deg);
}

.flag-br::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #002776;
  transform: translate(-50%, -50%);
}

.flag-us {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 7.69%,
    #ffffff 7.69% 15.38%
  );
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 8px;
  background: #3c3b6e;
}

.flag-us::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    3px 0 #ffffff,
    6px 0 #ffffff,
    1.5px 2px #ffffff,
    4.5px 2px #ffffff,
    0 4px #ffffff,
    3px 4px #ffffff,
    6px 4px #ffffff;
}

.flag-es {
  background: linear-gradient(
    to bottom,
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}

.flag-es::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 3px;
  height: 4px;
  border-radius: 1px;
  background: #c60b1e;
  box-shadow: 0 0 0 1px rgba(255, 213, 0, 0.85);
}

.header-action,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  border: 0;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-action,
.primary-button,
.contact-form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 28px rgba(243, 108, 18, 0.26);
}

.secondary-button {
  color: var(--blue);
  background: #ffffff;
  border: 1px solid rgba(8, 43, 95, 0.18);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: clamp(42px, 6vw, 74px) clamp(20px, 5vw, 76px) 48px;
  overflow: hidden;
  background:
    linear-gradient(115deg, #ffffff 0 45%, rgba(244, 247, 251, 0.92) 45% 100%),
    var(--surface);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 43, 95, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 43, 95, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 116px;
  width: 44vw;
  min-width: 440px;
  aspect-ratio: 1;
  border: 34px solid rgba(243, 108, 18, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.brazil-celebration {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(270px, calc(100% - 40px));
  margin: 0 auto clamp(28px, 4vw, 42px);
  padding: 14px 18px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 0, 0.62);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 39, 118, 0.94), rgba(0, 151, 57, 0.9)),
    #009739;
  box-shadow: 0 18px 42px rgba(0, 39, 118, 0.22);
  pointer-events: none;
  transform-origin: center;
  animation: brazil-celebration-float 4s ease-in-out infinite;
}

.brazil-celebration::before {
  content: "";
  position: absolute;
  inset: -52% 16%;
  background: #ffdf00;
  opacity: 0.92;
  transform: rotate(45deg);
}

.brazil-celebration::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.brazil-stars,
.brazil-celebration strong,
.brazil-confetti {
  position: relative;
  z-index: 1;
}

.brazil-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  color: #ffdf00;
  text-shadow: 0 2px 8px rgba(0, 39, 118, 0.44);
}

.brazil-stars span {
  display: inline-block;
  font-size: 23px;
  line-height: 1;
  animation: brazil-star-pop 1.8s ease-in-out infinite;
}

.brazil-stars span:nth-child(2) { animation-delay: 0.12s; }
.brazil-stars span:nth-child(3) { animation-delay: 0.24s; }
.brazil-stars span:nth-child(4) { animation-delay: 0.36s; }
.brazil-stars span:nth-child(5) { animation-delay: 0.48s; }

.brazil-celebration strong {
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 39, 118, 0.42);
}

.brazil-confetti {
  position: absolute;
  inset: 0;
}

.brazil-confetti span {
  position: absolute;
  top: -14px;
  width: 7px;
  height: 13px;
  border-radius: 2px;
  background: #ffffff;
  opacity: 0.85;
  animation: brazil-confetti-fall 3.4s linear infinite;
}

.brazil-confetti span:nth-child(1) { left: 10%; background: #ffdf00; animation-delay: 0s; }
.brazil-confetti span:nth-child(2) { left: 25%; background: #ffffff; animation-delay: 0.45s; }
.brazil-confetti span:nth-child(3) { left: 43%; background: #009739; animation-delay: 0.9s; }
.brazil-confetti span:nth-child(4) { left: 61%; background: #ffdf00; animation-delay: 1.35s; }
.brazil-confetti span:nth-child(5) { left: 78%; background: #ffffff; animation-delay: 1.8s; }
.brazil-confetti span:nth-child(6) { left: 91%; background: #002776; animation-delay: 2.25s; }

@keyframes brazil-celebration-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(7px) rotate(1deg); }
}

@keyframes brazil-star-pop {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-4px) scale(1.18); }
}

@keyframes brazil-confetti-fall {
  0% { transform: translateY(-16px) rotate(0deg); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(130px) rotate(220deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .brazil-celebration,
  .brazil-stars span,
  .brazil-confetti span {
    animation: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(340px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  color: var(--blue);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.06;
  font-weight: 900;
  padding-bottom: 4px;
}

.hero-text {
  max-width: 590px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions a {
  min-width: 174px;
}

.hero-brand {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: clamp(22px, 4vw, 52px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.84)),
    #ffffff;
  box-shadow: var(--shadow);
}

.hero-brand::before,
.hero-brand::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--orange);
}

.hero-brand::before {
  top: 28px;
  right: 32px;
  width: 112px;
  height: 4px;
}

.hero-brand::after {
  left: 34px;
  bottom: 30px;
  width: 72px;
  height: 4px;
  background: var(--blue);
}

.hero-brand img {
  width: min(700px, 100%);
  filter: drop-shadow(0 20px 28px rgba(8, 43, 95, 0.14));
}

.metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1240px, 100%);
  margin: 48px auto 0;
  border: 1px solid rgba(217, 226, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(8, 30, 56, 0.08);
}

.metrics article {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  scroll-margin-top: 96px;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 76px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.section-heading h2,
.contact-copy h2 {
  margin-top: 12px;
  color: var(--blue);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.04;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.about-section {
  background:
    linear-gradient(135deg, rgba(8, 43, 95, 0.04), transparent 44%),
    #ffffff;
}

.about-section .section-heading {
  width: min(860px, 100%);
}

.slogan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1240px, 100%);
  margin-top: 38px;
}

.slogan-grid article {
  display: flex;
  align-items: center;
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(217, 226, 238, 0.92);
  border-radius: 8px;
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 30, 56, 0.07);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 900;
  line-height: 1.24;
}

.slogan-grid article:nth-child(2),
.slogan-grid article:nth-child(4) {
  border-color: rgba(243, 108, 18, 0.24);
  color: var(--orange-2);
}

.services-section {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.team-section {
  background: var(--soft);
}

.employee-heading {
  margin-top: clamp(42px, 6vw, 72px);
}

.team-frame {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  gap: 20px;
  width: min(1240px, 100%);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(217, 226, 238, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(8, 30, 56, 0.08);
}

.leadership-frame {
  grid-template-columns: minmax(260px, 360px);
}

.employee-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 238, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.employee-photo {
  display: block;
  aspect-ratio: 1 / 1;
  width: min(168px, calc(100% - 48px));
  margin: 24px auto 0;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #d9e2ee;
  box-shadow: 0 14px 30px rgba(8, 30, 56, 0.14);
}

.employee-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.employee-initials {
  display: grid;
  place-items: center;
  width: min(168px, calc(100% - 48px));
  aspect-ratio: 1 / 1;
  margin: 24px auto 0;
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 14px 30px rgba(8, 30, 56, 0.14);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
}

.employee-info {
  padding: 18px 24px 24px;
}

.employee-card-no-photo .employee-info {
  padding-top: 18px;
}

.employee-card .eyebrow {
  text-align: center;
}

.employee-card h3 {
  margin-top: 8px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.18;
  text-align: center;
}

.employee-card p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.employee-credentials {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 43, 95, 0.04);
  list-style: none;
}

.employee-credentials li {
  position: relative;
  padding-left: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.employee-credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
}

.service-card,
.process-list article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(217, 226, 238, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 30, 56, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.process-list article:hover,
.employee-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 108, 18, 0.32);
  box-shadow: 0 22px 52px rgba(8, 30, 56, 0.13);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
}

.service-card h3,
.process-list h3 {
  margin-top: 24px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.18;
}

.service-card p,
.process-list p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.service-detail-page {
  background: var(--soft);
}

.service-detail-hero {
  min-height: auto;
  padding-top: clamp(70px, 9vw, 118px);
  padding-bottom: clamp(54px, 8vw, 94px);
}

.service-detail-hero .hero-content {
  grid-template-columns: minmax(0, 760px) minmax(260px, 420px);
  align-items: center;
}

.service-detail-hero .hero-text {
  max-width: 720px;
}

.service-detail-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.1);
  box-shadow: 0 22px 60px rgba(0,0,0,.2);
}

.service-detail-card strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
}

.service-detail-card ul,
.service-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.service-detail-card li,
.service-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.service-detail-card li::before,
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.service-detail-section {
  display: grid;
  gap: 34px;
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
  background: #fff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  width: min(1180px, 100%);
}

.service-detail-panel {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(217, 226, 238, .92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 30, 56, .07);
}

.service-detail-panel h2,
.service-detail-panel h3 {
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.14;
}

.service-detail-panel h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.service-detail-panel h3 {
  font-size: 22px;
}

.service-detail-panel p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.service-detail-panel .service-list {
  margin-top: 20px;
}

.service-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.related-services a {
  padding: 9px 12px;
  border: 1px solid rgba(8,43,95,.16);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  background: var(--soft);
}

.products-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 8%, rgba(243, 108, 18, 0.18), transparent 28%),
    linear-gradient(145deg, #061426 0%, #082b5f 100%);
}

.products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.products-intro,
.product-grid,
.agenda-pricing,
.timeclock-product,
.products-note {
  position: relative;
  z-index: 1;
}

.products-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: min(1240px, 100%);
}

.products-section .section-heading {
  margin: 0;
}

.products-section .section-heading h2,
.products-section .section-heading p {
  color: #ffffff;
}

.products-section .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.products-contact {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.products-contact:hover {
  transform: translateY(-3px);
  background: var(--orange-2);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: min(1240px, 100%);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(240px, 30%) 1fr;
}

.product-card .product-visual {
  height: auto;
  min-height: 280px;
}

.agenda-product-card .product-content {
  min-width: 0;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  transition: transform .24s ease, border-color .24s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(243, 108, 18, .6);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f4c91, #061426);
}

.product-visual-orange { background: linear-gradient(135deg, #ff8a32, #d94d00); }
.product-visual-light { background: linear-gradient(135deg, #dbeafe, #8bbcf2); }
.product-visual-security { background: linear-gradient(135deg, #123c69, #0b7a75); }

.product-mark {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(255,255,255,.72);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

.product-screen {
  position: relative;
  width: 180px;
  height: 98px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
  transform: rotate(-3deg);
}

.product-screen span { display: block; width: 56%; height: 6px; margin-bottom: 8px; border-radius: 8px; background: rgba(255,255,255,.56); }
.product-screen strong { position: absolute; right: 18px; bottom: 16px; color: #fff; font-size: 28px; }

.calendar-icon {
  display: grid;
  place-items: center;
  width: 108px;
  height: 104px;
  border-radius: 18px;
  color: var(--orange-2);
  background: #fff;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

.calendar-icon strong { font-size: 36px; }
.calendar-icon span { position: absolute; width: 108px; height: 14px; margin-top: -90px; border-radius: 18px 18px 0 0; background: var(--blue); }

.security-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 134px;
  border-radius: 28px 28px 42px 42px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.42);
  clip-path: polygon(50% 0, 92% 18%, 82% 78%, 50% 100%, 18% 78%, 8% 18%);
}

.security-icon::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 44px;
  margin-top: 24px;
  border-radius: 10px;
  background: #ffffff;
}

.security-icon span {
  position: relative;
  width: 58px;
  height: 48px;
  margin-top: 16px;
}

.security-icon span::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -25px;
  width: 40px;
  height: 36px;
  border: 7px solid #ffffff;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.security-icon span::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 14px;
  width: 8px;
  height: 16px;
  border-radius: 8px;
  background: var(--orange);
  box-shadow: 0 -7px 0 2px var(--orange);
}

.bars-icon { display: flex; align-items: flex-end; gap: 9px; height: 88px; }
.bars-icon span { width: 22px; border-radius: 6px 6px 2px 2px; background: var(--blue); box-shadow: 0 8px 18px rgba(8,43,95,.18); }
.bars-icon span:nth-child(1) { height: 38%; }
.bars-icon span:nth-child(2) { height: 62%; }
.bars-icon span:nth-child(3) { height: 48%; }
.bars-icon span:nth-child(4) { height: 88%; background: var(--orange); }

.product-content { padding: 26px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-status { padding: 6px 9px; border-radius: 999px; color: #08783d; background: #e8f8ef; letter-spacing: 0; text-transform: none; }
.product-content h3 { margin-top: 20px; color: var(--blue); font-family: "Montserrat", sans-serif; font-size: 24px; }
.product-content > p { min-height: 76px; margin-top: 12px; color: var(--muted); line-height: 1.55; }
.product-content ul { display: grid; gap: 10px; margin: 20px 0 24px; list-style: none; }
.product-content li { position: relative; padding-left: 24px; color: #33465b; font-size: 14px; line-height: 1.4; }
.product-content li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.product-content > a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 900; }
.product-content > a::after { content: "→"; color: var(--orange); font-size: 18px; transition: transform .2s ease; }
.product-content > a:hover::after { transform: translateX(4px); }

.agenda-pricing {
  width: 100%;
  margin: 30px 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8,43,95,.1);
}

.agenda-pricing-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(243,108,18,.08), rgba(8,43,95,.04));
}

.agenda-pricing-heading h3 {
  margin-top: 8px;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
}

.agenda-pricing-heading div > p:last-child {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.agenda-pricing-tag {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.agenda-plans { padding: 0 22px 18px; }
.agenda-plan { display: grid; grid-template-columns: .7fr 1.8fr .85fr 1fr; align-items: center; gap: 20px; padding: 20px 10px; border-bottom: 1px solid var(--line); }
.agenda-plan:last-child { border-bottom: 0; }
.agenda-plan-header { padding-top: 16px; padding-bottom: 12px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.agenda-plan:not(.agenda-plan-header) > strong:first-child { color: var(--blue); font-size: 16px; }
.agenda-plan > span { color: #52657a; font-size: 14px; line-height: 1.45; }
.agenda-monthly { color: var(--orange-2); font-size: 16px; }
.agenda-monthly small { margin-left: 3px; color: var(--muted); font-size: 11px; }
.agenda-plan-highlight { margin: 5px 0; padding-left: 16px; padding-right: 16px; border: 1px solid rgba(243,108,18,.18); border-radius: 12px; background: #fff8f3; }
.sales-pricing .agenda-plan { grid-template-columns: .85fr minmax(0, 1.9fr); }
.sales-pricing .agenda-plan > span,
.sales-pricing .agenda-monthly { min-width: 0; }

.timeclock-product {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1240px, 100%);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.timeclock-copy { display: flex; flex-direction: column; justify-content: center; }
.timeclock-heading { display: flex; align-items: center; gap: 18px; }
.timeclock-heading .product-meta { justify-content: flex-start; }
.timeclock-heading h3 { margin-top: 12px; color: var(--blue); font-family: "Montserrat", sans-serif; font-size: clamp(25px, 3vw, 34px); }
.timeclock-icon { position: relative; flex: 0 0 auto; width: 72px; height: 72px; border: 6px solid #ffffff; border-radius: 50%; background: var(--orange); box-shadow: 0 10px 28px rgba(243,108,18,.3), inset 0 0 0 2px rgba(255,255,255,.35); }
.timeclock-icon::before { content: ""; position: absolute; left: 31px; top: 15px; width: 4px; height: 22px; border-radius: 4px; background: #fff; transform-origin: bottom; }
.clock-hand { position: absolute; left: 31px; top: 33px; width: 20px; height: 4px; border-radius: 4px; background: #fff; transform: rotate(25deg); transform-origin: left; }
.timeclock-copy > p { margin-top: 24px; color: var(--muted); line-height: 1.65; }
.timeclock-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 24px 0 28px; list-style: none; }
.timeclock-features li { position: relative; padding-left: 25px; color: #33465b; font-size: 14px; line-height: 1.45; }
.timeclock-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.timeclock-cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 14px; min-height: 50px; padding: 0 20px; border-radius: 11px; color: #fff; background: var(--blue); font-weight: 800; transition: transform .2s ease, background .2s ease; }
.timeclock-cta:hover { transform: translateY(-3px); background: var(--blue-2); }

.pricing-panel { overflow: hidden; align-self: center; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.pricing-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; color: #fff; background: var(--blue); }
.pricing-header div { display: grid; gap: 5px; }
.pricing-header div span { color: rgba(255,255,255,.66); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pricing-header strong { font-size: 16px; }
.pricing-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 11px; font-weight: 900; }
.pricing-table { padding: 8px 18px 0; }
.pricing-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 5px; border-bottom: 1px solid var(--line); color: #3c4f64; }
.pricing-row > span { font-size: 14px; }
.pricing-row strong { flex: 0 0 auto; color: var(--blue); font-size: 16px; text-align: right; }
.pricing-row small { margin-left: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.pricing-row-featured { margin: 5px -7px 0; padding: 14px 12px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.pricing-row-featured strong, .pricing-row-featured small { color: #fff; }
.setup-price { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; margin: 15px 18px 18px; padding: 16px; border-radius: 11px; color: var(--blue); background: #fff; box-shadow: 0 8px 22px rgba(8,43,95,.08); }
.setup-price span { font-size: 14px; font-weight: 800; }
.setup-price strong { grid-row: span 2; font-size: 24px; }
.setup-price small { color: var(--muted); font-size: 11px; }

.products-note {
  width: min(1240px, 100%);
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.05);
  text-align: center;
  font-size: 14px;
}

.process-section {
  background: #ffffff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
}

.process-list span {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.contact-section {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 76px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 20, 38, 0.96), rgba(11, 33, 58, 0.94)),
    var(--navy);
}

.contact-copy {
  width: min(560px, 100%);
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.email-link {
  max-width: 100%;
}

.email-link span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
}

.email-link strong {
  overflow-wrap: anywhere;
}

.instagram-link span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(2, 9, 18, 0.44);
  outline: none;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 108, 18, 0.18);
}

.contact-form option {
  color: var(--ink);
}

.contact-form button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status.is-success {
  color: #8ef0b8;
}

.form-status.is-error {
  color: #ffb5a6;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.site-footer img {
  width: 210px;
}

.footer-info {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.footer-info strong {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.footer-social {
  color: var(--orange-2);
  font-size: 14px;
  font-weight: 900;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--blue);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    min-height: 320px;
  }

  .service-grid,
  .process-list,
  .slogan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeclock-product { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: 74px;
    gap: 14px;
  }

  .brand img {
    width: 166px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .language-switcher {
    min-height: 38px;
  }

  .language-button {
    min-width: 48px;
    min-height: 30px;
    padding: 0 5px;
    font-size: 11px;
  }

  .flag {
    width: 19px;
    height: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .brazil-celebration {
    width: min(100%, 320px);
    margin-bottom: 26px;
    padding: 12px 14px;
  }

  .brazil-stars {
    gap: 6px;
  }

  .brazil-stars span {
    font-size: 20px;
  }

  .brazil-celebration strong {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-brand {
    min-height: 230px;
    padding: 18px;
  }

  .metrics,
  .service-grid,
  .product-grid,
  .process-list,
  .slogan-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .products-intro { align-items: flex-start; flex-direction: column; gap: 26px; }
  .product-content > p { min-height: auto; }
  .timeclock-product { padding: 22px; }
  .timeclock-heading { align-items: flex-start; }
  .timeclock-icon { width: 60px; height: 60px; border-width: 5px; }
  .timeclock-icon::before { left: 26px; top: 12px; height: 19px; }
  .clock-hand { left: 26px; top: 28px; width: 17px; }
  .timeclock-features { grid-template-columns: 1fr; }
  .pricing-header { align-items: flex-start; flex-direction: column; }
  .pricing-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pricing-row strong { text-align: left; }

  .slogan-grid article {
    min-height: auto;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .service-card,
  .process-list article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-info {
    justify-items: start;
    text-align: left;
  }
}

/* Refinamento visual e reducao dos espacos vazios */
body {
  background: #f7f9fc;
}

.site-header {
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 8px 30px rgba(8, 30, 56, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  overflow: visible;
}

.brand img {
  width: clamp(180px, 16vw, 250px);
  height: 58px;
  margin: 0;
  object-fit: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-chat {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 14px;
}

.chat-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 20px 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 35px rgba(217, 77, 0, .34);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(217, 77, 0, .4); }
.chat-launcher-icon { display: flex; align-items: center; justify-content: center; gap: 3px; width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.chat-launcher-icon i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.chat-notification { position: absolute; top: -3px; right: 3px; display: grid; place-items: center; width: 21px; height: 21px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--blue); font-size: 10px; }
.support-chat.is-open .chat-notification { display: none; }

.instagram-float-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 31% 105%, #fdf497 0 13%, #fd5949 38%, #d6249f 64%, #285aeb 100%);
  box-shadow:
    0 14px 35px rgba(214, 36, 159, .28),
    inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.instagram-float-button::before {
  content: "";
  position: absolute;
  inset: 8px 9px auto auto;
  width: 17px;
  height: 17px;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  pointer-events: none;
}

.instagram-float-button:hover,
.instagram-float-button:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 18px 42px rgba(214, 36, 159, .38),
    inset 0 1px 0 rgba(255,255,255,.36);
}

.instagram-float-button svg {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(75, 0, 82, .28));
}

.instagram-float-button .instagram-lens-dot {
  fill: currentColor;
  stroke: none;
}

.chat-window {
  display: none;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(8,43,95,.13);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6,20,38,.28);
  transform-origin: bottom right;
}

.support-chat.is-open .chat-window { display: block; animation: chat-in .22s ease-out; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

.chat-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 17px 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.chat-avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: #fff; background: var(--orange); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 900; }
.chat-header > div:nth-child(2) { display: grid; gap: 4px; }
.chat-header strong { font-size: 15px; }
.chat-header div > span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.72); font-size: 11px; }
.chat-header i { width: 7px; height: 7px; border-radius: 50%; background: #46d883; box-shadow: 0 0 0 3px rgba(70,216,131,.14); }
.chat-close { width: 34px; height: 34px; border: 0; border-radius: 9px; color: #fff; background: rgba(255,255,255,.1); font-size: 24px; line-height: 1; cursor: pointer; }

.chat-messages { display: flex; flex-direction: column; gap: 11px; height: 270px; padding: 18px; overflow-y: auto; background: #f4f7fb; scroll-behavior: smooth; }
.chat-message { max-width: 86%; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; white-space: pre-line; }
.chat-message.bot { align-self: flex-start; border-bottom-left-radius: 4px; color: #33465b; background: #fff; box-shadow: 0 5px 15px rgba(8,43,95,.07); }
.chat-message.user { align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; background: var(--blue); }
.chat-message a { display: inline-block; margin-top: 8px; color: var(--orange-2); font-weight: 800; text-decoration: underline; }
.chat-typing { display: flex; gap: 4px; width: fit-content; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9cacbe; animation: chat-dot 1s infinite alternate; }
.chat-typing i:nth-child(2) { animation-delay: .18s; }
.chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes chat-dot { to { opacity: .25; transform: translateY(-3px); } }

.chat-suggestions { display: flex; gap: 7px; padding: 12px 14px 5px; overflow-x: auto; background: #fff; }
.chat-suggestions button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(8,43,95,.18); border-radius: 999px; color: var(--blue); background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.chat-suggestions button:hover { border-color: var(--orange); color: var(--orange-2); }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 10px 14px 14px; background: #fff; }
.chat-form input { min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: var(--soft); }
.chat-form input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(15,76,145,.1); }
.chat-form button { width: 44px; height: 44px; border: 0; border-radius: 11px; color: #fff; background: var(--orange); font-size: 21px; font-weight: 900; cursor: pointer; }

.hero {
  min-height: auto;
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    radial-gradient(circle at 85% 18%, rgba(243, 108, 18, 0.18), transparent 24%),
    radial-gradient(circle at 18% 88%, rgba(32, 116, 210, 0.18), transparent 25%),
    linear-gradient(118deg, #fdfefe 0 43%, #eaf2fb 43% 100%);
}

.hero-content {
  gap: clamp(28px, 5vw, 72px);
}

.hero-brand {
  min-height: 360px;
  padding: clamp(18px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
}

.hero-brand img {
  width: min(700px, 100%);
  max-width: 100%;
  transform: none;
  object-fit: contain;
}

.metrics {
  margin-top: 34px;
  border-radius: 16px;
}

.metrics article {
  min-height: 96px;
  padding: 20px 24px;
}

.section {
  padding-top: clamp(58px, 7vw, 88px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

.section > * {
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 30px;
}

.slogan-grid {
  margin-top: 30px;
}

.slogan-grid article {
  min-height: 122px;
  border-radius: 16px;
}

.team-frame {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(8, 43, 95, 0.035), rgba(243, 108, 18, 0.035)),
    #ffffff;
}

.leadership-frame {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}

.employee-card {
  border-radius: 18px;
}

.leadership-frame .employee-card {
  grid-template-columns: 1fr;
}

.leadership-frame .employee-photo {
  width: min(176px, calc(100% - 48px));
}

.leadership-frame .employee-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px 28px;
}

.service-card,
.process-list article {
  min-height: 224px;
  border-radius: 18px;
}

.service-icon {
  border-radius: 15px;
}

.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 10px 24px rgba(243, 108, 18, 0.25);
}

.process-list article {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--orange);
}

.process-list article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(8, 43, 95, 0.06);
}

.contact-section {
  padding-top: clamp(62px, 7vw, 90px);
  padding-bottom: clamp(62px, 7vw, 90px);
  background:
    radial-gradient(circle at 92% 15%, rgba(243, 108, 18, 0.18), transparent 24%),
    radial-gradient(circle at 10% 95%, rgba(20, 97, 180, 0.22), transparent 27%),
    linear-gradient(135deg, #061426, #0b2949);
}

.contact-form {
  border-radius: 20px;
}

.site-footer {
  overflow: visible;
}

.site-footer img {
  width: 230px;
  height: 88px;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .hero-brand {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 176px;
    height: 52px;
    margin: 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-brand {
    min-height: 210px;
  }

  .leadership-frame .employee-card {
    grid-template-columns: 1fr;
  }

  .site-footer img {
    width: 210px;
    height: 82px;
    margin: 0;
  }

  .chat-launcher { min-height: 54px; padding-right: 16px; }
  .chat-window { max-height: calc(100vh - 100px); }
  .chat-messages { height: min(270px, calc(100vh - 350px)); min-height: 180px; }
}

/* Ritmo e espacamento entre blocos */
.products-intro + .product-grid {
  margin-top: clamp(34px, 5vw, 52px);
}

.product-grid + .timeclock-product {
  margin-top: clamp(26px, 4vw, 38px);
}

.timeclock-product + .products-note {
  margin-top: clamp(22px, 3vw, 30px);
}

.services-section .section-heading,
.process-section .section-heading {
  margin-bottom: clamp(30px, 4vw, 42px);
}

.service-grid,
.process-list,
.product-grid {
  gap: clamp(18px, 2.2vw, 26px);
}

.service-card,
.process-list article {
  padding: clamp(24px, 2.5vw, 30px);
}

.product-content {
  padding: clamp(24px, 2.6vw, 30px);
}

.product-content h3 {
  margin-top: 22px;
}

.product-content > p {
  margin-top: 14px;
}

.product-content ul {
  margin-top: 22px;
  margin-bottom: 28px;
}

.timeclock-copy > p {
  margin-top: 26px;
}

.timeclock-features {
  margin-top: 26px;
  margin-bottom: 30px;
}

.contact-form {
  gap: 20px 18px;
}

.site-footer {
  gap: 28px;
  padding-top: 30px;
  padding-right: max(clamp(20px, 5vw, 76px), 280px);
  padding-bottom: 30px;
}

@media (max-width: 680px) {
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .contact-copy h2 {
    line-height: 1.1;
  }

  .section-heading p:not(.eyebrow),
  .contact-copy p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
  }

  .slogan-grid {
    margin-top: 24px;
    gap: 16px;
  }

  .slogan-grid article,
  .service-card,
  .process-list article {
    padding: 22px;
  }

  .team-frame {
    gap: 18px;
    padding: 16px;
  }

  .employee-heading {
    margin-top: 48px;
  }

  .employee-info,
  .leadership-frame .employee-info {
    padding: 24px 22px;
  }

  .products-intro {
    gap: 24px;
  }

  .products-contact {
    width: 100%;
    justify-content: center;
  }

  .products-intro + .product-grid {
    margin-top: 32px;
  }

  .product-grid + .timeclock-product {
    margin-top: 24px;
  }

  .agenda-pricing-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px 20px;
  }

  .agenda-plans { padding: 12px 18px 18px; }
  .agenda-plan-header { display: none; }
  .agenda-plan { grid-template-columns: 1fr; gap: 15px; padding: 22px 4px; }
  .agenda-plan-highlight { margin: 4px -6px; padding: 22px 12px; }
  .agenda-plan [data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .product-card { grid-template-columns: 1fr; }
  .product-card .product-visual { min-height: 180px; }

  .timeclock-product + .products-note {
    margin-top: 20px;
  }

  .product-grid,
  .service-grid,
  .process-list {
    gap: 18px;
  }

  .service-detail-hero .hero-content,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card,
  .service-detail-panel {
    padding: 22px;
  }

  .timeclock-heading {
    gap: 14px;
  }

  .contact-section {
    gap: 38px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .email-link {
    width: 100%;
    gap: 11px;
    padding: 10px 14px;
  }

  .contact-form {
    gap: 18px;
    padding: 22px 18px;
  }

  .site-footer {
    gap: 18px;
    padding-top: 26px;
    padding-right: clamp(20px, 5vw, 76px);
    padding-bottom: 92px;
  }
}
