/* Camada isolada para o fechamento da home.
   Se este arquivo falhar, info-strip e ier-site-footer mantêm os estilos-base. */

.ier-home .info-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: clamp(52px, 5vw, 72px) 0 clamp(58px, 5.5vw, 82px);
  background:
    radial-gradient(circle at 11% 15%, rgba(242, 122, 50, .13), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(33, 135, 196, .12), transparent 27%),
    #f4f1eb;
  color: var(--ier-navy);
  text-align: left;
}

.ier-home .info-strip::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: clamp(54px, 8vw, 110px);
  left: clamp(-110px, -6vw, -54px);
  width: clamp(230px, 25vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 122, 50, .58);
  border-radius: 50%;
}

.ier-home .info-strip::after {
  content: 'TRANSFORMAR';
  position: absolute;
  z-index: -1;
  right: -1.5vw;
  bottom: -4.4vw;
  color: rgba(8, 54, 99, .035);
  font: 800 clamp(5rem, 13vw, 15rem)/.8 var(--ier-display);
  letter-spacing: -.075em;
  white-space: nowrap;
  pointer-events: none;
}

.ier-home .info-strip .support-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(46px, 6vw, 92px);
  width: min(100% - 48px, 1320px);
}

.support-copy { position: relative; z-index: 2; }

.support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ff9a5c;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.support-eyebrow i { font-size: .9rem; }

.ier-home .info-strip h3 {
  max-width: 8.2ch;
  margin: 0 0 18px;
  color: var(--ier-navy);
  font-size: clamp(3rem, 4.6vw, 4.75rem);
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.ier-home .info-strip p {
  max-width: 57ch;
  margin: 0 0 24px;
  color: #45617e;
  font-size: clamp(.96rem, 1.15vw, 1.06rem);
  line-height: 1.62;
}

.support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
}

.ier-home .info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 276px;
  padding: 12px 14px 12px 18px;
  border: 1px solid #ff8b45;
  border-radius: 10px;
  background: #f27a32;
  color: white;
  box-shadow: 0 14px 30px rgba(2, 13, 29, .26);
  font-size: .96rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .28s ease, box-shadow .28s ease;
}

.ier-home .info-btn i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: white;
  color: var(--ier-navy);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.ier-home .info-btn:hover {
  border-color: #ff9a5c;
  background: #ff8640;
  color: white;
  box-shadow: 0 18px 38px rgba(2, 13, 29, .34);
  transform: translateY(-3px);
  scale: 1;
}

.ier-home .info-btn:hover i { transform: translateX(3px); }
.ier-home .info-btn:active { transform: translateY(0) scale(.985); }
.ier-home .info-btn:focus-visible,
.ier-site-footer a:focus-visible { outline: 3px solid var(--ier-gold); outline-offset: 4px; }

.support-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #284b70;
  font-size: .88rem;
  font-weight: 700;
}

.support-location i { color: var(--ier-orange); }

.support-gallery {
  position: relative;
  min-height: clamp(340px, 31vw, 430px);
}

.support-gallery::before {
  content: '';
  position: absolute;
  inset: 7% 5% 3% 9%;
  border: 1.5px solid rgba(242, 122, 50, .74);
  border-radius: 50% 46% 52% 43%;
  transform: rotate(-8deg);
}

.support-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 5px solid rgba(255, 255, 255, .95);
  background: #dce6ef;
  box-shadow: 0 24px 56px rgba(0, 10, 26, .38);
}

.support-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.support-gallery:hover .support-photo img { transform: scale(1.035); }

.support-photo-main {
  inset: 6% 25% 4% 2%;
  border-radius: 36px 14px 36px 14px;
}

.support-photo-main img { object-position: 52% center; }

.support-photo-top {
  top: 0;
  right: 0;
  width: 43%;
  height: 41%;
  border-radius: 14px 30px 14px 30px;
  transform: rotate(2.5deg);
}

.support-photo-bottom {
  right: 1%;
  bottom: 2%;
  width: 47%;
  height: 41%;
  border-radius: 30px 14px 30px 14px;
  transform: rotate(-2deg);
}

.support-stamp {
  position: absolute;
  right: 37%;
  bottom: -3%;
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  padding: 12px;
  border: 4px solid #f4f1eb;
  border-radius: 50%;
  background: white;
  box-shadow: 0 14px 30px rgba(0, 10, 26, .28);
}

.support-stamp img { width: 100%; height: 100%; object-fit: contain; }

/* Rodapé: a foto existente da sede continua sendo o fallback visual. */
footer.ier-site-footer {
  height: auto;
  min-height: 0;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  border-top: 4px solid var(--ier-orange);
  background-color: #04172f;
  background-image: url("../midia/Rodapé/Imagem Rodapé.png");
  background-repeat: no-repeat;
  background-position: center 56%;
  background-size: cover;
  color: #edf5ff;
  font-family: var(--ier-font);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

footer.ier-site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 18, 39, .98) 0%, rgba(4, 25, 52, .94) 46%, rgba(4, 27, 58, .72) 100%);
}

/* Isola o rodapé dos resets tipográficos universais das páginas legadas. */
footer.ier-site-footer *:not(i):not(img) {
  font-family: var(--ier-font);
}

footer.ier-site-footer .ier-footer-statement {
  font-family: var(--ier-display);
}

.ier-footer-inner {
  width: min(100% - 48px, 1320px);
  padding: clamp(48px, 4.5vw, 68px) 0 22px;
}

.ier-footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 50px;
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.ier-footer-kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: #ff9453;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ier-footer-statement {
  max-width: 880px;
  margin: 0;
  color: white;
  font: 600 clamp(1.9rem, 2.8vw, 3rem)/.98 var(--ier-display);
  letter-spacing: -.055em;
}

.ier-footer-statement br { display: none; }
.ier-footer-statement strong { color: #ff8a43; font-weight: 700; }

.ier-footer-support {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
  padding-bottom: 7px;
  border-bottom: 1px solid #ff8a43;
  color: white;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .24s ease, gap .24s ease;
}

.ier-footer-support:hover { gap: 17px; color: #ffad7a; }

.ier-footer-grid {
  grid-template-columns: 1.25fr .72fr 1.3fr .63fr;
  gap: clamp(32px, 5vw, 76px);
  padding-bottom: 32px;
}

.ier-footer-logos { margin-top: -9px; }
.ier-footer-brand p { color: rgba(237, 245, 255, .72); line-height: 1.6; }

.ier-footer-place {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: #ffad7a;
  font-size: .78rem;
  font-weight: 700;
}

.ier-site-footer h2 {
  position: relative;
  margin-bottom: 16px;
  color: white;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ier-site-footer h2::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--ier-orange);
}

.ier-footer-nav { gap: 10px; }
.ier-footer-nav a,
.ier-footer-contact a { color: rgba(237, 245, 255, .8); font-size: .92rem; }
.ier-footer-contact address p { margin-bottom: 12px; color: rgba(237, 245, 255, .78); font-size: .88rem; }
.ier-footer-contact address i,
.ier-footer-legal > i { color: #ff9453; }
.ier-footer-legal { border-color: rgba(242, 122, 50, .44); }

.ier-footer-social-links { gap: 9px; }
.ier-footer-social-links a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: white;
  font-size: 1rem;
  transition: transform .24s ease, background-color .24s ease, border-color .24s ease;
}

.ier-footer-social-links a::before { inset: 0; }
.ier-footer-social-links a:hover { border-color: #f27a32; background: #f27a32; color: white; transform: translateY(-3px); }

.ier-footer-bottom {
  flex-direction: row;
  justify-content: space-between;
  padding: 17px 0 0;
  border-color: rgba(255, 255, 255, .13);
  color: rgba(237, 245, 255, .58);
  text-align: left;
}

@media (max-width: 1100px) {
  .ier-home .info-strip .support-layout { grid-template-columns: minmax(0, .9fr) minmax(390px, 1fr); gap: 42px; }
  .support-gallery { min-height: 380px; }
  .ier-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .ier-home .info-strip { padding-top: 58px; }
  .ier-home .info-strip .support-layout { grid-template-columns: 1fr; gap: 38px; }
  .ier-home .info-strip h3 { max-width: 10ch; }
  .support-copy { max-width: 650px; }
  .support-gallery { width: min(100%, 570px); min-height: 360px; margin: 0 auto; }
  .ier-footer-intro { grid-template-columns: 1fr; align-items: start; }
  .ier-footer-support { width: max-content; }
}

@media (max-width: 599px) {
  .ier-home .info-strip { padding: 48px 0 62px; }
  .ier-home .info-strip .support-layout,
  .ier-footer-inner { width: min(100% - 36px, 560px); }
  .ier-home .info-strip h3 { max-width: 9ch; margin-bottom: 16px; font-size: clamp(2.7rem, 12vw, 3.55rem); }
  .ier-home .info-strip p { margin-bottom: 21px; font-size: .96rem; line-height: 1.55; }
  .support-actions { align-items: flex-start; flex-direction: column; }
  .ier-home .info-btn { width: 100%; min-width: 0; }
  .support-gallery { min-height: 240px; }
  .support-photo { border-width: 4px; }
  .support-photo-main { inset: 4% 9% 5% 0; }
  .support-photo-top { width: 45%; height: 42%; }
  .support-photo-bottom { display: none; }
  .support-stamp { right: 31%; bottom: 0; width: 68px; border-width: 3px; }
  .ier-footer-inner { padding-top: 46px; }
  .ier-footer-intro { gap: 12px; margin-bottom: 24px; padding-bottom: 22px; }
  .ier-footer-kicker { display: none; }
  .ier-footer-statement { font-size: clamp(1.72rem, 8.2vw, 2.2rem); line-height: 1.02; }
  .ier-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 18px; padding-bottom: 24px; }
  .ier-footer-brand,
  .ier-footer-contact { grid-column: 1 / -1; }
  .ier-footer-social-links { gap: 6px; }
  .ier-footer-social-links a { width: 36px; height: 36px; }
  .ier-footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .support-photo img,
  .ier-home .info-btn,
  .ier-home .info-btn i,
  .ier-footer-social-links a { transition-duration: .01ms; }
}
