/* IBDI static — layout fiel ao site Elementor original */
:root {
  --primary: #110a2d;
  --header: #0f032f;
  --text: #383838;
  --accent: #50b17c;
  --purple: #8d1d9d;
  --purple-deep: #261035;
  --soft: #f5f5f5;
  --muted: #d5d3d4;
  --white: #fff;
  --font: "Montserrat", system-ui, sans-serif;
  --max: 1140px;
  --header-h: 90px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  min-height: var(--header-h);
}
.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo picture { display: contents; }
.logo img { width: clamp(150px, 16vw, 210px); height: auto; }
.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav a {
  color: var(--white);
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover,
.nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle svg { width: 28px; height: 28px; fill: currentColor; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-color: #0a061e;
  background-image:
    linear-gradient(90deg, rgba(10, 6, 30, 0.55) 0%, rgba(10, 6, 30, 0.15) 55%, rgba(10, 6, 30, 0.35) 100%),
    image-set(
      url("../media/hero-bg.webp") type("image/webp"),
      url("../media/hero-bg.jpg") type("image/jpeg")
    );
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem 0 5rem;
}
.hero__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero__copy {
  color: var(--white);
  max-width: 36rem;
}
.hero__welcome {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(.7rem, 1.2vw, .95rem);
  letter-spacing: .04em;
  padding: .35rem .85rem;
  border-radius: 6px;
  margin-bottom: .85rem;
}
.hero__brand {
  margin: 0;
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero__tagline {
  margin: .85rem 0 0;
  font-size: clamp(.95rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero__cta { margin-top: 1.75rem; }
.hero__title-art {
  width: min(31vw, 460px);
  min-width: 220px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  border: 3px solid var(--accent);
  background: var(--white);
  color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(80,177,124,.3);
}
.pill--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.pill--ghost:hover {
  background: var(--white);
  color: var(--primary);
}

/* ========== SOBRE ========== */
.sobre {
  padding: 5rem 0 4rem;
  background: var(--white);
}
.sobre__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.sobre__photo {
  display: block;
  width: 100%;
}
.sobre__photo img {
  width: 100%;
  border-radius: 40px;
  object-fit: cover;
  aspect-ratio: 5/4;
  max-height: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: .95rem;
  background: transparent;
  margin-bottom: 1rem;
}
.badge--white {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.sobre h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
}
.sobre p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 400;
  color: var(--text);
  max-width: 34ch;
}

/* ========== MISSAO / VISAO ========== */
.valores {
  position: relative;
  padding: 4.5rem 0;
  background-color: #261035;
  background-image: image-set(
    url("../media/bg-valores.webp") type("image/webp"),
    url("../media/bg-valores.jpg") type("image/jpeg")
  );
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}
.valores .badge { margin-bottom: 2rem; }
.valores__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  text-align: left;
}
.valores__col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.valores__col h3 {
  margin: 0 0 .85rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.valores__box {
  border: 2px solid var(--white);
  border-radius: 7px;
  padding: 1.75rem 1.5rem;
  min-height: 220px;
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.04);
}
.valores__box p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  width: 100%;
}

/* ========== SOMOS + ========== */
.somos {
  padding: 4.5rem 0 5rem;
  background: #faf7fb;
  text-align: center;
}
.somos h2 {
  margin: 0 0 2rem;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}
.somos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .9rem;
  max-width: 980px;
  margin: 0 auto;
}
.somos__item {
  border: 2px solid var(--purple);
  border-radius: 10px;
  background: var(--white);
  padding: 1.1rem .75rem;
  font-weight: 700;
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
  color: #111;
  display: grid;
  place-items: center;
  min-height: 64px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.somos__item:hover {
  transform: translateY(-4px);
  background: var(--purple);
  color: var(--white);
}
.somos__item:nth-child(1) { grid-column: 1 / 3; }
.somos__item:nth-child(2) { grid-column: 3 / 5; }
.somos__item:nth-child(3) { grid-column: 5 / 7; }
.somos__item:nth-child(4) { grid-column: 1 / 3; }
.somos__item:nth-child(5) { grid-column: 3 / 7; }
.somos__item:nth-child(6) { grid-column: 1 / 7; }

/* ========== AREAS ========== */
.areas,
section.areas,
#atuacao {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.areas__stage {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  min-height: clamp(360px, 48vw, 460px);
  display: flex;
  align-items: center;
}
.areas__stage > picture { display: contents; }
.areas__capsule-img {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 88%;
  height: auto;
  max-height: 78%;
  object-fit: contain;
  object-position: center right;
  pointer-events: none;
  user-select: none;
}
.areas__photo {
  position: relative;
  z-index: 3;
  width: clamp(170px, 22vw, 300px);
  height: auto;
  margin-left: clamp(0.5rem, 3vw, 2rem);
  margin-right: -1rem;
  flex-shrink: 0;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.55));
}
.areas__content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: 1.5rem clamp(1.5rem, 4vw, 3.5rem) 1.5rem clamp(1rem, 2vw, 2rem);
  color: #fff;
}
.areas__title {
  margin: 0;
  flex: 0 0 auto;
  font-size: clamp(1.85rem, 3.8vw, 3.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  max-width: 8ch;
}
.areas__title-line {
  display: block;
}
.areas__list {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  max-width: 22rem;
  margin: 0;
  margin-left: 1.75rem;
  padding-left: 0.5rem;
}
.areas__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.25;
}
.areas__list li::before {
  content: "✓";
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 1em;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  min-height: 42vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background-color: #0a061e;
  background-image:
    linear-gradient(rgba(10,6,30,.45), rgba(10,6,30,.55)),
    image-set(
      url("../media/hero-bg.webp") type("image/webp"),
      url("../media/hero-bg.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
}

/* ========== TRANSPARENCIA ========== */
.projects-page {
  position: relative;
  z-index: 0;
  padding: 3.5rem 0 34vw;
  background-color: #ffffff;
  background-image: image-set(
    url("../media/bg-transparencia.webp") type("image/webp"),
    url("../media/bg-transparencia.png") type("image/png")
  );
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.projects-page::before {
  display: none;
}
.projects {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
}
@media (max-width: 767px) {
  .projects-page {
    background-attachment: scroll;
    padding-bottom: 50vw;
  }
}
.project {
  min-width: 0;
  max-width: 100%;
  background: #d5d3d4;
  border-radius: clamp(1.5rem, 6vw, 7em);
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 5vw, 2.75rem);
  font-family: "Montserrat", sans-serif;
  overflow-wrap: anywhere;
  word-break: break-word;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}
.project h2 {
  margin: 0 0 .2rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: #110a2d;
}
.project__emenda {
  margin: 0 0 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #110a2d;
}
.project__meta {
  display: grid;
  gap: .55rem;
  margin: 0 0 1.5rem;
  padding: .5rem 0 .25rem;
}
.project__meta li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  min-width: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(.9rem, 2.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: #110a2d;
}
.project__meta li > span {
  min-width: 0;
  flex: 1 1 auto;
}
.project__meta li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: .45em;
  border-radius: 50%;
  background: #53b37c;
}
.project__meta strong {
  font-weight: 700;
  color: #110a2d;
}
.btn-doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: min(12rem, 100%);
  padding: .55rem 2.25rem;
  border: 1px solid #140c2c;
  border-radius: 31px;
  background: #53b37c;
  color: #110a2d;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 3.5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: filter .25s, transform .25s;
}
.btn-doc:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
@media (max-width: 767px) {
  .project {
    border-radius: 1.5rem;
    padding: 1.35rem 1.15rem 1.5rem;
  }
  .project h2,
  .project__emenda { font-size: 1.05rem; }
  .project__meta li { font-size: .9rem; }
  .btn-doc {
    width: 100%;
    min-width: 0;
    font-size: 1.05rem;
    padding: .65rem 1.25rem;
  }
}

/* ========== CONTATO ========== */
.contact-page {
  padding: 3.5rem 0 5rem;
  background: var(--white);
}
.contact-page h1 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--primary);
}
.contact-form {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field label {
  font-weight: 600;
  color: var(--primary);
  font-size: .95rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: .8rem .95rem;
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(80,177,124,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkbox {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .92rem;
}
.checkbox a { color: #c2185b; font-weight: 600; }
.btn-submit {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 1rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.btn-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.form-msg {
  display: none;
  padding: .85rem 1rem;
  border-radius: 8px;
  background: rgba(80,177,124,.15);
  font-weight: 600;
}
.form-msg.is-visible { display: block; }

/* ========== PRIVACIDADE ========== */
.prose-page {
  padding: 3.5rem 0 5rem;
  background: var(--white);
}
.prose {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
}
.prose h1 {
  color: var(--primary);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}
.prose h2 {
  color: var(--primary);
  margin-top: 2rem;
  font-size: 1.15rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  display: grid;
  gap: .3rem;
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--header);
  color: var(--white);
  padding: 2.75rem 0 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-top .logo img {
  width: clamp(140px, 15vw, 190px);
  filter: brightness(0) invert(1);
}
.social { display: flex; gap: 1rem; align-items: center; }
.social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: color .2s, transform .2s;
}
.social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}
.social svg {
  width: 32px;
  height: 32px;
  display: block;
}
.addresses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.addresses h3 {
  margin: 0 0 .4rem;
  font-size: .95rem;
  font-weight: 700;
}
.addresses p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  opacity: .92;
}
.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  opacity: .85;
}
.footer-bottom a:hover { color: var(--accent); }

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero__inner,
  .sobre__grid,
  .valores__grid,
  .field-row { grid-template-columns: 1fr; }
  .hero__kids { min-height: 280px; justify-self: center; width: min(320px, 100%); }
  .areas__stage {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0 1rem 2rem;
  }
  .areas__capsule-img {
    display: none;
  }
  .areas__photo {
    position: relative;
    z-index: 3;
    width: min(148px, 38vw);
    margin: 0 0 -2.75rem 0.75rem;
    align-self: flex-start;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  }
  .areas__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    width: 100%;
    padding: 4.75rem 1.25rem 1.5rem;
    border-radius: 1.75rem;
    background:
      radial-gradient(ellipse 90% 70% at 12% 0%, rgba(14, 25, 131, 0.45), transparent 55%),
      linear-gradient(145deg, #091047 0%, #0b135b 42%, #0c1465 72%, #0e1983 100%);
    box-shadow: 0 18px 40px rgba(9, 16, 71, 0.35);
    color: #fff;
  }
  .areas__title {
    max-width: none;
    width: 100%;
    padding-left: 0;
    font-size: clamp(1.45rem, 6vw, 1.75rem);
    line-height: 1.1;
    white-space: nowrap;
  }
  .areas__title-line {
    display: inline;
  }
  .areas__list {
    max-width: none;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.85rem;
    row-gap: 0.55rem;
  }
  .areas__list li {
    font-size: 0.82rem;
    align-items: flex-start;
    line-height: 1.3;
  }
  .areas__list li::before {
    margin-top: 0.1em;
  }
  .addresses { grid-template-columns: 1fr 1fr; }
  .somos__grid { grid-template-columns: 1fr 1fr; }
  .somos__item:nth-child(n) { grid-column: auto; }
  .somos__item:nth-child(5),
  .somos__item:nth-child(6) { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--header);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .addresses { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero__kids { display: none; }

  #atuacao {
    padding: 2.5rem 0 3rem;
  }
  .areas__stage {
    padding: 0 0.85rem 1.5rem;
  }
  .areas__photo {
    width: min(132px, 36vw);
    margin: 0 0 -2.5rem 0.5rem;
  }
  .areas__content {
    padding: 4.25rem 1.1rem 1.35rem;
    border-radius: 1.5rem;
    gap: 1rem;
  }
  .areas__title {
    font-size: clamp(1.35rem, 5.8vw, 1.6rem);
  }
  .areas__list {
    column-gap: 0.65rem;
    row-gap: 0.5rem;
  }
  .areas__list li {
    font-size: 0.78rem;
  }
}
