*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 121px;
  padding: 12px 0;
}

.logo img {
  display: block;
  width: auto;
  max-width: 364px;
  height: auto;
  max-height: 100px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-contact__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #111;
  border-radius: 6px;
  flex-shrink: 0;
}

.header-contact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  font-size: 15px;
  color: #222;
}

.header-contact__text a {
  color: inherit;
  text-decoration: none;
}

.header-contact__text a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #111;
  cursor: pointer;
  padding: 8px;
}

.site-nav {
  background: #000;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 72px;
  align-items: stretch;
  justify-content: flex-start;
}

.nav-desktop li {
  display: flex;
}

.nav-desktop a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.nav-desktop li.is-active a,
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: var(--orange);
  text-decoration: none;
}

.mobile-panel {
  background: #111;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
}

.mobile-panel a {
  display: block;
  padding: 12px 5%;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
}

.mobile-panel li.is-active a {
  background: var(--orange);
}

/* ===== Hero slider ===== */
.hero-slider {
  position: relative;
  height: 370px;
  overflow: hidden;
  background: #222;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active .hero-slide__bg {
  animation: kenburns 8s ease-out forwards;
}

.hero-slide__bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  background-size: cover;
  background-position: center;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
  opacity: 0.85;
}

.hero-slider__nav:hover {
  opacity: 1;
}

.hero-slider__nav--prev { left: 8px; }
.hero-slider__nav--next { right: 8px; }

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #555;
  cursor: pointer;
  padding: 0;
}

.hero-slider__dot.is-active {
  background: #fff;
}

/* ===== Home CTAs ===== */
.home-ctas {
  margin-top: 50px;
}

.home-ctas__grid {
  width: min(92%, 1120px);
  margin-inline: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-sizing: border-box;
}

.home-cta {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.home-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s;
}

.home-cta:hover .home-cta__bg {
  transform: scale(1.2);
}

.home-cta__overlay {
  position: absolute;
  inset: 0;
  transition: background-color 1.5s;
}

.home-cta:hover .home-cta__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.home-cta__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-cta__content h2 {
  width: 80%;
  margin: 0 0 15px;
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 1s;
}

.home-cta:hover .home-cta__content h2,
.home-cta:hover .home-cta__btn {
  transform: scale(1.1);
}

.home-cta__btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #ff6600;
  border-radius: 3px;
  background: #fff;
  color: #ff6600;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: transform 1s;
}

.home-cta__btn:hover {
  color: #ff6600;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--orange);
  background: #fff;
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}

.btn-solid {
  display: inline-block;
  padding: 12px 28px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter 0.2s;
}

.btn-solid:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}

/* ===== IR banner ===== */
.ir-banner {
  background-color: #121212;
  background-image: url("/assets/img/360_F_540044645_euvM4jng8cjqkpwT6NkjyfHePtREP3JA.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 42px 16px;
  min-height: 187px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ir-banner h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Quem somos + noticias home ===== */
.home-mid {
  padding: 24px 0 32px;
}

.home-mid__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.home-about-card {
  text-align: center;
}

.home-about-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.home-about-card h2,
.home-news h2 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.news-list li {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid #e5e5e5;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list a.news-title {
  display: block;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  margin-bottom: 4px;
}

.news-list a.news-title:hover {
  color: var(--orange);
}

.news-list .news-date {
  display: block;
  color: #999;
  font-size: 13px;
  margin-bottom: 4px;
}

.news-list .news-more {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.news-list .news-more:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 0;
}

.footer-main {
  background: var(--footer-bg);
  padding: 36px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.55;
}

.footer-col a {
  color: inherit;
}

.footer-col a strong {
  color: #111;
}

.footer-map iframe {
  display: block;
  width: 100%;
  max-width: 250px;
  height: 200px;
  background: #ddd;
}

.footer-copy {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 18px 12px;
  font-size: 14px;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  color: #e85a5a;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ===== Interior pages ===== */
.page-inner {
  padding: 36px 0 56px;
}

.page-title {
  margin: 0 0 28px;
  color: var(--orange);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.page-body {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

.page-body h2,
.page-body h3,
.page-body .content-h {
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.page-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.page-body li {
  margin-bottom: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.about-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-box {
  background: #f1f1f1;
  border-radius: 8px;
  padding: 22px 24px;
}

.info-box h3 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 18px;
}

.info-box ul {
  margin: 0;
  padding-left: 1.1em;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.service-block {
  background: #f1f1f1;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 15px 18px 12px;
}

.service-block h2 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.service-block ul {
  margin: 0;
  padding-left: 1.15em;
}

.service-block li {
  margin-bottom: 10px;
  line-height: 1.45;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.links-grid ul {
  margin: 0;
  background: #f1f1f1;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 14px 16px 10px 28px;
}

.links-grid a {
  color: #333;
  font-size: 16px;
}

.links-grid a:hover {
  color: var(--orange);
}

.links-grid li {
  list-style: disc;
  margin-left: 1.1em;
  margin-bottom: 10px;
}

.loc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.loc-grid iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  background: #ddd;
}

.loc-side h3 {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 16px;
  text-transform: uppercase;
}

.loc-side p {
  margin: 0 0 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-lead {
  color: var(--orange);
  font-size: 20px;
  margin: 0 0 14px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
  color: #444;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bbb;
  padding: 6px 10px;
  font: inherit;
  font-size: 15px;
  color: #333;
  background: #fff;
  border-radius: 3px;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.recaptcha {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 304px;
  max-width: 100%;
  min-height: 74px;
  margin: 4px 0 14px;
  padding: 8px 12px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.recaptcha__check {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  flex: 0 0 auto;
}

.recaptcha__label {
  flex: 1;
  font-size: 14px;
  color: #000;
}

.recaptcha__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #555;
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
}

.recaptcha__brand strong {
  color: #1a73e8;
  font-size: 11px;
  font-weight: 700;
}

.recaptcha__brand span {
  color: #888;
}

.contact-form .form-msg {
  margin-top: 12px;
  font-size: 14px;
}

.contact-form .form-msg.is-ok { color: #1a7a3a; }
.contact-form .form-msg.is-err { color: #b00020; }

.contact-aside {
  background: #f1f1f1;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 15px 16px 8px;
  margin-left: 40px;
}

.contact-aside h3 {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 15px;
  text-transform: uppercase;
}

.contact-aside p {
  margin: 0 0 18px;
  font-size: 14px;
}

/* News archive — só os cards da página, sem paginação */
.page-news {
  background: #eeeeee;
  padding: 50px 0 56px;
}

.page-news .page-title {
  text-align: center;
  font-size: 45px;
  font-weight: 600;
  margin: 0 0 35px;
}

.news-archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 30px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  min-width: 0;
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.news-card__body {
  padding: 20px 24px 8px;
}

.news-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.news-card h2 a {
  color: #000;
  text-decoration: none;
}

.news-card h2 a:hover {
  color: var(--orange);
}

.news-card .excerpt {
  margin: 0 0 14px;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

.news-card .more {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.news-card .more:hover {
  text-decoration: underline;
}

.news-card .meta {
  margin-top: auto;
  padding: 12px 24px 16px;
  color: #000;
  font-size: 13px;
  border-top: 1px solid #eee;
}

.news-card .meta span + span::before {
  content: "•";
  margin: 0 6px;
}

.article-meta {
  color: #888;
  font-size: 14px;
  margin: -12px 0 24px;
}

.article-featured {
  margin: 0 0 24px;
}

.article-featured img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 960px) {
  .home-ctas,
  .home-mid__grid,
  .about-grid,
  .info-boxes,
  .services-grid,
  .links-grid,
  .loc-grid,
  .contact-grid,
  .footer-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 280px;
  }

  .home-cta {
    min-height: 240px;
  }

  .ir-banner h2 {
    font-size: 26px;
  }

  .page-title,
  .page-news .page-title {
    font-size: 32px;
  }

  .contact-aside {
    margin-left: 0;
  }
}


@media (max-width: 960px) {
  .home-ctas,
  .home-mid__grid,
  .about-grid,
  .info-boxes,
  .services-grid,
  .links-grid,
  .loc-grid,
  .contact-grid,
  .footer-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 280px;
  }

  .home-cta {
    min-height: 240px;
  }

  .ir-banner h2 {
    font-size: 26px;
  }

  .page-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .news-archive {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    display: none !important;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: auto;
    padding: 16px 0 12px;
    text-align: center;
  }

  .logo img {
    max-width: 260px;
    margin: 0 auto;
  }

  .header-contact {
    margin: 0 auto;
    justify-content: center;
  }

  .header-contact__icon {
    display: none;
  }

  .header-contact__text {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    font-size: 14px;
    text-align: center;
  }

  .nav-desktop {
    display: none;
  }

  .site-nav {
    display: block;
    min-height: 48px;
  }

  .site-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
  }

  .nav-toggle--bar {
    display: inline-flex !important;
    color: #fff;
    margin: 0 auto;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }

  .home-ctas {
    margin-top: 24px;
  }

  .home-ctas__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-cta__content h2 {
    font-size: 32px;
    padding: 18px 0;
  }

  .home-mid {
    padding: 20px 0 28px;
  }

  .home-mid__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ir-banner h2 {
    font-size: 28px;
  }

  .page-title {
    font-size: 28px;
  }

  .about-grid,
  .info-boxes,
  .services-grid,
  .links-grid,
  .loc-grid,
  .contact-grid,
  .news-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .nav-toggle--bar {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .header-top.container,
  .header-top {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }
  .logo,
  .logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .header-contact__text {
    align-items: center;
  }
  .header-contact__text a {
    display: inline;
  }
}
