:root {
  --olive: #394c35;
  --olive-dark: #1f2d22;
  --olive-soft: #66735a;
  --cream: #f4f0e7;
  --sand: #d8c7a3;
  --gold: #bba16a;
  --ink: #172019;
  --white: #fffdf8;
}

html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, .quote-title { font-family: "Playfair Display", serif; }
a { text-decoration: none; }

.brand-wordmark {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #fff;
  line-height: 1.05;
}
.brand-wordmark span { display: block; font-size: .62rem; letter-spacing: .30em; margin-top: .28rem; opacity: .7; }
#mainNav .brand-wordmark span { color: var(--gold); opacity: 1; }
.footer-brand .brand-wordmark span, .footer-brand span { color: var(--gold); opacity: 1; }

#mainNav { transition: background .3s ease, box-shadow .3s ease; }
#mainNav.nav-scrolled { background: rgba(31,45,34,.96); box-shadow: 0 10px 30px rgba(0,0,0,.08); backdrop-filter: blur(12px); }
.nav-link { color: rgba(255,255,255,.82)!important; font-size: .86rem; }
.nav-link:hover { color: #fff!important; }
.language-switch { color: rgba(255,255,255,.4); display: flex; align-items: center; gap: .35rem; }
.lang-btn { border: 0; background: transparent; color: rgba(255,255,255,.52); font-size: .76rem; font-weight: 700; padding: .25rem; }
.lang-btn.active { color: #fff; }

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 24%, rgba(216,199,163,.18), transparent 28%),
    linear-gradient(122deg, #17251c 0%, #334b36 55%, #506348 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-content { z-index: 2; }
.hero h1 { max-width: 900px; font-size: clamp(3.5rem, 8vw, 7.2rem); line-height: .93; letter-spacing: -.035em; }
.hero-copy { max-width: 650px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255,255,255,.72); }
.eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .24em; margin-bottom: 1.1rem; }
.text-olive { color: var(--olive); }

.hero-art { position: absolute; inset: 0; overflow: hidden; }
.sun-disc { position: absolute; width: min(33vw, 460px); aspect-ratio: 1; border-radius: 50%; right: 8%; top: 19%; background: rgba(216,199,163,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.olive-branch { position: absolute; right: 5%; bottom: -6%; width: min(29vw, 390px); color: rgba(216,199,163,.22); transform: rotate(4deg); }
.horizon { position: absolute; left: -8%; right: -8%; border-radius: 50% 50% 0 0; }
.horizon-one { height: 30%; bottom: -18%; background: #1d2d22; transform: rotate(-2deg); }
.horizon-two { height: 22%; bottom: -13%; background: rgba(142,157,114,.16); transform: rotate(2deg); }
.scroll-cue { position: absolute; bottom: 2rem; left: 12px; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display:flex; gap:.65rem; align-items:center; }

.section-pad { padding: clamp(5rem, 9vw, 8rem) 0; }
.bg-cream { background: var(--cream); }
.section-title { font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.8rem; }
.lead { line-height: 1.7; }

.photo-placeholder { min-height: 560px; position: relative; background: linear-gradient(145deg, #c9b991, #74806b); }
.photo-placeholder::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.26), transparent 25%), linear-gradient(to top, rgba(22,34,24,.68), transparent 58%); }
.placeholder-grid { position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size:64px 64px; }
.placeholder-label { position:absolute; z-index:3; left:2rem; right:2rem; bottom:2rem; color:#fff; display:grid; grid-template-columns:auto 1fr; column-gap:.8rem; align-items:center; }
.placeholder-label i { grid-row:1/3; font-size:1.6rem; }
.placeholder-label span { font-size:.76rem; font-weight:700; letter-spacing:.17em; }
.placeholder-label small { color:rgba(255,255,255,.66); }
.validation-note { padding:1rem 1.1rem; border:1px solid rgba(57,76,53,.14); background:rgba(255,255,255,.45); display:flex; gap:.8rem; font-size:.82rem; color:#66705f; border-radius:12px; }

.values-strip { background: var(--olive-dark); color:#fff; }
.value-item { padding: clamp(5rem, 9vw, 8rem) 1.5rem; border-right:1px solid rgba(255,255,255,.09); }
.value-item:last-child { border-right:0; }
.value-icon { display:block; width:46px; height:46px; margin:0 auto 1.1rem; color:var(--gold); opacity:.92; }
.value-item span { display:block; color:var(--gold); font-size:.72rem; letter-spacing:.2em; }
.value-item strong { display:block; font-family:"Playfair Display", serif; font-size:1.7rem; margin:.35rem 0 .45rem; }
.value-item small { display:block; color:rgba(255,255,255,.55); }

.team-placeholder { background: linear-gradient(145deg, #9f977c, #46574a); }
.team-photo, .mill-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.team-silhouettes { position:absolute; inset:0; display:flex; justify-content:center; align-items:flex-end; padding-bottom:8.5rem; gap:1rem; opacity:.28; }
.team-silhouettes span { width:17%; height:38%; background:#fff; border-radius:50% 50% 12% 12%; position:relative; }
.team-silhouettes span::before { content:""; position:absolute; width:58%; aspect-ratio:1; border-radius:50%; background:#fff; top:-34%; left:21%; }
.team-silhouettes span:nth-child(2) { height:44%; }
.team-silhouettes span:nth-child(3) { height:41%; }

.projects-section { background: linear-gradient(130deg, #263729, #3d503a); color:#fff; padding-top:clamp(3rem,5vw,4rem); padding-bottom:clamp(0.5rem,1.5vw,1.25rem); }
.project-card { display:flex; flex-direction:column; padding:2rem; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.055); border-radius:18px; transition:transform .25s ease, background .25s ease; }
.project-card:hover { transform:translateY(-5px); background:rgba(255,255,255,.085); }
.project-icon { width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:rgba(216,199,163,.12); color:var(--sand); font-size:1.25rem; margin-bottom:2rem; }
.card-kicker { display:block; color:var(--sand); font-size:.68rem; font-weight:700; letter-spacing:.16em; margin-bottom:.8rem; }
.project-head { display:flex; align-items:center; gap:.75rem; margin-bottom:.8rem; }
.project-head .project-icon { margin-bottom:0; }
.project-head .card-kicker { margin-bottom:0; }
.project-card h3 { font-size:1.8rem; margin-bottom:1rem; }
.project-card p { color:rgba(255,255,255,.58); margin:0; }
.project-card p.text-justify { text-align:justify; }
.project-link { display:flex; width:fit-content; margin-left:auto; align-items:center; gap:.45rem; margin-top:auto; padding-top:1.2rem; color:var(--sand); font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; text-decoration:none; border-bottom:1px solid rgba(216,199,163,.4); padding-bottom:.25rem; transition:color .2s ease, border-color .2s ease; }
.project-link:hover, .project-link:focus { color:#fff; border-color:#fff; }
.project-link i { font-size:.95rem; }
.legal-placeholder { display:flex; align-items:center; justify-content:center; gap:1rem; padding:1.25rem 1.4rem; border-radius:14px; background:rgba(0,0,0,.14); color:rgba(255,255,255,.65); }
.legal-placeholder strong { display:block; color:#fff; margin-bottom:.2rem; }
.legal-logo { display:block; width:100%; max-width:454px; height:auto; }

.quote-title { max-width:900px; font-size:clamp(1.9rem,3.4vw,2.8rem); line-height:1.2; }
.bg-paisagem { min-height:100vh; display:flex; align-items:center; justify-content:center; background-image: url("../img/paisagem.png"); background-size:cover; background-position:center; background-repeat:no-repeat; }
.bg-paisagem .container { padding-block:3rem; }
.bg-paisagem .quote-title { color:#5a624f; font-family:"EB Garamond", serif; font-style:italic; font-weight:500; white-space:nowrap; max-width:100%; min-width:0; margin-inline:auto; }
.bg-paisagem .eyebrow { font-size:.85rem; }
@media (max-width: 640px) { .bg-paisagem .quote-title { white-space:normal; } }

.olive-divider { width:90px; height:40px; position:relative; margin-top:2rem; }
.olive-divider::before { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--gold); }
.olive-divider span { position:absolute; width:18px; height:9px; background:var(--cream); border:1px solid var(--gold); border-radius:100% 0 100% 0; left:36px; top:16px; transform:rotate(-25deg); }

.contact-list { border-top:1px solid #ddd8cb; }
.contact-row { display:flex; align-items:center; gap:1rem; padding:1.2rem 0; border-bottom:1px solid #ddd8cb; }
.contact-row i { width:42px; height:42px; border-radius:50%; background:var(--cream); color:var(--olive); display:grid; place-items:center; }
.contact-row small, .contact-row strong { display:block; }
.contact-row small { color:#8c9389; font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; }
.contact-row strong { font-size:.95rem; }

.site-footer { background:#142019; color:#fff; }
.site-footer a { color:rgba(255,255,255,.68); display:block; margin:.55rem 0; }
.site-footer a:hover { color:#fff; }
.footer-brand { display:inline-block!important; color:#fff!important; }
.footer-copy { max-width:380px; color:rgba(255,255,255,.5); }
.footer-heading { color:var(--sand); letter-spacing:.15em; font-size:.66rem; }

.relvas-logo-link {
  display:inline-block;
  line-height:0;
  margin-top:1rem;
  transition:opacity .3s ease;
}

.relvas-logo-link:hover {
  opacity:.8;
}

.relvas-logo {
  height:3.4rem;
  width:auto;
  max-width:100%;
  display:block;
}

.relvas-note {
  color:rgba(255,255,255,.5);
  font-size:.8rem;
  line-height:1.5;
  margin-top:.6rem;
  max-width:22rem;
}

.footer-bottom { border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.4); }
.footer-bottom a { display:inline; font-size:.75rem; margin:0; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.1s; }
.delay-2 { transition-delay:.2s; }
.delay-3 { transition-delay:.3s; }

@media (max-width: 991.98px) {
  #mainNav { background: rgba(31,45,34,.96); }
  .navbar-collapse { padding:1rem 0; }
  .hero h1 { max-width:720px; }
  .sun-disc { width:60vw; right:-15%; }
  .olive-branch { width:46vw; right:-8%; opacity:.8; }
  .value-item { border-right:0; border-bottom:1px solid rgba(255,255,255,.09); }
  .photo-placeholder { min-height:440px; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size:3.55rem; }
  .hero-copy { font-size:1rem; }
  .photo-placeholder { min-height:390px; }
  .section-title { font-size:2.8rem; }
  .project-card { padding:1.5rem; }
}
