
/* Brand colors auto-extracted from provided images
   primary (bg.png): #4E000B
   accent  (logo.png): #B48928
*/
:root {
  --brand-primary: #310209;
  --brand-accent: #B48928;
  --brand-dark: #0E0E0E;
  --text: #1d1d1f;
  --text-muted: #5f5f64;
  --surface: #ffffff;
  --surface-alt: #f7f6f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--surface);
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 36px; width: auto; }
.logo span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; letter-spacing: .4px; }

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--brand-accent);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid; place-items: center;
  color: white;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url('../assets/bg.png') center/cover no-repeat, #310209;
  filter: brightness(.55) saturate(1.1);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 70% 10%, color-mix(in srgb, var(--brand-accent) 45%, transparent) 0%, transparent 60%);
  mix-blend-mode: screen; opacity: .8;
}
.hero .content { position: relative; z-index: 1; text-align: center; padding: 64px 0; }
.badge {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 18%, white);
  color: #fff; border: 1px solid color-mix(in srgb, white 25%, var(--brand-accent));
  backdrop-filter: blur(6px);
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700;
}
.badge-text {
  color: #000 !important; /* só muda a cor do texto */
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  margin: 18px 0 12px;
}
.hero p { font-size: clamp(1rem, 1.8vw, 1.25rem); opacity: .95; max-width: 800px; margin: 0 auto 26px; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 14px;
  background: var(--brand-accent); color: #111; text-decoration: none; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.btn.outline { background: transparent; border: 2px solid color-mix(in srgb, white 40%, var(--brand-accent)); color: white; }

/* Sections */
.section { padding: 64px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 0 0 10px;
}
.section-sub { color: var(--text-muted); margin-bottom: 28px; }

.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 18px rgba(0,0,0,.03);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--text-muted); }

@media (max-width: 940px) {
  .card { grid-column: span 6; }
}
@media (max-width: 640px) {
  .card { grid-column: span 12; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member {
  display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center;
  padding: 18px; background: var(--surface); border-radius: 18px; border: 1px solid rgba(0,0,0,.06);
}
.member img { width: 180px; height: 200px; object-fit: cover; border-radius: 16px; border: 3px solid var(--brand-accent); background: #eee; }
.member h4 { margin: 0 0 6px; }
.member .role { color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.member .bio { color: var(--text-muted); }

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 140px 1fr; }
  .member img { width: 140px; height: 160px; }
}

/* CTA band */
.cta { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-primary) 88%, black), var(--brand-accent)); color: white; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
@media (max-width: 740px) { .cta-inner { grid-template-columns: 1fr; text-align: center; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .full { grid-column: 1 / -1; }
input, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; font: inherit;
  background: var(--surface-alt);
}
textarea { min-height: 140px; }
form button { justify-self: start; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: #0b0b0c; color: #d6d6d6; padding: 28px 0; }
.footer a { color: #fff; opacity: .9; text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 10px; }
.badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badges .pill { background: color-mix(in srgb, var(--brand-accent) 25%, black); color: #fff; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); }

.small { font-size: .92rem; }


/* Slider */
.hero { min-height: 72vh; padding: 0; }
.slider { position: relative; min-height: 72vh; overflow: clip; }
.slide {
  position: absolute; inset: 0; display: grid; place-items: center; color: white;
  opacity: 0; transform: translateX(6%); transition: opacity .8s ease, transform .8s ease;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; transform: translateX(0); z-index: 2; }
.slide::before {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.30);
}
.slide .content { position: relative; z-index: 3; text-align: center; padding: 64px 0; }
.slider-dots {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.35); cursor: pointer; transition: transform .15s ease;
}
.slider-dots button.active { background: white; transform: scale(1.1); }
.slider-nav {
  position: absolute; inset: 0; display:flex; align-items:center; justify-content:space-between; z-index:5;
  pointer-events: none;
}
.slider-nav .arrow {
  pointer-events: auto; margin: 0 10px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.15); color: white; font-weight: 800;
}

/* Card animations */
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(0,0,0,.08); border-color: color-mix(in srgb, var(--brand-accent) 24%, #000); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.slide:first-child{opacity:1; transform:none; z-index:2;}

/* === Slider minimal patch (scoped) === */
.hero .slider{ position:relative; width:100%; min-height:72vh; overflow:clip; }
.hero .slide{
  position:absolute; inset:0;
  display:grid; place-items:center;
  background-size:cover; background-position:center;
  opacity:0; transform:translateX(6%);
  transition:opacity .8s ease, transform .8s ease;
}
.hero .slide.active{ opacity:1; transform:translateX(0); z-index:2; }
.hero .slide .content{ position:relative; z-index:3; text-align:center; }
.hero .slider-dots{ position:absolute; left:50%; bottom:22px; transform:translateX(-50%); display:flex; gap:10px; z-index:4; }
.hero .slider-dots button{ width:10px; height:10px; border-radius:999px; border:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.35); }
.hero .slider-dots button.active{ background:#fff; }
.hero .slider-nav{ position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; z-index:4; pointer-events:none; }
.hero .slider-nav .arrow{ pointer-events:auto; margin:0 10px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.65); background:rgba(255,255,255,.15); color:#fff; font-weight:800; }
@media (max-width: 768px){
  .hero .slide .content{ padding:32px 0; }
}
/* fallback se JS não ativar nenhum */
.hero .slider > .slide:first-child{ opacity:1; transform:none; z-index:2; }

/* ===== Footer refinado (consolidado) ===== */
.footer{
  background:#0c0c0c;
  color:#eaeaea;
  padding:40px 0 26px;
}
.footer::before{
  content:""; display:block; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin:-12px 0 24px;
}

/* topo */
.footer .footer-top{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}
.footer .logo{ display:flex; align-items:center; gap:12px; color:#fff; font-weight:700; }
.footer .logo img{ display:block; }

/* grid de conteúdo */
.footer .footer-grid{
  display:grid; gap:28px; align-items:start;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top:6px;
}

/* tipografia */
.footer h3{ font-size:1.05rem; margin:0 0 12px; color:#fff; font-weight:800; }
.footer .small{ color:#d2d2d2; line-height:1.7; }

/* lista Áreas de Atuação – forçar 1 coluna sempre */
.footer .list-clean{
  list-style: disc;
  padding-left:18px;
  margin:0;
  columns: 1 !important;
  -webkit-columns: 1 !important;
  -moz-columns: 1 !important;
}
.footer .list-clean li{
  display:list-item !important;
  list-style: disc inside;
  break-inside: avoid;
  margin:0 0 6px 0;
}

/* links e foco */
.footer a{ color:#dcdcdc; text-decoration:underline; text-underline-offset:3px; }
.footer a:hover{ color:#f0e1b2; }
.footer a:focus-visible{ outline:2px dashed #f0e1b2; outline-offset:2px; }

/* ícones */
.footer .ico{
  width:18px; height:18px; vertical-align:-3px; margin-right:8px;
  fill:currentColor; opacity:.9;
}

/* linha inferior */
.footer .footer-bottom{
  margin-top:22px; padding-top:16px;
  border-top:1px solid rgba(255,255,255,.09);
  text-align:center; color:#bdbdbd;
}
.footer .footer-bottom p{ margin:6px 0; }

/* responsivo */
@media (max-width: 992px){
  .footer .footer-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .footer{ padding:32px 0 22px; }
  .footer .footer-grid{ grid-template-columns: 1fr; gap:22px; }
}
