/* Estilos da homepage (front-page.php) e da Política de Privacidade (privacy-policy.php). */

/* ===== BASE / RESET DA HOME ===== */
.home-page {
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: var(--home-font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sem o prefixo `.home-page` de propósito: um seletor "classe + tipo" (.home-page a)
   tem mais especificidade que as classes de componente (.home-btn--primary etc.) e
   vence por cima delas, deixando texto de botão com a mesma cor do fundo. Como este
   arquivo já só é enqueued em is_front_page(), o `a` puro aqui continua restrito à
   home e fica com especificidade baixa o bastante para os componentes sobrescreverem. */
a {
  color: var(--home-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--home-ink);
  text-decoration: none;
}

.home-page img {
  display: block;
  max-width: 100%;
}

.home-page input,
.home-page textarea,
.home-page select,
.home-page button {
  font-family: inherit;
}

.home-page ::placeholder {
  color: #a7b3cf;
}

.home-section {
  padding: 96px 28px;
}

.home-section__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.home-eyebrow {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-accent);
}

.home-heading {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 14px 0 0;
}

.home-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--home-muted-2);
  margin: 22px 0 0;
}

.home-center {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto;
}

/* ===== BOTÕES ===== */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-btn--primary {
  background: var(--home-accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.home-btn--primary:hover {
  background: #fff;
  color: var(--home-ink);
}

.home-btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.home-btn--outline:hover {
  background: #fff;
  color: var(--home-ink);
}

.home-btn--light {
  background: #fff;
  color: var(--home-ink);
}

.home-btn--light:hover {
  background: var(--home-ink);
  color: #fff;
}

.home-btn--dark {
  background: var(--home-ink);
  color: #fff;
}

.home-btn--dark:hover {
  background: var(--home-accent);
}

/* ===== CABEÇALHO (restilo do site-header existente, só na home) =====
   Sem prefixo `.home-page`: header.php/footer.php ficam fora de <main>,
   mas este arquivo já só é enqueued em is_front_page(), então o escopo
   "somente home" vem do enqueue condicional, não de um seletor pai. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--home-border);
}

.site-header .wrap {
  width: 100%;
  max-width: 1240px;
  padding: 20px 0px;
  gap: 24px;
}

.site-branding {
  padding: 0;
}

.custom-logo {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
}

.main-navigation {
    padding-bottom: 0px !important;
}

.main-navigation ul {
  gap: 30px;
  font-size: 17px;
  font-weight: 500;
}

.main-navigation a {
  color: #3c3f5c;
}

.main-navigation .menu-item-cta > a {
  background: var(--home-accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(51, 63, 152, 0.22);
}

.main-navigation .menu-item-cta > a:hover {
  background: var(--home-ink);
  color: #fff;
}

/* ===== HERO (#inicio) ===== */
.home-hero {
  position: relative;
  background: var(--home-ink);
  overflow: hidden;
  padding: 132px 28px;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 17, 56, 0.96) 0%, rgba(22, 17, 56, 0.88) 34%, rgba(22, 17, 56, 0.45) 62%, rgba(22, 17, 56, 0.18) 100%);
}

.home-hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px);
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(140, 171, 208, 0.18);
  border: 1px solid rgba(140, 171, 208, 0.45);
  color: #cfdbef;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.home-hero__title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 24px 0 0;
  color: #fff;
  max-width: 24ch;
}

.home-hero__title-accent {
  color: var(--home-accent-light);
}

.home-hero__text {
  font-size: 19px;
  line-height: 1.6;
  color: #d5dcee;
  max-width: 54ch;
  margin: 22px 0 0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ===== BARRA DE RECURSOS ===== */
.home-features {
  background: var(--home-surface-alt);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-features__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 6px 26px;
  border-left: 1px solid #dfe3ef;
}

.home-feature:first-child {
  border-left: 0;
}

.home-feature__icon {
  flex: 0 0 auto;
}

.home-feature__title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--home-ink);
}

.home-feature__subtitle {
  font-size: 15px;
  color: var(--home-muted);
  margin-top: 4px;
}

/* ===== SOBRE (#sobre) ===== */
.home-about {
  background: var(--home-surface);
}

.home-about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.home-about__image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(22, 17, 56, 0.14);
}

.home-about__pillars {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.home-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--home-surface-alt);
  border-radius: 18px;
  padding: 22px 24px;
}

.home-pillar__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-pillar__icon--mission {
  background: var(--home-accent);
}

.home-pillar__icon--vision {
  background: var(--home-accent-light);
}

.home-pillar__icon--values {
  background: var(--home-ink);
}

.home-pillar__title {
  font-weight: 600;
  font-size: 18px;
}

.home-pillar__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--home-muted);
  margin: 4px 0 0;
}

/* ===== DIFERENCIAIS ===== */
.home-diff {
  background: var(--home-bg);
}

.home-diff__main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 52px;
  align-items: start;
}

.home-diff__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.home-diff-card {
  background: var(--home-surface);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(22, 17, 56, 0.05), 0 12px 30px rgba(22, 17, 56, 0.05);
}

.home-diff-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef1fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-diff-card__title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-top: 18px;
}

.home-diff-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 10px 0 0;
}

.home-diff__image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(22, 17, 56, 0.14);
}

.home-diff__extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}

.home-diff-mini {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 20px;
  padding: 28px;
}

.home-diff-mini__title {
  font-weight: 600;
  font-size: 18px;
  color: var(--home-ink);
}

.home-diff-mini__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 8px 0 0;
}

/* ===== SERVIÇOS ===== */
.home-services {
  background: var(--home-surface);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.home-service-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(22, 17, 56, 0.05);
}

.home-service-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.home-service-card__body {
  padding: 30px;
}

.home-service-card__title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 33px;
  line-height: 1.05;
}

.home-service-card__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--home-muted-2);
  margin: 12px 0 0;
}

.home-services__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--home-accent);
  color: #fff;
  padding: 38px 40px;
  border-radius: 24px;
  margin-top: 26px;
}

.home-services__cta-title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.home-services__cta-text {
  font-size: 17px;
  line-height: 1.55;
  margin: 8px 0 0;
  color: #dfe4f5;
  max-width: 60ch;
}

/* ===== PARA QUEM ===== */
.home-audience {
  background: var(--home-bg);
}

.home-audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-audience__list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.home-audience__list-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(22, 17, 56, 0.05);
  border-left: 5px solid var(--home-accent);
}

.home-audience__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-audience__gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
}

/* ===== CLIENTES (marquee) ===== */
.home-clients {
  background: var(--home-ink);
  color: #fff;
}

.home-clients__head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 28px 0;
  text-align: center;
}

.home-clients__head .home-eyebrow {
  color: var(--home-accent-light);
}

.home-clients__head .home-lede {
  color: #b9c2e0;
  margin: 16px auto 0;
  max-width: 64ch;
}

.home-clients__marquee {
  margin-top: 44px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.home-clients__track {
  display: flex;
  width: max-content;
  animation: home-marquee 34s linear infinite;
}

.home-clients__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.home-clients__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 20px 36px;
  white-space: nowrap;
}

.home-clients__pill img {
  height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

@keyframes home-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-clients__track {
    animation: none;
  }
}

/* ===== MEIO AMBIENTE E SEGURANÇA ===== */
.home-eco {
  background: var(--home-surface);
}

.home-eco__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-eco__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(22, 17, 56, 0.14);
}

/* ===== CONTATO ===== */
.home-contact {
  position: relative;
  background: var(--home-ink);
  overflow: hidden;
}

.home-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-contact__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 28px;
}

.home-contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.home-contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 38px 34px;
  display: grid;
  gap: 20px;
  box-shadow: 0 1px 2px rgba(22, 17, 56, 0.05), 0 18px 44px rgba(22, 17, 56, 0.07);
}

.home-contact-form__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 12px 0 0;
  max-width: 56ch;
}

.home-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-form-field {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--home-ink);
}

.home-form-field input,
.home-form-field select,
.home-form-field textarea {
  border: 1px solid #e0e4f0;
  background: var(--home-surface-alt);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--home-ink);
  border-radius: 12px;
}

.home-form-field textarea {
  resize: vertical;
}

.home-contact-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-contact-form__status {
  font-size: 15px;
  color: var(--home-accent);
}

.home-contact__aside {
  display: grid;
  gap: 18px;
}

.home-contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 1px 2px rgba(22, 17, 56, 0.05);
}

.home-contact-card__label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-accent);
}

.home-contact__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.home-contact__region-pill {
  background: #f3f5fb;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--home-ink);
}

.home-contact__region-pill:hover {
  background: var(--home-accent);
  color: #fff;
}

.home-contact-card--info {
  padding: 26px 30px;
  display: grid;
  gap: 18px;
}

.home-contact-card__label--sm {
  font-size: 13px;
}

.home-contact-card__value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--home-ink);
  margin-top: 4px;
}

.home-contact-card__value:hover {
  color: var(--home-accent);
}

.home-contact-card__value--email {
  font-size: 16px;
  font-weight: 400;
  word-break: break-all;
}

.home-contact-card__text {
  font-size: 16px;
  color: var(--home-ink);
  margin-top: 4px;
}

.home-contact-card__text-muted {
  font-size: 15px;
  color: var(--home-muted);
  margin-top: 2px;
}

.home-contact__map {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(22, 17, 56, 0.05);
}

/* ===== WHATSAPP FLUTUANTE ===== */
.home-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: var(--home-accent);
  color: #fff;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 14px 34px rgba(22, 17, 56, 0.3);
}

.home-whatsapp-float:hover {
  background: var(--home-ink);
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
  .home-features__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .home-feature:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 1024px) {
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
  }

  .home-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .home-about__grid,
  .home-diff__main,
  .home-audience__grid,
  .home-eco__grid,
  .home-contact__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    min-height: 340px;
  }

  .home-about__image,
  .home-diff__image {
    height: 380px;
  }

  .home-eco__image {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .home-diff__cards {
    grid-template-columns: 1fr 1fr;
  }

  .home-diff__extra {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-features__inner,
  .home-diff__cards,
  .home-services__grid,
  .home-audience__gallery,
  .home-contact-form__row {
    grid-template-columns: 1fr;
  }

	.site-header .wrap {
	  padding: 20px 20px;
	}

  .home-feature {
    border-left: 0;
    padding: 6px 0;
  }

  .home-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-hero {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .home-about__image,
  .home-diff__image {
    height: 250px;
  }

  .home-eco__image {
    height: 250px;
  }

  .home-audience__gallery img {
    height: 250px;
  }

  .home-whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* ===== FORMULÁRIO: aceite da política + reCAPTCHA ===== */
.home-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--home-muted);
  cursor: pointer;
}

.home-form-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--home-accent);
}

.home-form-consent a {
  text-decoration: underline;
}

.home-contact-form__recaptcha {
  min-height: 78px;
}

/* ===== POLÍTICA DE PRIVACIDADE (privacy-policy.php) ===== */
.policy-hero {
  background: var(--home-ink);
  padding: 110px 28px 60px;
}

.policy-hero__inner,
.policy-content {
  max-width: 1240px;
  margin: 0 auto;
}

.policy-hero__title {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

.policy-body {
  padding: 50px 28px 80px;
}

.policy-content {
  display: grid;
  gap: 15px;
  font-size: 16px;
  line-height: 24px;
  color: var(--home-muted-2);
}

.policy-content > * {
  margin: 0;
}

.policy-content h2 {
  font-family: var(--home-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-accent);
  margin-top: 20px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content ul {
  padding-left: 22px;
  display: grid;
  gap: 4px;
}

.policy-content strong {
  color: var(--home-ink);
}

.policy-content a {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .policy-hero {
    padding: 40px 20px;
    text-align: center;
  }

  .policy-body {
    padding: 30px 20px 56px;
  }

  .policy-content {
    gap: 10px;
  }
}
