/* ===========================================================
   Conectra Serviços Digitais — Landing page
   Paleta: tendência do segmento (azul profundo + ciano tech)
   =========================================================== */

:root {
  --navy-900: #0a1f44;
  --navy-800: #0e2a5c;
  --navy-700: #123a7a;
  --blue-500: #2563eb;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --ink: #0b1726;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --bg: #ffffff;
  --bg-alt: #f6f9ff;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(10, 31, 68, .06);
  --shadow-md: 0 16px 40px rgba(10, 31, 68, .10);
  --shadow-lg: 0 30px 70px rgba(10, 31, 68, .18);
  --grad: linear-gradient(120deg, #123a7a 0%, #2563eb 55%, #22d3ee 130%);
  --grad-text: linear-gradient(100deg, #2563eb, #22d3ee);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.15; color: var(--navy-900); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(37, 99, 235, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, .45); }
.btn--ghost { background: transparent; color: var(--navy-900); border: 1.5px solid var(--slate-300); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { flex: none; }
.logo__text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 21px; color: var(--navy-900); letter-spacing: -.02em; }
.logo__text--light { color: var(--cyan-400); }
.header:not(.scrolled) .hero ~ * {}
.nav { display: flex; align-items: center; gap: 8px; }
.nav__link { font-weight: 600; font-size: 15px; color: var(--slate-700); padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--blue-500); background: rgba(37, 99, 235, .07); }
.nav__cta { background: var(--navy-900); color: #fff !important; padding: 10px 20px; margin-left: 6px; }
.nav__cta:hover { background: var(--blue-500); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: .3s; }

/* Header over dark hero: keep readable before scroll */
body:not(.scrolled-body) .header:not(.scrolled) .logo__text,
body:not(.scrolled-body) .header:not(.scrolled) .nav__link { color: #fff; }
body:not(.scrolled-body) .header:not(.scrolled) .nav__link:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 90px; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, .25), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(37, 99, 235, .35), transparent 55%),
    linear-gradient(160deg, #07173a 0%, #0a1f44 45%, #0e2a5c 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  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: 46px 46px; mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 16px; border-radius: 999px; color: #d7e3ff; backdrop-filter: blur(6px); margin-bottom: 22px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); }
.hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 22px; }
.grad-text { background: linear-gradient(100deg, #67e8f9, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { font-size: clamp(16px, 2vw, 18.5px); color: #c4d3f0; max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__trust { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong { font-family: 'Plus Jakarta Sans'; font-size: 28px; font-weight: 800; color: #fff; }
.hero__trust-item span { font-size: 13.5px; color: #9fb3d8; }

.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; width: 100%; height: 600px; }
.hero__floating {
  position: absolute; background: rgba(255, 255, 255, .96); color: var(--navy-900);
  font-size: 13px; font-weight: 600; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 9px; backdrop-filter: blur(8px);
}
.hero__floating--1 { top: 30px; left: -26px; animation: float 5s ease-in-out infinite; }
.hero__floating--2 { bottom: 36px; right: -22px; animation: float 6s ease-in-out infinite .6s; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.icon-check { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); display: inline-flex; }
.icon-check::after { content: "✓"; color: #fff; font-size: 11px; margin: auto; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Trust bar ===== */
.trustbar { background: var(--navy-900); padding: 30px 0; }
.trustbar__label { text-align: center; color: #8fa6cf; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.trustbar__items { display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trustbar__items span { color: #cdd9f2; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 18px; opacity: .85; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.section__title { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.section__lead { font-size: 17px; color: var(--slate-500); }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(34, 211, 238, .14)); color: var(--blue-500);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--slate-500); font-size: 15px; }

/* ===== Split sections ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 480px; object-fit: cover; }
.stat-chip {
  position: absolute; bottom: -22px; right: -10px; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow-md); max-width: 220px; border: 1px solid var(--slate-100);
}
.stat-chip strong { font-family: 'Plus Jakarta Sans'; font-size: 30px; font-weight: 800; color: var(--blue-500); display: block; }
.stat-chip span { font-size: 13px; color: var(--slate-500); }

.check-list { list-style: none; margin: 26px 0 30px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; color: var(--slate-700); font-size: 15.5px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700;
}
.check-list strong { color: var(--navy-900); }

/* ===== Compliance pills ===== */
.compliance { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.pill { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pill:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pill__num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 14px; color: var(--cyan-400); background: var(--navy-900); width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; }
.pill h4 { font-size: 18px; margin-bottom: 8px; }
.pill p { font-size: 14px; color: var(--slate-500); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100); }
.step__n { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 20px; color: #fff; background: var(--grad); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate-500); font-size: 14.5px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary { cursor: pointer; list-style: none; padding: 22px 24px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy-900); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--blue-500); transition: transform .3s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--slate-500); font-size: 15.5px; margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: var(--grad); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 120%, rgba(255,255,255,.18), transparent 60%); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 16.5px; max-width: 560px; }

/* ===== Contact ===== */
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; }
.contact-list__ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(34, 211, 238, .14)); color: var(--blue-500); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.contact-list a:hover { color: var(--blue-500); }

.form { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--slate-700); margin-bottom: 16px; }
.form input, .form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px; border: 1.5px solid var(--slate-300); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; background: #fcfdff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.form textarea { resize: vertical; }
.form__note { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.form__note.ok { color: #16a34a; }
.form__note.err { color: #dc2626; }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: #b9c8e6; padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand p { margin-top: 14px; font-size: 14.5px; color: #9fb3d8; max-width: 320px; }
.footer__col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14.5px; color: #9fb3d8; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--cyan-300); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; color: #7e93bb; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 480px; margin: 0 auto; }
  .hero__media img { height: 420px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; background: #fff; padding: 90px 24px 30px; gap: 6px; transform: translateY(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); align-items: stretch; }
  .nav.open { transform: translateY(0); }
  .nav__link { color: var(--navy-900) !important; padding: 14px; border-radius: 12px; }
  .nav__cta { text-align: center; margin: 8px 0 0; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body:not(.scrolled-body) .header:not(.scrolled) .logo__text { color: #fff; }
  .hero { padding-top: 120px; }
  .grid--3, .grid--4, .steps, .form__row, .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero__floating { display: none; }
  .stat-chip { right: 10px; }
}
