  :root {
    /* Warm earth palette — matches the logo's burnt orange */
    --bg: #0c0907;
    --bg2: #110d0a;
    --bg3: #18130f;
    --surface: #1d1814;
    --surface2: #25201a;

    --copper: #c97e3d;        /* primary accent — pulled from logo */
    --copper-l: #e09a5e;
    --copper-d: #8d5524;

    --gold: #c9a84c;          /* secondary accent */
    --gold-l: #e2c47a;

    --cream: #f0e6d6;
    --white: #f5ede0;
    --muted: #8a8073;
    --muted-d: #5c5448;

    --border: rgba(201,126,61,0.18);
    --border-g: rgba(201,168,76,0.15);
    --radius: 18px;
    --radius-sm: 10px;
    --ease: cubic-bezier(.25,.46,.45,.94);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg); color: var(--white);
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
    font-weight: 300;
  }

  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--copper-d); border-radius: 2px; }

  /* <picture> não deve interferir no layout das imagens (hero/advogada) */
  picture { display: contents; }

  /* Acessibilidade: indicador de foco para navegação por teclado */
  a:focus-visible, button:focus-visible, summary:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--copper-l); outline-offset: 3px;
  }

  /* Acessibilidade: respeita preferência por menos movimento */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
    .marquee-track { animation: none; }
    .reveal { opacity: 1; transform: none; }
  }

  /* Noise overlay */
  body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: .35; mix-blend-mode: overlay;
  }

  /* ═══ NAV ═══ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 clamp(20px, 5vw, 56px); height: 76px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(12,9,7,.85); backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid var(--border);
    animation: slideDown .8s var(--ease) both;
  }
  @keyframes slideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }

  .nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-logo svg { height: 38px; width: auto; }
  .nav-logo-text {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem; font-weight: 500; letter-spacing: .02em;
    color: var(--cream); line-height: 1.1;
  }
  .nav-logo-sub { font-size: .58rem; color: var(--muted); letter-spacing: .25em; text-transform: uppercase; margin-top: 3px; }

  .nav-links { display: flex; gap: 30px; list-style: none; }
  .nav-links a {
    font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; transition: color .3s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
    background: var(--copper); transition: width .3s var(--ease);
  }
  .nav-links a:hover { color: var(--copper-l); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
    background: var(--copper); color: var(--bg); border: none; border-radius: 100px;
    padding: 10px 22px; font-size: .76rem; font-weight: 500; letter-spacing: .04em;
    cursor: pointer; transition: all .3s var(--ease); text-decoration: none;
    white-space: nowrap; display: none; font-family: inherit;
  }
  .nav-cta:hover { background: var(--copper-l); transform: scale(1.04); }

  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 10px; margin-right: -10px; /* maior área de toque */
    z-index: 101; /* acima do overlay do menu */
    background: transparent; border: none;
  }
  .hamburger span {
    width: 24px; height: 2px; background: var(--copper); border-radius: 2px;
    transition: all .35s var(--ease); transform-origin: center;
  }
  /* Animação hamburger → X */
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ═══ HERO — editorial split ═══ */
  #hero {
    min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr;
    padding-top: 76px; position: relative; overflow: hidden;
  }
  .hero-glow {
    position: absolute; width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,126,61,.1) 0%, transparent 70%);
    bottom: -30%; left: -10%; pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{transform:scale(1);opacity:.5;}50%{transform:scale(1.15);opacity:.9;} }

  .hero-content {
    padding: clamp(40px,6vw,80px) clamp(20px,5vw,80px) 80px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: 36px;
    animation: fadeUp .8s .3s var(--ease) both;
  }
  .hero-eyebrow-line { width: 40px; height: 1px; background: var(--copper); }
  .hero-eyebrow-text {
    font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
    color: var(--copper-l); font-weight: 500;
  }

  .hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 300; line-height: 1; letter-spacing: -.02em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    animation: fadeUp .9s .45s var(--ease) both;
  }
  .hero-title em {
    font-style: italic; font-weight: 400;
    background: linear-gradient(135deg, var(--copper-l) 0%, var(--gold-l) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    margin-top: 32px; max-width: 460px;
    font-size: 1rem; line-height: 1.7; color: var(--muted); font-weight: 300;
    animation: fadeUp 1s .6s var(--ease) both;
  }

  .hero-btns {
    margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeUp 1s .75s var(--ease) both;
  }
  .btn-primary {
    background: var(--copper); color: var(--bg); border: none; border-radius: 100px;
    padding: 16px 32px; font-size: .85rem; font-weight: 500; letter-spacing: .03em;
    cursor: pointer; text-decoration: none; transition: all .4s var(--ease);
    box-shadow: 0 8px 32px rgba(201,126,61,.25); font-family: inherit;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(201,126,61,.4); background: var(--copper-l); }
  .btn-primary svg { transition: transform .3s; }
  .btn-primary:hover svg { transform: translateX(4px); }

  .btn-ghost {
    background: transparent; color: var(--cream); border: 1px solid var(--border);
    border-radius: 100px; padding: 16px 32px; font-size: .85rem; letter-spacing: .03em;
    cursor: pointer; text-decoration: none; transition: all .3s; font-family: inherit;
  }
  .btn-ghost:hover { border-color: var(--copper); color: var(--copper-l); }

  .hero-meta {
    margin-top: 64px; display: flex; gap: 40px; flex-wrap: wrap;
    padding-top: 32px; border-top: 1px solid var(--border);
    animation: fadeUp 1s .9s var(--ease) both;
  }
  .meta-item { display: flex; flex-direction: column; gap: 4px; }
  .meta-num { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 500; color: var(--copper-l); line-height: 1; }
  .meta-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); }

  /* HERO PHOTO SIDE */
  .hero-photo {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg2) 100%);
  }
  .hero-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    filter: contrast(1.05) saturate(.95);
    animation: photoIn 1.4s .3s var(--ease) both;
  }
  @keyframes photoIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

  .hero-photo::after {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(to right, var(--bg) 0%, transparent 25%, transparent 75%, transparent 100%),
      linear-gradient(to top, rgba(12,9,7,.4) 0%, transparent 40%);
    pointer-events: none;
  }

  .hero-photo-tag {
    position: absolute; bottom: 40px; right: 40px; z-index: 3;
    background: rgba(12,9,7,.7); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 100px;
    padding: 10px 18px;
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--copper-l);
    animation: fadeUp 1s 1.2s var(--ease) both;
  }

  /* ═══ MARQUEE TICKER ═══ */
  .marquee {
    overflow: hidden; padding: 28px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .marquee::before, .marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
    pointer-events: none;
  }
  .marquee::before { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
  .marquee::after { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }

  .marquee-track {
    display: flex; gap: 60px; white-space: nowrap;
    animation: scroll 38s linear infinite;
    width: max-content;
  }
  @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  .marquee-item {
    display: inline-flex; align-items: center; gap: 60px;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; font-style: italic;
    color: var(--cream);
  }
  .marquee-item span:last-child { color: var(--copper); font-style: normal; font-family: 'Inter'; font-size: 1.3rem; }

  /* ═══ SECTIONS ═══ */
  section { padding: clamp(70px,10vw,130px) clamp(20px,5vw,80px); }

  .section-eyebrow {
    display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  }
  .section-eyebrow-num {
    font-family: 'Fraunces', serif; font-size: .9rem; color: var(--copper);
    font-weight: 500;
  }
  .section-eyebrow-line { width: 30px; height: 1px; background: var(--copper); opacity: .5; }
  .section-eyebrow-label {
    font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-l); font-weight: 500;
  }

  .section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; line-height: 1.05;
    letter-spacing: -.015em;
  }
  .section-title em {
    font-style: italic; color: var(--copper-l); font-weight: 400;
  }

  /* ═══ MANIFESTO ═══ */
  #manifesto { background: var(--bg); position: relative; }

  .manifesto-intro {
    max-width: 720px; margin-bottom: 80px;
  }
  .manifesto-quote {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.35;
    color: var(--cream); margin-top: 28px; font-style: italic;
  }
  .manifesto-quote em { color: var(--copper-l); font-style: italic; }

  .principles {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0; border-top: 1px solid var(--border);
  }
  .principle {
    padding: 44px 0 12px; padding-right: 40px;
    border-right: 1px solid var(--border);
    transition: padding-left .4s var(--ease);
  }
  .principle:last-child { border-right: none; }
  .principle:hover { padding-left: 12px; }
  .principle:hover .principle-num { color: var(--copper-l); }

  .principle-num {
    font-family: 'Fraunces', serif;
    font-size: 4rem; font-weight: 300; line-height: 1; color: var(--copper);
    margin-bottom: 24px; transition: color .4s;
  }
  .principle-title {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; color: var(--cream);
    line-height: 1.2;
  }
  .principle-text { font-size: .9rem; line-height: 1.7; color: var(--muted); }

  /* ═══ ÁREAS — asymmetric editorial ═══ */
  #areas { background: var(--bg2); }

  .areas-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; flex-wrap: wrap; gap: 24px; }

  .areas-list {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--border);
  }
  .area-row {
    display: grid; grid-template-columns: 80px 1fr 2fr auto;
    gap: 32px; align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left .5s var(--ease), background .5s;
    cursor: default; position: relative;
  }
  .area-row::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
    background: linear-gradient(to right, rgba(201,126,61,.04), transparent);
    transition: width .5s var(--ease);
  }
  .area-row:hover { padding-left: 24px; }
  .area-row:hover::before { width: 100%; }
  .area-row:hover .area-arrow { transform: translateX(8px); color: var(--copper-l); }
  .area-row:hover .area-name { color: var(--copper-l); }

  .area-num { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--muted-d); font-weight: 400; }
  .area-name {
    font-family: 'Fraunces', serif; font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 400; color: var(--cream); transition: color .4s;
    line-height: 1.1;
  }
  .area-desc { font-size: .92rem; line-height: 1.65; color: var(--muted); }
  .area-arrow {
    color: var(--copper); font-size: 1.5rem; transition: all .4s var(--ease);
  }

  /* ═══ ADVOGADA — full editorial spread ═══ */
  #advogada { background: var(--bg); padding: 0; overflow: hidden; }

  .lawyer-spread {
    display: grid; grid-template-columns: 1fr 1.05fr;
    min-height: 100svh;
  }

  .lawyer-info-side {
    padding: clamp(60px,8vw,120px) clamp(20px,5vw,80px);
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
  }
  .lawyer-info-side::before {
    content: '"'; position: absolute;
    top: 40px; left: clamp(20px,5vw,80px);
    font-family: 'Fraunces', serif; font-size: 12rem;
    color: rgba(201,126,61,.06); line-height: 1; pointer-events: none;
  }

  .lawyer-vertical-label {
    position: absolute; left: clamp(20px,5vw,80px); top: 50%;
    transform: translateY(-50%) rotate(-90deg); transform-origin: 0 0;
    font-size: .68rem; letter-spacing: .35em; text-transform: uppercase;
    color: var(--muted-d); white-space: nowrap;
    margin-left: 14px;
  }

  .lawyer-content { max-width: 540px; padding-left: 40px; position: relative; z-index: 2; }

  .lawyer-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 16px; border: 1px solid var(--border);
    border-radius: 100px; margin-bottom: 32px;
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--copper-l);
  }
  .lawyer-tag::before { content: '⚖'; }

  .lawyer-name {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; line-height: 1;
    letter-spacing: -.02em; margin-bottom: 8px;
  }
  .lawyer-name em {
    font-style: italic; font-weight: 500; color: var(--copper-l);
    display: block;
  }

  .lawyer-role {
    font-family: 'Fraunces', serif; font-style: italic;
    font-size: 1.1rem; color: var(--muted); margin-bottom: 36px;
    line-height: 1.4;
  }

  .lawyer-bio {
    font-size: 1rem; line-height: 1.85; color: var(--muted); margin-bottom: 24px;
    font-weight: 300;
  }
  .lawyer-bio:last-of-type { margin-bottom: 36px; }
  .lawyer-bio strong { color: var(--cream); font-weight: 500; }

  .lawyer-bio-personal {
    position: relative; padding-left: 20px;
    border-left: 2px solid var(--copper-d);
    color: var(--muted);
    font-style: italic;
  }
  .lawyer-bio-personal strong { color: var(--copper-l); font-style: normal; }

  .lawyer-credentials {
    display: flex; flex-direction: column; gap: 16px;
    padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
  }
  .credential {
    display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline;
  }
  .credential-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
  .credential-value { font-size: .95rem; color: var(--cream); font-weight: 400; }
  .credential-value em { color: var(--copper-l); font-style: normal; }

  .lawyer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .lawyer-action {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px; border-radius: 100px;
    font-size: .82rem; font-weight: 500; text-decoration: none;
    transition: all .3s var(--ease); font-family: inherit;
  }
  .lawyer-action.primary { background: var(--copper); color: var(--bg); }
  .lawyer-action.primary:hover { background: var(--copper-l); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,126,61,.3); }
  .lawyer-action.secondary { background: transparent; color: var(--cream); border: 1px solid var(--border); }
  .lawyer-action.secondary:hover { border-color: var(--copper); color: var(--copper-l); }

  .lawyer-photo-side { position: relative; overflow: hidden; background: var(--surface); }
  .lawyer-photo-side img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
    filter: contrast(1.05);
    transition: transform 1.2s var(--ease);
  }
  .lawyer-photo-side:hover img { transform: scale(1.04); }
  .lawyer-photo-side::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to left, transparent 80%, var(--bg) 100%);
    pointer-events: none;
  }
  .photo-corner-label {
    position: absolute; bottom: 32px; left: 32px; z-index: 2;
    font-family: 'Fraunces', serif; font-size: .85rem;
    color: var(--cream); letter-spacing: .04em;
    background: rgba(12,9,7,.65); backdrop-filter: blur(10px);
    padding: 10px 18px; border-radius: 100px;
    border: 1px solid var(--border);
  }
  .photo-corner-label em { color: var(--copper-l); font-style: italic; }

  /* ═══ CONSULTORIA ═══ */
  #consultoria { background: var(--bg2); }

  .consult-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px;
  }

  .consult-card {
    background: var(--surface); border: 1px solid var(--border-g);
    border-radius: var(--radius); padding: 48px 40px;
    position: relative; overflow: hidden;
    transition: all .5s var(--ease);
    display: flex; flex-direction: column;
  }
  .consult-card.featured {
    border-color: var(--copper-d);
    background: linear-gradient(135deg, var(--surface) 60%, rgba(201,126,61,.06));
  }
  .consult-card:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(0,0,0,.5); }
  .consult-card.featured:hover { box-shadow: 0 32px 80px rgba(201,126,61,.15); border-color: var(--copper); }

  .consult-badge {
    display: inline-block; padding: 6px 14px; margin-bottom: 24px;
    border-radius: 100px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  }
  .consult-badge.online { background: rgba(80,200,120,.12); color: #6dcc8e; border: 1px solid rgba(80,200,120,.3); }
  .consult-badge.presencial { background: rgba(201,126,61,.12); color: var(--copper-l); border: 1px solid var(--border); }

  .consult-type { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 400; margin-bottom: 8px; color: var(--cream); }
  .consult-sub { font-size: .9rem; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }

  .consult-cta-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(201,126,61,.06); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 32px;
    font-size: .87rem; color: var(--cream); line-height: 1.5;
  }
  .consult-cta-box span:first-child { color: var(--copper); font-size: 1.1rem; }

  .consult-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .consult-features li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .9rem; color: var(--muted); line-height: 1.5;
  }
  .consult-features li::before {
    content: ''; width: 14px; height: 1px; background: var(--copper);
    flex-shrink: 0; margin-top: 12px;
  }

  .btn-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px; border-radius: 100px;
    font-size: .88rem; font-weight: 500; text-decoration: none; border: none; cursor: pointer;
    transition: all .3s var(--ease); font-family: inherit;
  }
  .btn-whatsapp.primary { background: linear-gradient(135deg, #128C7E, #25D366); color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,.2); }
  .btn-whatsapp.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,211,102,.35); }
  .btn-whatsapp.outline { background: transparent; color: #25D366; border: 1px solid rgba(37,211,102,.3); }
  .btn-whatsapp.outline:hover { background: rgba(37,211,102,.08); }
  .whatsapp-icon { width: 18px; height: 18px; flex-shrink: 0; }

  /* ═══ FAQ ═══ */
  #faq { background: var(--bg); }

  .faq-header { margin-bottom: 56px; }

  .faq-list { max-width: 860px; border-top: 1px solid var(--border); }
  .faq-item { border-bottom: 1px solid var(--border); }

  .faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 26px 0; cursor: pointer; list-style: none;
    font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400; color: var(--cream); transition: color .3s;
  }
  .faq-question::-webkit-details-marker { display: none; }
  .faq-question:hover { color: var(--copper-l); }

  .faq-icon {
    flex-shrink: 0; width: 34px; height: 34px;
    border: 1px solid var(--border); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--copper); font-size: 1.15rem;
    font-family: 'Inter', sans-serif; font-weight: 300;
    transition: transform .35s var(--ease), background .3s;
  }
  .faq-item[open] .faq-icon { transform: rotate(45deg); background: rgba(201,126,61,.1); }
  .faq-item[open] .faq-question { color: var(--copper-l); }

  .faq-answer {
    padding: 0 58px 26px 0; max-width: 720px;
    font-size: .95rem; line-height: 1.75; color: var(--muted);
  }
  .faq-answer a { color: var(--copper-l); text-decoration: none; }
  .faq-answer a:hover { text-decoration: underline; }

  /* ═══ FORMULÁRIO ═══ */
  #contato { background: var(--bg2); }

  /* ─── Contato: grid (formulário + info/mapa) ─── */
  .contato-grid {
    max-width: 1180px; margin: 60px auto 0;
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 28px; align-items: start;
  }
  .contato-grid .form-wrap { max-width: none; margin: 0; }

  .contato-info {
    background: var(--surface); border: 1px solid var(--border-g);
    border-radius: var(--radius); padding: clamp(28px,4vw,44px);
  }
  .info-title {
    font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 400;
    color: var(--cream); margin-bottom: 28px;
  }
  .info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
  .info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; color: var(--copper-l);
  }
  .info-icon svg { width: 18px; height: 18px; }
  .info-label {
    font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--copper-l); font-weight: 500; margin-bottom: 5px;
  }
  .info-value { color: var(--cream); font-size: .94rem; line-height: 1.55; }
  .info-value a { color: inherit; text-decoration: none; transition: color .3s; }
  .info-value a:hover { color: var(--copper-l); }

  .info-cta {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 6px; padding: 13px 24px; border-radius: 100px;
    border: 1px solid var(--border); color: var(--cream);
    font-size: .8rem; font-weight: 500; letter-spacing: .04em;
    text-decoration: none; transition: all .3s var(--ease);
  }
  .info-cta svg { width: 16px; height: 16px; }
  .info-cta:hover { border-color: var(--copper); color: var(--copper-l); transform: translateY(-2px); }

  .map-wrap {
    margin-top: 24px; border-radius: var(--radius-sm); overflow: hidden;
    border: 1px solid var(--border-g); line-height: 0;
  }
  .map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

  @media (max-width: 900px) {
    .contato-grid { grid-template-columns: 1fr; max-width: 720px; }
  }

  .form-wrap {
    max-width: 720px; margin: 60px auto 0;
    background: var(--surface); border: 1px solid var(--border-g);
    border-radius: var(--radius); padding: clamp(32px,5vw,60px);
  }

  .form-title { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 400; margin-bottom: 8px; color: var(--cream); }
  .form-subtitle { font-size: .9rem; color: var(--muted); margin-bottom: 36px; line-height: 1.55; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .form-label { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--copper-l); font-weight: 500; }

  .form-input, .form-select, .form-textarea {
    background: var(--bg3); border: 1px solid var(--border-g);
    border-radius: var(--radius-sm); padding: 14px 18px;
    color: var(--cream); font-family: inherit; font-size: .95rem;
    outline: none; width: 100%;
    transition: border-color .3s, box-shadow .3s; -webkit-appearance: none;
  }
  .form-input::placeholder, .form-textarea::placeholder { color: var(--muted-d); }
  .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(201,126,61,.1); }
  .form-textarea { resize: vertical; min-height: 120px; font-family: inherit; }
  .form-select option { background: var(--bg3); color: var(--cream); }

  .form-hint { font-size: .76rem; color: var(--muted-d); line-height: 1.5; }

  .form-consent {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: .8rem; color: var(--muted); line-height: 1.6;
    margin: 4px 0 18px; cursor: pointer;
  }
  .form-consent input[type="checkbox"] {
    width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0;
    accent-color: var(--copper); cursor: pointer;
  }
  .form-consent a { color: var(--copper-l); text-decoration: underline; }
  .form-consent a:hover { color: var(--copper); }

  .form-submit {
    width: 100%; padding: 18px;
    background: var(--copper); color: var(--bg); border: none; border-radius: 100px;
    font-family: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .04em;
    cursor: pointer; transition: all .4s var(--ease);
    box-shadow: 0 8px 32px rgba(201,126,61,.2); margin-top: 8px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  }
  .form-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(201,126,61,.4); background: var(--copper-l); }
  .form-submit:disabled { opacity: .65; cursor: wait; }
  .form-submit.success { background: linear-gradient(135deg, #128C7E, #25D366); box-shadow: 0 8px 32px rgba(37,211,102,.25); }
  .form-submit.error { background: #b85454; box-shadow: 0 8px 32px rgba(184,84,84,.25); }

  /* ═══ FOOTER ═══ */
  footer { background: #07050340; background: #060403; border-top: 1px solid var(--border); padding: 60px clamp(20px,5vw,80px) 32px; }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
  .footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .footer-logo-wrap svg { height: 48px; width: auto; }
  .footer-logo-text { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--cream); font-weight: 500; line-height: 1.1; }
  .footer-logo-sub { font-size: .58rem; color: var(--muted); letter-spacing: .25em; text-transform: uppercase; margin-top: 3px; }
  .footer-desc { font-size: .88rem; line-height: 1.7; color: var(--muted); max-width: 320px; }
  .footer-col-title { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-l); margin-bottom: 22px; font-weight: 500; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-links a { font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .3s; display: flex; align-items: center; gap: 8px; }
  .footer-links a:hover { color: var(--copper-l); }
  .trabalhe-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
    background: rgba(201,126,61,.1); border: 1px solid var(--border);
    border-radius: 100px; padding: 11px 18px;
    font-size: .82rem; color: var(--copper-l); cursor: pointer; transition: all .3s; text-decoration: none;
    font-family: inherit;
  }
  .trabalhe-btn:hover { background: rgba(201,126,61,.2); color: var(--copper-l); border-color: var(--copper); }

  .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .footer-copy { font-size: .8rem; color: var(--muted-d); }
  .footer-copy a { color: var(--muted-d); text-decoration: underline; transition: color .3s; }
  .footer-copy a:hover { color: var(--copper-l); }
  .footer-designed { font-size: .8rem; color: var(--muted-d); }
  .footer-designed a { color: var(--copper-d); text-decoration: none; transition: color .3s; }
  .footer-designed a:hover { color: var(--copper-l); }

  /* ═══ MODAL ═══ */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(6,4,3,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal-box {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: clamp(28px,5vw,52px);
    width: 100%; max-width: 620px; max-height: 90svh; overflow-y: auto;
    transform: translateY(30px) scale(.97); transition: transform .4s var(--ease); position: relative;
  }
  .modal-overlay.open .modal-box { transform: none; }
  .modal-close {
    position: absolute; top: 20px; right: 20px;
    background: var(--surface2); border: 1px solid var(--border-g);
    border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted); font-size: 1rem; transition: all .3s; font-family: inherit;
  }
  .modal-close:hover { border-color: var(--copper); color: var(--copper-l); }
  .modal-eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-l);
  }
  .modal-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--copper); }
  .modal-title { font-family: 'Fraunces', serif; font-size: clamp(1.7rem,4vw,2.4rem); font-weight: 400; margin-bottom: 8px; color: var(--cream); letter-spacing: -.01em; }
  .modal-title em { font-style: italic; color: var(--copper-l); font-weight: 500; }
  .modal-sub { font-size: .9rem; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }
  .modal-form .form-group { margin-bottom: 16px; }
  .modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  /* REVEAL */
  @keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.visible { opacity: 1; transform: none; }

  /* ═══ MOBILE ═══ */
  @media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .principles { grid-template-columns: repeat(2, 1fr); }
    .principle:nth-child(2) { border-right: none; }
    .principle:nth-child(3), .principle:nth-child(4) { border-top: 1px solid var(--border); }
  }
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-photo { height: 60vh; min-height: 420px; }
    .hero-photo::after { background: linear-gradient(to top, var(--bg) 0%, transparent 50%); }
    .lawyer-spread { grid-template-columns: 1fr; min-height: auto; }
    .lawyer-photo-side { height: 60vh; min-height: 480px; order: -1; }
    .lawyer-photo-side::after { background: linear-gradient(to top, var(--bg) 0%, transparent 60%); }
    .lawyer-info-side::before { display: none; }
    .lawyer-vertical-label { display: none; }
    .lawyer-content { padding-left: 0; }
    .area-row { grid-template-columns: 50px 1fr auto; gap: 20px; padding: 28px 0; }
    .area-desc { display: none; }
  }
  /* ═══ MOBILE MENU ANIMATIONS (keyframes - mais confiável que transition-delay) ═══ */
  @keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes menuItemIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }

  @media (max-width: 768px) {
    nav { padding: 0 20px; }

    /* Menu como overlay fullscreen — altura EXPLÍCITA (não depende de bottom:0) */
    .nav-links {
      display: flex; flex-direction: column;
      position: fixed;
      top: 0; left: 0; right: 0;
      width: 100%;
      /* fallbacks de viewport units */
      height: 100vh;
      height: 100dvh;
      background: #0c0907; /* sólido */
      z-index: 99;
      padding: 96px 28px 32px; /* 96px no topo deixa o nav (76px) + breathing room visíveis */
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      visibility: hidden;
      opacity: 0;
      transition: opacity .35s var(--ease), visibility 0s .35s;
      counter-reset: menu;
    }
    .nav-links.open {
      visibility: visible; opacity: 1;
      transition: opacity .35s var(--ease), visibility 0s 0s;
      animation: menuFadeIn .35s var(--ease);
    }

    .nav-links li {
      counter-increment: menu;
      list-style: none;
      border-bottom: 1px solid rgba(201,126,61,0.18);
      opacity: 0;
    }
    .nav-links.open li {
      animation: menuItemIn .55s var(--ease) forwards;
    }
    .nav-links.open li:nth-child(1) { animation-delay: .12s; }
    .nav-links.open li:nth-child(2) { animation-delay: .18s; }
    .nav-links.open li:nth-child(3) { animation-delay: .24s; }
    .nav-links.open li:nth-child(4) { animation-delay: .30s; }
    .nav-links.open li:nth-child(5) { animation-delay: .36s; }
    .nav-links.open li:nth-child(6) { animation-delay: .42s; }

    .nav-links a {
      display: flex !important; /* sobrescreve display: inline-block do desktop */
      align-items: center; justify-content: space-between;
      width: 100%;
      padding: 24px 0;
      font-family: 'Fraunces', serif;
      font-size: 1.7rem; font-weight: 300; letter-spacing: -.01em;
      color: #f0e6d6; text-transform: none;
      text-decoration: none;
    }
    .nav-links a:active { color: var(--copper-l); }
    .nav-links a::after {
      content: "0" counter(menu);
      display: inline-block;
      position: static !important; /* sobrescreve o ::after absolute do desktop */
      width: auto !important; height: auto !important;
      font-family: 'Inter', sans-serif;
      font-size: .72rem; letter-spacing: .18em;
      color: var(--copper); background: none !important; opacity: .65;
    }

    .hamburger { display: flex; }

    .hero-meta { gap: 24px; }
    .consult-grid { grid-template-columns: 1fr; }
    .form-row, .modal-form .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .principles { grid-template-columns: 1fr; }
    .principle { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; }
    .principle:last-child { border-bottom: none; }
    .principle:nth-child(3) { border-top: none; }
    .areas-header { flex-direction: column; align-items: flex-start; }
    .faq-answer { padding-right: 0; }

    /* iOS zoom fix */
    .form-input, .form-select, .form-textarea { font-size: 16px; }

    .hero-photo img { object-position: center 25%; }
    .hero-photo-tag { bottom: 24px; right: 24px; left: 24px; text-align: center; }
    .photo-corner-label { bottom: 20px; left: 20px; right: 20px; text-align: center; }
  }

  @media (max-width: 400px) {
    /* Telas muito pequenas (iPhone SE etc) */
    .hero-meta { gap: 16px; }
    .meta-num { font-size: 1.6rem; }
    .meta-label { font-size: .62rem; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn-primary, .hero-btns .btn-ghost { text-align: center; justify-content: center; }
    .lawyer-actions { flex-direction: column; align-items: stretch; }
    .lawyer-action { justify-content: center; }
  }

  /* ═══ PÁGINA LEGAL (Política de Privacidade) ═══ */
  .nav-back {
    font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; transition: color .3s;
    white-space: nowrap;
  }
  .nav-back:hover { color: var(--copper-l); }

  .legal-main {
    max-width: 780px; margin: 0 auto;
    padding: 140px clamp(20px, 5vw, 40px) 90px;
  }
  .legal-main h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 300;
    line-height: 1.1; letter-spacing: -.015em; margin-bottom: 12px;
  }
  .legal-main h1 em { font-style: italic; color: var(--copper-l); font-weight: 400; }
  .legal-updated { font-size: .8rem; color: var(--muted-d); margin-bottom: 48px; display: block; }
  .legal-main h2 {
    font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 400;
    color: var(--cream); margin: 44px 0 14px;
  }
  .legal-main p, .legal-main li {
    font-size: .95rem; line-height: 1.8; color: var(--muted); margin-bottom: 12px;
  }
  .legal-main ul { padding-left: 22px; margin-bottom: 12px; }
  .legal-main li { margin-bottom: 6px; }
  .legal-main a { color: var(--copper-l); text-decoration: underline; }
  .legal-main a:hover { color: var(--copper); }
  .legal-main strong { color: var(--cream); font-weight: 500; }
