/* ============================================================
   Carlos Batista Advocacia — estilo do site (editável)
   Reconstrução fiel do layout, em HTML/CSS/JS limpo.
   Cores, fontes e espaçamentos ficam concentrados abaixo.
   ============================================================ */

:root{
  /* Cores */
  --bg:            #040404;   /* fundo geral (quase preto) */
  --bg-soft:       #0b0b0d;   /* seções levemente mais claras */
  --panel:         rgba(255,255,255,.035); /* cartões */
  --panel-border:  rgba(255,255,255,.09);
  --gold:          #af803f;   /* dourado principal */
  --gold-light:    #b7975f;   /* dourado claro (topo do gradiente) */
  --gold-grad:     linear-gradient(180deg, #b7975f 0%, #af803f 100%);
  --white:         #ffffff;
  --text:          #e9e9ea;   /* texto padrão */
  --muted:         #b4b4b8;   /* texto secundário */
  --muted-2:       #9a9a9e;

  /* Tipografia */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --header-h: 84px;
}

/* ---------- reset básico ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.text-gold{ color:var(--gold-light); }

/* botão dourado */
.btn-gold{
  display:inline-block;
  background:var(--gold-grad);
  color:#1b1205;
  font-weight:600;
  font-size:15px;
  letter-spacing:.2px;
  padding:14px 28px;
  border-radius:10px;
  border:0;
  cursor:pointer;
  transition:transform .15s ease, filter .15s ease;
}
.btn-gold:hover{ filter:brightness(1.07); transform:translateY(-1px); }

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:var(--header-h);
  display:flex; align-items:center;
  transition:background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled{
  background:rgba(6,6,8,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 rgba(255,255,255,.06);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }
.logo img{ height:52px; width:auto; }
.nav{ display:flex; align-items:center; gap:34px; }
.nav a{ font-size:15px; font-weight:500; color:var(--text); transition:color .15s ease; }
.nav a:hover{ color:var(--gold-light); }
.nav .btn-gold{ color:#1b1205; }
.nav .btn-gold:hover{ color:#1b1205; }

/* hambúrguer (mobile) */
.menu-toggle{
  display:none; background:none; border:0; cursor:pointer;
  width:42px; height:42px; position:relative; z-index:110;
}
.menu-toggle span{
  display:block; width:26px; height:2px; background:var(--white);
  margin:5px auto; transition:transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center;
  background:#000 url("/assets/fu/images/KoSIbmd2tReMImdL62RL2IJgv0.png") no-repeat right center;
  background-size:cover;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(4,4,4,.96) 0%, rgba(4,4,4,.78) 38%, rgba(4,4,4,.28) 70%, rgba(4,4,4,.15) 100%);
}
.hero .container{ position:relative; z-index:2; padding-top:var(--header-h); }
.hero-content{ max-width:620px; }
.hero-sub{
  color:var(--gold-light); font-weight:600; font-size:20px; margin-bottom:14px;
}
.hero h1{
  font-size:clamp(34px, 4.4vw, 58px);
  font-weight:800; line-height:1.08; color:var(--white);
  margin-bottom:22px; letter-spacing:-.5px;
}
.hero p{ color:var(--muted); font-size:17px; max-width:470px; margin-bottom:30px; }

/* ============================================================
   FAIXA DE LOGOS DE CLIENTES (marquee)
   ============================================================ */
.clients{ padding:70px 0 80px; background:var(--bg); overflow:hidden; }
.clients h2{
  text-align:center; color:var(--gold-light);
  font-size:clamp(18px,2.4vw,30px); font-weight:700;
  letter-spacing:2px; text-transform:uppercase; margin-bottom:48px;
}
.marquee{ position:relative; width:100%; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track{ display:flex; width:max-content; align-items:center; gap:72px; animation:scroll-x 40s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-track img{
  height:62px; width:auto; object-fit:contain;
  opacity:.9; filter:brightness(1.05);
  flex:0 0 auto;
}
@keyframes scroll-x{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ============================================================
   ÁREAS DE ATUAÇÃO
   ============================================================ */
.areas{
  position:relative; padding:96px 0 110px;
  background:#000 url("/assets/fu/images/rPNiwjMhkgTjSwpPlK3fIkFiWU.png") no-repeat center top;
  background-size:cover;
}
.areas::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,4,4,.86), rgba(4,4,4,.92)); }
.areas .container{ position:relative; z-index:2; }
.areas h2{
  text-align:center; color:var(--white); font-weight:800;
  font-size:clamp(28px,3.6vw,46px); margin-bottom:54px; letter-spacing:-.5px;
}
.areas-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.area-card{
  display:flex; gap:22px; align-items:flex-start;
  background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius); padding:30px 30px 32px;
  backdrop-filter:blur(3px);
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.area-card:hover{ border-color:rgba(175,128,63,.5); transform:translateY(-3px); background:rgba(255,255,255,.05); }
.area-card .icon{ flex:0 0 58px; width:58px; }
.area-card .icon img{ width:100%; height:auto; }
.area-card h3{ color:var(--gold-light); font-size:22px; font-weight:700; margin-bottom:10px; }
.area-card p{ color:var(--muted); font-size:14.5px; line-height:1.65; }
.area-card.span-2{ grid-column:1 / -1; max-width:580px; margin-inline:auto; width:100%; }

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.contact{ padding:90px 0 100px; background:var(--bg); }
.contact h2{ text-align:center; color:var(--white); font-weight:800; font-size:clamp(28px,3.6vw,46px); margin-bottom:44px; }
.contact-form{
  max-width:720px; margin:0 auto;
  background:var(--panel); border:1px solid var(--panel-border);
  border-radius:16px; padding:34px;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px 20px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:13px; color:var(--muted); font-weight:500; }
.field input{
  width:100%; padding:13px 15px; border-radius:8px;
  border:1px solid rgba(255,255,255,.14);
  background:#f3f3f3; color:#1a1a1a; font-size:14px; font-family:var(--font);
}
.field input::placeholder{ color:#9a9a9e; }
.field input:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 2px rgba(175,128,63,.25); }
.contact .submit-row{ text-align:center; margin-top:28px; }
.contact .btn-gold{ min-width:260px; }
.form-msg{ text-align:center; margin-top:16px; font-size:14px; min-height:20px; }

/* ============================================================
   PÁGINAS INTERNAS (sobre / equipe)
   ============================================================ */
.page-banner{
  margin-top:0; height:clamp(260px,34vw,430px);
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.page-body{ padding:64px 0 90px; background:var(--bg); }
.page-body .container{ max-width:920px; }
.page-body h1{ color:var(--gold-light); font-size:clamp(30px,3.8vw,44px); font-weight:800; margin-bottom:26px; }
.page-body h2{ color:var(--gold-light); font-size:clamp(22px,2.6vw,30px); font-weight:700; margin:38px 0 14px; }
.page-body p{ color:var(--muted); font-size:16px; margin-bottom:16px; }
.page-body ul{ list-style:none; margin:4px 0 20px; }
.page-body ul li{ color:var(--muted); font-size:16px; padding:6px 0 6px 22px; position:relative; }
.page-body ul li::before{ content:"•"; color:var(--gold-light); position:absolute; left:4px; }
.page-body .closing{ color:var(--white); font-weight:600; margin-top:28px; font-size:17px; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer{ background:#000; padding:64px 0 28px; border-top:1px solid rgba(255,255,255,.05); }
.footer-grid{ display:grid; grid-template-columns:1fr 1.3fr auto; gap:40px; align-items:start; }
.footer-logo img{ height:84px; width:auto; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:8px 26px; margin-bottom:18px; }
.footer-nav a{ font-size:15px; color:var(--text); }
.footer-nav a:hover{ color:var(--gold-light); }
.footer-info p{ color:var(--muted); font-size:14.5px; margin:3px 0; }
.footer-info a:hover{ color:var(--gold-light); }
.footer-social h4{ color:var(--white); font-weight:600; font-size:18px; margin-bottom:14px; }
.footer-social a{ display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border:1px solid var(--panel-border); border-radius:10px; transition:all .2s ease; }
.footer-social a:hover{ border-color:var(--gold); background:rgba(175,128,63,.12); }
.footer-social svg{ width:22px; height:22px; stroke:var(--gold-light); }
.footer-credit{ text-align:center; margin-top:46px; padding-top:22px; border-top:1px solid rgba(255,255,255,.05); color:var(--muted-2); font-size:13.5px; }
.footer-credit a{ color:var(--gold-light); font-weight:600; }

/* botão flutuante do WhatsApp */
.wa-float{ position:fixed; right:22px; bottom:22px; z-index:90; width:56px; height:56px; border-radius:50%; background:#25d366; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.35); transition:transform .15s ease; }
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:30px; height:30px; fill:#fff; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width:900px){
  .areas-grid{ grid-template-columns:1fr; }
  .area-card.span-2{ grid-column:auto; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
}
@media (max-width:820px){
  .menu-toggle{ display:block; }
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,82vw);
    flex-direction:column; align-items:flex-start; justify-content:center; gap:26px;
    background:rgba(8,8,10,.98); backdrop-filter:blur(12px);
    padding:40px 34px; transform:translateX(100%); transition:transform .32s ease;
  }
  .nav.open{ transform:translateX(0); }
  .nav a{ font-size:19px; }
  .hero{ background-position:center; }
  .hero::before{ background:linear-gradient(180deg, rgba(4,4,4,.7) 0%, rgba(4,4,4,.86) 60%, rgba(4,4,4,.95) 100%); }
  .hero-content{ max-width:100%; }
}
@media (max-width:560px){
  .form-grid{ grid-template-columns:1fr; }
  .area-card{ padding:24px; gap:16px; }
  .contact-form{ padding:24px; }
  .container{ padding:0 18px; }
}
