@import url('./fonts.css');
@import url('./fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─── */
:root {
  --black:      #0A0A0A;
  --black-soft: #111111;
  --charcoal:   #1A1A1A;
  --dark:       #222222;
  --mid-dark:   #333333;
  --mid:        #555555;
  --gray:       #888888;
  --gray-light: #BBBBBB;
  --border-dk:  #2A2A2A;
  --border-lt:  #E2E2E2;
  --white:      #FFFFFF;
  --off-white:  #F7F7F5;
  --cream:      #F0EDE8;
  --gold:       #C9A96E;
  --gold-dim:   rgba(201,169,110,0.18);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --max-w:      1220px;
  --ease:       cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; top: -60px; left: 16px;
  background: var(--black); color: var(--white);
  padding: 10px 20px; font-size: 13px; font-weight: 500; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border-lt);
}
.nav-inner {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; align-items: baseline; gap: 10px;
  letter-spacing: .2em; text-transform: uppercase;
}
.brand:hover { opacity: .7; }
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.brand-word { font-family: 'Neuropol X', sans-serif; font-size: 17px; font-weight: 400; color: var(--black); letter-spacing: .24em; text-transform: uppercase; }

.menu { display: flex; align-items: center; }
.menu a {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mid); padding: 10px 16px;
  position: relative; transition: color .2s var(--ease);
}
.menu a::after {
  content: ''; position: absolute;
  bottom: 6px; left: 16px; right: 16px;
  height: 1px; background: var(--black);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.menu a:hover,
.menu a.active { color: var(--black); }
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }
.menu a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black); margin: 5px 0;
  transition: transform .3s var(--ease), opacity .2s;
  border-radius: 1px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.menu-toggle:focus-visible { outline: 2px solid var(--gold); }

/* ═══════════════════════════════════════════
   HERO — HOMEPAGE
   Foto real de fundo, overlay mínimo
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 92vh; min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* FOTO de fundo — 90% visível (10% transparência) */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  filter: grayscale(100%) contrast(1.05);
  opacity: .90;  /* 10% transparência */
}

/* Overlay escuro APENAS do lado esquerdo para ler o texto */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.50) 45%,
    rgba(0,0,0,.05) 100%
  );
  z-index: 1;
}

.hero .wrap {
  position: relative; z-index: 2;
}

.hero-copy { max-width: 620px; }

.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.kicker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 300; line-height: 1.08;
  color: var(--white); margin-bottom: 26px;
  letter-spacing: -.01em;
}
.hero-copy h1 em { font-style: italic; color: rgba(255,255,255,.80); }

.hero-desc {
  font-size: 17px; line-height: 1.82;
  color: rgba(255,255,255,.78); margin-bottom: 40px;
}
.hero-desc strong { color: var(--white); font-weight: 500; }

.hero-btns { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.btn-main {
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--white); color: var(--black);
  padding: 14px 32px; transition: background .25s, color .25s, transform .2s;
}
.btn-main:hover { background: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.80);
  border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.hero-tagline {
  margin-top: 36px; font-size: 12px;
  letter-spacing: .12em; color: rgba(255,255,255,.40);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   PAGE HERO — Páginas internas
   FOTO REAL por página, SEM gráficos em cima
═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 52vh; min-height: 360px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

/* FOTO 90% visível */
.ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: grayscale(100%) contrast(1.08);
  opacity: .90;  /* 10% transparência = foto quase total */
}

/* Overlay mínimo só em baixo para texto */
.ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.35) 45%,
    rgba(0,0,0,.05) 100%
  );
  z-index: 1;
}

.ph-content {
  position: relative; z-index: 2;
  padding-bottom: 52px; width: 100%;
}
.ph-content .wrap { }

.breadcrumb {
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300; line-height: 1.12;
  color: var(--white); letter-spacing: -.01em;
  margin-bottom: 14px;
}

.page-hero .subtitle {
  font-size: 16px; color: rgba(255,255,255,.75);
  max-width: 580px; line-height: 1.75;
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
section { padding: 96px 0; }
.sec-white  { background: var(--white); }
.sec-off    { background: var(--off-white); }
.sec-cream  { background: var(--cream); }
.sec-dark   { background: var(--black); color: var(--white); }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark p  { color: rgba(255,255,255,.75); }

/* Cabeçalho de section */
.sh { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.sh-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.sh-rule {
  width: 48px; height: 1px; background: var(--gold);
  margin: 0 auto 22px;
}
.sh h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300; line-height: 1.2;
  color: var(--black); letter-spacing: -.01em; margin-bottom: 16px;
}
.sh.light h2 { color: var(--white); }
.sh p { font-size: 17px; color: var(--mid); line-height: 1.82; }
.sh.light p { color: rgba(255,255,255,.72); }

/* ─── GRIDS ─── */
.g3 { display: grid; grid-template-columns: repeat(3,1fr); }
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 60px; align-items: start; }
.g3-gap { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ─── CARD BRANCO ─── */
.cw {
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
  padding: 44px 38px;
  transition: background .25s;
}
.cw + .cw { border-left: 1px solid var(--border-lt); }
.cw:hover { background: var(--off-white); }

.cw-num {
  font-family: var(--font-serif); font-size: 52px;
  font-weight: 300; color: var(--border-lt);
  line-height: 1; margin-bottom: 20px; letter-spacing: -.02em;
}
.cw h3 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  color: var(--black); margin-bottom: 12px; line-height: 1.3;
}
.cw p { font-size: 15px; color: var(--mid); line-height: 1.82; }

/* ─── CARD PRETO ─── */
.cd {
  background: var(--charcoal);
  border: 1px solid var(--border-dk);
  padding: 40px; transition: border-color .25s, background .25s;
}
.cd:hover { border-color: var(--gold); background: var(--dark); }
.cd-label {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block;
}
.cd h3 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.cd p { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.82; }

/* ─── SPLIT / PAINÉIS ─── */
.panel-label {
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block;
}
.panel-title {
  font-family: var(--font-serif); font-size: 26px; font-weight: 400;
  color: var(--black); margin-bottom: 18px; line-height: 1.3;
}
.panel-text { font-size: 16px; color: var(--mid); line-height: 1.85; margin-bottom: 24px; }

/* bullets */
.blist { list-style: none; display: grid; gap: 12px; }
.blist li {
  font-size: 15px; color: var(--mid); line-height: 1.7;
  display: flex; gap: 14px; align-items: flex-start;
}
.blist li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin-top: 9px; flex-shrink: 0;
}

/* check */
.cklist { list-style: none; display: grid; gap: 14px; }
.cklist li {
  font-size: 15px; color: var(--mid); line-height: 1.7;
  display: flex; gap: 14px; align-items: flex-start;
}
.cklist li::before { content: '✓'; color: var(--gold); font-weight: 600; flex-shrink: 0; }

/* ─── ECO ITEMS ─── */
.eco-list { border: 1px solid var(--border-lt); }
.eco-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 26px 32px;
  border-bottom: 1px solid var(--border-lt);
  transition: background .2s;
}
.eco-item:last-child { border-bottom: none; }
.eco-item:hover { background: var(--black); }
.eco-item:hover .ei-name, .eco-item:hover .ei-desc { color: var(--white); }
.eco-item:hover .ei-desc { color: rgba(255,255,255,.65); }
.eco-item:hover .etag { background: var(--gold); color: var(--black); border-color: var(--gold); }

.ei-name {
  font-size: 17px; font-weight: 600; color: var(--black);
  margin-bottom: 5px; transition: color .2s;
}
.ei-desc { font-size: 14px; color: var(--gray); line-height: 1.6; transition: color .2s; }
.etag {
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--black); color: var(--black);
  white-space: nowrap; transition: all .2s;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start;
}
.contact-item { margin-bottom: 36px; }
.contact-item h4 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 400;
  color: var(--black); margin-bottom: 8px;
}
.contact-item p, .contact-item a { font-size: 16px; color: var(--mid); }
.contact-item a:hover { color: var(--black); }

/* ─── FORM ─── */
.form { display: grid; gap: 18px; }
.form label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--black); display: block; margin-bottom: 8px;
}
.form input, .form textarea, .form select {
  width: 100%; font-family: var(--font-sans); font-size: 15px;
  color: var(--black); background: var(--white);
  border: 1px solid var(--border-lt); padding: 14px 16px;
  outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--black);
}
.form textarea { min-height: 120px; resize: vertical; }
.form-btn {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 16px 36px; border: none; cursor: pointer;
  transition: background .25s, transform .2s; align-self: start;
}
.form-btn:hover { background: var(--gold); transform: translateY(-2px); }

/* ─── TYPOGRAPHY UTILS ─── */
h2 {
  font-family: var(--font-serif); font-size: clamp(28px,3.2vw,44px);
  font-weight: 300; line-height: 1.2; color: var(--black); letter-spacing: -.01em;
}
h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--black); }

.textlink {
  font-size: 14px; font-weight: 500; color: var(--black);
  border-bottom: 1px solid var(--black); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.textlink:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--black); color: var(--white);
  padding: 56px 0; border-top: 1px solid var(--border-dk);
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 28px;
}
.foot-brand {
  display: flex; gap: 10px; align-items: baseline;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
.foot-brand span { font-family: 'Neuropol X', sans-serif; font-size: 15px; font-weight: 400; color: var(--white); letter-spacing: .24em; text-transform: uppercase; }
.foot-muted { font-size: 13px; color: var(--gray); line-height: 1.7; }
.foot-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.foot-nav a {
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray);
  padding: 8px 14px; border: 1px solid var(--border-dk);
  transition: color .2s, border-color .2s;
}
.foot-nav a:hover { color: var(--white); border-color: var(--gold); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--border-lt);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    transform: translateY(-110%); opacity: 0;
    pointer-events: none; transition: all .3s var(--ease);
    z-index: 199;
  }
  .menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .menu a { padding: 14px 0; width: 100%; font-size: 13px; }
  .menu a::after { left: 0; right: 0; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .g3, .g2, .g3-gap, .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .g2, .contact-grid { gap: 40px; }
  .g3-gap { gap: 16px; }
  .cw + .cw { border-left: none; border-top: 1px solid var(--border-lt); }
  section { padding: 70px 0; }
  .hero { height: 85vh; }
  .page-hero { height: 55vh; min-height: 320px; }
  .foot-inner { flex-direction: column; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 66px; }
  .hero { height: 88vh; min-height: 520px; }
  section { padding: 56px 0; }
  .cw, .cd { padding: 30px 24px; }
}

/* ─── Foto do fundador ─── */
.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 640px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .founder-card img {
    width: 100% !important;
    height: 300px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   NEUROPOL X - APENAS para "SARAIVA GROUP" isolado
═══════════════════════════════════════════════════════════ */
.brand-title {
  font-family: 'Neuropol X', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: .08em !important;
}
