/**
 * Prime Corporate — layout inspirado em padrão tech corporativo
 * Complementa main.css (identidade: verde #009961 + azul ODIN #3874ff)
 */

/*--------------------------------------------------------------
# Header corporativo
--------------------------------------------------------------*/
.header.prime-header {
  --background-color: rgba(15, 31, 26, 0.35);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  padding: 12px 0;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scrolled .header.prime-header,
.header.prime-header.scrolled,
body:not(.index-page) .header.prime-header {
  --background-color: rgba(15, 31, 26, 0.95);
  box-shadow: 0 4px 24px rgba(15, 31, 26, 0.25);
}

.header.prime-header .logo .sitename {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.header.prime-header .logo .sitename span {
  color: var(--accent-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header .cta-btn-outline,
.header .cta-btn-outline:focus {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--nav-font);
  white-space: nowrap;
  transition: 0.3s;
}

.header .cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.header.prime-header .cta-btn {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 991px) {
  .header-actions .cta-btn-outline {
    display: none;
  }
}

@media (max-width: 1199px) {
  .header.prime-header .container-fluid,
  .header.prime-header .container-xl {
    flex-wrap: nowrap;
  }

  .header.prime-header .logo {
    order: 1;
    margin-right: auto !important;
  }

  .header.prime-header .header-actions {
    order: 2;
    margin-right: 8px;
  }

  .header.prime-header .navmenu {
    order: 3;
  }

  .header.prime-header .mobile-nav-toggle {
    margin-right: 0;
  }
}

@media (max-width: 575px) {
  .header-actions .cta-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .header.prime-header .logo .sitename {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Hero carrossel
--------------------------------------------------------------*/
.hero-carousel {
  position: relative;
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
}

.hero-carousel .swiper {
  height: 100vh;
  min-height: 560px;
}

.hero-carousel .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #0f1f1a;
}

.hero-carousel .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 31, 26, 0.92) 0%,
    rgba(15, 31, 26, 0.72) 45%,
    rgba(0, 153, 97, 0.35) 100%
  );
  z-index: 1;
}

.hero-carousel .slide-overlay.odin {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(30, 58, 95, 0.8) 50%,
    rgba(56, 116, 255, 0.45) 100%
  );
}

.hero-carousel .slide-overlay.terceirizar {
  background: linear-gradient(
    105deg,
    rgba(15, 31, 26, 0.94) 0%,
    rgba(6, 40, 28, 0.85) 50%,
    rgba(0, 153, 97, 0.4) 100%
  );
}

.hero-carousel .slide-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 100px 0 80px;
  color: #fff;
}

.hero-carousel .slide-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.hero-carousel .slide-overlay.odin + .container .slide-eyebrow,
.hero-carousel .swiper-slide:has(.slide-overlay.odin) .slide-eyebrow {
  color: #7eb0ff;
}

.hero-carousel h1 {
  color: #fff;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-carousel h1 em {
  font-style: normal;
  color: var(--accent-color);
}

.hero-carousel .slide-odin h1 em {
  color: #7eb0ff;
}

.hero-carousel .slide-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 1.75rem;
}

.hero-carousel .slide-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff !important;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--nav-font);
  font-size: 0.95rem;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(0, 153, 97, 0.45);
}

.btn-prime:hover {
  background: #00b873;
  color: #fff !important;
  transform: translateY(-1px);
}

.hero-carousel .btn-prime {
  background: #fff;
  color: #0f1f1a !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hero-carousel .btn-prime:hover {
  background: var(--accent-color);
  color: #fff !important;
}

.btn-prime-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--nav-font);
  font-size: 0.95rem;
  transition: 0.3s;
}

.btn-prime-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff !important;
}

.hero-carousel .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.hero-carousel .swiper-pagination-bullet-active {
  background: var(--accent-color);
  width: 28px;
  border-radius: 5px;
}

.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
  color: #fff;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.hero-carousel .swiper-button-next::after,
.hero-carousel .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 700;
}

.hero-carousel .swiper-button-next:hover,
.hero-carousel .swiper-button-prev:hover {
  background: var(--accent-color);
}

@media (max-width: 991px) {
  .hero-carousel .swiper-button-next,
  .hero-carousel .swiper-button-prev {
    display: none;
  }

  .hero-carousel .slide-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-carousel .slide-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-carousel .slide-ctas {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Trust / about
--------------------------------------------------------------*/
.trust-section {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 153, 97, 0.06), transparent 50%),
    var(--background-color);
}

.trust-section .trust-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.trust-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.trust-section .trust-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--default-color);
  max-width: 560px;
}

.trust-section .trust-highlight {
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
  background: var(--muted-surface);
  border-radius: 0 12px 12px 0;
}

.trust-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.trust-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.trust-checklist i {
  color: var(--accent-color);
  font-size: 1.15rem;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Pilares
--------------------------------------------------------------*/
.pillars-section {
  padding: 90px 0;
  background: var(--muted-surface);
}

.pillars-section .section-intro {
  max-width: 640px;
  margin-bottom: 3rem;
}

.pillars-section .section-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: 2rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 31, 26, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 31, 26, 0.1);
  border-color: transparent;
  color: inherit;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card.odin-pillar::before {
  background: var(--odin-blue);
}

.pillar-card .pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  margin-bottom: 1.25rem;
}

.pillar-card.odin-pillar .pillar-icon {
  background: color-mix(in srgb, var(--odin-blue), transparent 88%);
  color: var(--odin-blue);
}

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  flex-grow: 1;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pillar-card .pillar-link {
  font-weight: 600;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-card.odin-pillar .pillar-link {
  color: var(--odin-blue);
}

.pillar-card:hover .pillar-link i {
  transform: translateX(4px);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
.stats-band {
  padding: 70px 0;
  background:
    linear-gradient(135deg, #0f1f1a 0%, #16352a 50%, #0a4d35 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(0, 153, 97, 0.35), transparent 45%);
  pointer-events: none;
}

.stats-band .container {
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item .stat-num {
  font-family: var(--heading-font);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item .stat-num span {
  color: var(--accent-color);
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Serviços (blocos corporativos)
--------------------------------------------------------------*/
.services-corporate .service-block {
  padding: 1.75rem;
  height: 100%;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  background: transparent;
}

.services-corporate .service-block:hover {
  border-bottom-color: var(--accent-color);
  background: var(--muted-surface);
}

.services-corporate .service-block .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  background: none;
  border: none;
}

.services-corporate .service-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.services-corporate .service-block h3 a {
  color: inherit;
}

.services-corporate .service-block p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: var(--default-color);
}

/* Override template service-item when inside corporate */
.services-corporate .service-item {
  background: transparent;
  box-shadow: none;
  padding: 1.75rem 1.25rem;
  border-radius: 0;
  border-bottom: 2px solid rgba(15, 31, 26, 0.06);
}

.services-corporate .service-item:hover {
  transform: none;
  background: var(--muted-surface);
  border-bottom-color: var(--accent-color);
}

.services-corporate .service-item .icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.services-corporate .service-item .icon i {
  font-size: 1.4rem;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Clientes
--------------------------------------------------------------*/
.clients-corporate .clients-wrap {
  border: none;
  gap: 0;
}

.clients-corporate .client-logo {
  border: 1px solid rgba(15, 31, 26, 0.06);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: 0.3s;
}

.clients-corporate .client-logo:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 153, 97, 0.08);
}

.clients-corporate .client-logo img {
  max-height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.3s;
}

.clients-corporate .client-logo:hover img {
  filter: none;
  opacity: 1;
}

/*--------------------------------------------------------------
# CTA band
--------------------------------------------------------------*/
.call-to-action.prime-cta {
  padding: 80px 0;
}

.call-to-action.prime-cta h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.call-to-action.prime-cta .cta-btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 14px 32px;
}

/*--------------------------------------------------------------
# Contato
--------------------------------------------------------------*/
.contact.prime-contact .info-item {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 31, 26, 0.06);
}

.contact.prime-contact .php-email-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 31, 26, 0.06);
  box-shadow: 0 8px 32px rgba(15, 31, 26, 0.06);
}

.contact.prime-contact .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.contact.prime-contact .php-email-form button[type="submit"]:hover {
  background: var(--accent-dark);
}

/*--------------------------------------------------------------
# Footer rico
--------------------------------------------------------------*/
.footer.prime-footer {
  background: #0f1f1a;
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.75);
}

.footer.prime-footer h3,
.footer.prime-footer h4 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
}

.footer.prime-footer .footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer.prime-footer .footer-brand h3 span {
  color: var(--accent-color);
}

.footer.prime-footer .footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer.prime-footer .footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.footer.prime-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer.prime-footer .footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer.prime-footer .footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  transition: 0.2s;
}

.footer.prime-footer .footer-col a:hover {
  color: var(--accent-color);
}

.footer.prime-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer.prime-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer.prime-footer .footer-bottom a:hover {
  color: var(--accent-color);
}

.footer.prime-footer .social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-right: 6px;
  transition: 0.3s;
}

.footer.prime-footer .social-links a:hover {
  background: var(--accent-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Page title (internas)
--------------------------------------------------------------*/
.page-title.prime-page-title {
  padding: 140px 0 70px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-title.prime-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 31, 26, 0.92), rgba(0, 153, 97, 0.55));
}

.page-title.prime-page-title .container {
  position: relative;
  z-index: 1;
}

.page-title.prime-page-title h1 {
  color: #fff;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
}

.page-title.prime-page-title p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

/*--------------------------------------------------------------
# Section titles
--------------------------------------------------------------*/
.section-title.prime-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title.prime-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-title.prime-title.text-start h2::after {
  left: 0;
  transform: none;
}

.section-title.prime-title p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--default-color);
}

/* ODIN page adjustments under corporate chrome */
body.odin-accent .header.prime-header .cta-btn {
  background: var(--odin-blue);
}

body.odin-accent .header.prime-header .cta-btn:hover {
  background: #2a5fd4;
}
