@font-face {
  font-family: "HindMysuru";
  src: url("assets/fonts/HindMysuru-Regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "HindMysuru";
  src: url("assets/fonts/HindMysuru-Medium.woff") format("woff");
  font-weight: 500;
}

@font-face {
  font-family: "HindMysuru";
  src: url("assets/fonts/HindMysuru-Bold.woff") format("woff");
  font-weight: 700;
}

:root {
  /* Primary scale (based on #144A5B) */
  --primary-950: #081e26;
  --primary-900: #0b2e3a;
  --primary-800: #0f3d4d;
  --primary-700: #144A5B;
  --primary-600: #1a5e73;
  --primary-500: #227a8f;

  /* Secondary / accent */
  --secondary-400: #6ACCAB;
  --secondary-300: #8dd9bf;
  --secondary-200: #b2e7d5;

  /* Functional */
  --bg: #ffffff;
  --bg-soft: #f3f8f7;
  --text: #0b1c22;
  --text-muted: #4a6b73;
  --border: #d4e2e0;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(10, 40, 50, 0.06);
  --shadow: 0 12px 40px rgba(10, 40, 50, 0.10);
  --shadow-lg: 0 30px 80px rgba(10, 40, 50, 0.18);

  --font-sans: "HindMysuru", -apple-system, Roboto;
  --font-display: "HindMysuru", -apple-system, Roboto;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }
.text-center { text-align: center; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.muted { color: var(--text-muted); }
.muted-light { color: rgba(255,255,255,.72); }
.accent { color: var(--secondary-400); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 74, 91, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 74, 91, .45); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 30, 38, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding .2s ease;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-family: var(--font-display);
  font-size: 1.1rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 200px; height: 50px;
}
.nav-links {
  display: flex; gap: 6px; flex: 1; justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,.78);
  padding: 8px 14px; border-radius: 8px;
  font-size: .95rem; font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary-950);
    flex-direction: column; align-items: stretch;
    padding: 16px 24px 24px; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--primary-950);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8,30,38,0.80), rgba(8,30,38,0.45)),
    radial-gradient(60% 50% at 80% 20%, rgba(20,74,91,.35), transparent 60%),
    radial-gradient(45% 40% at 10% 90%, rgba(106,204,171,.18), transparent 60%),
    url('assets/images/segtrab-bg.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 60px; align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--secondary-400);
  background: rgba(106,204,171,.12);
  border: 1px solid rgba(106,204,171,.25);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-copy h1 { color: #fff; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 540px; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 32px 0 40px;
}
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem; color: #fff; font-weight: 700;
}
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.6); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 380px;
}
.card-float {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}
.card-float-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.card-float-sub { color: var(--secondary-400); font-weight: 600; margin-top: 4px; }
.card-float-meta {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 320px; }
}

/* ---------------- Sections ---------------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--bg);
}
.section-light { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(160deg, var(--primary-900), var(--primary-800));
  color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.chip {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary-700); background: rgba(20,74,91,.1);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.chip-dark { color: var(--primary-900); background: rgba(11,46,58,.08); }
.chip-gold { color: var(--secondary-400); background: rgba(106,204,171,.15); }

/* Institutional values cards */
.institutional-content {
  margin-top: 50px;
}
.institutional-content .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  border-top: none;
}
.institutional-content .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  min-height: 190px;
}
.institutional-content .hero-stats strong {
  font-size: 1.05rem;
  color: var(--primary-700);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.institutional-content .hero-stats span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
@media (max-width: 880px) {
  .institutional-content .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; margin-top: 50px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700; color: var(--primary-700);
  margin-bottom: 4px;
}
.stat span { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pillars */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 50px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(20,74,91,.3); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,74,91,.12), rgba(106,204,171,.12));
  font-size: 1.6rem; margin-bottom: 18px;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--text-muted); margin-bottom: 18px; }
.link-arrow {
  color: var(--primary-700); font-weight: 600; font-size: .9rem;
  transition: gap .2s ease;
}
.link-arrow:hover { color: var(--primary-600); }
.pillar-cta {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  border: 0;
}
.pillar-cta h3 { color: #fff; }
.pillar-cta p { color: rgba(255,255,255,.75); }

@media (max-width: 880px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Diferenciais */
.diff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 50px;
}
.diff {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: background .2s ease, border-color .2s ease;
}
.diff:hover { background: rgba(255,255,255,.07); border-color: rgba(106,204,171,.3); }
.diff-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; color: var(--secondary-400);
  display: block; margin-bottom: 12px;
}
.diff h4 { font-size: 1.05rem; margin-bottom: 8px; }
.diff p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; }
@media (max-width: 880px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* Logo marquee */
.logo-marquee {
  margin-top: 50px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 30s linear infinite;
}
.logo-chip {
  flex: 0 0 auto;
  padding: 18px 32px;
  background: var(--bg-soft);
  border: 0px solid var(--border);
  border-radius: var(--radius);
  width: 190px; height: 60px;
  object-fit: contain;
  align-items: center; display: flex; justify-content: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Contact */
.section-contact {
  background: linear-gradient(160deg, var(--primary-950), var(--primary-800));
  color: #fff;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.contact-info h2 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.contact-list a, .contact-list span { color: rgba(255,255,255,.8); }
.contact-list a:hover { color: var(--secondary-400); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { margin-bottom: 20px; font-size: 1.4rem; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}
.contact-form label {
  display: block; margin-bottom: 14px;
}
.contact-form label > span {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--primary-900); margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit; font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-700);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin: 14px 0 0; font-size: .9rem; min-height: 1.2em;
}
.form-note.is-success { color: #138a4a; }
.form-note.is-error { color: #c0392b; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
}

/* Footer */
.site-footer {
  background: var(--primary-950);
  color: rgba(255,255,255,.65);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h5 {
  color: #fff; font-family: var(--font-display);
  font-size: 1rem; margin-bottom: 14px;
}
.footer-grid a { display: block; padding: 4px 0; color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-grid a:hover { color: var(--secondary-400); }
.brand-light { color: #fff; margin-bottom: 14px; }
.footer-bottom { padding-top: 24px; text-align: center; font-size: .85rem; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  z-index: 60;
  transition: transform .2s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
