/* =========================================================
   Gil, Elbers Bozzo e Valentim — Sociedade de Advogados
   ========================================================= */
:root {
  --navy: #10223a;
  --navy-2: #1a3253;
  --gold: #94701f;
  --gold-2: #b99247;
  --gold-3: #d9bf86;
  --gold-soft: #f3ebdb;
  --cream: #faf7f1;
  --paper: #fffdf9;
  --ink: #131d2b;
  --muted: #5c6574;
  --line: #e9e1d1;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(16, 34, 58, .28);
  --shadow-sm: 0 8px 24px -12px rgba(16, 34, 58, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Cinzel", "Cormorant Garamond", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; }
p { margin: 0; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.gold { color: var(--gold); font-style: italic; }

/* ---------- Icons ---------- */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xs { width: 14px; height: 14px; }
.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 38px; height: 38px; stroke-width: 1.4; }
.ico--fill { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.ico--gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn .ico { transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(4px); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; box-shadow: 0 12px 28px -14px rgba(148, 112, 31, .8); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--full { width: 100%; }


.play { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.play__btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s;
}
.play__btn--line { background: transparent; border: 1.5px solid var(--gold-3); box-shadow: none; }
.play:hover .play__btn { transform: scale(1.08); background: var(--gold-soft); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .35s ease;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 34, 58, .35); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 84px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 50px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--caps); font-weight: 600; font-size: 15px; color: var(--navy); letter-spacing: .02em; }
.brand__name em { font-style: normal; font-size: .85em; }
.brand__sub { font-family: var(--caps); font-size: 9.5px; letter-spacing: .32em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .25s ease;
}
.nav__link:hover { color: var(--gold); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }

.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .22s ease;
}
.nav__menu a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 14px; }
.nav__menu a:hover { background: var(--gold-soft); color: var(--navy); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }

.header__cta { flex: none; padding: 12px 22px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 78% 40%, rgba(217, 191, 134, .38), transparent 70%),
    radial-gradient(500px 360px at 6% 8%, rgba(217, 191, 134, .16), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(46px, 6.2vw, 82px); line-height: .98; letter-spacing: -.015em;
  margin: 22px 0 22px;
}
.hero__lead { color: var(--muted); max-width: 470px; font-size: 16.5px; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }

.hero__visual { position: relative; height: 560px; }
.hero__arch {
  position: absolute; left: 4%; top: 10px; width: 62%; height: 540px;
  border-radius: 240px 240px 34px 34px; overflow: hidden;
  background: linear-gradient(180deg, #e9e1d2, #d9cbb0);
  box-shadow: var(--shadow);
}
.hero__arch::before {
  content: ""; position: absolute; inset: 12px; border-radius: 230px 230px 26px 26px;
  border: 1px solid rgba(255, 255, 255, .55); z-index: 2; pointer-events: none;
}
.hero__arch::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(16, 34, 58, .35), transparent); z-index: 1;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; filter: sepia(.2) saturate(.95); }

.hero__side {
  position: absolute; right: 0; top: 120px; width: 38%; height: 330px;
  border-radius: 180px 180px 28px 28px; overflow: hidden; border: 6px solid var(--paper);
  box-shadow: var(--shadow); background: var(--navy);
}
.hero__side img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; filter: sepia(.35) saturate(.9) brightness(.92); }
.hero__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(16, 34, 58, .05), rgba(16, 34, 58, .45)); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 20px 14px 14px;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--navy); }
.float-card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.float-card__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-3); }
.float-card__ico--soft { background: var(--gold-soft); color: var(--gold); }
.float-card--top { top: 26px; right: 2%; }
.float-card--bottom { bottom: 40px; left: -4%; animation-delay: -3s; }

.script {
  position: absolute; right: 2%; bottom: 18px; z-index: 3;
  font-family: var(--script); font-size: 38px; line-height: 1; color: var(--gold);
  transform: rotate(-8deg); text-align: center;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Áreas ---------- */
.areas { padding: 10px 0 70px; }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.area-card {
  position: relative; display: flex; flex-direction: column;
  padding: 18px 18px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.area-card--a { background: linear-gradient(170deg, #f4ede0, var(--paper) 60%); }
.area-card--b { background: linear-gradient(170deg, #ecf0f5, var(--paper) 60%); }
.area-card--c { background: linear-gradient(170deg, #f0ebe4, var(--paper) 60%); }
.area-card--d { background: linear-gradient(170deg, #f6efe2, var(--paper) 60%); }
.area-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold-3); }
.area-card__img { height: 170px; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.area-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.area-card:hover .area-card__img img { transform: scale(1.06); }
.area-card__arrow {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: var(--navy); box-shadow: var(--shadow-sm);
  transition: background .25s, color .25s, transform .25s;
}
.area-card:hover .area-card__arrow { background: var(--navy); color: #fff; }
.area-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.15; font-weight: 700; color: var(--navy); padding: 0 6px; }
.area-card p { color: var(--muted); font-size: 14px; margin-top: 8px; padding: 0 6px; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; justify-content: center; }
.chips__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.chip { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--navy); }

/* ---------- Sobre ---------- */

.h2 { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(36px, 4.2vw, 52px); line-height: 1.05; margin: 0 0 16px; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head p { color: var(--muted); }
.section-head--row { text-align: left; max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .h2 { margin-bottom: 0; }

/* ---------- Team ---------- */
.team { padding: 80px 0; background: linear-gradient(180deg, var(--cream), #f3ecdf 45%, var(--cream)); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.member:hover { box-shadow: var(--shadow-sm); }
.member__img { aspect-ratio: 4 / 4.4; overflow: hidden; background: #d9d3cc; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .7s ease; }
.member:hover .member__img img { transform: scale(1.04); }
.member__body { padding: 22px 26px 26px; position: relative; }
.member__body::before { content: ""; position: absolute; top: 0; left: 26px; width: 44px; height: 3px; background: var(--gold); transform: translateY(-50%); border-radius: 2px; }
.member__role { font-family: var(--caps); font-size: 11px; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
.member h3 { font-family: var(--serif); font-size: 30px; line-height: 1.12; color: var(--navy); margin: 6px 0 6px; }
.member p { color: var(--muted); font-size: 14.5px; }
.member__oab { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; }

/* ---------- Services ---------- */
.services { padding: 70px 0 70px; }
.services__wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.services__intro .h2 { margin-top: 0; }
.services__intro p { color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.svc-list li { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.svc-list h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.svc-list p { color: var(--muted); font-size: 14.5px; }
.member__bio { font-size: 13.5px !important; margin-top: 10px; line-height: 1.55; }

/* ---------- Contact ---------- */
.contact { padding: 80px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.info-list strong { display: block; color: var(--navy); font-size: 14px; }
.info-list a:hover { color: var(--gold); }
.info-list__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.map { border-radius: var(--radius); overflow: hidden; height: 220px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-family: var(--serif); font-size: 32px; color: var(--navy); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(185, 146, 71, .15); }
.form .is-invalid { border-color: #b4453a; }
.form__check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--muted) !important; }
.form__check input { width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--gold); flex: none; }
.form__ok { font-size: 14px; color: var(--gold); font-weight: 600; min-height: 1em; text-align: center; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 70px; }
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
  background: radial-gradient(500px 240px at 90% 100%, rgba(185, 146, 71, .25), transparent 70%), var(--navy);
  border-radius: 26px; padding: 34px 44px; color: #fff;
}
.cta__brand { display: flex; align-items: center; gap: 16px; padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, .18); }
.cta__brand img { width: 60px; height: auto; filter: brightness(1.35); }
.cta__brand p { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.1; }
.cta__text { color: rgba(255, 255, 255, .78); font-size: 15px; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: #0b1829; color: rgba(255, 255, 255, .7); padding: 70px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { width: 260px; }
.footer h5 { font-family: var(--caps); color: var(--gold-3); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: var(--gold-3); }
.footer p + p { margin-top: 12px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- WhatsApp ---------- */
.whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4);
  transition: transform .25s;
}
.whats:hover { transform: scale(1.08); }
.whats svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 8px; font-size: 13.5px; }
  .header__cta { display: none; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav__link::after { display: none; }
  .nav__menu { display: none; }

  .hero { padding-top: 30px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { height: 520px; max-width: 560px; width: 100%; margin-inline: auto; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .services__wrap { grid-template-columns: 1fr; gap: 24px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; text-align: left; gap: 22px; }
  .cta__brand { border-right: 0; padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 32px); }
  .brand__name { font-size: 12.5px; }
  .brand__sub { font-size: 8px; letter-spacing: .24em; }
  .brand__mark { width: 42px; }
  .hero__visual { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__arch { position: relative; inset: auto; grid-column: 1 / -1; width: 100%; height: 400px; border-radius: 190px 190px 26px 26px; }
  .hero__arch::before { border-radius: 180px 180px 18px 18px; }
  .hero__side, .script { display: none; }
  .float-card { position: static; animation: none; padding: 12px; gap: 10px; align-items: flex-start; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
  .float-card strong { font-size: 20px; }
  .float-card small { font-size: 12px; line-height: 1.35; }
  .float-card__ico { width: 36px; height: 36px; border-radius: 10px; }
  .float-card__ico .ico { width: 18px; height: 18px; }
  .areas__grid, .team__grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 30px 26px; }
  .footer__grid { grid-template-columns: 1fr; }
}
