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

  /* Acessibilidade & SEO - texto visível apenas para leitores de tela e bots */
  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }

  :root {
    --violet:   #26215C;
    --violet-2: #312878;
    --violet-3: #3D3192;
    --lav:      #7F77DD;
    --lav-lt:   #AFA9EC;
    --lav-xl:   #CECBF6;
    --linen:    #F4F2EE;
    --linen-2:  #EAE7E0;
    --linen-3:  #D8D3C8;
    --gold:     #A8863C;
    --gold-lt:  #C4A054;
    --ink:      #1A1528;
    --ink-2:    #36304E;
    --ink-3:    #6E6890;
    --white:    #FDFCFF;
    --radius:   6px;
    --radius-lg: 12px;
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--linen);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* NAV */
  header {
    position: sticky; top: 0; z-index: 100;
  }
  nav {
    background: rgba(244,242,238,0.93);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--linen-3);
    padding: 0 clamp(20px,5vw,80px);
  }
  .nav-inner { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 32px; }
  .nav-logo { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; flex-shrink: 0; }
  .nav-logo-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 500; color: var(--violet); letter-spacing: .01em; }
  .nav-logo-sub { font-size: 10.5px; font-weight: 400; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
  .nav-links { display: flex; gap: 2px; align-items: center; flex: 1; list-style: none; }
  .nav-links a { font-size: 13px; font-weight: 400; color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: var(--radius); transition: background .15s, color .15s; white-space: nowrap; }
  .nav-links a:hover { background: var(--linen-3); color: var(--violet); }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--violet); color: var(--white) !important;
    font-size: 13px !important; font-weight: 500 !important;
    padding: 8px 18px !important; border-radius: 40px !important;
    transition: background .18s !important; flex-shrink: 0;
  }
  .nav-cta:hover { background: var(--violet-3) !important; }
  .nav-cta-dot { width: 7px; height: 7px; background: var(--lav-lt); border-radius: 50%; flex-shrink: 0; animation: pulse-dot 2s ease-in-out infinite; }
  @keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.35)} }

  /* HERO */
  .hero {
    min-height: calc(100vh - 64px);
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; max-width: 1200px; margin: 0 auto;
    padding: clamp(24px,4vh,48px) clamp(20px,5vw,80px);
    gap: clamp(40px,6vw,80px); position: relative;
  }
  .hero-left { position: relative; }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 22px; opacity: 0; animation: fade-up .6s .1s ease forwards;
  }
  .eyebrow-line { width: 28px; height: 1px; background: var(--gold-lt); }

  .hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px,3.5vw,46px); font-weight: 500;
    line-height: 1.18; color: var(--violet); letter-spacing: -.01em;
    margin-bottom: 20px; opacity: 0; animation: fade-up .7s .22s ease forwards;
  }
  .hero-h1 em { font-style: italic; color: var(--lav); }

  .hero-sub {
    font-size: clamp(14px,1.35vw,16px); font-weight: 300; line-height: 1.7;
    color: var(--ink-2); max-width: 480px; margin-bottom: 32px;
    opacity: 0; animation: fade-up .7s .34s ease forwards;
  }
  .hero-sub strong { font-weight: 500; color: var(--ink); }

  /* Tags de especialidade */
  .hero-tags {
    display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 36px;
    opacity: 0; animation: fade-up .7s .44s ease forwards;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 400; color: var(--violet-2);
    background: rgba(38,33,92,.07); border: 1px solid rgba(38,33,92,.14);
    padding: 5px 11px; border-radius: 40px;
    transition: background .15s, border-color .15s; cursor: default;
  }
  /* .hero-tag:hover { background: rgba(38,33,92,.12); border-color: rgba(38,33,92,.24); }
  .tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lav); flex-shrink: 0; } */

  .hero-tag:hover { background: rgba(38,33,92,.12); border-color: rgba(38,33,92,.24); font-weight: 700; }
  .tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lav); flex-shrink: 0; }

  /* Link dentro de hero-tag: mesmo design e efeito do secondary-link */
  .hero-tag a {
    color: var(--ink-2);
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    line-height: 1.5;
    position: relative;
    transition: color .18s;
    display: inline-flex;
    align-items: center;
  }
  .hero-tag a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink-2);
    transition: width .18s;
  }
  .hero-tag:hover a {
    color: var(--violet);
  }
  .hero-tag:hover a::after {
    width: 100%;
    background: var(--violet);
  }

  /* CTAs */
  .hero-ctas {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
    margin-bottom: 40px; opacity: 0; animation: fade-up .7s .54s ease forwards;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--violet); color: var(--white);
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
    padding: 13px 26px; border-radius: 40px; text-decoration: none;
    border: none; cursor: pointer; transition: background .18s, transform .15s; letter-spacing: .01em;
  }
  .btn-primary:hover { background: var(--violet-3); transform: translateY(-1px); }
  .btn-primary svg { flex-shrink: 0; }
  .btn-whatsapp {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--violet);
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
    padding: 12px 22px; border-radius: 40px; text-decoration: none;
    border: 1.5px solid rgba(38,33,92,.28); cursor: pointer;
    transition: border-color .18s, background .18s, transform .15s;
  }
  .btn-whatsapp:hover { border-color: var(--lav); background: rgba(38,33,92,.05); transform: translateY(-1px); }
  .wpp-icon { width: 18px; height: 18px; background: #25D366; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .wpp-icon svg { display: block; }

  /* Credenciais */
  .hero-creds {
    display: flex; flex-wrap: wrap; gap: 8px;
    opacity: 0; animation: fade-up .7s .64s ease forwards;
  }
  .cred-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 500; color: var(--ink-3);
    background: var(--white); border: 1px solid var(--linen-3);
    padding: 5px 11px; border-radius: var(--radius); letter-spacing: .02em;
  }
  .cred-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); }

  /* DIREITA — cards corretor */
  .hero-right {
    display: flex; flex-direction: column; gap: 16px;
    opacity: 0; animation: fade-in .9s .5s ease forwards;
  }

  /* Card corretor */
  .card-corretor {
    background: var(--white); border: 1px solid var(--linen-3);
    border-radius: var(--radius-lg); padding: 24px;
    position: relative; overflow: hidden;
  }
  .card-corretor::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--violet), var(--lav));
  }
  .corretor-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
  .corretor-photo {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--linen-2); border: 2px solid var(--linen-3); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500;
    color: var(--violet); letter-spacing: .02em;
  }
  .corretor-info { flex: 1; }
  .corretor-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; color: var(--violet); line-height: 1.2; margin-bottom: 4px; }
  .corretor-title { font-size: 12px; font-weight: 400; color: var(--ink-3); line-height: 1.4; }
  .corretor-rating { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
  .stars { display: flex; gap: 1px; color: var(--gold); font-size: 13px; }
  .rating-text { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }

  /* Especialidades */
  .esp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .esp-item {
    display: flex; align-items: center; gap: 8px;
    background: var(--linen); border: 1px solid var(--linen-3);
    border-radius: var(--radius); padding: 9px 11px;
  }
  .esp-icon {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: -.02em;
  }
  .esp-res { background: var(--violet); color: var(--white); }
  .esp-com { background: var(--lav); color: var(--white); }
  .esp-loc { background: var(--gold); color: var(--white); }
  .esp-inv { background: var(--ink-2); color: var(--white); }
  .esp-label { font-size: 11px; font-weight: 400; color: var(--ink-2); line-height: 1.35; }
  .esp-label strong { font-weight: 500; color: var(--ink); display: block; font-size: 12px; }

  /* Stats */
  .stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat-card {
    background: var(--white); border: 1px solid var(--linen-3);
    border-radius: var(--radius-lg); padding: 16px 14px;
    text-align: center; transition: border-color .18s;
  }
  .stat-card:hover { border-color: var(--lav-lt); }
  .stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 500; color: var(--violet); line-height: 1; margin-bottom: 4px; }
  .stat-label { font-size: 11px; font-weight: 400; color: var(--ink-3); line-height: 1.4; }

  /* Card portfólio */
  .card-portfolio {
    background: var(--violet); border-radius: var(--radius-lg);
    padding: 16px 20px; display: flex; align-items: center; gap: 14px;
    text-decoration: none; cursor: pointer;
  }
  .card-portfolio.card-appraiser {
    background: linear-gradient(135deg, var(--violet-2) 0%, var(--violet) 100%);
    margin-top: 12px;
  }
  .port-icon { width: 36px; height: 36px; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .port-text { flex: 1; }
  .port-title { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
  .port-sub { font-size: 11.5px; font-weight: 300; color: rgba(253,252,255,.7); line-height: 1.4; }
  .port-arrow { color: var(--lav-lt); flex-shrink: 0; transition: transform .18s; }
  .card-portfolio:hover .port-arrow { transform: translateX(3px); }

  /* Link secundário - avaliador */
  .secondary-link {
    display: inline-block; text-align: center; margin-top: 24px;
    font-size: 13px; color: var(--ink-2); font-weight: 400; line-height: 1.5;
    text-decoration: none; transition: all .18s;
    position: relative;
  }
  .secondary-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink-2);
    transition: width .18s;
  }
  .secondary-link:hover {
    color: var(--violet);
  }
  .secondary-link:hover::after {
    width: 100%;
  }

  .hero-bg-rule {
    position: absolute; top: 0; right: -80px; width: 1px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--linen-3) 20%, var(--linen-3) 80%, transparent);
    pointer-events: none;
  }

  /* TRUST BAR */
  .trust-bar { background: var(--white); border-top: 1px solid var(--linen-3); border-bottom: 1px solid var(--linen-3); padding: 0 clamp(20px,5vw,80px); }
  .trust-inner { max-width: 1200px; margin: 0 auto; padding: 18px 0; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
  .trust-inner::-webkit-scrollbar { display: none; }
  .trust-item { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 0 28px; border-right: 1px solid var(--linen-3); }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { border-right: none; }
  .trust-icon-wrap { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--lav); }
  .trust-main { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.2; }
  .trust-sub { font-size: 11px; font-weight: 300; color: var(--ink-3); }

  

  /* FORM SECTION */
  
  /* .form-section {
    background: var(--white);
    border-top: 1px solid var(--linen-3);
    padding: clamp(56px,8vw,96px) clamp(20px,5vw,80px);
  } */

  .form-section {
  background: var(--white);
  border-top: 1px solid var(--linen-3);
  padding: 0;  /* remove todo padding da section */
  }

  /* .form-section-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  } */

  /* .form-section-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  } */

  .form-section-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 80px) 0; /* padding só no topo e lados, zero embaixo */
  }
  

  .form-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 16px;
  }
  
  .form-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px,2.5vw,32px); font-weight: 500;
    color: var(--violet); line-height: 1.25;
    margin-bottom: 12px;
  }

  /* .form-sub {
    font-size: 14px; font-weight: 300; line-height: 1.7;
    color: var(--ink-2); margin-bottom: 32px; max-width: 480px;
  } */

.form-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 480px;
  }



  /* .form-frame-wrap {
    width: 100%; display: flex; justify-content: center;
  } */

  .form-frame-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0;   /* garante sem margem embaixo do iframe */
  }


  /* .form-frame-wrap iframe {
    display: block;
    width: 100%; max-width: 800px;
    height: 500px;
    border: none;
  } */

/* .form-frame-wrap iframe {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 500px;
  border: none;
  overflow: hidden;
  scrolling: no;
} */

.form-frame-wrap iframe {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 380px;
  border: none;
  overflow: hidden;
}


  @keyframes fade-up { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
  @keyframes fade-in { from{opacity:0} to{opacity:1} }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
    .hero-right { order: -1; }
    .nav-links { display: none; }
    .hero-bg-rule { display: none; }
  }
  @media (max-width: 540px) {
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-whatsapp { width: 100%; justify-content: center; }
    .esp-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
  }