/* ===================================================================
   KnowledgeShare — folha de estilo
   Paleta derivada do logo: azul-marinho + ciano/azul (elefante low-poly)
   =================================================================== */

:root {
  --navy-900: #0a1628;
  --navy-800: #0d1b34;
  --navy-700: #122240;
  --navy-600: #18305a;
  --cyan:     #29c2d6;
  --cyan-bright: #3ad4e8;
  --blue:     #1e6fa9;
  --blue-deep:#155a8a;
  --ink:      #0a1628;
  --paper:    #f5f8fb;
  --paper-2:  #eaf1f7;
  --text:     #1b2a3d;
  --text-mut: #5b6b7f;
  --white:    #ffffff;
  --line:     rgba(255,255,255,.10);
  --line-dark:rgba(16,38,64,.10);
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 18px 45px rgba(8,20,40,.14);
  --grad:     linear-gradient(120deg, var(--cyan-bright), var(--blue));
  --max:      1160px;
}

* { 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(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; }

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

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

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,22,40,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.brand-name { color: var(--white); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name span { color: var(--cyan); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: #c7d3e2; font-weight: 500; font-size: .96rem;
  position: relative; transition: color .2s;
}
.main-nav a:not(.nav-cta):hover { color: var(--white); }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--grad); color: var(--white) !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(41,194,214,.28);
}
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(41,194,214,.16), transparent 60%),
    radial-gradient(900px 500px at 12% 110%, rgba(30,111,169,.20), transparent 55%),
    var(--navy-900);
  color: var(--white);
  padding: 92px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cyan-bright);
  padding: 6px 14px; border: 1px solid rgba(41,194,214,.35); border-radius: 999px;
  margin-bottom: 22px; background: rgba(41,194,214,.06);
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero .lead { font-size: 1.12rem; color: #c1cfdf; max-width: 560px; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 0; transition: transform .18s, filter .18s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 12px 28px rgba(41,194,214,.30); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.9rem; color: var(--white); }
.hero-stats span { font-size: .88rem; color: #93a6bd; }

.hero-art { display: flex; justify-content: center; position: relative; }
.hero-elephant {
  width: 100%; max-width: 400px; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45));
  animation: float 6s ease-in-out infinite;
}
.hero-glow {
  position: absolute; right: -6%; top: 8%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(41,194,214,.22), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ===================== VALUE STRIP ===================== */
.value-strip { background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 42px 0; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value-item { display: flex; flex-direction: column; gap: 8px; }
.value-ico { font-size: 1.7rem; }
.value-item h3 { color: var(--white); font-size: 1.12rem; }
.value-item p { color: #9db0c6; font-size: .95rem; }

/* ===================== SECTIONS ===================== */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-2); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.section-sub { color: var(--text-mut); font-size: 1.05rem; margin-top: 12px; }

/* ===================== SOBRE ===================== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-media {
  background: var(--navy-900); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.about-logo { border-radius: 10px; }
.about-copy .kicker { color: var(--blue); }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--text-mut); margin-bottom: 16px; }
.about-copy strong { color: var(--text); }
.about-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.about-list li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.about-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--grad);
  color: #fff; font-size: .72rem; display: grid; place-items: center;
}

/* ===================== CARDS (SERVIÇOS) ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(41,194,214,.4); }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: linear-gradient(135deg, rgba(41,194,214,.14), rgba(30,111,169,.14));
  margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--text-mut); font-size: .96rem; }

/* ===================== CURSOS ===================== */
.courses-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.course {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.course::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad);
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--blue); background: rgba(30,111,169,.10);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.course h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 10px; }
.course p { color: var(--text-mut); font-size: .96rem; margin-bottom: 16px; }
.course-meta { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; }
.course-meta li { font-size: .84rem; color: var(--text); font-weight: 600; }
.course-meta li + li { color: var(--text-mut); font-weight: 500; }

.courses-cta {
  margin-top: 40px; text-align: center; padding: 34px;
  background: var(--navy-900); border-radius: var(--radius); color: var(--white);
}
.courses-cta p { font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; }

/* ===================== PARCEIROS ===================== */
.partners-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.partner {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 30px 20px; text-align: center; font-weight: 600; color: var(--text);
  font-size: 1rem; transition: transform .2s, border-color .2s, color .2s;
}
.partner:hover { transform: translateY(-4px); border-color: rgba(41,194,214,.5); color: var(--blue); }
.partners-note { text-align: center; margin-top: 32px; color: var(--text-mut); }
.partners-note a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ===================== CONTATO ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy p { color: var(--text-mut); margin-bottom: 24px; }
.contact-info { list-style: none; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-info span { font-size: 1.15rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--text);
  padding: 12px 14px; border: 1px solid #d6e0ea; border-radius: var(--radius-sm);
  background: #fbfdff; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,194,214,.18);
}
.contact-form .btn-block { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--blue); min-height: 1em; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-900); color: #b7c5d8; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  padding: 56px 24px 40px; align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-name { color: var(--white); font-size: 1.3rem; }
.footer-mark { width: 46px; height: 46px; object-fit: contain; }
.footer-brand p { color: #8598ae; font-size: .95rem; max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #b7c5d8; font-size: .96rem; transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: center; }
.footer-bottom span { font-size: .88rem; color: #6d7f95; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-800); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 14px 24px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 10px 24px; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .hero-elephant { max-width: 240px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .value-grid, .cards-grid, .courses-grid, .partners-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
