:root {
  --primary: #ff8a00;
  --primary-dark: #e67600;
  --blue: #123d93;
  --blue-dark: #0d2d6c;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #101521;
  --text: #171a21;
  --muted: #677389;
  --line: rgba(23, 26, 33, 0.1);
  --shadow: 0 20px 60px rgba(8, 15, 35, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 32px));
}

.logo-img {
  height: 65px;
  width: auto;
  display: block;
}

.logo-footer {
  height: 70px;
  width: auto;
  margin-bottom: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin: 0 auto; }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  z-index: 2000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(23, 26, 33, 0.08);
}

.header-inner {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
}

.brand-badge {
  color: var(--primary);
  font-size: 1rem;
  line-height: 0.95;
  letter-spacing: 0.05em;
}

.brand-badge span {
  display: block;
  font-size: 2.6rem;
}

.brand-divider {
  width: 1px;
  height: 52px;
  background: rgba(0,0,0,0.12);
}

.brand-title {
  display: flex;
  flex-direction: column;
  color: var(--blue);
  font-size: 2rem;
  line-height: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: #24314b;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: #ff7a00;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: 0.3s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.22), transparent 35%),
    radial-gradient(circle at right center, rgba(18, 61, 147, 0.18), transparent 40%),
    linear-gradient(135deg, #0b1222 0%, #102348 45%, #131d30 100%);
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 24, 0.2), rgba(7, 12, 24, 0.5)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 22px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 640px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin: 20px 0 0;
}

.hero-actions,
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.28);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(18, 61, 147, 0.16);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 28px;
  padding: 32px;
}

.hero-quote {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.hero-stats strong {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}

.section {
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  font-family: "Barlow", sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.03em;
}

.section-heading.center {
  text-align: center;
}

.section-text {
  max-width: 880px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.two-col {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.about {
  background: linear-gradient(180deg, #f7f8fa, #eef2f6);
}

.about-text {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(23, 26, 33, 0.08);
  box-shadow: var(--shadow);
  border-radius: 26px;
  padding: 30px;
}

.about-text p {
  margin: 0 0 18px;
  font-size: 1.03rem;
  color: #2c3546;
}

.about-text p:last-child { margin-bottom: 0; }

.pillars-section {
  background:
    linear-gradient(180deg, rgba(10, 17, 31, 0.92), rgba(10, 17, 31, 0.95)),
    radial-gradient(circle at top, rgba(255, 138, 0, 0.15), transparent 35%);
  color: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  min-height: 290px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.pillar-number {
  font-family: "Barlow", sans-serif;
  font-size: 3rem;
  color: rgba(255,255,255,0.22);
  display: block;
}

.pillar-icon {
  font-size: 2rem;
  color: var(--primary);
  margin: 14px 0;
}

.pillar-card h3 {
  font-family: "Barlow", sans-serif;
  font-size: 1.65rem;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #ff8a00;
}

.pillar-card p {
  color: rgba(255,255,255,0.76);
  margin: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.plan {
  background: #f9fafc;
}

.plan-visual {
  position: relative;
  min-height: 560px;
}

.stack-card {
  position: absolute;
  width: min(100%, 430px);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid rgba(23,26,33,0.07);
}

.card-one { top: 0; left: 0; }
.card-two { right: 0; bottom: 0; }

.image-placeholder {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-top {
  background-image:
    linear-gradient(180deg, rgba(18,61,147,0.15), rgba(255,138,0,0.10)),
    url("Img/tecnico-em-seguranca-do-trabalho-.jpg");
}

.image-bottom {
  background-image:
    linear-gradient(180deg, rgba(255,138,0,0.16), rgba(18,61,147,0.08)),
    url("Img/img2.jpg");
}

.plan-copy h2 { color: var(--blue); }
.plan-copy p { color: var(--muted); font-size: 1.05rem; }
.section-kicker.blue { color: var(--blue); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
  color: #43516b;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.directors {
  background: linear-gradient(180deg, #eef2f7, #f8fafc);
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.person-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(23,26,33,0.08);
  border-radius: 22px;
  padding: 24px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.avatar-ring {
  width: 92px;
  height: 92px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  margin: 0 auto 14px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 110%;
  height: 110%;
  object-fit: cover;
}

.avatarcounselor-ring {
  width: 120px;
  height: 82px;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  margin: 0 auto 14px;
}

.avatarcounselor {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.avatarcounselor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.person-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.role {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.bio-list {
  display: grid;
  gap: 14px;
}

.bio-item {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(23,26,33,0.08);
  box-shadow: 0 8px 24px rgba(9, 16, 32, 0.06);
  overflow: hidden;
}

.bio-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: "Barlow", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bio-item summary::-webkit-details-marker { display: none; }

.bio-item summary::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--primary);
}

.bio-item[open] summary::after { content: "–"; }

.bio-content {
  padding: 0 22px 22px;
  color: var(--muted);
}

.counselors {
  background: #fff;
}

.counselor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.counselor-item {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid rgba(23,26,33,0.08);
  border-radius: 20px;
  padding: 18px 16px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 15, 35, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.counselor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(8, 15, 35, 0.1);
  border-color: rgba(255, 138, 0, 0.18);
}

.counselor-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.counselor-main,
.counselor-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counselor-main h4,
.counselor-secondary > span:first-child {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 1.02rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.counselor-secondary {
  padding-top: 10px;
  border-top: 1px solid rgba(23, 26, 33, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.badge.titular {
  background: rgba(255, 138, 0, 0.14);
  color: var(--primary-dark);
}

.badge.suplente {
  background: rgba(18, 61, 147, 0.12);
  color: var(--blue);
}

.counselor-number {
  margin-top: 4px;
  font-family: "Barlow", sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
}

.instagram {
  background: linear-gradient(180deg, #091327, #111f3b);
  color: #fff;
}

.instagram-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.instagram-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.insta-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.58);
  font-size: 0.8rem;
  margin: 0 0 6px;
}

.instagram-top h3 {
  margin: 0;
  font-size: 2rem;
  font-family: "Barlow", sans-serif;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insta-post {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.86);
  font-family: "Barlow", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(255, 138, 0, 0.28), rgba(18, 61, 147, 0.45)),
    linear-gradient(135deg, #232b44, #0d1324);
  border: 1px solid rgba(255,255,255,0.09);
}

.embed-tip {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}

.embed-tip h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.embed-tip p { color: rgba(255,255,255,0.78); }

.embed-tip pre {
  margin: 12px 0 0;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(0,0,0,0.26);
  color: #ffd39b;
}

/* =========================================
   CONTACT SECTION — fora de qualquer @media
   ========================================= */
.contact {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.contact-form {
  max-width: 720px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  padding: 36px 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23,26,33,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid rgba(23,26,33,0.12);
  border-radius: 14px;
  padding: 15px 16px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  outline: none;
  color: var(--text);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12);
  background: #fff;
}

.contact-form input[name="assunto"],
.contact-form textarea,
.contact-form .form-submit-row {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit-row {
  display: flex;
  justify-content: center;
}

.form-submit-row .btn {
  min-width: 220px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.form-success,
.form-error {
  grid-column: 1 / -1;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.97rem;
  text-align: center;
  display: none;
}

.form-success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-error {
  background: rgba(239, 68, 68, 0.10);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* =========================================
   WHATSAPP FLOAT — fora de qualquer @media
   ========================================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 3000;
  transition: transform 0.25s ease;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  object-fit: contain;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0d1220;
  color: #fff;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.footer-brand .brand-divider { background: rgba(255,255,255,0.16); }

.footer-text {
  max-width: 560px;
  color: rgba(255,255,255,0.74);
  margin: 18px 0 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.74);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-family: "Barlow", sans-serif;
  font-size: 1.7rem;
}

.highlight {
  color: #ff8a00;
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-image-card {
  position: relative;
  width: 195%;
  max-width: none;
  height: 560px;
  margin-right: -150px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero-image-card img {
  width: 110%;
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* =========================================
   RESPONSIVE — 1100px
   ========================================= */
@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 84px;
    right: 16px;
    left: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(23,26,33,0.08);
    border-radius: 22px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }
  .menu-toggle { display: block; }

  .hero-grid,
  .two-col,
  .plan-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .directors-grid { grid-template-columns: repeat(3, 1fr); }
  .counselor-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   RESPONSIVE — 760px
   ========================================= */
@media (max-width: 760px) {
  .brand-title { font-size: 1.4rem; }
  .brand-badge span { font-size: 2rem; }
  .hero-grid { min-height: auto; padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }

  .pillars-grid,
  .directors-grid,
  .instagram-grid,
  .counselor-grid {
    grid-template-columns: 1fr;
  }

  .plan-visual { min-height: 400px; }
  .stack-card { width: 78%; }
  .card-two { bottom: 10px; }

  .instagram-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid { gap: 24px; }

  .hero-panel {
    order: -1;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-copy { order: 2; }

  .hero-image-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    border-radius: 20px;
  }

  .hero-image-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    margin: 0 auto;
  }

  .counselor-item { padding: 20px 16px; }

  .counselor-main h4,
  .counselor-secondary > span:first-child {
    font-size: 1.05rem;
  }

  .counselor-number { font-size: 2.1rem; }

  /* Formulário em coluna única no mobile */
  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
}