/* ============================================================
   iCidadao.app.br — Ecossistema InnovaG — Design System 2026
   Paleta Paraná: #020C18 (dark) / #01235A (navy) / #1E72C8 (accent-blue)
                  #006B32 (green) / #00A650 (green-b) / #011B0E (health-bg)
   ============================================================ */

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

:root {
  /* ── Base ─────────────────────────────────────── */
  --dark:    #020C18;
  --navy:    #01235A;
  --navy-l:  #003A8C;
  --navy-xl: #1E5799;
  /* ── Accent — Paraná institutional blue ────────── */
  --accent:   #1E72C8;
  --accent-d: #0C56A3;
  --accent-l: #5BA3DC;
  /* ── Green — iSUS ─────────────────────────────── */
  --green:    #00A650;
  --green-d:  #006B32;
  --green-l:  #4CCE85;
  --green-xl: #A7F0C4;
  --health-bg:#011B0E;
  /* ── Neutrals ─────────────────────────────────── */
  --white:   #ffffff;
  --off:     #F4F7FB;
  --off2:    #E8EFF8;
  --text:    #0A1628;
  --text-2:  #1A3057;
  --muted:   #4A6080;
  --muted-l: #6E8BAA;
  --border:  #C8D8EC;
  --border-l:#DDE8F4;
  /* ── Tokens ───────────────────────────────────── */
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(1,35,90,.07);
  --shadow:    0 6px 28px rgba(1,35,90,.11);
  --shadow-lg: 0 16px 56px rgba(1,35,90,.17);
  --shadow-xl: 0 32px 80px rgba(1,35,90,.22);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Inline SVG icons ─────────────────────────────────── */
.icon {
  width: 1.3rem; height: 1.3rem;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; flex-shrink: 0; vertical-align: middle;
  /* Safari: CSS fill/stroke don't cascade into <use> shadow DOM;
     symbol-level SVG attrs are the authoritative source of truth */
  overflow: visible;
}
/* Prevent any global fill reset from painting SVG paths black in WebKit */
.icon path, .icon circle, .icon line, .icon polyline,
.icon polygon, .icon rect, .icon ellipse {
  fill: none; stroke: currentColor;
}

/* ── Typography ───────────────────────────────────────── */
.display { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.headline { font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.subhead  { font-size: clamp(1rem, 2.1vw, 1.16rem); font-weight: 400; line-height: 1.65; }
.label    { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ── Containers ───────────────────────────────────────── */
.container { max-width: 1220px; margin: 0 auto; padding: 0 1.75rem; }
.section    { padding: 5.5rem 0; }

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem 1rem; border-radius: 100px;
  font-size: .76rem; font-weight: 700; letter-spacing: .05em;
}
.badge-accent { background: var(--accent); color: var(--white); }
.badge-white  { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.badge-green  { background: var(--green); color: var(--dark); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.9rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all .22s ease;
  white-space: nowrap; position: relative; overflow: hidden;
  -webkit-appearance: none; appearance: none; text-decoration: none;
}
/* inset shorthand not supported in Safari < 14.1 — use explicit TRBL */
.btn::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(255,255,255,0); transition: background .2s; pointer-events: none; }
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:focus-visible { outline: 3px solid var(--accent-l); outline-offset: 3px; }

.btn-accent  { background: var(--accent); background-color: #1E72C8; color: #ffffff; box-shadow: 0 4px 20px rgba(30,114,200,.35); }
.btn-accent:hover  { background: var(--accent-d); background-color: #0C56A3; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(30,114,200,.5); }
.btn-green   { background: var(--green); background-color: #00A650; color: #ffffff; box-shadow: 0 4px 20px rgba(0,166,80,.3); }
.btn-green:hover   { background: var(--green-d); background-color: #006B32; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,166,80,.45); }
.btn-outline-white { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #ffffff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline-white:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn-outline-navy  { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover  { background: var(--navy); color: var(--white); box-shadow: 0 6px 20px rgba(1,35,90,.25); }
.btn-outline-green { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline-green:hover { background: rgba(0,166,80,.1); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.08rem; }

/* ── Nav ──────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2,12,24,.92); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .3s;
}
#nav.scrolled {
  background: rgba(2,12,24,.98);
  border-bottom-color: rgba(30,114,200,.15);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}
#nav .nav-inner { display: flex; align-items: center; gap: 1.25rem; height: 66px; }
#nav .logo { font-size: 1.45rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; flex-shrink: 0; }
#nav .logo span { color: var(--accent-l); }
#nav .nav-links { display: flex; gap: .1rem; margin-left: auto; }
#nav .nav-links a {
  color: rgba(255,255,255,.58); font-size: .84rem; font-weight: 500;
  padding: .4rem .72rem; border-radius: 8px; transition: all .15s; position: relative;
}
#nav .nav-links a::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; right: 50%;
  height: 2px; background: var(--accent); border-radius: 2px; transition: all .2s;
}
#nav .nav-links a:hover { color: var(--white); }
#nav .nav-links a:hover::after, #nav .nav-links a.active::after { left: 10px; right: 10px; }
#nav .nav-links a.active { color: var(--white); }
#nav .nav-links a.isus-link { color: rgba(76,206,133,.7); }
#nav .nav-links a.isus-link::after { background: var(--green); }
#nav .nav-links a.isus-link:hover { color: var(--green-l); }
#nav .nav-cta { margin-left: .4rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

.mobile-menu {
  display: none; flex-direction: column; gap: .15rem;
  position: absolute; top: 66px; left: 0; right: 0;
  background: rgba(2,12,24,.98); padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,.7); font-size: .95rem; font-weight: 500; padding: .7rem .9rem; border-radius: 10px; transition: all .15s; }
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.mobile-menu a.health-link { color: var(--green-l); }

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  background: var(--dark);
  padding: 9.5rem 0 6.5rem;
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 105% 5%,  rgba(30,114,200,.08) 0%, transparent 58%),
    radial-gradient(ellipse 60% 80% at -5% 95%, rgba(0,166,80,.06) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(30,114,200,.03) 0%, transparent 100%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,114,200,.045) 0%, transparent 70%);
  top: -300px; right: -200px;
  animation: orbFloat 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-25px,40px) scale(1.04)} 66%{transform:translate(20px,-20px) scale(0.97)} }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }

.hero-text .pre-title { color: var(--accent-l); margin-bottom: 1.4rem; display: inline-flex; align-items: center; gap: .6rem; }
.pre-title-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero-text .display   { color: var(--white); margin-bottom: 1.6rem; }
.hero-text .display .highlight { color: var(--accent-l); }
.hero-text .subhead   { color: rgba(255,255,255,.7); max-width: 510px; margin-bottom: 2.75rem; }

/* Ecosystem pills */
.eco-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.eco-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.eco-pill-blue   { background: rgba(30,114,200,.15); color: var(--accent-l); border: 1px solid rgba(30,114,200,.25); }
.eco-pill-navy   { background: rgba(30,87,153,.15);  color: #7CAADD; border: 1px solid rgba(30,87,153,.25); }
.eco-pill-green  { background: rgba(0,166,80,.15);   color: var(--green-l); border: 1px solid rgba(0,166,80,.22); }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-social { display: flex; align-items: center; gap: .85rem; margin-top: 2.75rem; color: rgba(255,255,255,.45); font-size: .83rem; }
.hero-social .avatars { display: flex; }
.hero-social .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-l), var(--navy-xl));
  border: 2px solid rgba(30,114,200,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .67rem; font-weight: 800; color: var(--accent-l);
  margin-left: -10px; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-social .avatar:first-child { margin-left: 0; }
.hero-social strong { color: var(--accent-l); }

/* ── Hero Visual ──────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual::before {
  content: ''; position: absolute; width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(30,114,200,.1) 0%, transparent 70%);
  border-radius: 50%; filter: blur(40px);
}
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 1.5rem; color: var(--white);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07);
  width: 100%; max-width: 440px; position: relative; z-index: 1;
}
.hero-card-header {
  display: flex; align-items: center; gap: .75rem;
  font-size: .83rem; font-weight: 600; margin-bottom: 1.2rem;
  padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-accent { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.dot-green  { background: var(--green);  box-shadow: 0 0 6px var(--green); }
.dot-off    { background: rgba(255,255,255,.3); }

.hero-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.hero-tab {
  flex: 1; text-align: center; padding: .4rem .4rem;
  border-radius: 8px; font-size: .7rem; font-weight: 700;
  cursor: pointer; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.45);
  transition: all .18s; letter-spacing: .04em;
}
.hero-tab.active-blue  { background: rgba(30,114,200,.15); color: var(--accent-l); border-color: rgba(30,114,200,.3); }
.hero-tab.active-green { background: rgba(0,166,80,.12);   color: var(--green-l);  border-color: rgba(0,166,80,.25); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-bottom: 1.1rem; }
.stat-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: .85rem; text-align: center; transition: border-color .2s;
}
.stat-card:hover { border-color: rgba(30,114,200,.25); }
.stat-card .number { font-size: 1.65rem; font-weight: 900; color: var(--accent-l); line-height: 1; }
.stat-card .number.green-num { color: var(--green-l); }
.stat-card .stat-label { font-size: .68rem; color: rgba(255,255,255,.45); margin-top: .28rem; letter-spacing: .04em; }

.progress-bar  { background: rgba(255,255,255,.07); border-radius: 100px; height: 5px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent-d), var(--accent)); }
.progress-fill.green { background: linear-gradient(90deg, var(--green-d), var(--green)); }
.progress-label { display: flex; justify-content: space-between; font-size: .7rem; color: rgba(255,255,255,.5); margin-bottom: .35rem; }

.mini-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .69rem; font-weight: 700; padding: .25rem .65rem; border-radius: 100px;
}
.mini-badge-accent { background: rgba(30,114,200,.12); color: var(--accent-l); border: 1px solid rgba(30,114,200,.2); }
.mini-badge-green  { background: rgba(0,166,80,.12);   color: var(--green-l);  border: 1px solid rgba(0,166,80,.2); }
.mini-badge-white  { background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); }

.floating-pill {
  position: absolute; background: rgba(2,12,24,.9);
  border: 1px solid rgba(255,255,255,.12); border-radius: 100px;
  padding: .55rem 1.1rem; font-size: .75rem; font-weight: 600;
  color: var(--white); display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.07);
  white-space: nowrap; backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}
.pill-1 { top: -1.25rem; left: -2.5rem;  animation-delay: 0s; }
.pill-2 { bottom: .75rem; right: -2rem;  animation-delay: 2s; }
.pill-3 { top: 38%; left: -3rem;         animation-delay: 1s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ── Stats bar ────────────────────────────────────────── */
#stats { background: var(--navy); padding: 2.25rem 0; position: relative; overflow: hidden; }
#stats::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 80px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; position: relative; }
.stat-item .big  { font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-item .desc { font-size: .81rem; font-weight: 600; color: rgba(255,255,255,.65); margin-top: .35rem; }

/* ── Dividers & Labels ───────────────────────────────── */
.divider { width: 48px; height: 4px; background: var(--accent); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider-center { margin: 1rem auto 1.5rem; }
.divider-green  { background: var(--green); }

.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}
.section-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-label.dark  { color: var(--navy); }
.section-label.dark::before { background: var(--navy); }
.section-label.green { color: var(--green); }
.section-label.green::before { background: var(--green); }
.section-label.light { color: var(--accent-l); }
.section-label.light::before { background: var(--accent-l); }

/* ── Trust / Municípios ───────────────────────────────── */
#trust { background: var(--white); padding: 3rem 0; border-top: 1px solid var(--border-l); border-bottom: 1px solid var(--border-l); }
.trust-label { text-align: center; font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 2rem; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.trust-logo-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--off); border: 1px solid var(--border-l);
  border-radius: 100px; padding: .55rem 1.2rem;
  font-size: .83rem; font-weight: 700; color: var(--text-2); white-space: nowrap;
}
.trust-logo-pill .flag { font-size: 1.1rem; }

/* ── Problem ──────────────────────────────────────────── */
#problema { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.problem-intro .headline { margin-bottom: 1rem; }
.problem-intro p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; }
.problem-list { display: flex; flex-direction: column; gap: .65rem; }
.problem-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--border-l); background: var(--white);
  transition: all .2s; cursor: default;
}
.problem-item:hover { border-color: var(--navy); background: var(--off); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.problem-icon {
  width: 38px; height: 38px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  background: #fee2e2; color: #b91c1c;
}
.problem-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.problem-icon.orange { background: #fef3c7; color: #d97706; }
.problem-icon.green  { background: #dcfce7; color: var(--green-d); }
.problem-text strong { display: block; font-size: .91rem; color: var(--text-2); margin-bottom: .18rem; font-weight: 600; }
.problem-text span   { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ── Products (3 cards) ───────────────────────────────── */
#produtos { background: var(--off); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }

.product-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--white); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.product-card-header {
  padding: 1.85rem 1.75rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  display: flex; align-items: center; gap: 1rem; position: relative; overflow: hidden;
}
.product-card-header::after {
  content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.05); right: -50px; top: -70px;
}
.product-card-header.blue   { background: linear-gradient(135deg, #002060 0%, #003A8C 100%); }
.product-card-header.green  { background: linear-gradient(135deg, #01200D 0%, #004D20 100%); }
.product-card-header.green::after { background: rgba(0,166,80,.06); }

.product-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(255,255,255,.12); display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
  flex-shrink: 0; color: var(--white);
}
.product-icon .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.6; }
.product-card-header h3 { color: var(--white); font-size: 1.25rem; font-weight: 800; }
.product-card-header p  { color: rgba(255,255,255,.65); font-size: .82rem; margin-top: .18rem; }

.product-card-body { padding: 1.75rem; flex: 1; }
.product-card-body > p { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.7; }

.feature-list { display: flex; flex-direction: column; gap: .58rem; }
.feature-item { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.check {
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 900; flex-shrink: 0; margin-top: .15rem;
  box-shadow: 0 2px 6px rgba(30,114,200,.3);
}
.check .icon { width: .7rem; height: .7rem; stroke-width: 3; }
.check.green  { background: var(--green); box-shadow: 0 2px 6px rgba(0,166,80,.3); }
.product-card-footer { padding: 1.1rem 1.75rem; border-top: 1px solid var(--border-l); }

/* Highlight box */
.highlight-box {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg); padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; position: relative; overflow: hidden;
}
.highlight-box::before {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(30,114,200,.06); right: -80px; bottom: -100px;
}
.highlight-box p { color: var(--white); font-size: 1.05rem; font-weight: 800; }
.highlight-box small { display: block; color: rgba(255,255,255,.6); font-size: .87rem; font-weight: 400; margin-top: .3rem; }

/* ── Feature sections ─────────────────────────────────── */
#iCidadão { background: var(--white); }
#iescola  { background: var(--dark); position: relative; overflow: hidden; }
#iescola::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(30,114,200,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(30,87,153,.04) 0%, transparent 60%);
  pointer-events: none;
}
#isus { background: var(--health-bg); position: relative; overflow: hidden; }
#isus::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0,166,80,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(0,107,50,.05) 0%, transparent 60%);
  pointer-events: none;
}

.features-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.features-header .headline { margin-bottom: 1rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 1.35rem; }

.feature-card {
  border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid var(--border-l); background: var(--white);
  transition: all .22s; cursor: default;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--navy-l); box-shadow: var(--shadow); }
.feature-card h4 { font-size: .98rem; font-weight: 700; margin-bottom: .48rem; color: var(--text); }
.feature-card p  { font-size: .86rem; color: var(--muted); line-height: 1.65; }

.feature-card-dark {
  border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition: all .22s; cursor: default;
}
.feature-card-dark:hover { transform: translateY(-5px); border-color: rgba(30,114,200,.35); background: rgba(30,114,200,.04); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.feature-card-dark h4 { font-size: .98rem; font-weight: 700; margin-bottom: .48rem; color: var(--white); }
.feature-card-dark p  { font-size: .86rem; color: rgba(255,255,255,.68); line-height: 1.65; }

.feature-card-health {
  border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid rgba(0,166,80,.12);
  background: rgba(0,166,80,.05);
  transition: all .22s; cursor: default;
}
.feature-card-health:hover { transform: translateY(-5px); border-color: rgba(0,166,80,.3); background: rgba(0,166,80,.08); box-shadow: 0 8px 32px rgba(0,0,0,.35); }
.feature-card-health h4 { font-size: .98rem; font-weight: 700; margin-bottom: .48rem; color: var(--white); }
.feature-card-health p  { font-size: .86rem; color: rgba(255,255,255,.72); line-height: 1.65; }

.feat-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.feat-icon .icon { width: 1.4rem; height: 1.4rem; }
.feat-icon-navy   { background: rgba(1,35,90,.09);   color: var(--navy-l); }
.feat-icon-accent { background: rgba(30,114,200,.12); color: var(--accent);   box-shadow: 0 4px 12px rgba(30,114,200,.1); }
.feat-icon-dark   { background: rgba(30,114,200,.12); color: var(--accent-l); }
.feat-icon-health { background: rgba(0,166,80,.15);   color: var(--green-l);  box-shadow: 0 4px 12px rgba(0,166,80,.1); }

.feat-sub-label {
  font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.58); margin-bottom: 1.2rem; margin-top: 2.5rem;
  padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.feat-sub-label.green { color: rgba(76,206,133,.65); border-bottom-color: rgba(0,166,80,.15); }
.feat-sub-label-light {
  font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-l); margin-bottom: 1.2rem; margin-top: 2.5rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border-l);
}

/* ── iSUS highlight strip ─────────────────────────────── */
.isus-integration-strip {
  background: rgba(0,166,80,.08);
  border: 1px solid rgba(0,166,80,.18);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.isus-integration-strip .strip-icon { color: var(--green-l); flex-shrink: 0; }
.isus-integration-strip .strip-icon .icon { width: 1.6rem; height: 1.6rem; }
.isus-integration-strip p { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.55; }
.isus-integration-strip strong { color: var(--green-l); }

/* ── How it works ─────────────────────────────────────── */
#como-funciona { background: var(--off); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.step-card {
  text-align: center; padding: 2.2rem 1.75rem;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border-l);
  position: relative; transition: all .25s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  color: var(--white); font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(1,35,90,.3);
}
.step-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.step-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.step-connector {
  position: absolute; right: -1.1rem; top: 2.2rem;
  width: 2.2rem; height: 2px; background: var(--accent);
}
.step-connector::after { content: '›'; position: absolute; right: -5px; top: -11px; color: var(--accent); font-size: 1.2rem; font-weight: 700; }

.timeline-note { background: var(--dark); border-radius: var(--radius-lg); padding: 2rem 2.5rem; text-align: center; margin-top: 2.5rem; }
.timeline-note p { color: rgba(255,255,255,.7); font-size: .95rem; font-style: italic; line-height: 1.6; }
.timeline-note strong { color: var(--accent-l); font-style: normal; }

/* ── Comparison ───────────────────────────────────────── */
#comparativo { background: var(--dark); }
.comp-table-wrap { overflow-x: auto; margin-top: 3rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.comp-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.comp-table th, .comp-table td { padding: .9rem 1.2rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,.05); }
.comp-table thead tr { background: rgba(255,255,255,.04); }
.comp-table thead th { color: rgba(255,255,255,.65); font-weight: 700; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.comp-table thead th:first-child { text-align: left; }
.comp-table thead .col-highlight { color: var(--accent-l); }
.comp-table tbody td { color: rgba(255,255,255,.55); }
.comp-table tbody td:first-child { text-align: left; color: rgba(255,255,255,.82); font-weight: 500; font-size: .87rem; }
.comp-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.comp-table .highlight { background: rgba(30,114,200,.04); }
.comp-yes  { color: var(--green-l); font-size: 1.1rem; font-weight: 700; }
.comp-no   { color: rgba(255,255,255,.14); font-size: 1.1rem; }
.comp-part { color: #ffd166; font-size: .77rem; font-weight: 700; }

/* ── Legal ────────────────────────────────────────────── */
#legal { background: var(--off); }
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2.75rem; }
.legal-card { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border-l); background: var(--white); transition: all .2s; }
.legal-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.legal-card .law-badge {
  display: inline-block; padding: .28rem .8rem; border-radius: 7px;
  background: var(--navy); color: var(--white); font-size: .69rem; font-weight: 800; letter-spacing: .06em; margin-bottom: .9rem;
}
.legal-card h4 { font-size: .93rem; font-weight: 700; margin-bottom: .38rem; color: var(--text-2); }
.legal-card p  { font-size: .81rem; color: var(--muted); line-height: 1.55; }

/* ── Testimonials ─────────────────────────────────────── */
#depoimentos { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--off); border: 1px solid var(--border-l);
  border-radius: var(--radius-lg); padding: 1.75rem;
  position: relative; transition: all .22s;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border); }
.testimonial-card::before { content: '"'; position: absolute; top: .8rem; right: 1.5rem; font-size: 4rem; font-weight: 900; color: var(--accent); line-height: 1; opacity: .25; }
.testimonial-quote { font-size: .91rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-l));
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; color: var(--white); flex-shrink: 0;
}
.testimonial-avatar.green { background: linear-gradient(135deg, #01200D, #004D20); color: var(--green-l); }
.testimonial-name { font-size: .87rem; font-weight: 700; color: var(--text-2); }
.testimonial-role { font-size: .75rem; color: var(--muted); margin-top: .1rem; }

/* ── FAQ ──────────────────────────────────────────────── */
#faq { background: var(--off); }
.faq-list { max-width: 810px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--white); border: 1px solid var(--border-l); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--accent); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.6rem; cursor: pointer; font-weight: 600; font-size: .94rem; transition: background .15s; color: var(--text-2); }
.faq-question:hover { background: var(--off); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--off); border: 1px solid var(--border-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--navy); font-weight: 300;
  transition: all .25s; flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-icon { background: var(--accent); color: var(--white); border-color: var(--accent); transform: rotate(45deg); }
.faq-answer { padding: 0 1.6rem; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-answer p { font-size: .9rem; color: var(--muted); padding-bottom: 1.3rem; line-height: 1.75; }

/* ── CTA ──────────────────────────────────────────────── */
#contato { background: var(--navy); text-align: center; padding: 7rem 0; position: relative; overflow: hidden; }
#contato::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(30,114,200,.08) 0%, transparent 58%),
    radial-gradient(ellipse 60% 40% at 50% 0%,   rgba(0,166,80,.04) 0%, transparent 58%);
  pointer-events: none;
}
.cta-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 200px; height: 200px; pointer-events: none; }
.cta-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(30,114,200,.08); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: ringPulse 4s ease-in-out infinite; }
.cta-ring:nth-child(1) { width: 300px;  height: 300px;  animation-delay: 0s;   }
.cta-ring:nth-child(2) { width: 550px;  height: 550px;  animation-delay: .8s;  border-color: rgba(30,114,200,.05); }
.cta-ring:nth-child(3) { width: 800px;  height: 800px;  animation-delay: 1.6s; border-color: rgba(30,114,200,.03); }
.cta-ring:nth-child(4) { width: 1100px; height: 1100px; animation-delay: 2.4s; border-color: rgba(30,114,200,.018); }
@keyframes ringPulse { 0%,100%{opacity:.6;transform:translate(-50%,-50%) scale(.98)} 50%{opacity:1;transform:translate(-50%,-50%) scale(1)} }

.cta-content { position: relative; z-index: 1; }
.cta-content .display { color: var(--white); margin-bottom: 1rem; }
.cta-content .subhead { color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto 2.75rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact-strip { display: flex; justify-content: center; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.55); font-size: .87rem; }
.contact-item .icon { color: var(--accent-l); }
.contact-item strong { color: var(--white); }

/* ── Footer ───────────────────────────────────────────── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.05); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo { font-size: 1.55rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; }
.footer-brand .logo span { color: var(--accent-l); }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.42); margin-top: .85rem; max-width: 255px; line-height: 1.65; }
.footer-col h5 { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.48); transition: color .15s; }
.footer-col ul li a:hover { color: var(--accent-l); }
.footer-col ul li a.health-link:hover { color: var(--green-l); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.06); font-size: .77rem; color: rgba(255,255,255,.28); flex-wrap: wrap; gap: 1rem; }
.footer-badge { background: rgba(30,114,200,.08); color: var(--accent-l); border: 1px solid rgba(30,114,200,.15); border-radius: 5px; padding: .2rem .7rem; font-size: .69rem; font-weight: 700; letter-spacing: .04em; }
.footer-badge.green-badge { background: rgba(0,166,80,.07); color: var(--green-l); border-color: rgba(0,166,80,.14); }
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ── Utilities ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--muted); }
.text-white-70 { color: rgba(255,255,255,.72); }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}
.mt-4{margin-top:2rem}.mt-5{margin-top:2.5rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}

/* ── Scroll reveal — progressive enhancement ──────────── */
body.js-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
body.js-ready [data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }
[data-reveal-delay="6"] { transition-delay: .6s; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .products-grid .product-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .hero-grid   { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  #nav .nav-links, #nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid .product-card:last-child { grid-column: auto; }
  .steps-grid  { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-btns   { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .display     { font-size: 2.1rem; }
  .headline    { font-size: 1.65rem; }
  #hero { min-height: unset; padding: 7.5rem 0 4rem; }
  .contact-strip { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .container  { padding: 0 1.25rem; }
  .cta-btns   { flex-direction: column; align-items: center; }
}
