  :root{
    --navy-deep:#0d1b2e;
    --navy:#132a47;
    --navy-soft:#1c3a60;
    --cream:#f6f3ee;
    --stone:#e6e2da;
    --ink:#1a2130;
    --ink-soft:#4a5568;
    --gold:#b58a4a;
    --gold-soft:#d9b878;
    --line:rgba(181,138,74,0.35);
    --radius:2px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    font-family:'Source Sans 3', sans-serif;
    color:var(--ink);
    background:var(--cream);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    transition:background .35s ease, color .35s ease;
  }

  h1,h2,h3,.brand{
    font-family:'Fraunces', serif;
    font-weight:500;
    letter-spacing:-0.01em;
  }

  a{color:inherit;text-decoration:none;}
  img,svg{display:block;max-width:100%;}

  .eyebrow{
    font-size:0.72rem;
    letter-spacing:0.22em;
    text-transform:uppercase;
    color:var(--gold);
    font-weight:600;
    display:inline-block;
    margin-bottom:14px;
  }

  .wrap{
    max-width:1120px;
    margin:0 auto;
    padding:0 32px;
  }

  a:focus-visible, button:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:3px;
  }

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  /* ---------- HEADER / NAV ---------- */
  header.site-nav{
    position:fixed;
    top:0;left:0;right:0;
    z-index:100;
    background:rgba(13,27,46,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(181,138,74,0.18);
  }
  .nav-inner{
    max-width:1120px;
    margin:0 auto;
    padding:18px 32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .nav-brand{
    color:var(--cream);
    font-size:1.15rem;
    letter-spacing:0.01em;
  }
  .nav-brand span{color:var(--gold-soft);}
  .nav-links{
    display:flex;
    gap:36px;
    list-style:none;
  }
  .nav-links a{
    color:var(--stone);
    font-size:0.88rem;
    letter-spacing:0.03em;
    transition:color .2s ease;
  }
  .nav-links a:hover{color:var(--gold-soft);}
  .nav-cta{
    border:1px solid var(--gold);
    color:var(--gold-soft) !important;
    padding:9px 20px;
    font-size:0.82rem !important;
    letter-spacing:0.05em;
    border-radius:var(--radius);
    transition:background .2s ease, color .2s ease;
  }
  .nav-cta:hover{background:var(--gold); color:var(--navy-deep) !important;}
  .nav-toggle{display:none;}

  .theme-toggle{
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid rgba(217,184,120,0.4);
    background:transparent;
    color:var(--gold-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex-shrink:0;
    transition:background .2s ease, transform .2s ease, border-color .2s ease;
  }
  .theme-toggle:hover{background:rgba(181,138,74,0.14); border-color:var(--gold);}
  .theme-toggle:active{transform:scale(0.94);}
  .theme-toggle svg{width:17px; height:17px;}
  .theme-toggle .icon-sun{display:none;}
  body.dark .theme-toggle .icon-moon{display:none;}
  body.dark .theme-toggle .icon-sun{display:block;}

  @media (max-width:820px){
    .nav-links{
      position:fixed;
      top:64px; left:0; right:0;
      background:var(--navy-deep);
      flex-direction:column;
      align-items:flex-start;
      padding:24px 32px;
      gap:20px;
      border-bottom:1px solid var(--line);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .25s ease, transform .25s ease;
    }
    .nav-links.open{opacity:1; transform:translateY(0); pointer-events:auto;}
    .nav-toggle{
      display:block;
      background:none;
      border:1px solid var(--line);
      color:var(--cream);
      font-size:1rem;
      padding:8px 12px;
      border-radius:var(--radius);
      cursor:pointer;
    }
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:
      radial-gradient(ellipse at 78% 18%, rgba(181,138,74,0.16), transparent 55%),
      linear-gradient(180deg, var(--navy-deep), var(--navy) 70%);
    color:var(--cream);
    padding:168px 0 120px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.1fr 0.7fr;
    gap:48px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(2.4rem, 5vw, 3.6rem);
    line-height:1.08;
    margin-bottom:22px;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--gold-soft);
  }
  .hero p.lead{
    font-size:1.15rem;
    color:var(--stone);
    max-width:46ch;
    margin-bottom:38px;
    font-weight:400;
  }
  .hero-actions{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 30px;
    font-size:0.92rem;
    font-weight:600;
    letter-spacing:0.03em;
    border-radius:var(--radius);
    transition:transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  }
  .btn-primary{
    background:var(--gold);
    color:var(--navy-deep);
    box-shadow:0 10px 30px -12px rgba(181,138,74,0.55);
  }
  .btn-primary:hover{background:var(--gold-soft); transform:translateY(-2px);}
  .btn-ghost{
    border:1px solid rgba(246,243,238,0.35);
    color:var(--cream);
  }
  .btn-ghost:hover{border-color:var(--gold-soft); color:var(--gold-soft);}

  .hero-mark{
    justify-self:center;
    width:100%;
    max-width:340px;
  }
  .hero-mark svg{width:100%; height:auto;}
  .beam-anim{
    transform-origin:170px 78px;
    animation:tilt 6s ease-in-out infinite;
  }
  @keyframes tilt{
    0%,100%{transform:rotate(0deg);}
    50%{transform:rotate(1.6deg);}
  }

  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr; text-align:left;}
    .hero-mark{max-width:220px; justify-self:start; margin-top:12px;}
    .hero{padding:140px 0 80px;}
  }

  /* ---------- SECTION SHELL ---------- */
  section{padding:104px 0;}
  .section-head{
    max-width:640px;
    margin-bottom:56px;
  }
  .section-head h2{
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    color:var(--navy-deep);
  }

  /* ---------- SOBRE ---------- */
  .about{background:var(--cream);}
  .about-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:64px;
    align-items:start;
  }
  .about-card{
    background:var(--navy-deep);
    color:var(--cream);
    padding:44px 36px;
    border-radius:var(--radius);
    position:relative;
  }
  .about-card::before{
    content:"";
    position:absolute;
    top:0; left:0;
    width:100%; height:3px;
    background:linear-gradient(90deg, var(--gold), transparent);
  }
  .about-card .years{
    font-family:'Fraunces', serif;
    font-size:3.4rem;
    color:var(--gold-soft);
    line-height:1;
    margin-bottom:6px;
  }
  .about-card .years-label{
    font-size:0.85rem;
    color:var(--stone);
    letter-spacing:0.02em;
    margin-bottom:28px;
  }
  .about-card .lawyer-name{
    font-family:'Fraunces', serif;
    font-size:1.15rem;
    color:var(--cream);
    margin-bottom:4px;
  }
  .about-card .lawyer-role{
    font-size:0.82rem;
    color:var(--gold-soft);
    letter-spacing:0.04em;
  }
  .about-copy p{
    font-size:1.05rem;
    color:var(--ink-soft);
    margin-bottom:20px;
    max-width:60ch;
  }
  .about-copy p strong{color:var(--navy-deep); font-weight:600;}
  .pillars{
    display:flex;
    gap:28px;
    margin-top:32px;
    flex-wrap:wrap;
  }
  .pillar{
    font-size:0.88rem;
    color:var(--navy);
    padding-left:16px;
    border-left:2px solid var(--gold);
  }

  @media (max-width:860px){
    .about-grid{grid-template-columns:1fr;}
  }

  /* ---------- ESPECIALIDADES ---------- */
  .services{
    background:var(--navy-deep);
    color:var(--cream);
    position:relative;
  }
  .services .section-head h2{color:var(--cream);}
  .services .eyebrow{color:var(--gold-soft);}
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:rgba(246,243,238,0.12);
    border:1px solid rgba(246,243,238,0.12);
  }
  .service-card{
    background:var(--navy-deep);
    padding:44px 34px;
    transition:background .25s ease;
  }
  .service-card:hover{background:var(--navy-soft);}
  .service-num{
    font-family:'Fraunces', serif;
    font-size:0.82rem;
    color:var(--gold);
    letter-spacing:0.08em;
    margin-bottom:22px;
    display:block;
  }
  .service-card h3{
    font-size:1.3rem;
    margin-bottom:14px;
    color:var(--cream);
  }
  .service-card p{
    font-size:0.95rem;
    color:var(--stone);
  }

  @media (max-width:860px){
    .services-grid{grid-template-columns:1fr;}
  }

  /* ---------- CTA STRIP ---------- */
  .cta-strip{
    background:var(--stone);
    padding:80px 0;
    transition:background .35s ease;
  }
  .cta-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
    flex-wrap:wrap;
    background:#fff;
    border:1px solid var(--line);
    border-radius:4px;
    padding:44px 48px;
    transition:background .35s ease, border-color .35s ease;
  }
  .cta-panel h3{
    flex:1 1 320px;
    font-size:1.5rem;
    color:var(--navy-deep);
    margin:0;
  }
  .cta-panel .btn{flex-shrink:0;}

  @media (max-width:600px){
    .cta-panel{
      flex-direction:column;
      align-items:flex-start;
      padding:36px 28px;
      text-align:left;
    }
    .cta-panel .btn{width:100%; justify-content:center;}
  }

  /* ---------- FOOTER / CONTATO ---------- */
  footer{
    background:var(--navy-deep);
    color:var(--stone);
    padding:80px 0 32px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr 1fr;
    gap:48px;
    margin-bottom:56px;
  }
  .footer-brand .brand{
    color:var(--cream);
    font-size:1.3rem;
    margin-bottom:14px;
  }
  .footer-brand .brand span{color:var(--gold-soft);}
  .footer-brand p{
    font-size:0.92rem;
    color:rgba(230,226,218,0.7);
    max-width:34ch;
  }
  .footer-col h4{
    font-size:0.78rem;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--gold-soft);
    margin-bottom:20px;
    font-weight:600;
    font-family:'Source Sans 3', sans-serif;
  }
  .footer-col ul{list-style:none;}
  .footer-col li{
    margin-bottom:14px;
    font-size:0.94rem;
    display:flex;
    gap:10px;
    align-items:flex-start;
  }
  .footer-col li a:hover{color:var(--gold-soft);}
  .footer-col .icon{
    color:var(--gold);
    flex-shrink:0;
    margin-top:3px;
  }
  .footer-bottom{
    border-top:1px solid rgba(246,243,238,0.12);
    padding-top:28px;
    font-size:0.82rem;
    color:rgba(230,226,218,0.55);
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
  }

  @media (max-width:760px){
    .footer-grid{grid-template-columns:1fr; gap:36px;}
  }

  /* ---------- WHATSAPP FLOAT ---------- */
  .wa-float{
    position:fixed;
    bottom:24px;
    right:24px;
    z-index:90;
    background:#1f7a52;
    color:#fff;
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 24px -8px rgba(0,0,0,0.5);
    transition:transform .2s ease;
  }
  .wa-float:hover{transform:scale(1.08);}

  /* ---------- DARK THEME ---------- */
  body.dark{
    background:#0b0f17;
    color:#c9cfda;
  }
  body.dark .site-nav{
    background:rgba(6,9,15,0.92);
  }
  body.dark .about{background:#0b0f17;}
  body.dark .section-head h2{color:var(--cream);}
  body.dark .about-copy p{color:#a9b0bd;}
  body.dark .about-copy p strong{color:var(--cream);}
  body.dark .pillar{color:#c9cfda;}
  body.dark .cta-strip{background:#0b0f17;}
  body.dark .cta-panel{
    background:#111826;
    border-color:rgba(217,184,120,0.22);
  }
  body.dark .cta-panel h3{color:var(--cream);}
  body.dark .btn-ghost{border-color:rgba(217,184,120,0.3);}
  body.dark section, body.dark .about-copy p, body.dark .cta-panel{
    transition:background .35s ease, color .35s ease, border-color .35s ease;
  }