/* ==========================================================================
   Simone Leal · Consultoria imobiliária
   Folha de estilo única, mobile first.
   Linguagem: grotesca fina (Inter Tight 300), muito respiro, formas
   arredondadas (arcos, círculos, pílulas), pouca cor.
   TROCAR CORES E FONTES: só nas variáveis abaixo.
   ========================================================================== */

:root {
  --navy: #0F2340;
  --navy-2: #0A182D;
  --navy-soft: #1C3357;
  --gold: #C9A45C;          /* só detalhe: ponto, filete, ícone */
  --gold-soft: #EADBB9;
  --cream: #F3EEE4;         /* fundo principal */
  --cream-2: #EBE4D6;
  --paper: #FBF9F5;
  --slate: #5B6B7F;
  --ink: #0F2340;
  --line: rgba(15, 35, 64, .12);
  --white: #fff;

  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --r-sm: 14px;
  --r: 24px;
  --r-lg: 36px;
  --pill: 999px;
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .5em; }
h3 { font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--pill); }
.skip:focus { left: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }

/* rótulo de seção: pílula discreta (não usar linha + caixa alta) */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: var(--pill); margin-bottom: 22px;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.on-dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

.display { font-size: clamp(40px, 8.4vw, 92px); }
.h2 { font-size: clamp(32px, 5.6vw, 58px); }
.intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); max-width: 34em; }

/* ---------- botões (pílulas) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--pill);
  font: 500 15.5px/1 var(--text); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); }
.btn-line { border-color: rgba(15,35,64,.28); color: var(--navy); background: transparent; }
.btn-line:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); }
.on-dark .btn-line { border-color: rgba(255,255,255,.3); color: #fff; }
.on-dark .btn-line:hover { border-color: #fff; }
.btn-arrow::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 2px; }

/* ---------- cabeçalho em cápsula ---------- */
.site-header { position: sticky; top: 10px; z-index: 80; padding: 10px var(--gutter) 0; }
.bar {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(251, 249, 245, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line); border-radius: var(--pill);
  padding: 8px 8px 8px 22px; box-shadow: 0 8px 30px rgba(15,35,64,.06);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font: 400 19px/1.1 var(--display); letter-spacing: -.02em; }
.brand small { font-size: 11.5px; color: var(--slate); margin-top: 3px; }
.nav { display: none; }
.nav a { text-decoration: none; font-size: 15px; color: var(--navy); padding: 9px 14px; border-radius: var(--pill); transition: background .2s; }
.nav a:hover { background: rgba(15,35,64,.06); }
.nav a[aria-current="page"] { background: rgba(15,35,64,.08); }
.bar .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.bar .cta-desk { display: none; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.menu-btn i, .menu-btn i::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-btn i::before { content: ""; position: absolute; top: 5px; }
.menu-btn i { transform: translateY(-2.5px); }
.nav-open .menu-btn i { transform: translateY(0) rotate(45deg); }
.nav-open .menu-btn i::before { top: 0; transform: rotate(-90deg); }
.drawer {
  display: none; margin: 8px auto 0; max-width: calc(var(--wrap) - 2 * var(--gutter));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; box-shadow: 0 20px 50px rgba(15,35,64,.12);
}
.nav-open .drawer { display: block; }
.drawer a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; padding: 15px 14px; font: 300 24px/1.2 var(--display); letter-spacing: -.02em; border-radius: var(--r-sm); }
.drawer a:hover { background: var(--cream); }
.drawer a::after { content: "↗"; font-size: 16px; color: var(--slate); }
.drawer .btn { width: 100%; margin-top: 10px; font: 500 15.5px var(--text); letter-spacing: 0; }
.drawer .btn::after { content: none; }
@media (min-width: 1020px) {
  .nav { display: flex; gap: 2px; }
  .bar .cta-desk { display: inline-flex; }
  .menu-btn, .drawer { display: none !important; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 7vw, 90px) 0 var(--sec); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .soft { color: var(--slate); }
.hero .intro { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* fusos horários: ela atende em três */
.clocks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.clock {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill);
  padding: 9px 16px; font-size: 13.5px; color: var(--slate);
}
.clock time { font: 400 15px var(--display); color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.clock .dot { width: 6px; height: 6px; border-radius: 50%; background: #3BB273; align-self: center; box-shadow: 0 0 0 4px rgba(59,178,115,.15); }
.clocks-note { width: 100%; font-size: 12.5px; color: var(--slate); margin-top: 4px; padding-left: 4px; }

/* composição de imagens: arco + círculo + selo */
.hero-art { position: relative; width: min(100%, 460px); margin: 0 auto; aspect-ratio: 46 / 56; }
.arch {
  position: absolute; inset: 0 0 0 12%;
  border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--cream-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.orb {
  position: absolute; left: 0; bottom: 8%; width: 38%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 6px solid var(--cream);
  box-shadow: 0 18px 40px rgba(15,35,64,.18);
}
.orb img { width: 100%; height: 100%; object-fit: cover; }
.seal {
  position: absolute; right: -4px; top: 10%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill);
  padding: 10px 16px 10px 12px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(15,35,64,.1); font-size: 13px; line-height: 1.25;
}
.seal b { display: block; font: 500 14px var(--display); letter-spacing: -.01em; }
.seal i { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: var(--gold); font-style: normal; font-size: 13px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .hero-art { width: 100%; margin: 0; }
}

/* ---------- escolha do caminho (alternador) ---------- */
.chooser { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); }
.chooser-top { display: grid; gap: 18px; margin-bottom: 30px; }
.chooser-top h2 { margin: 0; }
.switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px;
  background: var(--cream); border-radius: var(--pill); border: 1px solid var(--line); width: 100%; max-width: 460px;
}
.switch button {
  font: 500 14.5px/1.2 var(--text); color: var(--slate); background: none; border: 0; cursor: pointer;
  padding: 12px 14px; border-radius: var(--pill); transition: background .3s var(--ease), color .3s;
}
.switch button[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { display: grid; gap: 28px; align-items: center; }
.js .panel[hidden] { display: none; }
.panel-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.panel-img img { width: 100%; height: 100%; object-fit: cover; }
.panel h3 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 300; letter-spacing: -.025em; }
.checks { margin: 18px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2340' stroke-width='2.2'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--line);
}
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.no-js-label { font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.js .no-js-label { display: none; }
@media (min-width: 900px) {
  .chooser-top { grid-template-columns: 1fr auto; align-items: end; }
  .panel { grid-template-columns: 1fr 1fr; gap: 56px; }
  .panel + .panel { margin-top: 40px; }
  .js .panel + .panel { margin-top: 0; }
}

/* ---------- rota: onde atua ---------- */
.route-sec { padding: var(--sec) 0; }
.route-head { max-width: 760px; margin-bottom: 48px; }
.route-svg { display: none; width: 100%; height: auto; margin-bottom: -18px; }
.route-svg path { stroke-dasharray: 6 9; }
.places { display: grid; gap: 14px; position: relative; }
.place {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; position: relative;
}
.place .pin { width: 12px; height: 12px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px var(--cream-2); margin-bottom: 18px; }
.place h3 { font-size: 26px; font-weight: 300; margin-bottom: 6px; }
.place .who { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13.5px; padding: 6px 12px; border-radius: var(--pill); background: var(--cream); border: 1px solid var(--line); }
.place-note { font-size: 13px; color: var(--slate); margin: 16px 0 0; }
@media (max-width: 899px) {
  .places::before { content: ""; position: absolute; left: 30px; top: 20px; bottom: 20px; border-left: 1.5px dashed rgba(15,35,64,.25); }
  .place { margin-left: 0; }
}
@media (min-width: 900px) {
  .route-svg { display: block; }
  .places { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- mosaico (diferenciais) ---------- */
.bento { display: grid; gap: 14px; }
.tile { border-radius: var(--r); padding: 30px 26px; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; }
.tile h3 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.tile p { font-size: 15.5px; margin: 0; }
.tile .k { font-size: 13px; margin-bottom: auto; padding-bottom: 28px; opacity: .7; }
.t-navy { background: var(--navy); color: #fff; }
.t-navy p { color: rgba(255,255,255,.72); }
.t-paper { background: var(--paper); border: 1px solid var(--line); }
.t-paper p { color: var(--slate); }
.t-gold { background: var(--gold-soft); }
.t-gold p { color: #4b4636; }
.t-img { padding: 0; min-height: 300px; }
.t-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-img figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(251,249,245,.92); backdrop-filter: blur(8px);
  border-radius: var(--pill); padding: 8px 14px; font-size: 13px;
}
.t-quote { background: var(--cream-2); justify-content: center; }
.t-quote blockquote { margin: 0; font: 300 clamp(22px, 2.6vw, 30px)/1.25 var(--display); letter-spacing: -.02em; }
.t-quote cite { display: block; margin-top: 18px; font: 400 14px var(--text); color: var(--slate); font-style: normal; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
  .b1 { grid-column: span 3; } .b2 { grid-column: span 3; grid-row: span 2; }
  .b3 { grid-column: span 3; } .b4 { grid-column: span 2; } .b5 { grid-column: span 2; } .b6 { grid-column: span 2; }
}

/* ---------- etapas: rolagem lateral ---------- */
.steps-sec { padding: var(--sec) 0; background: var(--navy); color: #fff; border-radius: var(--r-lg); margin: 0 clamp(8px, 1.6vw, 20px); }
.steps-sec .intro { color: rgba(255,255,255,.7); }
.steps-head { display: grid; gap: 20px; margin-bottom: 40px; }
.steps {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.step {
  scroll-snap-align: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 26px 24px 30px; display: flex; flex-direction: column; min-height: 250px;
}
.step .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font: 400 15px var(--display); margin-bottom: auto; }
.step h3 { font-size: 21px; margin: 34px 0 8px; }
.step p { font-size: 15px; color: rgba(255,255,255,.7); margin: 0; }
.steps-hint { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 6px; }
@media (min-width: 900px) {
  .steps-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding: 0; margin: 0; }
  .steps-hint { display: none; }
}

/* ---------- quem é ---------- */
.about-sec { padding: var(--sec) 0; }
.about { display: grid; gap: 40px; align-items: center; }
.about-art { position: relative; max-width: 480px; }
.about-art .main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about-art .main img { width: 100%; height: 100%; object-fit: cover; }
.about-art .mini {
  position: absolute; right: -10px; bottom: -24px; width: 44%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--r-sm) var(--r-sm); overflow: hidden; border: 6px solid var(--cream);
}
.about-art .mini img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 8px; margin: 26px 0 30px; }
.facts li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; }
.facts .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.facts .ic svg { width: 17px; height: 17px; }
.facts small { display: block; color: var(--slate); font-size: 12.5px; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; gap: 96px; } }

/* ---------- artigos ---------- */
.posts-sec { padding: 0 0 var(--sec); }
.sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.sec-row h2 { margin: 0; }
.posts { display: grid; gap: 18px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); margin-bottom: 18px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post-img .cat { position: absolute; left: 12px; top: 12px; color: var(--navy); font-family: var(--text); letter-spacing: 0; background: rgba(251,249,245,.92); border-radius: var(--pill); padding: 6px 12px; font-size: 12.5px; font-weight: 500; }
.post-img.typo { display: grid; place-items: center; color: var(--gold-soft); font: 300 42px var(--display); letter-spacing: -.03em; }
.post h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.post p { font-size: 15px; color: var(--slate); margin: 0; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- perguntas (FAQ) ---------- */
.faq-sec { padding: 0 0 var(--sec); }
.faq { display: grid; gap: 40px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font: 400 18px/1.35 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 300 20px/1 var(--text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); font-size: 16px; padding-bottom: 20px; margin: 0; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* ---------- contato ---------- */
.contact-sec { padding: 0 clamp(8px, 1.6vw, 20px) clamp(8px, 1.6vw, 20px); }
.contact {
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(44px, 7vw, 96px) 0; position: relative; overflow: hidden;
}
.contact::before { /* arco decorativo */
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(201,164,92,.35);
}
.contact::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201,164,92,.2); }
.contact-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
.contact .intro { color: rgba(255,255,255,.72); }
.contact-links { display: grid; gap: 10px; }
.contact-links a {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--pill);
  padding: 10px 22px 10px 10px; transition: background .25s, border-color .25s;
}
.contact-links a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.contact-links .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.contact-links .ic svg { width: 20px; height: 20px; }
.contact-links small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.contact-links span span { font-size: 16.5px; word-break: break-word; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; } }

/* ---------- rodapé ---------- */
.site-footer { padding: 56px 0 120px; font-size: 14.5px; color: var(--slate); }
.foot { display: grid; gap: 32px; }
.foot .brand b { color: var(--navy); }
.foot h4 { font: 500 13px var(--text); letter-spacing: 0; color: var(--navy); margin-bottom: 12px; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; }
.creci { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: 13.5px; font-weight: 500; }
.creci::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; }
.legal p { margin-bottom: .6em; max-width: 72em; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.5fr 1fr 1fr; } .site-footer { padding-bottom: 56px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1FAF55; color: #fff; text-decoration: none; border-radius: var(--pill);
  padding: 8px; box-shadow: 0 10px 28px rgba(15,35,64,.25); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; margin: 7px; }
.wa-float span { display: none; font-size: 14.5px; font-weight: 500; padding-right: 14px; }
@media (min-width: 900px) { .wa-float span { display: inline; } .wa-float svg { margin: 6px 0 6px 8px; } }

/* ---------- entrada suave ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */

/* imagem do país no cartão "Onde atua" */
.place-img {
  margin: -10px -8px 20px; border-radius: 999px 999px var(--r-sm) var(--r-sm); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--cream-2);
}
.place-img img { width: 100%; height: 100%; object-fit: cover; }
.place-img + .pin { display: none; }
.img-note { font-size: 11.5px; color: var(--slate); margin: 14px 0 0; }
@media (max-width: 899px) { .place-img { aspect-ratio: 16 / 11; border-radius: var(--r) var(--r) var(--r-sm) var(--r-sm); } .places.has-img::before { content: none; } }

/* migalhas (breadcrumb) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--slate); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* topo das internas */
.page-hero { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.page-hero .grid { display: grid; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(38px, 7vw, 80px); margin-bottom: 22px; }
.page-hero .intro { margin-bottom: 28px; }
.page-hero .art { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-width: 400px; width: 100%; justify-self: center; background: var(--cream-2); }
.page-hero .art.wide { border-radius: var(--r-lg); aspect-ratio: 4 / 3; max-width: none; }
.page-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { font-size: 13.5px; padding: 7px 14px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line); color: var(--slate); }
@media (min-width: 900px) { .page-hero .grid { grid-template-columns: 1.25fr .75fr; gap: 72px; } .page-hero .grid.even { grid-template-columns: 1fr 1fr; } }

/* "Em resumo": o trecho que Google e IAs costumam citar */
.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px; position: relative;
}
.summary .label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.summary .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.summary p { font: 300 clamp(19px, 2vw, 23px)/1.45 var(--display); letter-spacing: -.01em; margin: 0; }

/* sumário em pílulas */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: transparent; transition: background .2s, border-color .2s; }
.toc a:hover { background: var(--paper); border-color: rgba(15,35,64,.3); }

/* bloco de seção com título à esquerda e conteúdo à direita */
.block { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.block-grid { display: grid; gap: 28px; }
.block-grid > header h2 { font-size: clamp(30px, 4.4vw, 46px); }
.block-grid > header .intro { font-size: 17px; }
@media (min-width: 900px) { .block-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } .block-grid > header { position: sticky; top: 110px; align-self: start; } }

/* texto corrido */
.prose { font-size: 17.5px; line-height: 1.7; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 56px 0 18px; scroll-margin-top: 110px; }
.prose h3 { font-size: 22px; margin: 34px 0 10px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #2D3E57; }
.prose ul, .prose ol { margin: 0 0 1.3em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--navy); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 44px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font: 400 14px var(--display); }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose strong { font-weight: 500; color: var(--navy); }
.prose figure { margin: 34px 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption { font-size: 13.5px; color: var(--slate); margin-top: 10px; }
.note {
  background: var(--gold-soft); border-radius: var(--r); padding: 20px 22px; margin: 28px 0; font-size: 16px;
}
.note p { color: #3F3A2C !important; margin: 0; }
.note b { font-weight: 500; }

/* tabelas */
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 13.5px var(--text); color: var(--slate); background: var(--cream); }
tr:last-child td { border-bottom: 0; }

/* layout de artigo: texto + coluna lateral */
.article { display: grid; gap: 40px; padding-bottom: var(--sec); }
.article aside .sticky { display: grid; gap: 14px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.side-card h4 { font: 400 17px var(--display); margin-bottom: 12px; letter-spacing: -.01em; }
.side-card ol { display: grid; gap: 8px; font-size: 14.5px; counter-reset: s; }
.side-card ol a { text-decoration: none; color: var(--slate); }
.side-card ol a:hover { color: var(--navy); }
.side-cta { background: var(--navy); color: #fff; border: 0; }
.side-cta p { font-size: 14.5px; color: rgba(255,255,255,.75); }
.side-cta .btn { width: 100%; }
@media (min-width: 1020px) {
  .article { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; }
  .article aside .sticky { position: sticky; top: 110px; }
}

/* autora */
.author { display: flex; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 48px; }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.author b { display: block; font: 400 19px var(--display); letter-spacing: -.01em; }
.author p { font-size: 14.5px; color: var(--slate); margin: 4px 0 0; }

/* etapas verticais (hubs) */
.timeline { display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.timeline .n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 400 16px var(--display); }
.timeline h3 { font-size: 20px; margin: 8px 0 6px; }
.timeline p { color: var(--slate); font-size: 15.5px; margin: 0; }

/* cartões de "o que considerar" */
.consider { display: grid; gap: 12px; }
.consider li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; }
.consider h3 { font-size: 19px; margin-bottom: 6px; }
.consider p { color: var(--slate); font-size: 15.5px; margin: 0; }
@media (min-width: 700px) { .consider { grid-template-columns: 1fr 1fr; } }

/* galeria arredondada */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--cream-2); aspect-ratio: 3 / 4; }
.gallery figure:nth-child(3n+1) { border-radius: 999px 999px var(--r) var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 12.5px; background: rgba(251,249,245,.92); border-radius: var(--pill); padding: 6px 12px; text-align: center; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } .gallery figure:nth-child(even) { margin-top: 40px; } }

/* país (hub exterior) */
.country { display: grid; gap: 32px; align-items: start; }
.country .pic { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-2); }
.country .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .country { grid-template-columns: .8fr 1.2fr; gap: 72px; } .country .pic { position: sticky; top: 110px; } }

/* faixa de chamada */
.cta-band { margin: 0 clamp(8px, 1.6vw, 20px) var(--sec); background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -100px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(201,164,92,.3); }
.cta-band .wrap { display: grid; gap: 24px; position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 50px); margin: 0; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.3fr .7fr; align-items: center; } .cta-band .btns { justify-content: flex-end; } }

/* blog: destaque */
.featured { display: grid; gap: 24px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; margin-bottom: 22px; }
.featured .post-img { margin: 0; aspect-ratio: 16 / 10; }
.featured .txt { padding: 10px 14px 18px; align-self: center; }
.featured h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.featured p { color: var(--slate); }
@media (min-width: 900px) { .featured { grid-template-columns: 1.1fr .9fr; gap: 40px; } }

/* contato: montador de mensagem */
.builder { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.builder fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.builder legend { font: 400 19px var(--display); letter-spacing: -.01em; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-block; padding: 10px 16px; border-radius: var(--pill); border: 1px solid rgba(15,35,64,.2); font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.opts input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.builder textarea { width: 100%; min-height: 96px; border-radius: var(--r-sm); border: 1px solid rgba(15,35,64,.2); background: #fff; padding: 14px 16px; font: 400 16px/1.5 var(--text); color: var(--navy); resize: vertical; }
.builder .preview { font-size: 13.5px; color: var(--slate); margin: 14px 0 18px; }
.builder .btn { width: 100%; }
@media (min-width: 600px) { .builder .btn { width: auto; } }
.channels { display: grid; gap: 10px; }
.channels a { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); padding: 10px 22px 10px 10px; transition: border-color .2s; }
.channels a:hover { border-color: rgba(15,35,64,.35); }
.channels .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.channels .ic svg { width: 20px; height: 20px; }
.channels small { display: block; font-size: 12.5px; color: var(--slate); }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { font-size: clamp(48px, 10vw, 120px); }

/* itens de grade não podem esticar além da tela (tabelas largas rolam dentro da caixa) */
.article > *, .country > *, .block-grid > *, .two-col > *, .page-hero .grid > * { min-width: 0; }

/* foto do país no lugar do ponto (cartões "Onde atua") */
.place .pin-img { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--cream-2); box-shadow: 0 0 0 6px var(--cream-2); margin-bottom: 20px; position: relative; z-index: 1; }
.place .pin-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .places::before { left: 68px; top: 40px; } }

/* ==========================================================================
   MOTION · só transform e opacity (leve), tudo desligado em "reduzir movimento"
   ========================================================================== */
@keyframes rise   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes float  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse  { 0% { box-shadow: 0 0 0 0 rgba(59,178,115,.45); } 70% { box-shadow: 0 0 0 9px rgba(59,178,115,0); } 100% { box-shadow: 0 0 0 0 rgba(59,178,115,0); } }
@keyframes ring   { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes drift  { from { transform: scale(1.08) translateX(-2%); } to { transform: scale(1.08) translateX(2%); } }

/* entrada do topo, em cascata */
.hero .tag, .hero h1, .hero .intro, .hero-ctas, .clocks, .page-hero .crumbs, .page-hero .tag, .page-hero h1, .page-hero .intro, .page-hero .summary, .page-hero .toc, .page-hero .meta-row { animation: rise .9s var(--ease) both; }
.hero h1, .page-hero h1 { animation-delay: .08s; }
.hero .intro, .page-hero .intro, .page-hero .summary, .page-hero .meta-row { animation-delay: .18s; }
.hero-ctas, .page-hero .toc { animation-delay: .28s; }
.clocks { animation-delay: .38s; }
.arch, .page-hero .art { animation: unveil 1.4s var(--ease) both; }
.arch img, .page-hero .art img { animation: unveil 2.2s var(--ease) both; }
.orb { animation: rise 1s var(--ease) .5s both, float 7s ease-in-out 1.6s infinite; }
.seal { animation: rise 1s var(--ease) .7s both; }
.clock .dot { animation: pulse 2.4s ease-out infinite; }

/* rota e fotos dos países */
.route-traveler { filter: drop-shadow(0 0 4px rgba(201,164,92,.8)); }
.place .pin-img::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: ring 3s ease-out infinite; pointer-events: none; }
.place:nth-child(2) .pin-img::after { animation-delay: 1s; }
.place:nth-child(3) .pin-img::after { animation-delay: 2s; }
.place .pin-img img { transition: transform 1.2s var(--ease); }
.place:hover .pin-img img { transform: scale(1.12); }
.place { transition: opacity .9s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease); }
.place:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,35,64,.08); }

/* cascata nos grupos que aparecem ao rolar */
.places .reveal:nth-child(2), .bento .reveal:nth-child(2), .posts .reveal:nth-child(2), .faq-list .reveal:nth-child(2) { transition-delay: .12s; }
.places .reveal:nth-child(3), .bento .reveal:nth-child(3), .posts .reveal:nth-child(3), .faq-list .reveal:nth-child(3) { transition-delay: .24s; }
.bento .reveal:nth-child(4), .faq-list .reveal:nth-child(4) { transition-delay: .32s; }
.bento .reveal:nth-child(5) { transition-delay: .4s; }
.bento .reveal:nth-child(6) { transition-delay: .48s; }

/* imagens com leve respiração e zoom ao passar o mouse */
.t-img img { animation: drift 18s ease-in-out infinite alternate; }
.panel-img img, .gallery img, .about-art .main img, .country .pic img { transition: transform 1.2s var(--ease); }
.panel-img:hover img, .gallery figure:hover img, .about-art .main:hover img, .country .pic:hover img { transform: scale(1.04); }
.tile, .step, .consider li, .timeline li { transition: opacity .9s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease), background .3s; }
.tile:hover, .consider li:hover, .timeline li:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,35,64,.07); }
.step:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }

/* alternador: troca de painel com fade */
.js .panel:not([hidden]) { animation: rise .6s var(--ease) both; }

/* círculos decorativos do contato girando devagar */
@keyframes spin { to { transform: rotate(360deg); } }
.contact::before, .cta-band::before { border-style: dashed; animation: spin 60s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .route-traveler { display: none; }
}

/* nome do país grande no meio da foto dos cartões do blog */
.post-img .over {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; text-align: center;
  color: #fff; font: 300 clamp(34px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.03em;
  background: linear-gradient(180deg, rgba(15,35,64,.12) 0%, rgba(15,35,64,.42) 100%);
  text-shadow: 0 2px 24px rgba(15,35,64,.35);
  transition: background .6s var(--ease), letter-spacing .8s var(--ease);
}
.post:hover .post-img .over, .featured:hover .post-img .over { background: linear-gradient(180deg, rgba(15,35,64,.2) 0%, rgba(15,35,64,.55) 100%); letter-spacing: -.015em; }
.post-img .cat { z-index: 1; }
.featured .post-img .over { font-size: clamp(40px, 5vw, 76px); }

/* ==========================================================================
   "Onde atua" v3: cartões grandes com foto e nome do país + rota com aviões
   ========================================================================== */
.route-svg { margin: 0 0 14px; overflow: visible; }          /* não sobrepõe mais os cartões */
.route-traveler { display: none; }

.places::before { content: none !important; }                 /* tira a linha vertical do celular */
.place { padding: 10px; display: flex; flex-direction: column; }
.place-photo { position: relative; border-radius: calc(var(--r) - 6px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.place:hover .place-photo img { transform: scale(1.06); }
.place-photo .over { margin: 0; }
.place-photo .over {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 12px; text-align: center;
  color: #fff; font: 300 clamp(36px, 3.8vw, 58px)/1 var(--display); letter-spacing: -.03em;
  background: linear-gradient(180deg, rgba(15,35,64,.05) 0%, rgba(15,35,64,.38) 100%);
  text-shadow: 0 2px 24px rgba(15,35,64,.4);
  transition: letter-spacing .8s var(--ease), background .6s var(--ease);
}
.place:hover .place-photo .over { letter-spacing: -.015em; background: linear-gradient(180deg, rgba(15,35,64,.12) 0%, rgba(15,35,64,.5) 100%); }
.place-body { padding: 18px 12px 12px; }
.place-body .who { margin-bottom: 14px; }
@media (max-width: 899px) { .place-photo { aspect-ratio: 16 / 12; } .places { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .plane { display: none; } }

/* ícones nas etapas ("Como funciona") */
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.step-top .n { margin-bottom: 0; }
.step-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(201,164,92,.1); transition: transform .6s var(--ease), background .4s; }
.step-ic svg { width: 24px; height: 24px; }
.step:hover .step-ic { transform: rotate(-8deg) scale(1.06); background: rgba(201,164,92,.18); }

/* ==========================================================================
   Internas v2: ícones nas linhas do tempo e cartões, fotos de país com nome
   ========================================================================== */
.timeline li { grid-template-columns: 48px 1fr 46px; align-items: start; }
.tl-ic, .cs-ic { display: grid; place-items: center; border-radius: 50%; color: var(--gold-2, #B38E47); background: rgba(201,164,92,.12); transition: transform .6s var(--ease), background .4s; }
.tl-ic { width: 46px; height: 46px; }
.tl-ic svg, .cs-ic svg { width: 22px; height: 22px; }
.timeline li:hover .tl-ic, .consider li:hover .cs-ic { transform: rotate(-8deg) scale(1.06); background: rgba(201,164,92,.22); }
.cs-ic { width: 44px; height: 44px; margin-bottom: 16px; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 44px 1fr; } .tl-ic { display: none; } }

/* foto do país com o nome no meio (página Investir no exterior) */
.country .pic { position: relative; }
.country .pic .over {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; text-align: center;
  color: #fff; font: 300 clamp(38px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.03em;
  background: linear-gradient(180deg, rgba(15,35,64,.05) 0%, rgba(15,35,64,.4) 100%);
  text-shadow: 0 2px 24px rgba(15,35,64,.4); transition: letter-spacing .8s var(--ease);
}
.country .pic:hover .over { letter-spacing: -.015em; }
.pic-note { position: absolute; left: 14px; bottom: 14px; font-size: 11.5px; color: #fff; background: rgba(15,35,64,.45); backdrop-filter: blur(6px); border-radius: var(--pill); padding: 5px 11px; }

/* ==========================================================================
   Galerias v2: largura toda, formato único, legenda embaixo, carrossel no celular
   ========================================================================== */
.block-stack { display: grid; gap: 36px; }
.block-stack > header { max-width: 760px; }
.block-stack > header h2 { font-size: clamp(30px, 4.4vw, 46px); }
.block-stack .prose { max-width: 760px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure, .gallery figure:nth-child(3n+1), .gallery figure:nth-child(even) {
  margin: 0 !important; aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; scroll-snap-align: start;
}
.gallery img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r);
  background: var(--cream-2); transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.gallery figure:hover img { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,35,64,.12); }
.gallery figcaption {
  position: static; background: none; backdrop-filter: none; border-radius: 0; text-align: left;
  padding: 14px 4px 0; font-size: 14px; color: var(--slate); line-height: 1.4;
}
.gallery figcaption b { display: block; font: 400 18px/1.25 var(--display); letter-spacing: -.01em; color: var(--navy); margin-bottom: 2px; }
@media (min-width: 900px) {
  .gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); gap: 22px; overflow: visible; margin: 0; padding: 0; }
}

/* vídeo em loop dentro do arco */
.art video.loop, .arch video.loop { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--cream-2); }

/* ==========================================================================
   AJUSTES RESPONSIVOS (auditoria 360 / 390 / 768 / 1024)
   ========================================================================== */
.block-stack > *, .block-stack > * > *, .gallery { min-width: 0; }
.brand { min-height: 44px; justify-content: center; }
.brand small, .img-note, .pic-note { font-size: 12px; }
@media (max-width: 420px) {
  .switch { grid-template-columns: 1fr; border-radius: var(--r); max-width: none; }
  .switch button { padding: 13px 14px; }
  .bar { padding-left: 16px; }
  .brand b { font-size: 18px; }
}

/* celular e tablet em pé: foto logo depois do título no topo da Home */
@media (max-width: 959px) {
  .hero-grid { gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero .tag { order: 1; justify-self: start; }
  .hero h1 { order: 2; }
  .hero-art { order: 3; width: min(82%, 400px); margin: 6px auto 34px; }
  .hero .intro { order: 4; }
  .hero-ctas { order: 5; }
  .clocks { order: 6; }
  .seal { right: -2px; top: 8%; padding: 8px 12px 8px 9px; }
  .seal i { width: 26px; height: 26px; font-size: 11px; }
  .orb { width: 36%; border-width: 5px; }
  .page-hero .art { max-width: 320px; }
}
@media (max-width: 420px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* contato v2: etapas, várias escolhas, sub-opções por país */
.builder legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.builder legend small { font: 400 13px var(--text); color: var(--slate); letter-spacing: 0; }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font: 400 13px var(--display); flex: none; }
.opts input[type="checkbox"] + span { padding-left: 36px; position: relative; }
.opts input[type="checkbox"] + span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; border: 1.5px solid rgba(15,35,64,.35); background: #fff; }
.opts input[type="checkbox"]:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2340' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sub { margin: 14px 0 0 6px; padding: 14px 0 2px 16px; border-left: 1.5px dashed rgba(15,35,64,.25); animation: rise .45s var(--ease) both; }
.sub[hidden] { display: none; }
.sub p { font-size: 14px; color: var(--slate); margin: 0 0 10px; }
.sub .opts span { font-size: 14px; padding-top: 8px; padding-bottom: 8px; }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field span { font-size: 14px; color: var(--slate); }
.field input { width: 100%; min-height: 48px; border-radius: var(--pill); border: 1px solid rgba(15,35,64,.2); background: #fff; padding: 0 18px; font: 400 16px var(--text); color: var(--navy); }
.field input:focus, .builder textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.preview-box { margin: 22px 0 16px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--cream); border: 1px dashed rgba(15,35,64,.2); }
.preview-box small { display: block; font-size: 12.5px; color: var(--slate); margin-bottom: 6px; }
.preview-box p { margin: 0; font-size: 15px; color: var(--navy); }
.form-note { font-size: 12.5px; color: var(--slate); margin: 12px 0 0; }

/* tablet (600 a 899px): aproveitar a largura */
.seal i { font-size: 12px !important; }
@media (min-width: 600px) and (max-width: 899px) {
  .place { flex-direction: row; align-items: stretch; gap: 0; }
  .place-photo { flex: 0 0 46%; aspect-ratio: 4 / 5; }
  .place-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; }
  .place-photo .over { font-size: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b1, .bento .b2 { grid-column: span 2; }
  .bento .b2 { min-height: 420px; }
  .hero-art { width: min(64%, 420px); }
  .about { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; }
}

/* menu completo só quando cabe numa linha (abaixo disso, menu compacto) */
.nav a, .bar .btn, .brand b, .brand small { white-space: nowrap; }
@media (min-width: 1020px) and (max-width: 1199px) {
  .nav, .bar .cta-desk { display: none; }
  .menu-btn { display: grid !important; }
  .nav-open .drawer { display: block !important; }
}

/* crédito da agência no rodapé */
.dev-credit { white-space: nowrap; }
.dev-credit a { text-decoration: underline; text-decoration-color: rgba(15,35,64,.25); text-underline-offset: 2px; }
.dev-credit a:hover { color: var(--navy); }

/* bandeirinhas no selo do topo da Home */
.tag-flags { gap: 0; padding: 6px 14px; }
.tag-flags::before { content: none; }
.flag-item { display: inline-flex; align-items: center; gap: 7px; }
.flag-item + .flag-item { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.flag-item img { width: 18px; height: 12px; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(15,35,64,.12); flex: none; }
@media (max-width: 380px) { .flag-item + .flag-item { margin-left: 8px; padding-left: 8px; } .tag-flags { font-size: 12.5px; } }

/* depoimentos */
.testi-sec { padding: 0 0 var(--sec); }
.testis { display: grid; gap: 14px; }
.testi { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; position: relative; }
.testi::before { content: "“"; position: absolute; right: 20px; top: 6px; font: 300 72px/1 var(--display); color: var(--gold-soft); }
.testi blockquote { margin: 0; font: 300 19px/1.45 var(--display); letter-spacing: -.01em; color: var(--navy); position: relative; }
.testi figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); }
.testi figcaption b { font: 500 15px var(--text); color: var(--navy); }
.testi figcaption b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }
@media (min-width: 760px) { .testis { grid-template-columns: repeat(2, 1fr); } .testi:first-child { grid-column: span 2; } .testi:first-child blockquote { font-size: clamp(22px, 2.4vw, 28px); } }
@media (min-width: 1100px) { .testis { grid-template-columns: repeat(3, 1fr); } .testi:first-child { grid-column: span 2; } }
.author img { object-position: center 28%; }

/* aspas dos depoimentos no topo do cartão (antes ficavam por cima do texto) */
.testi { padding-top: 22px; }
.testi::before { position: static; display: block; height: 30px; margin: 0 0 6px -2px; font: 400 64px/1 Georgia, "Times New Roman", serif; color: var(--gold); opacity: .55; }
.testi { justify-content: flex-start; gap: 0; }
.testi blockquote { margin-bottom: 22px; }
.testi figcaption { margin-top: auto; }

/* nota discreta (substitui as caixas "Importante") e chamada da página dos EUA */
.fine-note { font-size: 14px !important; color: var(--slate) !important; border-left: 2px solid var(--gold-soft); padding-left: 14px; margin: 22px 0 0; }
.kicker { font: 400 clamp(19px, 2vw, 23px)/1.35 var(--display) !important; letter-spacing: -.01em; color: var(--navy) !important; margin: -4px 0 22px !important; }

/* 31/10: alternador com 3 objetivos e rodapé mais discreto */
.switch { grid-template-columns: repeat(3, 1fr); max-width: 620px; }
@media (max-width: 620px) { .switch { grid-template-columns: 1fr; border-radius: var(--r); max-width: none; } }
.legal { font-size: 12px; line-height: 1.6; opacity: .85; }
.legal p { max-width: 64em; }
@media (min-width: 900px) { .gallery.g3 { grid-template-columns: repeat(3, 1fr); } }

/* foto da Simone na aba Imóvel em São Paulo: não cortar a cabeça */
#p-sp .panel-img img { object-position: 50% 12%; }

/* selos do rodapé: CRECI + site seguro */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badges .creci { margin-top: 0; }
.creci.secure::before { display: none; }
.creci.secure svg { color: #2f7d4f; flex: none; }

/* ícones dos contatos no rodapé */
.foot a:has(.fic) { display: inline-flex; align-items: center; gap: 9px; }
.foot .fic { flex: none; color: var(--gold); }

/* mini bio: retrato já vem recortado em quadrado */
.author img { object-position: center; }
/* duas fotos lado a lado dentro do texto (casas de Orlando) */
.prose figure.duo > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prose figure.duo img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
