*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0D1B2A;
  --cream:  #F5F0E8;
  --gold:   #B8963E;
  --muted:  #6B7280;
  --white:  #FFFFFF;
  --border: #D6CEBD;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: 68px;
  border-bottom: 1px solid rgba(184,150,62,0.25);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* ── HERO ────────────────────────────────────── */
#inicio {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 120px 6vw 80px;
  position: relative;
  overflow: hidden;
}

#inicio::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(184,150,62,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 680px; position: relative; }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.6rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.6rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stat-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(184,150,62,0.2);
  display: flex;
}
.hero-stat {
  flex: 1;
  padding: 1.6rem 6vw;
  border-right: 1px solid rgba(184,150,62,0.2);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
}

/* ── GOLD RULE ────────────────────────────────── */
.gold-rule {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.2rem;
}

/* ── SECTION BASE ─────────────────────────────── */
.section {
  padding: 96px 6vw;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ── SOBRE ────────────────────────────────────── */
#sobre { background: var(--cream); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  margin-top: 3.5rem;
}
.sobre-text p {
  font-size: 0.97rem;
  color: #3D4A5A;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.sobre-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.value-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem 1.6rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.value-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.value-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── ÁREAS ────────────────────────────────────── */
#areas { background: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--border);
}
.area-card {
  background: var(--white);
  padding: 2.2rem 2rem;
  transition: background 0.2s;
}
.area-card:hover { background: var(--navy); }
.area-card:hover .area-title,
.area-card:hover .area-desc { color: rgba(255,255,255,0.9); }
.area-card:hover .area-number { color: rgba(184,150,62,0.5); }

.area-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.area-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.area-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  transition: color 0.2s;
}

/* ── EQUIPE ────────────────────────────────────── */
#equipe { background: var(--cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.team-card {
  background: var(--white);
  overflow: hidden;
}
.team-avatar {
  height: 220px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: rgba(184,150,62,0.6);
  border-bottom: 3px solid var(--gold);
}
.team-info { padding: 1.4rem 1.6rem 1.6rem; }
.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
}

/* ── CONTATO ────────────────────────────────────── */
#contato { background: var(--navy); }
#contato .section-title { color: var(--white); }
#contato .section-lead { color: rgba(255,255,255,0.5); }
#contato .section-label { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  margin-top: 3.5rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.4rem;
}
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field select option { background: var(--navy); }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: #070F18;
  padding: 2rem 6vw;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(184,150,62,0.15);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}
.footer-logo span { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.footer-oab {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .team-grid  { grid-template-columns: 1fr 1fr; }
  .sobre-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta { display: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .hero-stat-bar { flex-direction: column; }
  .hero-stat { border-right: none; border-top: 1px solid rgba(184,150,62,0.2); }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}