@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --white: #ffffff;
  --gold: #B28B54;
  --gold-dim: rgba(178, 139, 84, 0.3);
  --font: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
}

/* =====================
   HEADER
   ===================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  transition: background 0.4s ease, padding 0.4s ease;
}

#site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  padding: 12px 5vw;
  border-bottom: 1px solid var(--gold-dim);
}

#site-header nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 2rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

#site-header nav a:hover {
  opacity: 1;
  color: var(--gold);
}

#site-header nav a.nav-highlight {
  color: var(--gold);
  font-weight: 600;
  opacity: 1;
}

#site-header nav a.nav-highlight:hover {
  color: var(--white);
}

/* =====================
   HERO
   ===================== */

#hero {
  min-height: 100vh;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.65;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-logo {
  width: 220px;
  opacity: 0;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0);
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-tagline span {
  opacity: 0;
  transform: translateY(20px);
  display: block;
}

.gold {
  color: var(--gold);
}

.hero-tagline .gold {
  font-weight: 600;
}

/* =====================
   SHARED SECTION STYLES
   ===================== */

.section-inner {
  width: 100%;
  max-width: 1200px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
}

.section-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.gold-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  transform-origin: left;
}

.section-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

.section-text strong {
  color: var(--gold);
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* =====================
   QUEM SOMOS (Custom)
   ===================== */
#quem-somos {
  position: relative;
}

.quem-somos-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

#quem-somos .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
}

#quem-somos .two-col {
  grid-template-columns: 1.4fr 1fr;
  gap: 6vw;
}

.quem-somos-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quem-somos-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}

.quem-somos-text p {
  color: var(--white);
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.7;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 2rem;
}

.quem-somos-text strong {
  font-weight: 600;
  color: var(--white);
}

#quem-somos .section-image {
  width: 100%;
  align-self: stretch;
}

#quem-somos .section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* =====================
   ESSÊNCIA — texto por trás da imagem
   ===================== */

#essencia {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  overflow: hidden;
  gap: 0;
  position: relative;
  min-height: auto;
  /* Remove o gap de 100vh forçado */
}

.essencia-bg-text {
  font-size: clamp(2rem, 8.5vw, 12rem);
  font-weight: 200;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  position: absolute;
  top: 10vh;
  left: 0;
  z-index: 1;
  /* TEXTO POR TRÁS DA IMAGEM */
  width: 100%;
}

.essencia-wrap {
  position: relative;
  z-index: 2;
  /* IMAGEM POR CIMA */
  width: 100%;
  max-width: none;
  margin-top: 15vh;
  /* Pode precisar de ajuste de margin dependendo da altura da foto nova */
  margin-bottom: 0;
}

.essencia-image {
  width: 100%;
  margin-top: 70px;
}

.essencia-image img {
  width: 100%;
  height: auto;
  display: block;
}

.essencia-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 18% 80%, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  pointer-events: none;
}

.essencia-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 4vw 5vw;
  max-width: 650px;
  z-index: 3;
}

.essencia-title {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.essencia-content p.statement-sub {
  color: var(--white);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 300;
  text-align: left;
}

.essencia-content p.statement-sub strong {
  font-weight: 600;
  color: var(--white);
}

.essencia-icon {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  z-index: 3;
}

/* =====================
   STATEMENT SECTIONS
   ===================== */

.statement-section {
  text-align: center;
  flex-direction: column;
  gap: 2rem;
  padding: 10vh 10vw;
}

.statement-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.statement-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 900px;
}

.statement-title .highlight {
  color: var(--gold);
  font-weight: 600;
}

.statement-bg {
  position: absolute;
  inset: 0;
  background-size: auto 100%;
  background-position: right center !important;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.statement-section>* {
  position: relative;
  z-index: 1;
}

.statement-sub {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  max-width: 600px;
  opacity: 0.75;
}

/* =====================
   LEGADO
   ===================== */
#legado {
  position: relative;
  width: 100%;
  padding: 15vh 10vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.legado-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.25;
}

.legado-container {
  display: flex;
  align-items: center;
  gap: 8vw;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
}

.legado-left {
  flex: 0 0 50%;
}

.legado-left img {
  width: 100%;
  height: auto;
  display: block;
}

.legado-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legado-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.legado-title {
  font-size: clamp(2rem, 3.5vw, 4.5rem);
  font-weight: 200;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .legado-container {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .legado-subtitle {
    margin: 0 auto 2.5rem auto;
  }
}

/* =====================
   PONTE / EXCLUSIVIDADE
   ===================== */
#ponte {
  position: relative;
  width: 100%;
  padding: 15vh 8vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ponte-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.15;
}

.ponte-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  position: relative;
  z-index: 1;
}

.ponte-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ponte-huge-text {
  font-size: clamp(4rem, 12vw, 15rem);
  font-weight: 200;
  color: var(--gold);
  line-height: 0.62;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-left: -4vw;
  opacity: 0.85;
}

.ponte-huge-text span {
  display: block;
}

.ponte-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.ponte-content-box {
  text-align: right;
  max-width: 480px;
}

.ponte-subtitle {
  font-size: 3.05rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ponte-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .ponte-container {
    flex-direction: column;
    text-align: center;
  }

  .ponte-huge-text {
    margin-left: 0;
    font-size: clamp(4rem, 15vw, 8rem);
  }

  .ponte-right {
    justify-content: center;
    margin-top: 4rem;
  }

  .ponte-content-box {
    text-align: center;
  }
}

/* =====================
   TERRITÓRIO
   ===================== */

.project-list {
  list-style: none;
  margin: 2rem 0;
}

.project-list li {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gold-dim);
  color: var(--gold);
}

.territory-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  max-width: 650px;
  opacity: 0.8;
  margin-top: 2rem;
}

/* =====================
   CURADORIA
   ===================== */
#curadoria {
  position: relative;
  width: 100%;
  padding: 15vh 10vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.curadoria-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.7;
  filter: brightness(0.45) saturate(0.7) blur(4px);
  transform: scale(1.05);
}

.curadoria-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
}

.curadoria-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
}

.curadoria-top-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 200;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.curadoria-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
  margin: 1rem 0 2rem;
}

.curadoria-desc strong {
  font-weight: 600;
}

.curadoria-gold-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 200;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =====================
   MODELO PROPRIETÁRIO
   ===================== */
#modelo {
  width: 100%;
  padding: 15vh 8vw;
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind the left column */
#modelo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(178, 139, 84, 0.15) 0%, transparent 60%);
  transform: translate(-30%, -50%);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
  0% {
    transform: translate(-30%, -50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(-10%, -30%) scale(1.3);
    opacity: 1;
  }

  100% {
    transform: translate(-30%, -50%) scale(1);
    opacity: 0.7;
  }
}

.modelo-container {
  display: flex;
  gap: 8vw;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.modelo-left {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modelo-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 200;
  color: var(--gold);
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.modelo-title span {
  display: block;
}

.modelo-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  max-width: 300px;
}

.modelo-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.modelo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5rem;
  row-gap: 4rem;
  width: 100%;
}

.modelo-item {
  border-top: 1px solid rgba(178, 139, 84, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.modelo-item h3 {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #e0e0e0;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.modelo-item p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: #999;
  max-width: 90%;
  margin: 0 auto;
}

.modelo-item p strong {
  font-weight: 600;
  color: #fff;
}

@media (max-width: 1024px) {
  .modelo-container {
    flex-direction: column;
    gap: 4rem;
  }

  .modelo-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .modelo-left {
    text-align: center;
  }

  .modelo-subtitle {
    margin: 0 auto;
  }
}

/* =====================
   CARDS GRID (Legacy)
   ===================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  border: 1px solid var(--gold-dim);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.card:hover::before {
  height: 100%;
}

.card:hover {
  border-color: var(--gold);
}

.card-icon {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.card p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.75;
}

/* =====================
   FILOSOFIA (Experiência)
   ===================== */

.experiencia-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10vh 12vw;
  overflow: hidden;
}

.experiencia-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(10, 10, 10, 0.7) 40%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.experiencia-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  text-align: left;
}

.experiencia-text {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  color: #d0d0d0;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.experiencia-text.highlight-margin {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--gold);
}

.experiencia-text strong {
  font-weight: 600;
  color: var(--gold);
}

.frase-line {
  display: block;
  overflow: hidden;
}

/* =====================
   CONTATO
   ===================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-dim);
  color: var(--white);
  padding: 1rem 1.2rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form button {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1rem 2rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.contact-form button:hover {
  background: var(--gold);
  color: var(--bg);
}

/* =====================
   FOOTER
   ===================== */

footer {
  background: #050505;
  border-top: 1px solid var(--gold-dim);
  padding: 3rem 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

footer p {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

/* =====================
   WHATSAPP BTN
   ===================== */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* =====================
   CRIAMOS VALOR
   ===================== */
#valor {
  position: relative;
  width: 100%;
  min-height: 80vh;
  padding: 10vh 12vw;
  background: radial-gradient(circle at 100% 50%, rgba(178, 139, 84, 0.2) 0%, var(--bg) 65%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.valor-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.valor-title {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.valor-title strong {
  font-weight: 600;
}

/* =====================
   TERRITÓRIO DE ATUAÇÃO
   ===================== */
#territorio {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 0;
  margin-top: 0px;
}

.territorio-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url('assets/images/golf-club-with-ball.jpg');
  filter: brightness(0.45) saturate(0.7) blur(4px);
  transform: scale(1.05); /* Escala leve para evitar bordas transparentes/brancas causadas pelo desfoque */
  z-index: 0;
}

.territorio-cols {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  padding: 0 5vw;
}

.territorio-title {
  font-size: clamp(3rem, 5vw, 6.5rem);
  font-weight: 200;
  color: white;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.territorio-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.territorio-right p {
  color: var(--white);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
  opacity: 0.9;
}

.territorio-right strong {
  font-weight: 600;
  color: var(--white);
}

.territorio-logo {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  width: 40px;
  height: 40px;
  z-index: 1;
}

/* =====================
   RESPONSIVO MOBILE
   ===================== */

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .territorio-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 5vw;
  }

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

  .section-image {
    display: none;
  }

  #site-header nav {
    display: none;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .statement-title {
    font-size: 1.8rem;
  }
}

/* =====================
   CTA SECTIONS
   ===================== */
.section-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 2rem;
  background: var(--bg);
}

.section-cta.dual {
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 1rem 2.4rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease;
}

.cta-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
}

/* =====================
   REGISTRATION PAGES (PF / PJ)
   ===================== */

body.registration-page {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, rgba(178, 139, 84, 0.12) 0%, transparent 70%);
}

.registration-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 5vw 80px 5vw; /* Espaço para o header fixo */
  position: relative;
  overflow: hidden;
}

.registration-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(178, 139, 84, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.registration-container {
  width: 100%;
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.registration-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.registration-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.registration-header .gold-line.centered {
  margin: 0 auto 2rem auto;
}

.registration-subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Formulário de Registro */
.registration-form {
  background: rgba(12, 12, 12, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(178, 139, 84, 0.25);
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(178, 139, 84, 0.2);
  padding-bottom: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.registration-form > .form-section-title:first-of-type {
  margin-top: 0;
}

.form-section-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin-top: -1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.col-2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(5, 5, 5, 0.6);
  border: 1px solid rgba(178, 139, 84, 0.25);
  color: var(--white);
  padding: 1.1rem 1.2rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 12px rgba(178, 139, 84, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Custom Select Styling */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23B28B54' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg);
  color: var(--white);
}

/* Drag and Drop Zone */
.file-dropzone {
  border: 1px dashed rgba(178, 139, 84, 0.4);
  background: rgba(255, 255, 255, 0.01);
  padding: 2.2rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--gold);
  background: rgba(178, 139, 84, 0.05);
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.dropzone-icon {
  width: 32px;
  height: 32px;
  fill: var(--gold);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s;
}

.file-dropzone:hover .dropzone-icon {
  transform: translateY(-3px);
  opacity: 1;
}

.dropzone-text {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.dropzone-text span {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.file-name-preview {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.4rem;
  word-break: break-all;
  display: none;
  background: rgba(178, 139, 84, 0.1);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(178, 139, 84, 0.2);
}

/* Submit Button & Loader */
.submit-btn {
  margin-top: 1.5rem;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 1.2rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.submit-btn:hover {
  background: var(--white);
  color: var(--bg);
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 10, 0.2);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-btn.loading .btn-loader {
  display: block;
}

/* Feedback Screens */
.feedback-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4.5rem 3rem;
  border: 1px solid var(--gold-dim);
  background: rgba(12, 12, 12, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feedback-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.success-screen .feedback-icon {
  border: 2px solid #25D366;
  color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
}

.error-screen .feedback-icon {
  border: 2px solid #ff3838;
  color: #ff3838;
  box-shadow: 0 0 15px rgba(255, 56, 56, 0.15);
}

.feedback-screen h2 {
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.feedback-screen p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin-bottom: 2.5rem;
}

/* Responsive adjustment for forms */
@media (max-width: 768px) {
  .registration-section {
    padding-top: 110px;
  }
  
  .registration-form {
    padding: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .form-group.col-2 {
    grid-column: span 1;
  }
}

/* Experiência mobile */
.menu-toggle { display: none; }

@media (max-width: 768px) {
  html { -webkit-text-size-adjust: 100%; }
  section { min-height: auto; padding: 72px 6vw; }
  #site-header, #site-header.scrolled { min-height: 68px; padding: max(14px, env(safe-area-inset-top)) 6vw 14px; background: rgba(10, 10, 10, .96); border-bottom: 1px solid var(--gold-dim); }
  .header-logo img { height: 32px; width: auto; display: block; }
  #site-header nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0 6vw; background: rgba(10, 10, 10, .98); border-bottom: 1px solid var(--gold-dim); visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  #site-header.menu-open nav { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  #site-header nav a { margin: 0; min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid rgba(178, 139, 84, .14); font-size: .72rem; }
  #site-header nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: inline-flex; width: 48px; height: 48px; margin: -8px -8px -8px 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 22px; height: 1px; background: var(--gold); transition: transform .2s ease, opacity .2s ease; }
  #site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  #site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  #hero { min-height: 100svh; padding: 96px 6vw 48px; }
  .hero-content { gap: 1.4rem; }
  .hero-logo { width: min(190px, 58vw); }
  .hero-tagline { font-size: clamp(.95rem, 4.5vw, 1.15rem); letter-spacing: .11em; line-height: 1.45; }
  .section-image { display: block; }
  .section-image img { height: auto; max-height: 360px; }
  .two-col, #quem-somos .two-col { gap: 2.5rem; }
  /* Título, imagem e texto em uma única coluna para preservar a leitura. */
  #quem-somos .two-col { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  #quem-somos .quem-somos-left { gap: 1.5rem; }
  #quem-somos .quem-somos-title { font-size: clamp(2.5rem, 13vw, 3.6rem); letter-spacing: .08em; }
  #quem-somos .section-image img { width: 100%; max-height: none; aspect-ratio: 16 / 7; object-fit: cover; }
  #quem-somos .quem-somos-text p { font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }
  .section-title { letter-spacing: .1em; }
  .section-text p, .territory-desc, .experiencia-text, .ponte-desc { font-size: .95rem; line-height: 1.75; }
  #territorio, #legado, #ponte, #curadoria, #modelo, #valor, .experiencia-section { min-height: auto; padding: 80px 6vw; }
  .curadoria-content { width: 100%; max-width: 100%; }
  .curadoria-top-title, .curadoria-gold-title { overflow-wrap: anywhere; font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .territorio-cols { gap: 2rem; padding: 0; }
  .territorio-title { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .territorio-logo, .essencia-icon { display: none; }
  .essencia-wrap { margin-top: 11vh; }
  .essencia-image { margin-top: 36px; }
  .essencia-content { position: relative; padding: 3.5rem 7vw 1rem; background: var(--bg); }
  .essencia-overlay { background: linear-gradient(to top, var(--bg) 0%, transparent 55%); }
  .essencia-title { margin-bottom: 2rem; line-height: 1.55; }
  .essencia-content p.statement-sub { line-height: 1.75; }
  .legado-container, .modelo-container { gap: 2.5rem; }
  .ponte-right { margin-top: 2.5rem; }
  .ponte-subtitle { font-size: clamp(1.7rem, 8vw, 2.2rem); line-height: 1.35; }
  .modelo-grid { gap: 2rem; }
  .section-cta, .section-cta.dual { align-items: stretch; flex-direction: column; gap: .8rem; padding: 2.5rem 6vw; }
  .cta-btn, .contact-ctas .cta-btn { width: 100%; min-height: 48px; padding: .9rem 1.25rem; text-align: center; line-height: 1.35; }
  .contact-ctas { flex-direction: column; }
  .contact-form input, .contact-form textarea, .contact-form button, .form-group input, .form-group select, .form-group textarea { min-height: 48px; font-size: 16px; }
  .registration-section { padding: 100px 5vw 56px; }
  .registration-form { padding: 1.4rem; }
  .file-dropzone { min-height: 132px; padding: 1.5rem; }
  .whatsapp-btn { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.cta-btn:focus-visible, .menu-toggle:focus-visible, #site-header nav a:focus-visible, .whatsapp-btn:focus-visible, .contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible, .form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
