/* ============================================================
   PLENNA TECNOLOGIA — Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #00AEEF;
  --blue-dark:  #0090CC;
  --navy:       #0A1628;
  --navy-mid:   #0D1F3C;
  --text:       #1A1A2E;
  --text-light: #4A5568;
  --bg:         #FFFFFF;
  --bg-gray:    #F7F8FA;
  --bg-blueprint: #EFF7FC;
  --bg-ice:       #F8FBFD;
  --border:     #E2E8F0;
  --white:      #FFFFFF;

  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 4px;
  --transition: 200ms ease;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 28px rgba(0,174,239,.15);
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 68px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 48px);
}

/* --- Typography --- */
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title { color: var(--text); margin-bottom: 16px; }
.section-sub   { max-width: 560px; color: var(--text-light); margin-bottom: 48px; }

.section-label--lg { font-size: .9rem; letter-spacing: .14em; margin-bottom: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue); }

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover { background: #e8f8fd; transform: translateY(-2px); }

.btn-hero-outline {
  border: 1px solid rgba(255,255,255,.36);
  color: var(--white);
  background: rgba(10,22,40,.36);
}
.btn-hero-outline:hover {
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.08);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 1);
  border-bottom: none;
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, .99);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
  gap: 24px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }

.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); flex-shrink: 0; }
.nav-item:hover .nav-link svg,
.nav-item:focus-within .nav-link svg { transform: rotate(180deg); }

/* Dropdown — top:100% (no gap) + padding-top creates visual space without dead zone */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  padding: 8px 0 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  pointer-events: none;
  z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.dropdown a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.dropdown a:hover { background: var(--bg-gray); color: var(--blue); padding-left: 22px; }
.dropdown a:hover::before { opacity: 1; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.header-actions .btn,
.header-cta .btn {
  padding: 9px 20px;
  font-size: .9rem;
  border-radius: 2px;
  font-weight: 600;
}

.desktop-cta { display: inline-flex; }
.header-cta  { display: none; } /* mobile-only CTA inside nav */

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 120px 0 48px;
  position: relative;
  overflow: hidden;
}

/* Fachada como background full */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/fachada-plenna-IA.jpg');
  background-size: cover;
  background-position: top center;
  z-index: 0;
  pointer-events: none;
}

/* Gradiente cobre só a metade esquerda — direita fica com a foto limpa */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,22,40,1) 0%,
    rgba(10,22,40,.98) 30%,
    rgba(10,22,40,.7) 55%,
    rgba(10,22,40,.2) 75%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(520px, .92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.hero-visual {
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}

.hero-typewriter-inline {
  position: relative;
  z-index: 2;
  margin-top: 8px;
}


.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,.12);
  border: 1px solid rgba(0,174,239,.25);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.hero h1 { color: var(--white); margin-bottom: 22px; }

/* Service pills */
.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(10,22,40,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
}
.hero-pill:hover {
  border-color: rgba(255,255,255,.35);
  background: rgba(10,22,40,.5);
}
.hero h1 span { color: var(--blue); }
.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.0625rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-typewriter-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.hero-typewriter-inline .hero-typewriter-intro {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-typewriter-big {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-typewriter-big .typewriter-prompt {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  margin-right: 10px;
}

.hero-typewriter-big #typewriter {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.hero-typewriter-big .typewriter-cursor {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof-points span {
  display: block;
  padding-left: 14px;
  border-left: 2px solid rgba(0,174,239,.72);
  color: rgba(255,255,255,.68);
  font-size: .88rem;
}

.hero-proof-points strong {
  color: var(--white);
  font-weight: 700;
  margin-right: 6px;
}

/* Hero services list — legacy, kept for reference */
.hero-services {
  width: 100%;
  max-width: 340px;
}

.hero-services-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hero-services-list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-services-list li { border-bottom: 1px solid rgba(255,255,255,.08); }

.hero-services-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), padding-left var(--transition);
}
.hero-services-list a:hover {
  color: var(--white);
  padding-left: 6px;
}

.hero-services-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--blue);
}
.hero-services-icon svg { width: 18px; height: 18px; }

.hero-services-name {
  flex: 1;
  font-size: .9rem;
  font-weight: 500;
}

.hero-services-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  color: var(--blue);
}
.hero-services-list a:hover .hero-services-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.hero-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,174,239,.2);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: .875rem;
  gap: 12px;
}

.hero-img-placeholder svg { width: 48px; height: 48px; opacity: .4; }

/* Floating stats card */
.hero-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}
.hero-stat-card .stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.hero-stat-card .stat-label {
  font-size: .75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   TYPEWRITER
   ============================================================ */
.hero-typewriter-block {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-typewriter-intro {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-typewriter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.typewriter-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

#typewriter {
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.typewriter-prompt {
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  margin-right: 6px;
  opacity: .8;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--blue);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-left: 4px;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   CONVERSION PATH
   ============================================================ */
.conversion-path {
  background: #071224;
  padding: 0;
}

.conversion-path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.08);
}

.conversion-step {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  transition: background var(--transition), color var(--transition);
}

.conversion-step:hover {
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.78);
}

.conversion-step span {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.conversion-step strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: .95rem;
  line-height: 1.35;
}

.conversion-step small {
  color: currentColor;
  font-size: .8rem;
  line-height: 1.45;
}

/* ============================================================
   OPERATION MAP
   ============================================================ */
.operation-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,174,239,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,174,239,.055) 1px, transparent 1px),
    linear-gradient(180deg, #F2F9FD 0%, var(--bg-blueprint) 100%);
  background-size: 56px 56px, 56px 56px, auto;
  border-top: 1px solid rgba(0,174,239,.14);
  border-bottom: 1px solid rgba(10,22,40,.08);
  padding: 84px 0;
}

.operation-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #14B8A6);
}

.operation-map > .container {
  position: relative;
  z-index: 1;
}

.operation-map-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.operation-map-header .section-sub { margin-bottom: 0; }

.operation-flow {
  display: grid;
  grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr);
  align-items: stretch;
}

.operation-node {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.operation-node::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #14B8A6);
  opacity: .78;
}

.operation-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(0,174,239,.1);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
}

.operation-node h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.operation-node p {
  font-size: .9rem;
  line-height: 1.6;
}

.operation-connector {
  position: relative;
  align-self: center;
  height: 2px;
  background: rgba(0,174,239,.42);
  overflow: hidden;
}

.operation-connector::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-100%);
  animation: operationSignal 2600ms ease-in-out infinite;
}

.operation-connector::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(0,174,239,.62);
  border-right: 2px solid rgba(0,174,239,.62);
  transform: rotate(45deg);
}

.operation-insight {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(10,22,40,.1);
}

.operation-insight strong {
  flex-shrink: 0;
  color: var(--text);
}

.operation-insight p {
  margin: 0;
  font-size: .92rem;
}

.operation-insight a {
  margin-left: auto;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

@keyframes operationSignal {
  0%, 30% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

/* ============================================================
   VALUE PILLARS STRIP
   ============================================================ */
.pillars-band {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
}

.pillars-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
}

.pillar-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* testimonials marquee still uses these */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { padding: 96px 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--white) 62%, var(--bg-ice) 100%);
  border-bottom: 1px solid rgba(10,22,40,.08);
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - 1320px) / 2 + 48px));
  right: max(24px, calc((100vw - 1320px) / 2 + 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,22,40,.16), transparent);
}

.services > .container {
  position: relative;
  z-index: 1;
}

/* Outer grid: left (header + list) | right (image + panel) */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.services-left {
  display: flex;
  flex-direction: column;
}

.services-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.services-header .section-sub { margin-bottom: 0; }

/* Right column: image on top, panel below */
.services-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.services-right-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: 0 18px 42px rgba(10,22,40,.12);
}
.services-img-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}
.services-img-item.active { opacity: 1; }
.services-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* List */
.services-list { border-top: 1px solid var(--border); }

.services-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 400;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
  gap: 12px;
}

.services-list-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
  color: var(--blue);
}

.services-list-item:hover { color: var(--text); }
.services-list-item:hover svg { opacity: .45; }

.services-list-item.active {
  color: var(--text);
  font-weight: 600;
}
.services-list-item.active svg { opacity: 1; }

/* Text panel — below image in right column */
.services-panel {
  min-height: 160px;
  padding-left: 24px;
  border-left: 3px solid rgba(0,174,239,.32);
}

.services-panel-item {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.services-panel-item.active { display: flex; }

.services-panel-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.services-panel-item h3 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 8px 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.services-panel-item h3 a:hover { background: var(--blue-dark); transform: translateY(-1px); }

.services-panel-item p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.65;
}

.services-panel-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.services-panel-tags-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.services-panel-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-panel-tags li {
  font-size: .8rem;
  color: var(--text-light);
  background: var(--bg-gray);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius);
}

.services-next {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 18px 20px;
  border: 1px solid rgba(0,174,239,.16);
  border-left: 3px solid var(--blue);
  background: rgba(255,255,255,.76);
}

.services-next p {
  margin: 0;
  font-size: .92rem;
}

.services-next a {
  margin-left: auto;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.services-next a:hover { color: var(--blue-dark); }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-points {
  background: var(--navy-mid);
  padding: 88px 0;
}

.pain-points-header {
  max-width: 740px;
  margin-bottom: 38px;
}

.pain-points .section-title { color: var(--white); }
.pain-points .section-sub { color: rgba(255,255,255,.62); margin-bottom: 0; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  color: var(--white);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,174,239,.42);
  background: rgba(255,255,255,.07);
}

.pain-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border: 1px solid rgba(20,184,166,.42);
  border-radius: 50%;
  color: #5EEAD4;
  font-size: .78rem;
  font-weight: 800;
}

.pain-card h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.pain-card p {
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  line-height: 1.6;
}

.pain-card-cta {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
}

/* ============================================================
   DIAGNOSTIC
   ============================================================ */
.diagnostic {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(0,174,239,.16), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 88px 0;
}

.diagnostic::before,
.diagnostic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}

.diagnostic::before { top: 0; }
.diagnostic::after { bottom: 0; }

.diagnostic > .container {
  position: relative;
  z-index: 1;
}

.diagnostic-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.diagnostic .section-title { color: var(--white); }
.diagnostic .section-sub { color: rgba(255,255,255,.66); }
.diagnostic-header .section-sub { margin-bottom: 0; }

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.diagnostic-options {
  position: relative;
  display: grid;
  gap: 12px;
}

.diagnostic-options::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 17px;
  width: 1px;
  background: rgba(255,255,255,.16);
}

.diagnostic-option {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px 18px 14px 0;
  text-align: left;
  color: var(--white);
  background: transparent;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.diagnostic-option:hover,
.diagnostic-option.active {
  background: var(--white);
  color: var(--text);
  transform: translateX(4px);
}

.diagnostic-node-dot {
  position: relative;
  justify-self: center;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,.26);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.diagnostic-node-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(0,174,239,.35);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.7);
}

.diagnostic-option.active .diagnostic-node-dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(0,174,239,.12);
}

.diagnostic-option:hover .diagnostic-node-dot {
  background: var(--blue);
  border-color: var(--blue);
}

.diagnostic-option.active .diagnostic-node-dot::after {
  animation: diagnosticPulse 2200ms ease-out infinite;
}

.diagnostic-option strong {
  display: block;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.3;
}

.diagnostic-option small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.45;
}

.diagnostic-option:hover small,
.diagnostic-option.active small {
  color: var(--text-light);
}

.diagnostic-result {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 58px rgba(0,0,0,.24);
  overflow: hidden;
}

.diagnostic-panel {
  display: none;
  padding: 34px;
  min-height: 100%;
}

.diagnostic-panel.active {
  display: flex;
  flex-direction: column;
  animation: diagnosticPanelIn 220ms ease both;
}

.diagnostic-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid rgba(0,174,239,.25);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(0,174,239,.07);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.diagnostic-panel h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--text);
}

.diagnostic-panel p {
  max-width: 620px;
  margin-bottom: 22px;
}

.diagnostic-panel ul {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.diagnostic-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--text-light);
  font-size: .92rem;
}

.diagnostic-panel li::before {
  content: '';
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--blue);
}

.diagnostic-panel .btn {
  align-self: flex-start;
  margin-top: auto;
}

@keyframes diagnosticPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes diagnosticPulse {
  0%   { opacity: .5; transform: scale(.7); }
  70%  { opacity: 0; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(1.45); }
}

/* ============================================================
   PROJECT PROOF
   ============================================================ */
.project-proof {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-ice) 0%, #EEF4F8 100%);
  border-top: 1px solid rgba(255,255,255,.26);
  padding: 96px 0;
}

.project-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - 1320px) / 2 + 48px));
  right: max(24px, calc((100vw - 1320px) / 2 + 48px));
  height: 1px;
  background: rgba(10,22,40,.12);
}

.project-proof > .container {
  position: relative;
  z-index: 1;
}

.project-proof-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.project-proof-header .section-sub { margin-bottom: 0; }

.project-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(10,22,40,.08);
}

.proof-card-label {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 9px;
  border: 1px solid rgba(0,174,239,.25);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(0,174,239,.06);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.proof-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.proof-card > p {
  margin-bottom: 22px;
  font-size: .9rem;
}

.proof-flow {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.proof-flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-gray);
  color: var(--text);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.proof-flow i {
  position: relative;
  display: block;
  height: 1px;
  background: var(--blue);
}

.proof-flow i::after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
}

.proof-details {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.proof-details div {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.proof-details dt {
  margin-bottom: 3px;
  color: var(--text);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.proof-details dd {
  color: var(--text-light);
  font-size: .86rem;
  line-height: 1.55;
}

.proof-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 20px;
}

.proof-stack span {
  padding: 4px 9px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-gray);
  color: var(--text-light);
  font-size: .76rem;
  font-weight: 600;
}

.proof-card a {
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
}

.proof-card a:hover { color: var(--blue-dark); }

/* ============================================================
   CONVERSION CTA
   ============================================================ */
.conversion-cta {
  background: var(--blue);
  padding: 78px 0;
}

.conversion-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.conversion-cta .section-label {
  color: rgba(255,255,255,.75);
}

.conversion-cta h2 {
  max-width: 650px;
  margin-bottom: 10px;
  color: var(--white);
}

.conversion-cta p {
  max-width: 640px;
  color: rgba(255,255,255,.78);
}

.conversion-cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.conversion-cta-link {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.conversion-cta-link:hover { color: rgba(255,255,255,.78); }

/* ============================================================
   NUMBERS / STATS
   ============================================================ */
.stats { background: var(--navy); padding: 40px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: block;
}
.stat-suffix { color: var(--blue); }

.stat-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-gray); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.about-slide.active { opacity: 1; }
.about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.about-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .3s;
  cursor: pointer;
}
.about-dot.active { background: var(--white); }

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: #dde6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9eaab8;
  font-size: .875rem;
}

.about-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.point-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-point h4 { font-size: .9375rem; font-weight: 600; margin-bottom: 2px; }
.about-point p  { font-size: .875rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); overflow: hidden; padding-top: 40px; padding-bottom: 0; }

.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-sub { margin: 0 auto 0; }

.testimonials-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 44s linear infinite;
  will-change: transform;
}

.testimonial-card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  width: 320px;
  flex-shrink: 0;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: .875rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .85rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}

.author-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.author-role { font-size: .8rem; color: var(--text-light); }

/* ============================================================
   CLIENTS LOGOS
   ============================================================ */
.clients-logos {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 36px;
}

.clients-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 170px;
  filter: grayscale(1) contrast(0.6) brightness(0.65);
  opacity: 1;
}
.client-logo-item svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--blue);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p  { color: rgba(255,255,255,.75); }
.cta-band .btn-white { flex-shrink: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--navy);
  padding: 72px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Info / left column */
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .section-label--lg { color: var(--blue); }
.contact-info .section-title { margin-bottom: 0; color: var(--white); }
.contact-info > p { margin: 0; color: rgba(255,255,255,.6); }

/* Details row: email+phone on left, whatsapp on right */
.contact-details-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.contact-detail-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); }
.contact-detail-item:hover { color: var(--white); }

.contact-whatsapp {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
.contact-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }
.contact-whatsapp > svg:first-child { width: 20px; height: 20px; flex-shrink: 0; }
.contact-whatsapp-label { display: none; }
.contact-whatsapp-cta { font-size: .875rem; font-weight: 700; }
.contact-whatsapp-arrow { display: none; }

/* Form / right column */
.contact-form-wrap {
  background: #0D1F3C;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--white);
  background: rgba(255,255,255,.06);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-group select option { background: #0D1F3C; color: var(--white); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(0,174,239,.15);
}

.form-group select { cursor: pointer; }

.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-context {
  margin: 2px 0 0;
  color: rgba(255,255,255,.42);
  font-size: .78rem;
  line-height: 1.45;
}

.form-highlight {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(0,174,239,.18);
}

.form-submit { align-self: flex-end; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060e1c;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue); }
.footer-social svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Pill com handle (@usuario) — para rede social única */
.footer-social a.footer-social-pill {
  width: auto;
  height: auto;
  gap: 8px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 500;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms cubic-bezier(.25,.46,.45,.94), transform 450ms cubic-bezier(.25,.46,.45,.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 70ms; }
.fade-in-delay-2 { transition-delay: 140ms; }
.fade-in-delay-3 { transition-delay: 210ms; }
.fade-in-delay-4 { transition-delay: 280ms; }
.fade-in-delay-5 { transition-delay: 350ms; }

/* ============================================================
   SERVICE PAGES — Shared
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 130px 0 80px;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,.12);
  border: 1px solid rgba(0,174,239,.25);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .hero-sub { color: rgba(255,255,255,.65); max-width: 580px; margin-bottom: 32px; }

.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.content-section { padding: 80px 0; }
.content-section.gray { background: var(--bg-gray); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-img {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #dde6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9eaab8;
  font-size: .875rem;
}
.col-img img { width: 100%; height: 100%; object-fit: cover; }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-icon { color: var(--blue); flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

.feature-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.feature-item p  { font-size: .82rem; }

/* Cards grid — used in service pages */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}

.info-card .icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.info-card h3 { margin-bottom: 10px; }
.info-card p  { font-size: .875rem; }

.infra-client-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.infra-client-list span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .conversion-path-grid { grid-template-columns: repeat(2, 1fr); }
  .conversion-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .operation-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .operation-connector {
    width: 2px;
    height: 28px;
    margin: 0 auto;
  }
  .operation-connector::after {
    top: auto;
    right: -4px;
    bottom: 0;
    transform: rotate(135deg);
  }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .project-proof-grid { grid-template-columns: 1fr; }
  .conversion-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-grid  { grid-template-columns: 1fr 1fr; gap: 48px; }
  .cards-grid    { grid-template-columns: repeat(2, 1fr); }
  .infra-client-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item     { border-bottom: 1px solid rgba(255,255,255,.08); border-right: none; }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { justify-content: center; }
  .hero-service-pills { gap: 8px; }
  .hero-pill { font-size: .8rem; padding: 7px 14px; }
  .hero-stat-card { bottom: -12px; left: -8px; }

  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .desktop-cta { display: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 72px; left: 0; right: 0;
    max-height: calc(100vh - 72px);
    background: var(--navy);
    padding: 8px 24px 20px;
    overflow-y: auto;
    gap: 0;
    z-index: 999;
    justify-content: flex-start;
    box-shadow: 0 14px 28px rgba(0,0,0,.4);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .main-nav.open .header-cta { display: block; margin: 20px 0 0; }
  .main-nav.open .header-cta .btn { display: flex; width: 100%; justify-content: center; }

  .nav-link { color: var(--white); padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; background: none !important; justify-content: space-between; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 16px;
    transition: max-height 300ms ease, padding 300ms ease;
  }
  .nav-item.open > .dropdown { max-height: 480px; padding: 4px 0 10px 16px; }
  .nav-item.open > .nav-link svg { transform: rotate(180deg); }
  .dropdown a { color: rgba(255,255,255,.65); padding: 9px 0; font-size: .9rem; }
  .dropdown a::before { display: none; }
  .dropdown a:hover { background: none; color: var(--blue); padding-left: 0; }

  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-right { order: -1; }
  .services-right-img { height: 200px; }
  .services-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .services-next a { margin-left: 0; }
  .operation-map { padding: 64px 0; }
  .operation-node { min-height: auto; }
  .operation-insight {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .operation-insight a { margin-left: 0; }
  .pain-points { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card { min-height: auto; }
  .diagnostic { padding: 64px 0; }
  .diagnostic-grid { gap: 24px; }
  .diagnostic-panel { padding: 24px; }
  .project-proof { padding: 64px 0; }
  .conversion-cta { padding: 64px 0; }
  .conversion-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .services-grid  { grid-template-columns: 1fr; }
  .cards-grid     { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .two-col        { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  /* Empilha e-mail/telefone e o botão do WhatsApp (evita overflow no mobile) */
  .contact-details-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .contact-whatsapp { justify-content: center; }
  .contact-detail-item { word-break: break-word; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .infra-client-list { grid-template-columns: 1fr; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .conversion-path-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .conversion-step {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .conversion-step:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .pillars-grid { flex-direction: column; gap: 14px; }
  .pillar-item { white-space: normal; }
  .diagnostic-option {
    grid-template-columns: 28px 1fr;
    padding-right: 12px;
  }
  .diagnostic-options::before { left: 13px; }
  .proof-card { padding: 22px; }
  .proof-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .proof-flow i {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }
  .proof-flow i::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-in-delay-1,
  .fade-in-delay-2,
  .fade-in-delay-3,
  .fade-in-delay-4,
  .fade-in-delay-5 { transition-delay: 0ms; }

  .testimonials-track,
  .marquee-track { animation-play-state: paused; }

  .operation-connector::before { animation: none; opacity: 0; }
  .diagnostic-panel.active { animation: none; }
  .diagnostic-node-dot::after { animation: none !important; }

  .typewriter-cursor { animation: none; opacity: 1; }
}

/* ============================================================
   MODAL — confirmação de envio do formulário
============================================================ */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.form-modal[hidden] { display: none; }

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, .6);
  backdrop-filter: blur(3px);
  animation: form-modal-fade .2s ease;
}

.form-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 8px;
  padding: 44px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(10, 22, 40, .35);
  animation: form-modal-pop .25s ease;
}

.form-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  padding: 4px;
  border-radius: 4px;
  color: var(--text-light);
  transition: var(--transition);
}
.form-modal-close:hover { color: var(--text); background: var(--bg-gray); }

.form-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 174, 239, .35);
}
.form-modal-icon.is-error {
  background: #E53E3E;
  box-shadow: 0 8px 24px rgba(229, 62, 62, .35);
}

.form-modal-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-modal-text {
  color: var(--text-light);
  margin-bottom: 24px;
}
.form-modal-ok { width: 100%; justify-content: center; }

@keyframes form-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes form-modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .form-modal-backdrop, .form-modal-card { animation: none; }
}
