/* =====================================================================
   GABRIEL MORAES — Avaliações & Perícias Imobiliárias
   Design System Premium  |  Static (HTML/CSS/JS)
   Paleta: Navy profundo, Branco gelo, Grafite, Champagne (dourado),
           Azul petróleo.
   ===================================================================== */

/* ----------------------------  TOKENS  ---------------------------- */
:root {
  /* Cores principais */
  --navy:        #0B1F3A;
  --navy-800:    #0E2645;
  --navy-700:    #143257;
  --navy-600:    #1B3F6B;
  --petrol:      #1F4E5F;
  --petrol-300:  #4E7E8C;

  --ice:         #F6F8FB;
  --ice-200:     #EDF1F7;
  --white:       #FFFFFF;

  --graphite:    #2A2F36;
  --graphite-600:#444B55;
  --graphite-400:#6B7480;
  --line:        #E2E8F0;

  --gold:        #C2A14D;
  --gold-600:    #A98A38;
  --gold-100:    #F3ECD7;

  /* Texto */
  --text:        #1A2332;
  --text-soft:   #4A5568;
  --text-invert: #EAF0F8;

  /* Tipografia */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Espaçamento / raios / sombras */
  --container: 1200px;
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.05);
  --shadow:    0 8px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.16);
  --ring:      0 0 0 3px rgba(31,78,95,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------  RESET  ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }

::selection { background: var(--gold-100); color: var(--navy); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ----------------------------  LAYOUT  ---------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section   { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center    { text-align: center; }
.grid      { display: grid; gap: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--petrol);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow--center { justify-content: center; }

.h-xl { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); max-width: 62ch; }
.muted { color: var(--text-soft); }
.maxw  { max-width: 760px; }
.mx-auto { margin-inline: auto; }

/* ----------------------------  BUTTONS  ---------------------------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg);
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }

.btn--navy    { --bg: var(--navy); --fg: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn--gold    { --bg: var(--gold); --fg: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn--ghost   { --bg: transparent; --fg: var(--navy); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--navy); background: var(--ice); }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--wa      { --bg: #25D366; --fg: #053b1e; border-color: #25D366; }
.btn--wa:hover { background: #1FBF5A; border-color: #1FBF5A; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------------------  HEADER  ---------------------------- */
.topbar {
  background: var(--navy-800); color: var(--text-invert);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--text-invert); opacity: .9; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { opacity: 1; color: var(--gold); }
.topbar svg { width: 15px; height: 15px; }
.topbar__group { display: flex; gap: 22px; align-items: center; }
.topbar__tag { color: var(--gold); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { height: 46px; width: auto; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--navy); letter-spacing: -.01em; }
.brand__sub  { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--petrol); font-weight: 600; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--graphite);
  position: relative; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__menu a:hover { color: var(--navy); background: var(--ice); }
.nav__menu a.active { color: var(--navy); }
.nav__menu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* ----------------------------  HERO  ---------------------------- */
.hero {
  position: relative; color: var(--text-invert); overflow: hidden;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(31,78,95,.55), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(194,161,77,.14), transparent 55%),
    linear-gradient(160deg, #0A1B33 0%, #0B1F3A 45%, #0E2A4C 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(1000px 700px at 70% 20%, #000, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 8vw, 110px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.85rem); }
.hero h1 .accent { color: var(--gold); }
.hero__sub { color: #C9D6E6; font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 22px; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; font-weight: 500; color: #DCE6F2;
}
.chip svg { width: 15px; height: 15px; color: var(--gold); }

/* Hero visual card */
.hero__card {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.15rem; }
.hero__doc {
  background: #fff; color: var(--text); border-radius: 14px; padding: 22px; box-shadow: var(--shadow);
}
.hero__doc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero__seal { width: 42px; height: 42px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.hero__seal svg { width: 22px; height: 22px; }
.hero__doc-rows { margin-top: 16px; display: grid; gap: 11px; }
.hero__row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.hero__row span:first-child { color: var(--text-soft); }
.hero__row span:last-child { font-weight: 600; color: var(--navy); }
.bar { height: 8px; border-radius: 6px; background: var(--ice-200); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--petrol), var(--gold)); border-radius: 6px; }
.hero__stamp {
  position: absolute; right: -14px; bottom: -14px; background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ----------------------------  STATS BAND  ---------------------------- */
.stats {
  background: var(--navy); color: var(--text-invert);
}
.stats .grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 30px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.10); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; font-weight: 600; }
.stat__num .u { color: var(--gold); }
.stat__lbl { font-size: .86rem; color: #AEBED2; margin-top: 6px; }

/* ----------------------------  CARDS / SERVICES  ---------------------------- */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }

.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, var(--ice), var(--ice-200)); color: var(--petrol); margin-bottom: 20px;
  border: 1px solid var(--line);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: linear-gradient(150deg, var(--navy), var(--navy-700)); color: var(--gold); border-color: transparent; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .96rem; flex: 1; }
.card__link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem;
  color: var(--petrol); transition: gap .2s var(--ease), color .2s var(--ease);
}
.card__link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card__link { color: var(--navy); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Soft section */
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy); color: var(--text-invert); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .lead, .bg-navy .muted { color: #BFCDDE; }

/* ----------------------------  AUTHORITY / SPLIT  ---------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--media-first .split__media { order: -1; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
}
.feature__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 3px; }
.feature p { color: var(--text-soft); font-size: .94rem; }

/* Visual panel (no external images required) */
.panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(31,78,95,.5), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff; box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; padding: 32px;
}
.panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(500px 400px at 70% 30%, #000, transparent 75%);
}
.panel__content { position: relative; z-index: 2; }

/* Panel com foto real */
.panel--photo { padding: 0; }
.panel--photo::before { display: none; }
.panel--photo picture, .panel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.panel--photo .panel__content { margin-top: auto; width: 100%; padding: 34px 32px 32px; background: linear-gradient(to top, rgba(9,20,39,.94) 12%, rgba(9,20,39,.55) 55%, rgba(9,20,39,0) 100%); }
.panel__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(194,161,77,.18); border: 1px solid rgba(194,161,77,.4); color: var(--gold); padding: 7px 13px; border-radius: 999px; font-size: .78rem; font-weight: 600; margin-bottom: 16px; }
.panel h3 { font-size: 1.5rem; color: #fff; }
.panel p { color: #C7D4E4; margin-top: 8px; }

/* Pillars (trust) */
.pillars { grid-template-columns: repeat(3, 1fr); }
.pillar {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px; transition: background .3s var(--ease), transform .3s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.pillar__ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(194,161,77,.16); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.pillar__ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.12rem; color: #fff; margin-bottom: 8px; }
.pillar p { color: #BFCDDE; font-size: .93rem; }

/* ----------------------------  PROCESS / STEPS  ---------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n {
  counter-increment: step; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 16px;
}
.step__n::before { content: "0" counter(step); }
.step h4 { font-size: 1.04rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: .9rem; }

/* ----------------------------  AUDIENCE TAGS  ---------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .94rem; color: var(--graphite);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tag:hover { border-color: var(--petrol-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tag svg { width: 18px; height: 18px; color: var(--petrol); }

/* ----------------------------  SERVICE LIST (categorias)  ---------------------------- */
.svc-cat { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; padding: clamp(36px,5vw,56px) 0; border-top: 1px solid var(--line); }
.svc-cat:first-child { border-top: 0; }
.svc-cat__head { position: sticky; top: 110px; }
.svc-cat__tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.svc-items { display: grid; gap: 14px; }
.svc-item {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.svc-item:hover { border-color: var(--petrol-300); box-shadow: var(--shadow-sm); }
.svc-item__tick { width: 26px; height: 26px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.svc-item__tick svg { width: 15px; height: 15px; }
.svc-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.svc-item p { font-size: .9rem; color: var(--text-soft); }

/* ----------------------------  CTA BAND  ---------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(700px 400px at 85% -20%, rgba(31,78,95,.6), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-700));
  color: #fff; padding: clamp(40px, 6vw, 68px); text-align: center;
}
.cta-band::before { content:""; position:absolute; inset:0; opacity:.4; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 80%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #C7D4E4; max-width: 60ch; margin: 14px auto 0; position: relative; }
.cta-band .hero__cta { justify-content: center; position: relative; }

/* ----------------------------  FORM  ---------------------------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  font-size: .98rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .85rem; color: var(--text-soft); margin: 6px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); }
.consent a { color: var(--petrol); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--text-soft); margin-top: 14px; text-align: center; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: #E8F7EE; border: 1px solid #BBE6C9; color: #166534; font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }

/* Contact info column */
.contact-info { display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-item__ic { width: 50px; height: 50px; border-radius: 12px; background: var(--ice); color: var(--petrol); display: grid; place-items: center; border: 1px solid var(--line); }
.contact-item__ic svg { width: 23px; height: 23px; }
.contact-item h4 { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); font-weight: 600; margin-bottom: 2px; }
.contact-item a, .contact-item p { color: var(--navy); font-weight: 600; font-size: 1rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* ----------------------------  FAQ  ---------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--petrol-300); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-600); font-weight: 400; transition: transform .25s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-soft); padding: 0 0 20px; font-size: .98rem; }

/* ----------------------------  BLOG  ---------------------------- */
.posts { grid-template-columns: repeat(3, 1fr); }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post__cover { height: 168px; position: relative; background: linear-gradient(150deg, var(--navy), var(--petrol)); display: grid; place-items: center; }
.post__cover::before { content:""; position:absolute; inset:0; opacity:.5; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.post__cover svg { width: 44px; height: 44px; color: rgba(255,255,255,.85); position: relative; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.post h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post p { color: var(--text-soft); font-size: .92rem; flex: 1; }
.post__meta { margin-top: 16px; font-size: .82rem; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }

/* ----------------------------  BREADCRUMB / PAGE HERO  ---------------------------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(900px 400px at 80% -20%, rgba(31,78,95,.5), transparent 60%), linear-gradient(160deg, #0A1B33, #0E2A4C);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-hero::after { content:""; position:absolute; inset:0; opacity:.45; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(800px 500px at 75% 10%, #000, transparent 80%); }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #C7D4E4; margin-top: 16px; font-size: 1.1rem; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #9FB2C9; margin-bottom: 20px; }
.crumb a:hover { color: var(--gold); }
.crumb span { opacity: .6; }

/* ----------------------------  FOOTER  ---------------------------- */
.site-footer { background: var(--navy-800); color: #B9C7DA; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #B9C7DA; font-size: .95rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; gap: 11px; }
.footer-about p { font-size: .95rem; margin: 16px 0; max-width: 38ch; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.footer-contact a { word-break: break-word; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand__name, .footer-brand .brand__sub { color: #fff; }
.footer-logo { width: 190px; max-width: 62%; height: auto; }
.footer-creci { display: inline-block; margin-top: 14px; font-size: .78rem; letter-spacing: .1em; color: var(--gold); border: 1px solid rgba(194,161,77,.35); border-radius: 999px; padding: 5px 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.footer-social a:hover { border-color: var(--gold); background: rgba(194,161,77,.12); }
.footer-social svg { width: 18px; height: 18px; }

/* ----------------------------  FLOATING WHATSAPP  ---------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 0; background: #25D366; color: #fff;
  padding: 0; border-radius: 999px; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  overflow: hidden; transition: gap .3s var(--ease), padding .3s var(--ease);
}
.wa-float__ic { width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.wa-float__ic svg { width: 30px; height: 30px; }
.wa-float__txt { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .95rem; transition: max-width .35s var(--ease), padding .35s var(--ease); }
.wa-float:hover .wa-float__txt { max-width: 200px; padding-right: 22px; }
.wa-float::after { content:""; position:absolute; inset:0; border-radius:999px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ----------------------------  REVEAL ANIMATION  ---------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ----------------------------  MOBILE NAV PANEL  ---------------------------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); z-index: 70;
  background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .35s var(--ease); padding: 26px; display: flex; flex-direction: column;
  overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.4rem; color: var(--navy); cursor: pointer; }
.mobile-nav a.m-link { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 500; color: var(--navy); }
.mobile-nav a.m-link:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(11,31,58,.4); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 65; }
body.menu-open .scrim { opacity: 1; visibility: visible; }

/* ----------------------------  RESPONSIVE  ---------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 480px; }
  .cards, .posts, .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split--media-first .split__media { order: 0; }
  .svc-cat { grid-template-columns: 1fr; gap: 24px; }
  .svc-cat__head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .topbar { display: none; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .posts, .pillars, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: 100%; }
  .container { padding-inline: 18px; }
  .wa-float__ic { width: 56px; height: 56px; }
}

/* ----------------------------  REDUCED MOTION  ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
