  :root {
    --ink: #1a1208;
    --parchment: #f2ead8;
    --parchment-dark: #e8dcc4;
    --aged: #c8b896;
    --seal-red: #8b1a1a;
    --seal-gold: #9a7b2e;
    --gold-light: #d4a843;
    --faded: #6b5c44;
    --stamp-blue: #1d3557;
    --white-paper: #faf6ed;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background-color: var(--parchment);
    color: var(--ink);
    font-family: 'Courier Prime', monospace;
    overflow-x: hidden;
  }

  /* Grain texture overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.6;
  }

  /* ===== HEADER / NAV ===== */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--ink);
    border-bottom: 3px solid var(--seal-gold);
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

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

  .nav-links a {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    color: var(--aged);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

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

  .nav-contact {
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    color: var(--ink);
    background: var(--gold-light);
    border: none;
    padding: 0.5rem 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
  }

  .nav-contact:hover { background: var(--seal-gold); }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    padding-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
  }

  .hero-left {
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 6rem 5rem;
    position: relative;
    animation: fadeInLeft 1s ease both;
  }

  @keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .hero-left::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--seal-gold), transparent);
  }

  .hero-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s 0.3s ease both;
    opacity: 0;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .stamp-line {
    height: 1px;
    width: 40px;
    background: var(--seal-gold);
  }

  .stamp-text {
    font-size: 0.65rem;
    color: var(--seal-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--parchment);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s 0.5s ease both;
    opacity: 0;
  }

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

  .hero-sub {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: var(--aged);
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 3rem;
    animation: fadeIn 1s 0.7s ease both;
    opacity: 0;
  }

  .hero-decree {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.18rem;
    color: var(--faded);
    border-left: 2px solid var(--seal-red);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s 0.9s ease both;
    opacity: 0;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s 1.1s ease both;
    opacity: 0;
  }

  .btn-primary {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold-light);
    border: none;
    padding: 0.85rem 2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    position: relative;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--seal-gold);
    transition: all 0.2s;
    pointer-events: none;
  }

  .btn-primary:hover { background: var(--seal-gold); transform: translate(-2px, -2px); }
  .btn-primary:hover::after { bottom: -5px; right: -5px; }

  .btn-secondary {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--aged);
    background: transparent;
    border: 1px solid var(--faded);
    padding: 0.85rem 2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }

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

  .hero-right {
    background: var(--white-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease both;
  }

  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .hero-document {
    width: 70%;
    max-width: 380px;
    background: #fff;
    box-shadow: 8px 8px 40px rgba(26,18,8,0.15), -2px -2px 0 var(--aged);
    padding: 2.5rem;
    position: relative;
    transform: rotate(-1deg);
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: rotate(-1deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-10px); }
  }

  .doc-header {
    text-align: center;
    border-bottom: 2px double var(--ink);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }

  .doc-header-top {
    font-family: 'Courier Prime', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faded);
    margin-bottom: 0.3rem;
  }

  .doc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
  }

  .doc-number {
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    color: var(--faded);
    margin-top: 0.2rem;
  }

  .doc-body {
    font-family: 'IM Fell English', serif;
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }

  .doc-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .doc-line {
    height: 1px;
    background: repeating-linear-gradient(to right, var(--aged) 0, var(--aged) 4px, transparent 4px, transparent 8px);
  }

  .doc-seal {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 70px;
    height: 70px;
  }

  .seal-circle {
    width: 70px;
    height: 70px;
    border: 3px solid var(--seal-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139,26,26,0.05);
    position: relative;
  }

  .seal-inner {
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--seal-red);
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }

  .seal-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--seal-red);
    border-radius: 50%;
    opacity: 0.4;
  }

  .doc-stamp {
    position: absolute;
    top: 1rem;
    right: -10px;
    background: var(--stamp-blue);
    color: #fff;
    font-family: 'Courier Prime', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1.2rem;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right center;
  }

  .hero-bg-lines {
    position: absolute;
    inset: 0;
    background-image: 
      repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(200,184,150,0.3) 28px, rgba(200,184,150,0.3) 29px);
    pointer-events: none;
  }

  /* ===== STATS BAR ===== */
  .stats-bar {
    background: var(--seal-gold);
    display: flex;
    justify-content: center;
    gap: 0;
  }

  .stat-item {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(26,18,8,0.2);
    animation: fadeIn 1s 0.2s ease both;
    opacity: 0;
  }

  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.7;
  }

  /* ===== SECTION COMMON ===== */
  section {
    padding: 7rem 5rem;
  }

  .section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-label span {
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--seal-gold);
  }

  .section-label::before {
    content: '§';
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--seal-red);
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  /* ===== QUEM SOMOS ===== */
  #quem-somos {
    background: var(--ink);
    color: var(--parchment);
  }

  #quem-somos .section-title { color: var(--parchment); }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
  }

  .team-card {
    background: rgba(242,234,216,0.05);
    border: 1px solid rgba(154,123,46,0.3);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
  }

  .team-card:hover {
    background: rgba(242,234,216,0.08);
    border-color: var(--seal-gold);
    transform: translateY(-4px);
  }

  .team-card::before {
    content: attr(data-num);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(154,123,46,0.15);
    line-height: 1;
  }

  .team-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(154,123,46,0.2);
    border: 2px solid var(--seal-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--seal-gold);
  }

  .team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--parchment);
    margin-bottom: 0.3rem;
  }

  .team-role {
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--seal-gold);
    margin-bottom: 1rem;
  }

  .team-bio {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.18rem;
    color: var(--aged);
    line-height: 1.8;
  }

  .quem-somos-intro {
    max-width: 600px;
  }

  .quem-somos-intro p {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.12rem;
    color: var(--aged);
    line-height: 1.9;
  }

  /* ===== REGISTROS ===== */
  #tipos-registros {
    background: var(--white-paper);
    position: relative;
  }

  #tipos-registros::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      0deg, transparent, transparent 38px,
      rgba(200,184,150,0.25) 38px, rgba(200,184,150,0.25) 39px
    );
    pointer-events: none;
  }

  .registros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .registro-card {
    background: var(--parchment);
    border-top: 3px solid var(--seal-gold);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s;
    cursor: default;
  }

  .registro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26,18,8,0.12);
  }

  .registro-icon {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--seal-red);
    margin-bottom: 1rem;
    line-height: 1;
  }

  .registro-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.7rem;
  }

  .registro-desc {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    color: var(--faded);
    line-height: 1.7;
  }

  .registro-number {
    position: absolute;
    bottom: 1rem;
    right: 1.2rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    color: var(--aged);
    letter-spacing: 0.1em;
  }

  /* ===== SERVICOS ===== */
  #servicos {
    background: var(--parchment-dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .servicos-left .section-title { max-width: 400px; }

  .servicos-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .servico-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--aged);
    align-items: flex-start;
  }

  .servico-num {
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    color: var(--seal-gold);
    letter-spacing: 0.1em;
    padding-top: 0.2rem;
    flex-shrink: 0;
    width: 30px;
  }

  .servico-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }

  .servico-content p {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    color: var(--faded);
    line-height: 1.7;
  }

  .servicos-right {
    position: relative;
  }

  .big-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 900;
    font-style: italic;
    color: rgba(26,18,8,0.06);
    line-height: 1;
    user-select: none;
    position: absolute;
    top: -2rem;
    right: 0;
  }

  .servicos-feature {
    background: var(--ink);
    color: var(--parchment);
    padding: 3rem;
    position: relative;
    z-index: 1;
  }

  .feature-tag {
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--seal-gold);
    margin-bottom: 1.5rem;
  }

  .feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .feature-body {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.18rem;
    color: var(--aged);
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .feature-badges {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .badge {
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--seal-gold);
    color: var(--seal-gold);
    padding: 0.3rem 0.8rem;
  }

  /* ===== DIGITALIZACAO ===== */
  #digitalizacao {
    background: var(--ink);
    color: var(--parchment);
    position: relative;
    overflow: hidden;
  }

  #digitalizacao::before {
    content: 'DECRETO\A10.278';
    white-space: pre;
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(154,123,46,0.06);
    line-height: 1;
    pointer-events: none;
    text-align: center;
  }

  .dig-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
    align-items: start;
  }

  .dig-text p {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.28rem;
    color: var(--aged);
    line-height: 1.9;
    margin-bottom: 1.5rem;
  }

  .dig-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .benefit-dot {
    width: 8px;
    height: 8px;
    background: var(--seal-gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4rem;
  }

  .benefit h4 {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
  }

  .benefit p {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    color: var(--faded);
    line-height: 1.6;
  }

  .dig-process {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(154,123,46,0.2);
    align-items: flex-start;
    transition: all 0.2s;
  }

  .process-step:last-child { border-bottom: none; }

  .step-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(154,123,46,0.3);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
  }

  .step-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--parchment);
    margin-bottom: 0.4rem;
  }

  .step-content p {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    color: var(--faded);
    line-height: 1.6;
  }

  /* ===== CTA ===== */
  #contato {
    background: var(--white-paper);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  #contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      0deg, transparent, transparent 38px,
      rgba(200,184,150,0.3) 38px, rgba(200,184,150,0.3) 39px
    );
    pointer-events: none;
  }

  .cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
  }

  .cta-seal {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
  }

  .cta-seal-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--seal-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin 20s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .cta-seal-inner {
    animation: spin-reverse 20s linear infinite;
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--seal-red);
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }

  @keyframes spin-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
  }

  .cta-seal-circle::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid var(--seal-red);
    border-radius: 50%;
    opacity: 0.3;
  }

  .cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 1rem;
  }

  .cta-sub {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.32rem;
    color: var(--faded);
    line-height: 1.8;
    margin-bottom: 3rem;
  }

  .cta-contact-box {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--ink);
    padding: 2.5rem 3.5rem;
    margin-bottom: 2rem;
  }

  .contact-label {
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--seal-gold);
    margin-bottom: 0.3rem;
  }

  .contact-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--parchment);
    text-decoration: none;
    transition: color 0.2s;
  }

  .contact-link:hover { color: var(--gold-light); }

  /* ===== FOOTER ===== */
  footer {
    background: var(--ink);
    border-top: 1px solid rgba(154,123,46,0.3);
    padding: 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-light);
  }

  .footer-copy {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: var(--faded);
    letter-spacing: 0.1em;
  }

  .footer-decree {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: var(--faded);
    letter-spacing: 0.08em;
    border: 1px solid rgba(154,123,46,0.2);
    padding: 0.4rem 0.8rem;
  }

  /* ===== SCROLL ANIMATION ===== */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    nav {
      padding: 0 1rem;
      height: 56px;
    }

    .nav-links {
      display: none;
    }

    .nav-brand {
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    .nav-contact {
      display: none;
    }

    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .hero-left {
      padding: 4rem 1.5rem 3rem;
    }

    .hero-right {
      display: none;
    }

    .hero-title {
      font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .hero-sub {
      max-width: 100%;
    }

    .hero-decree {
      font-size: 1.02rem;
      line-height: 1.6;
      max-width: 100%;
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      width: min(100%, 340px);
    }

    .btn-primary,
    .btn-secondary {
      width: 100%;
      text-align: center;
      padding: 0.85rem 1rem;
    }

    .stats-bar {
      flex-wrap: wrap;
    }

    .stat-item {
      flex: 1 1 50%;
      max-width: none;
      border-bottom: 1px solid rgba(26,18,8,0.2);
    }

    .stat-item:nth-child(2n) {
      border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
      border-bottom: none;
    }

    section {
      padding: 4.5rem 1.5rem;
    }

    .section-title {
      font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .team-grid,
    .registros-grid,
    .dig-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }

    .team-card {
      padding: 2rem 1.4rem;
    }

    .team-card::before {
      font-size: 2.2rem;
      top: 1rem;
      right: 1rem;
    }

    .team-bio {
      font-size: 1.02rem;
    }

    .quem-somos-intro p {
      font-size: 1.02rem;
    }

    .registros-grid {
      margin-top: 2.5rem;
    }

    .registro-card {
      padding: 1.8rem 1.3rem 2.4rem;
    }

    #servicos {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .big-text {
      font-size: clamp(3rem, 20vw, 5.5rem);
      top: -1rem;
    }

    .servicos-feature {
      padding: 2rem 1.3rem;
    }

    .feature-body {
      font-size: 1.02rem;
    }

    #digitalizacao::before {
      display: none;
    }

    .dig-grid {
      margin-top: 2.5rem;
      gap: 2rem;
    }

    .dig-text p {
      font-size: 1.06rem;
    }

    .benefit h4,
    .benefit p,
    .step-content p,
    .servico-content p {
      font-size: 0.9rem;
    }

    .process-step {
      gap: 1rem;
      padding: 1.5rem 0;
    }

    .step-num {
      width: 30px;
      font-size: 1.6rem;
    }

    .cta-title {
      font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .cta-sub {
      font-size: 1.05rem;
      margin-bottom: 2rem;
    }

    .cta-contact-box {
      display: flex;
      width: min(100%, 520px);
      padding: 1.5rem 1rem;
      margin-left: auto;
      margin-right: auto;
    }

    .contact-link {
      font-size: 1.05rem;
      line-height: 1.35;
      word-break: break-word;
    }

    footer {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
      padding: 1.5rem;
    }
  }

  @media (max-width: 600px) {
    nav {
      padding: 0 0.75rem;
    }

    .nav-brand {
      font-size: 0.68rem;
      letter-spacing: 0.04em;
    }

    .hero-left {
      padding: 3.4rem 1rem 2.5rem;
    }

    .hero-title {
      font-size: clamp(1.9rem, 10vw, 2.5rem);
      line-height: 1.1;
    }

    .hero-sub {
      font-size: 0.8rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    .hero-decree {
      font-size: 0.94rem;
      margin-bottom: 2rem;
    }

    .stamp-text {
      letter-spacing: 0.16em;
      font-size: 0.6rem;
    }

    .stamp-line {
      width: 24px;
    }

    .stat-item {
      padding: 1.4rem 0.9rem;
    }

    .stat-number {
      font-size: 1.8rem;
    }

    .stat-label {
      font-size: 0.58rem;
      letter-spacing: 0.1em;
    }

    section {
      padding: 3.8rem 1rem;
    }

    .section-label span {
      letter-spacing: 0.16em;
      font-size: 0.58rem;
    }

    .section-title {
      font-size: clamp(1.55rem, 9vw, 2rem);
      line-height: 1.15;
    }

    .team-card,
    .registro-card,
    .servicos-feature {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .team-role {
      letter-spacing: 0.12em;
    }

    .team-bio,
    .quem-somos-intro p,
    .feature-body,
    .dig-text p,
    .cta-sub {
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .servico-item {
      gap: 0.9rem;
    }

    .servico-num {
      width: 24px;
    }

    .big-text {
      font-size: clamp(2.4rem, 19vw, 4rem);
      top: -0.6rem;
    }

    .benefit h4,
    .step-content h4,
    .servico-content h4 {
      font-size: 0.92rem;
    }

    .cta-seal {
      margin-bottom: 1.6rem;
    }

    .cta-contact-box {
      padding: 1.2rem 0.8rem;
      margin-bottom: 1.5rem;
    }

    .contact-label {
      letter-spacing: 0.12em;
      font-size: 0.55rem;
    }

    .contact-link {
      font-size: 0.95rem;
    }

    .footer-brand,
    .footer-copy,
    .footer-decree {
      font-size: 0.75rem;
    }
  }
