/* =========================================================
   NEOCA — Premium Boutique de Vidraçaria
   B2B • Arquitetos • Construtoras • Corporativo
   ========================================================= */
:root{
  --green:        #0E5B1F;
  --green-deep:   #0a3f15;
  --green-soft:   #1b7a30;
  --green-glass:  rgba(14,91,31,.08);

  --cream:        #f4efe6;
  --cream-warm:   #ece4d3;
  --cream-soft:   #faf6ee;
  --bone:         #e8e1d1;

  --ink:          #131311;
  --ink-soft:     #2a2a26;
  --muted:        #6b6a63;

  --gold:         #b59867;
  --gold-light:   #ead7a8;

  --line:         rgba(19,19,17,.10);
  --line-soft:    rgba(19,19,17,.06);
  --shadow-lux:   0 30px 80px rgba(9,30,12,.18);
  --shadow-card:  0 18px 50px rgba(9,30,12,.10);

  --font-serif:   'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --container:    1340px;
  --gutter:       clamp(20px, 4vw, 56px);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body{
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.55;
}
img{ display:block; max-width:100%; height:auto; user-select:none; -webkit-user-drag:none; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection{ background: var(--green); color: var(--cream); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Loader ===== */
.loader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .8s ease;
}
.loader.is-out{ opacity: 0; pointer-events: none; }
.loader__brand{
  position: relative;
  display: flex;
  align-items: center; justify-content: center;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader__brand img{
  height: clamp(48px, 8vw, 80px);
  width: auto;
}
.loader__brand::after{
  content:''; position:absolute; left: 0; right: 0; bottom: -16px; height: 1px; width: 100%;
  background: var(--green);
  transform-origin: left center;
  animation: load 1.6s ease-in-out infinite;
}
@keyframes loaderPulse{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .85; transform: scale(1.02); }
}
@keyframes load{
  0%{ transform: scaleX(0); }
  50%{ transform: scaleX(1); transform-origin: left center; }
  51%{ transform-origin: right center; }
  100%{ transform: scaleX(0); }
}

/* ===== Spotlight ===== */
.spotlight{
  position: fixed; pointer-events: none; z-index: 5;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,232,200,.22), transparent 60%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
  opacity: 0;
}
.spotlight.is-on{ opacity: 1; }

/* ===== Nav (glass branco sempre, logo sempre verde, conteúdo compacto) ===== */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 4px 24px rgba(14,91,31,.06);
  transition: padding .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled{
  padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 6px 32px rgba(14,91,31,.10);
}
.nav__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav__brand{ display: flex; align-items: center; height: 46px; position: relative; flex: 0 0 auto; }
.nav__brand img{ height: 100%; width: auto; transition: opacity .35s ease; display: block; max-height: 46px; }
@media (max-width: 880px){
  .nav__brand{ height: 36px; }
  .nav__brand img{ max-height: 36px; }
}
.nav__brand--light{ display: none; }
.nav__brand--dark img{ opacity: 1; }

.nav__menu{
  display: flex; gap: 26px;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__menu a{
  position: relative; padding: 6px 0;
  color: var(--ink-soft);
  transition: color .25s ease;
}
.nav__menu a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .35s ease;
}
.nav__menu a:hover{ color: var(--green); }
.nav__menu a:hover::after{ transform: scaleX(1); transform-origin: left center; }

.nav__cta{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--green);
  color: var(--cream);
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
  border: 1px solid transparent;
}
.nav__cta:hover{ background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(14,91,31,.28); }
.nav__cta svg{ width: 14px; height: 14px; }

.nav__toggle{ display: none; }
@media (max-width: 880px){
  .nav__menu, .nav__cta{ display: none; }
  .nav__toggle{
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 999px;
    background: var(--green); color: var(--cream);
  }
  .nav__toggle svg{ width: 18px; height: 18px; }
}

/* ===== HERO ===== */
.hero{
  position: relative;
  height: 100vh; min-height: 680px;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  margin-top: 0;
}
.hero__media{ position: absolute; inset: 0; will-change: transform; }
.hero__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}
.hero::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 50% 70%, transparent 25%, rgba(0,0,0,.55) 95%),
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.10) 25%, transparent 60%, rgba(0,0,0,.55));
  pointer-events: none;
  z-index: 1;
}

.hero__content{
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--cream);
  z-index: 2;
  padding: 0 24px;
}
.hero__eyebrow{
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .92;
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold-light);
}
.hero__eyebrow::before, .hero__eyebrow::after{
  content:''; width: 38px; height: 1px; background: currentColor; opacity: .5;
}
.hero__title{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: .98;
  letter-spacing: -.01em;
  max-width: 16ch;
  font-variation-settings: "opsz" 144;
}
.hero__title em{ font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero__sub{
  margin-top: 32px;
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  max-width: 56ch;
  font-weight: 300;
  letter-spacing: .015em;
  opacity: .92;
  line-height: 1.7;
}
.hero__cta{
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: rgba(244,239,230,.10);
  border: 1px solid rgba(244,239,230,.35);
  color: var(--cream);
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all .4s ease;
}
.hero__cta:hover{
  background: rgba(244,239,230,.22);
  border-color: rgba(244,239,230,.6);
  transform: translateY(-2px);
}
.hero__cta svg{ width: 16px; height: 16px; }

.hero__scroll{
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--cream);
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .72;
  z-index: 3;
}
.hero__scroll-line{
  width: 1px; height: 60px;
  background: currentColor;
  position: relative; overflow: hidden;
}
.hero__scroll-line::after{
  content:''; position:absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--cream);
  animation: dropline 2.4s ease-in-out infinite;
}
@keyframes dropline{
  0%{ top: -100%; } 60%{ top: 100%; } 100%{ top: 100%; }
}
.hero__badges{
  position: absolute; bottom: 38px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  z-index: 3;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(244,239,230,.7);
  font-weight: 500;
}
.hero__badges-left, .hero__badges-right{ display: flex; gap: 28px; align-items: center; }
.hero__badges-left span:not(:first-child)::before,
.hero__badges-right span:not(:first-child)::before{
  content: '·'; margin-right: 28px; opacity: .5;
}
@media (max-width: 880px){ .hero__badges{ display: none; } }

/* ===== Shared section heads ===== */
.section-eyebrow{
  font-size: .7rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-eyebrow::before{
  content:''; width: 28px; height: 1px; background: var(--green); opacity: .5;
}
.section-title{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.section-title em{ font-style: italic; color: var(--green); font-weight: 400; }

/* ===== Authority ===== */
.authority{
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--cream);
}
.authority__grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.authority__copy h2{ margin-bottom: 28px; }
.authority__copy p{
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 56ch;
}
.authority__stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.authority__stat strong{
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}
.authority__stat span{
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.authority__visual{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
  background: var(--ink);
}
.authority__visual img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.authority__visual:hover img{ transform: scale(1); }
.authority__visual::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
  pointer-events:none;
}
.authority__visual-tag{
  position: absolute; bottom: 22px; left: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.05rem;
  letter-spacing: .02em;
  z-index: 2;
}
@media (max-width: 880px){ .authority__grid{ grid-template-columns: 1fr; } }

/* ===== Composition ===== */
.composition{
  position: relative;
  padding: clamp(70px, 10vh, 130px) 0 clamp(80px, 14vh, 160px);
  background: var(--cream);
  z-index: 3;
}
.composition__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 24px;
}
.composition__title em{ color: var(--green); }
.grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(14px, 2vw, 28px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: stretch;
}
.grid__item{
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lux);
  background: var(--ink);
}
.grid__item--center{ aspect-ratio: 4/5; margin-top: -40px; }
.grid__item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.grid__item:hover img{ transform: scale(1.05); }
.grid__item-tag{
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(244,239,230, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--green);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 600;
}
.grid__item-shine{
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 1.2s ease;
}
.grid__item:hover .grid__item-shine{ transform: translateX(100%); }
@media (max-width: 880px){
  .grid{ grid-template-columns: 1fr; }
  .grid__item--center{ margin-top: 0; aspect-ratio: 3/4; }
}

/* ===== Statement (verde profundo) ===== */
.statement{
  position: relative;
  min-height: 90vh;
  background: var(--green-deep);
  overflow: hidden;
}
.statement__bg{ position: absolute; inset: 0; z-index: 1; }
.statement__bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.30) saturate(.7) hue-rotate(60deg);
  opacity: .35;
  mix-blend-mode: overlay;
  transform: scale(1.1);
}
.statement::before{
  content:''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(234,215,168,.10), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(27,122,48,.20), transparent 55%);
  pointer-events: none;
}
.statement__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,63,21,.55) 0%, rgba(10,63,21,.75) 50%, rgba(10,63,21,.65) 100%);
  z-index: 2;
}
.statement__content{
  position: relative; z-index: 3;
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  padding: 12vh 24px;
}
.statement__inner{ max-width: 880px; text-align: center; color: var(--cream); }
.statement__eyebrow{
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .7rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.statement__eyebrow::before, .statement__eyebrow::after{
  content:''; width: 32px; height: 1px; background: currentColor; opacity: .55;
}
.statement__title{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144;
}
.statement__title em{ font-style: italic; color: var(--gold-light); }
.statement__text{
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  font-weight: 300;
  max-width: 60ch;
  margin: 0 auto;
  opacity: .92;
}
.statement__signature{
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: .04em;
  position: relative;
  padding-bottom: 6px;
  font-weight: 400;
}
.statement__signature::after{
  content:''; position: absolute; left: 50%; bottom: 0; width: 40px; height: 1px;
  background: currentColor; transform: translateX(-50%);
  opacity: .55;
}
