:root {
  --green: #7d8f2c;
  --green-dark: #5f6f20;
  --green-deep: #344013;
  --paper: #fbf7ef;
  --sand: #f1e6d5;
  --white: #ffffff;
  --espresso: #32291f;
  --muted: #6d6257;
  --line: rgba(50, 41, 31, 0.12);
  --shadow: 0 24px 60px rgba(50, 41, 31, 0.12);
  --header: rgba(16, 13, 10, 0.9);
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--espresso);
  background:
    radial-gradient(circle at top left, rgba(125, 143, 44, 0.08), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(176, 109, 35, 0.08), transparent 24%),
    #ffffff;
  font-family: "Hero", "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.46;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

p {
  margin-bottom: 12px;
}

.container {
  width: min(1260px, calc(100vw - 10%));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 18px 5%;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 214px;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: #d3dca7;
  opacity: 1;
}

.main-nav a.active {
  color: #d3dca7;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 3px;
  background: #ffffff;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-weight: 600;
}

.hero-section {
  position: relative;
  isolation: isolate;
  padding: 5.5% 0 5%;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(17, 14, 11, 0.9) 0%, rgba(28, 22, 17, 0.72) 40%, rgba(17, 14, 11, 0.44) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2)),
    url("assets/img/fundo.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.hero-grid,
.history-grid,
.pine-grid,
.values-grid,
.personality-grid {
  display: grid;
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1fr;
  min-height: 620px;
}

.eyebrow,
.section-kicker,
.slogan-grid span {
  display: block;
  margin: 0 0 18px;
  color: #d4bf9f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-section .eyebrow,
.hero-section h1,
.hero-section .hero-lead {
  color: #ffffff;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--espresso);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--espresso);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.24;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.hero-socios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  --socio-card-size: clamp(176px, 12vw, 192px);
}

.hero-socios article {
  display: grid;
  grid-template-columns: var(--socio-card-size) 1fr;
  align-items: stretch;
  gap: 12px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.socio-photo {
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  width: var(--socio-card-size);
  height: var(--socio-card-size);
  align-self: center;
}

.socio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-socios .card-body {
  display: grid;
  gap: 8px;
  padding: 13px 15px;
  min-height: var(--socio-card-size);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  align-content: center;
}

.hero-socios strong {
  display: block;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
}

.hero-socios em {
  display: block;
  color: #d4bf9f;
  font-size: 11px;
  line-height: 1.26;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-socios p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.32;
}

.history-section {
  background: linear-gradient(180deg, rgba(243, 234, 220, 0.42), rgba(255, 255, 255, 0.9));
}

.history-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
}

.history-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.history-dtu {
  margin: 0;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.history-dtu img {
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto;
}

.history-dtu figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #14110d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}

.button.dark {
  background: var(--green);
  color: #ffffff;
}

.button.dark:hover {
  background: var(--green-dark);
}

section {
  padding: 5% 0;
}

.slogan-section,
.values-section {
  background: linear-gradient(180deg, rgba(243, 234, 220, 0.64), rgba(243, 234, 220, 0.2));
}

.section-title {
  margin-bottom: clamp(26px, 4vw, 42px);
}

.slogan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.slogan-grid article,
.values-cards article {
  min-height: 194px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.slogan-grid h3,
.values-cards strong {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
}

.slogan-grid p,
.values-cards p,
.pine-copy p,
.personality-copy p,
.footer-brand p,
.legal-note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.pine-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.pine-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
}

.pine-visual img {
  width: min(52%, 280px);
  height: auto;
  margin: 0 auto;
  padding: 18px 0;
}

.values-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.values-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.values-cards article {
  min-height: 166px;
}

.values-cards strong {
  display: block;
  color: var(--espresso);
  font-size: 20px;
}

.personality-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 13, 10, 0.82) 0%, rgba(16, 13, 10, 0.54) 50%, rgba(16, 13, 10, 0.72) 100%),
    url("assets/img/blox.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.personality-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.personality-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.personality-copy {
  display: grid;
  gap: 24px;
  max-width: 540px;
}

.personality-section .section-kicker,
.personality-section h2,
.personality-section .personality-copy p,
.personality-section .button.dark {
  color: #ffffff;
}

.personality-section .button.dark {
  justify-self: start;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.personality-section .button.dark:hover {
  background: rgba(255, 255, 255, 0.24);
}

.site-footer {
  padding: 4% 0 2.5%;
  background: var(--espresso);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(180px, 0.64fr));
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 200px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-nav a,
.footer-contact a,
.legal-note {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 20px;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact {
  padding: 0;
  margin: 0;
  list-style: none;
}

.legal-note {
  width: min(1260px, calc(100vw - 10%));
  margin: 30px auto 0;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-header,
  .main-nav {
    flex-wrap: wrap;
  }

  .hero-grid,
  .history-grid,
  .pine-grid,
  .values-grid,
  .personality-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slogan-grid,
  .values-cards {
    grid-template-columns: 1fr;
  }

  .hero-socios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .legal-note {
    width: min(1260px, calc(100vw - 8%));
  }

  .site-header {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand img {
    width: 170px;
  }

  .main-nav {
    gap: 14px 18px;
    font-size: 13px;
  }

  .nav-button {
    min-height: 46px;
    padding: 12px 18px;
  }

  h1 {
    font-size: clamp(30px, 12vw, 42px);
  }

  .hero-section {
    background-attachment: scroll;
  }

  .hero-socios article,
  .slogan-grid article,
  .values-cards article {
    min-height: unset;
  }

  .hero-socios {
    grid-template-columns: 1fr;
    --socio-card-size: clamp(112px, 30vw, 136px);
  }

  .pine-visual img {
    width: min(58%, 220px);
  }
}


/* ---------- Botao de WhatsApp ----------
   A home tem este botao pelo widget de botao flutuante do Elementor, que nao
   alcanca pagina estatica. Aqui ele e recriado, com o mesmo numero. */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
  .whatsapp-float:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* Seletor de idioma PT / EN / ES.
   Gerado por i18n/gerar_idiomas.py no fim do menu principal.
   Usa currentColor para herdar a cor do cabecalho de cada pagina. */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.lang-switch a {
  padding: 4px 7px;
  border-radius: 4px;
  color: currentColor;
  opacity: 0.62;
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  opacity: 1;
}

.lang-switch a.lang-atual {
  opacity: 1;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
}

/* 1100px e onde o menu desta pagina quebra em linhas. */
@media (max-width: 1100px) {
  .lang-switch {
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: center;
  }
}
