 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy: #0f1e2d;
      --navy-mid: #1a2f43;
      --gold: #b89a5a;
      --gold-light: #d4b87a;
      --cream: #f7f4ef;
      --cream-dark: #ede9e1;
      --text: #1a1a1a;
      --text-mid: #4a4a4a;
      --text-light: #7a7a7a;
      --white: #ffffff;
      --border: rgba(0,0,0,0.08);
      --border-gold: rgba(184,154,90,0.3);
    }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: 'DM Sans', sans-serif;
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
    }

    /* ── NAVIGATION ─────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4rem;
      height: 72px;
      background: rgba(15,30,45,0.97);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(184,154,90,0.2);
    }

    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 600;
      color: var(--white);
      letter-spacing: 0.04em;
      text-decoration: none;
    }

    .nav-logo span { color: var(--gold); }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2.5rem;
      align-items: center;
    }

    .nav-links a {
      font-size: 0.8rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--gold-light); }

    .nav-cta {
      background: var(--gold) !important;
      color: var(--navy) !important;
      padding: 0.5rem 1.25rem !important;
      border-radius: 2px !important;
      font-weight: 500 !important;
      transition: background 0.2s !important;
    }

    .nav-cta:hover { background: var(--gold-light) !important; }

    /* ── HERO ────────────────────────────────────────── */
    #home {
      min-height: 100vh;
      background: var(--navy);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-bg-pattern {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(184,154,90,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,154,90,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .hero-accent {
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 45%;
      background: linear-gradient(135deg, transparent 0%, rgba(184,154,90,0.04) 100%);
      border-left: 1px solid rgba(184,154,90,0.1);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      padding: 0 4rem;
      max-width: 680px;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.75rem;
    }

    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--gold);
    }

    h1.hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 5vw, 4.2rem);
      font-weight: 300;
      line-height: 1.12;
      color: var(--white);
      margin-bottom: 1.5rem;
    }

    h1.hero-title em {
      font-style: italic;
      color: var(--gold-light);
    }

    .hero-desc {
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(255,255,255,0.6);
      margin-bottom: 2.5rem;
      max-width: 480px;
    }

    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: var(--gold);
      color: var(--navy);
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 2px;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: transparent;
      color: rgba(255,255,255,0.8);
      font-size: 0.8rem;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 2px;
      transition: border-color 0.2s, color 0.2s;
    }

    .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

    .hero-stats {
      position: absolute;
      bottom: 3rem;
      left: 4rem;
      right: 4rem;
      display: flex;
      gap: 3rem;
      border-top: 1px solid rgba(184,154,90,0.2);
      padding-top: 2rem;
    }

    .hero-stat-item { }

    .hero-stat-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 300;
      color: var(--gold-light);
      line-height: 1;
    }

    .hero-stat-label {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-top: 0.3rem;
    }

    /* ── SECTION BASE ────────────────────────────────── */
    section { padding: 6rem 4rem; }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }

    .section-label::before {
      content: '';
      display: block;
      width: 24px;
      height: 1px;
      background: var(--gold);
    }

    h2.section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 300;
      line-height: 1.2;
      color: var(--navy);
    }

    h2.section-title em { font-style: italic; }

    .section-intro {
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.8;
      color: var(--text-mid);
      max-width: 560px;
    }

    /* ── SOBRE ───────────────────────────────────────── */
    #sobre {
      background: var(--white);
    }

    .sobre-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .sobre-text { }

    .sobre-text p {
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.85;
      color: var(--text-mid);
      margin-bottom: 1.25rem;
    }

    .sobre-visual {
      background: var(--cream);
      border-radius: 2px;
      padding: 3rem;
      border: 1px solid var(--cream-dark);
      position: relative;
    }

    .sobre-visual::before {
      content: '';
      position: absolute;
      top: 1rem; left: 1rem; right: -1rem; bottom: -1rem;
      border: 1px solid var(--border-gold);
      border-radius: 2px;
      z-index: -1;
    }

    .sobre-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--navy);
      color: var(--gold-light);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.5rem 1rem;
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }

    .sobre-highlight {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 300;
      line-height: 1.4;
      color: var(--navy);
      margin-bottom: 1.5rem;
    }

    .sobre-list { list-style: none; }

    .sobre-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.875rem;
      color: var(--text-mid);
      padding: 0.6rem 0;
      border-bottom: 1px solid var(--border);
    }

    .sobre-list li:last-child { border-bottom: none; }

    .sobre-list li::before {
      content: '';
      display: block;
      width: 4px;
      height: 4px;
      background: var(--gold);
      border-radius: 50%;
      margin-top: 7px;
      flex-shrink: 0;
    }

    /* ── BANNER INTERMEDIÁRIO ────────────────────────── */
    .banner-mid {
      background: var(--navy);
      padding: 4rem;
      text-align: center;
    }

    .banner-mid p {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.4rem, 3vw, 2.2rem);
      font-weight: 300;
      color: rgba(255,255,255,0.9);
      line-height: 1.5;
      max-width: 800px;
      margin: 0 auto;
    }

    .banner-mid p em { color: var(--gold-light); font-style: italic; }

    /* ── SERVIÇOS ────────────────────────────────────── */
    #servicos { background: var(--cream); }

    .servicos-header {
      max-width: 1200px;
      margin: 0 auto 4rem;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 2rem;
    }

    .servicos-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5px;
      background: var(--cream-dark);
      border: 1px solid var(--cream-dark);
    }

    .servico-card {
      background: var(--white);
      padding: 2.5rem 2rem;
      transition: background 0.25s;
      cursor: default;
    }

    .servico-card:hover { background: var(--navy); }

    .servico-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3rem;
      font-weight: 300;
      color: var(--cream-dark);
      line-height: 1;
      margin-bottom: 1.5rem;
      transition: color 0.25s;
    }

    .servico-card:hover .servico-num { color: rgba(184,154,90,0.2); }

    .servico-title {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--navy);
      margin-bottom: 1rem;
      transition: color 0.25s;
    }

    .servico-card:hover .servico-title { color: var(--gold-light); }

    .servico-text {
      font-size: 0.875rem;
      font-weight: 300;
      line-height: 1.75;
      color: var(--text-light);
      transition: color 0.25s;
    }

    .servico-card:hover .servico-text { color: rgba(255,255,255,0.6); }

    /* ── COBERTURA ───────────────────────────────────── */
    #cobertura { background: var(--white); }

    .cobertura-header {
      max-width: 1200px;
      margin: 0 auto 4rem;
    }

    .cobertura-layout {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 420px 1fr;
      gap: 5rem;
      align-items: start;
    }

    .mapa-wrapper {
      position: sticky;
      top: 100px;
    }

    .mapa-wrapper svg {
      width: 100%;
      height: auto;
    }

    .estado { fill: var(--cream-dark); stroke: var(--white); stroke-width: 1.5; cursor: pointer; transition: fill 0.2s; }
    .estado:hover { fill: var(--gold); }
    .estado.active { fill: var(--navy); }

    .info-panel { }

    .info-estado {
      display: none;
    }

    .info-estado.active {
      display: block;
    }

    .info-estado h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.75rem;
      font-weight: 400;
      color: var(--navy);
      margin-bottom: 0.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-gold);
    }

    .info-estado .diarios-list {
      list-style: none;
      margin-top: 1.25rem;
    }

    .info-estado .diarios-list li {
      font-size: 0.875rem;
      font-weight: 300;
      color: var(--text-mid);
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .info-estado .diarios-list li::before {
      content: '';
      width: 4px;
      height: 4px;
      background: var(--gold);
      border-radius: 50%;
      flex-shrink: 0;
    }

    .info-placeholder {
      padding: 3rem;
      border: 1px dashed var(--border-gold);
      border-radius: 2px;
      text-align: center;
    }

    .info-placeholder p {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.25rem;
      font-weight: 300;
      color: var(--text-light);
    }

    /* Tribunais Superiores card */
    .superiores-card {
      background: var(--navy);
      padding: 2.5rem;
      border-radius: 2px;
      margin-top: 2rem;
    }

    .superiores-card h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-weight: 300;
      color: var(--gold-light);
      margin-bottom: 1.5rem;
    }

    .superiores-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .sup-tag {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      padding: 0.3rem 0.75rem;
      border: 1px solid rgba(184,154,90,0.3);
      color: rgba(255,255,255,0.6);
      border-radius: 2px;
    }

    /* ── CONTATO ─────────────────────────────────────── */
    #contato {
      background: var(--navy);
    }

    .contato-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: start;
    }

    .contato-left h2 { color: var(--white); }

    .contato-left .section-intro {
      color: rgba(255,255,255,0.5);
      margin-top: 1.5rem;
    }

    .contato-channels {
      margin-top: 3rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contato-channel {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      text-decoration: none;
      color: inherit;
      padding: 1.25rem;
      border: 1px solid rgba(184,154,90,0.2);
      border-radius: 2px;
      transition: border-color 0.2s, background 0.2s;
    }

    .contato-channel:hover {
      border-color: var(--gold);
      background: rgba(184,154,90,0.05);
    }

    .channel-icon {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(184,154,90,0.1);
      border-radius: 2px;
      flex-shrink: 0;
    }

    .channel-icon svg { width: 20px; height: 20px; fill: var(--gold); }

    .channel-label {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.2rem;
    }

    .channel-value {
      font-size: 0.9rem;
      font-weight: 300;
      color: rgba(255,255,255,0.8);
    }

    .contato-right {
      padding: 3rem;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(184,154,90,0.15);
      border-radius: 2px;
    }

    .contato-right h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--white);
      margin-bottom: 2rem;
    }

    .form-group { margin-bottom: 1.25rem; }

    .form-group label {
      display: block;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 2px;
      padding: 0.8rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 300;
      color: var(--white);
      outline: none;
      transition: border-color 0.2s;
      -webkit-appearance: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--gold);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: rgba(255,255,255,0.25);
    }

    .form-group select option { background: var(--navy); color: var(--white); }

    .form-group textarea { resize: vertical; min-height: 120px; }

    .btn-send {
      width: 100%;
      padding: 0.9rem;
      background: var(--gold);
      color: var(--navy);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border: none;
      border-radius: 2px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-send:hover { background: var(--gold-light); }

    /* ── FOOTER ──────────────────────────────────────── */
    footer {
      background: #090f15;
      padding: 2rem 4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(184,154,90,0.1);
    }

    .footer-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: rgba(255,255,255,0.5);
    }

    .footer-brand span { color: var(--gold); }

    .footer-info {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.25);
      letter-spacing: 0.05em;
    }

    /* ── WHATSAPP FLOAT ──────────────────────────────── */
    .whatsapp-float {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 200;
      width: 52px;
      height: 52px;
      background: #25d366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,0.35);
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }

    .whatsapp-float svg { width: 26px; height: 26px; fill: white; }

    /* ── DIVIDER ─────────────────────────────────────── */
    .divider-gold {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      opacity: 0.3;
    }

    /** UL SERVIES **/
    .li-servies{
      font-size: 0.875rem;
      font-weight: 300;
      line-height: 1.75;
      color: var(--text-light);
      transition: color 0.25s;
    }

    /* ── RESPONSIVE ──────────────────────────────────── */
    @media (max-width: 1024px) {
      nav { padding: 0 2rem; }
      .nav-links { gap: 1.5rem; }
      section { padding: 5rem 2rem; }
      .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
      .servicos-grid { grid-template-columns: repeat(2, 1fr); }
      .cobertura-layout { grid-template-columns: 1fr; }
      .mapa-wrapper { position: static; max-width: 400px; }
      .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
      .hero-stats { left: 2rem; right: 2rem; }
      .hero-content { padding: 0 2rem; }
      footer { padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; }
    }

    @media (max-width: 640px) {
      nav { padding: 0 1.5rem; }
      .nav-links { display: none; }
      section { padding: 4rem 1.5rem; }
      .servicos-header { flex-direction: column; }
      .servicos-grid { grid-template-columns: 1fr; }
      h1.hero-title { font-size: 2.4rem; }
      .hero-stats { display: none; }
      .banner-mid { padding: 3rem 1.5rem; }
    }


    /* ── LOGO IMAGE ──────────────────────────────────── */
    .nav-logo {
      display: flex !important;
      align-items: center !important;
      gap: 0.6rem !important;
      text-decoration: none !important;
    }
    .nav-logo-img {
      width: 32px;
      height: 32px;
      object-fit: contain;
      filter: invert(1);
      opacity: 0.88;
      flex-shrink: 0;
    }
    .nav-logo-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 600;
      color: var(--white);
      letter-spacing: 0.04em;
    }
    .nav-logo-text .gold-span { color: var(--gold); }
    .hero-logo-deco {
      position: absolute;
      right: 6%;
      top: 50%;
      transform: translateY(-54%);
      width: clamp(200px, 22vw, 310px);
      pointer-events: none;
      z-index: 1;
    }
    .hero-logo-deco img {
      width: 100%;
      height: auto;
      filter: invert(1) sepia(1) saturate(0.4) brightness(0.65);
      opacity: 0.07;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .footer-logo-img {
      width: 26px; height: 26px;
      object-fit: contain;
      filter: invert(1);
      opacity: 0.3;
    }
    .sobre-visual { position: relative; overflow: visible; }
    .sobre-deco {
      position: absolute;
      bottom: -12px; right: -12px;
      width: 68px; height: 68px;
      pointer-events: none;
      z-index: 0;
    }
    .sobre-deco img { width:100%; height:auto; opacity:0.08; filter:brightness(0); }

    /* ── SCROLL REVEAL ───────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
