:root {
  --ink: #081b2c;
  --ink-soft: #102a41;
  --royal: #0b243b;
  --royal-2: #102d47;
  --royal-3: #173b58;
  --ivory: #f3efe7;
  --ivory-2: #fbf8f2;
  --stone: #d7d0c5;
  --muted: #716b63;
  --bronze: #aa7b35;
  --bronze-deep: #77501d;
  --line: rgba(170, 123, 53, .44);
  --line-light: rgba(8, 27, 44, .15);
  --danger: #a64545;
  --max-width: 1460px;
  --display: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--royal);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.container {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-fixed {
  position: fixed;
  background: rgba(7, 26, 43, .94);
  backdrop-filter: blur(16px);
  border-color: rgba(170, 123, 53, .28);
}
.header-inner {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(290px, auto) 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark { width: 66px; height: 52px; flex: 0 0 auto; }
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid rgba(243, 239, 231, .42);
  padding-left: 12px;
  line-height: 1.13;
}
.brand-copy strong {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-copy small {
  max-width: 270px;
  margin-top: 5px;
  font-size: .52rem;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 1.7vw, 31px);
}
.main-nav a, .header-cta {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav a { position: relative; opacity: .9; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}
.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(170, 123, 53, .52);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.social-link:hover, .social-link:focus-visible {
  background: rgba(170, 123, 53, .15);
  border-color: rgba(170, 123, 53, .9);
  transform: translateY(-1px);
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.social-link svg circle:last-child { fill: currentColor; stroke: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(195, 150, 79, .82);
  background: linear-gradient(135deg, #a77932, #76501e);
  color: #fff;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.button:hover, .button:focus-visible { filter: brightness(1.1); transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 18px; font-size: .6rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--bronze);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  background: var(--ivory);
  margin: 7px 0;
}

.hero {
  min-height: 810px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: 0;
  background: url("assets/hero-assinatura.jpg") 66% center / cover no-repeat;
  transform: scale(1.01);
}
.hero-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.09) saturate(1.03) brightness(1.01);
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(4, 18, 31, .70) 0%,
      rgba(7, 28, 48, .50) 31%,
      rgba(11, 40, 66, .20) 57%,
      rgba(12, 43, 70, .10) 77%,
      rgba(5, 23, 39, .22) 100%),
    linear-gradient(0deg, rgba(3, 16, 28, .26), rgba(10, 37, 60, .04) 60%, rgba(7, 28, 47, .11));
}
.hero-content { position: relative; z-index: 2; padding-top: 128px; padding-bottom: 54px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 438px;
  gap: 58px;
  align-items: center;
}
.hero-copy {
  position: relative;
  max-width: 760px;
  padding: 34px 38px 36px 0;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -28px -70px -28px -12vw;
  background: linear-gradient(90deg, rgba(4, 18, 31, .24), rgba(4, 18, 31, 0));
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero h1 { max-width: 760px; font-size: clamp(3.65rem, 5.5vw, 6.15rem); }
.hero-text {
  max-width: 595px;
  margin: 24px 0 30px;
  color: rgba(243, 239, 231, .86);
  font-size: 1rem;
  line-height: 1.68;
}
.hero-actions { display: flex; align-items: center; gap: 38px; }

.hero-form-card {
  justify-self: end;
  width: 100%;
  max-width: 438px;
  padding: 30px;
  background: rgba(244, 240, 232, .97);
  color: #12263b;
  border: 1px solid rgba(197, 188, 174, .78);
  box-shadow: 0 24px 58px rgba(4, 17, 29, .28);
  backdrop-filter: blur(5px);
}
.hero-form-card h2 { font-size: 2.15rem; color: #12263b; }
.hero-form-intro { margin: 13px 0 20px; color: #666159; font-size: .92rem; }
.hero-lead-form { display: grid; gap: 11px; }
.hero-form-row { display: grid; grid-template-columns: 172px 1fr; gap: 11px; }
.hero-lead-form input,
.hero-lead-form select {
  width: 100%;
  min-height: 49px;
  padding: 0 13px;
  border: 1px solid #c5bdb1;
  background: rgba(251, 249, 245, .97);
  color: #293e51;
  outline: none;
  border-radius: 0;
}
.hero-lead-form input::placeholder { color: #8a8883; }
.hero-lead-form input:focus,
.hero-lead-form select:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 2px rgba(170, 123, 53, .08);
}
.hero-lead-form input.invalid,
.hero-lead-form select.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(166, 69, 69, .08);
}
.hero-lead-form input:disabled { opacity: .72; cursor: not-allowed; }
.hero-form-submit { width: 100%; margin-top: 2px; }
.privacy-inline {
  margin: 0;
  color: #746e66;
  font-size: .69rem;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}
.form-feedback { margin: 0; color: var(--danger); font-size: .8rem; }

.autocomplete-field { position: relative; min-width: 0; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 150;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(170, 123, 53, .4);
  background: #fbf8f2;
  box-shadow: 0 16px 34px rgba(4, 18, 31, .22);
}
.autocomplete-list.is-open { display: block; }
.autocomplete-option {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(170, 123, 53, .13);
  background: transparent;
  color: #17324a;
  text-align: left;
  cursor: pointer;
}
.autocomplete-option:last-child { border-bottom: 0; }
.autocomplete-option:hover,
.autocomplete-option.is-active { background: rgba(14, 47, 75, .09); color: #092942; }
.autocomplete-empty { padding: 11px 12px; color: #756e65; font-size: .82rem; }
.is-loading {
  background-image: linear-gradient(90deg, transparent, rgba(170, 123, 53, .12), transparent) !important;
  background-size: 200% 100% !important;
  animation: loadingField 1.1s linear infinite;
}
@keyframes loadingField { to { background-position: -200% 0; } }

.section-bordered { border-bottom: 1px solid var(--line); }
.approach {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ivory-2) 0%, var(--ivory) 100%);
  color: var(--ink);
}
.approach-grid {
  min-height: 315px;
  display: grid;
  grid-template-columns: minmax(290px, .95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 40px;
}
.approach-title { padding: 48px 0 44px; }
.approach-title h2 { color: var(--ink); font-size: clamp(2.25rem, 3.2vw, 3.85rem); }
.signature-line { display: block; width: 58px; height: 1px; margin-top: 28px; background: var(--bronze); }
.approach-copy {
  display: flex;
  align-items: center;
  padding: 48px 0 48px 50px;
  border-left: 1px solid rgba(8, 27, 44, .14);
}
.approach-copy p { max-width: 760px; margin: 0; color: rgba(8, 27, 44, .78); }
.approach.section-bordered { border-bottom-color: var(--line-light); }

.services {
  background: linear-gradient(135deg, #071c2f 0%, #0b243b 53%, #0e2b45 100%);
}
.services-layout { display: grid; grid-template-columns: 360px 1fr; min-height: 445px; }
.services-heading { padding: 50px 48px 48px 0; }
.services-heading h2 { max-width: 360px; font-size: clamp(2.45rem, 3.1vw, 3.75rem); }
.services-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 100%;
  padding: 46px 25px 35px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card:last-child { border-right: 0; }
.service-number { color: var(--bronze); font-family: var(--display); font-size: 1.25rem; }
.service-card h3 {
  min-height: 67px;
  margin: 13px 0 12px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.service-card p { margin: 0; color: rgba(243, 239, 231, .70); font-size: .84rem; line-height: 1.58; }
.service-card a { margin-top: auto; padding-top: 18px; color: var(--bronze); font-size: 1.55rem; transition: transform .15s ease; }
.service-card a:hover { transform: translateX(5px); }

.light-section { background: var(--ivory); color: var(--ink); }
.method, .contact { padding: 112px 0; }
.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .72fr;
  gap: 11%;
  align-items: end;
}
.split-heading h2 { max-width: 790px; font-size: clamp(3rem, 4.6vw, 5.3rem); }
.split-heading > p { margin: 0 0 12px; color: #5d5851; font-size: 1rem; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.method-card {
  min-height: 270px;
  padding: 35px 30px;
  border-right: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .48s ease, transform .48s ease;
}
.method-card:last-child { border-right: 0; }
.method-grid.is-visible .method-card { opacity: 1; transform: translateY(0); }
.method-grid.is-visible .method-card:nth-child(1) { transition-delay: .04s; }
.method-grid.is-visible .method-card:nth-child(2) { transition-delay: .18s; }
.method-grid.is-visible .method-card:nth-child(3) { transition-delay: .32s; }
.method-grid.is-visible .method-card:nth-child(4) { transition-delay: .46s; }
.method-card span { color: var(--bronze-deep); font-family: var(--display); font-size: 1.2rem; }
.method-card h3 { margin: 18px 0 11px; font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.1; }
.method-card p { color: #625d55; font-size: .91rem; }

.corporate {
  padding: 112px 0;
  background: linear-gradient(135deg, #071c2f 0%, #0c2943 58%, #12344f 100%);
}
.corporate-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 12%; align-items: end; }
.corporate h2 { max-width: 900px; font-size: clamp(3rem, 4.5vw, 5.3rem); }
.accent-word { color: var(--bronze); }
.corporate-grid > div:last-child p { margin: 0 0 28px; color: rgba(243, 239, 231, .74); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; align-items: start; }
.contact h2 { font-size: clamp(3rem, 4.4vw, 5rem); }
.contact-grid > div > p:last-child { max-width: 590px; color: #5d5851; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #4f4a44;
  font-size: .77rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #91897e;
  background: transparent;
  color: var(--ink);
  padding: 11px 2px;
  border-radius: 0;
  outline: none;
  text-transform: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--bronze-deep); }
.contact-form input.invalid,
.contact-form select.invalid { border-color: var(--danger); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .privacy-inline { color: #746e66; }
.consent {
  flex-direction: row !important;
  align-items: flex-start;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .76rem !important;
}
.consent input { width: auto; margin-top: 5px; }

.site-footer {
  background: linear-gradient(135deg, #061827 0%, #0a2339 55%, #102d47 100%);
  border-top: 1px solid var(--line);
}
.footer-main {
  min-height: 340px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  padding-top: 58px;
  padding-bottom: 58px;
}
.footer-contact,
.footer-information { min-height: 210px; }
.footer-contact { padding-right: 36px; border-right: 1px solid rgba(170, 123, 53, .24); display: flex; flex-direction: column; align-items: flex-start; }
.footer-information { padding-left: 36px; border-left: 1px solid rgba(170, 123, 53, .24); }
.footer-kicker {
  margin: 0 0 20px;
  color: var(--bronze);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer-contact p,
.footer-information p {
  margin: 0 0 18px;
  color: rgba(243, 239, 231, .65);
  font-size: .82rem;
  line-height: 1.7;
}
.footer-contact strong { color: rgba(243, 239, 231, .88); font-weight: 600; }
.footer-specialist-link,
.footer-instagram-link,
.privacy-preferences-link,
.privacy-policy-link {
  display: inline-flex;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--bronze);
  background: transparent;
  color: var(--ivory);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.footer-specialist-link { margin-bottom: 20px; }
.footer-privacy-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-instagram-link { margin-top: 2px; }
.footer-instagram-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 0 20px; border: 1px solid rgba(170, 123, 53, .55); color: var(--ivory); }
.footer-instagram-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-brand { flex-direction: column; justify-content: center; text-align: center; min-width: 245px; }
.footer-brand .brand-mark { width: 82px; height: 66px; }
.footer-brand .brand-copy { border-left: 0; padding-left: 0; align-items: center; margin-top: 13px; }
.footer-brand .brand-copy strong { font-size: 1.45rem; }
.footer-brand .brand-copy small { max-width: 230px; font-size: .5rem; }
.footer-bottom { border-top: 1px solid rgba(170, 123, 53, .23); }
.footer-credit {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(243, 239, 231, .55);
  font-size: .7rem;
  text-align: center;
}
.nxtl-link { display: inline-flex; align-items: center; justify-content: center; min-width: 158px; height: 48px; margin-left: 14px; }
.nxtl-link img { width: 150px; max-height: 46px; object-fit: contain; filter: brightness(0) invert(1); opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Toast */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 116px;
  z-index: 2147483646;
  max-width: min(520px, calc(100vw - 32px));
  padding: 13px 18px;
  border: 1px solid rgba(170, 123, 53, .56);
  background: #0a2238;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .34);
  font-size: .82rem;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.site-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Floating WhatsApp */
#cia-wa-open-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  min-width: 400px;
  height: 70px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 3px solid #b88435;
  border-radius: 70px;
  background: #123d62;
  color: #fff;
  box-shadow: 0 16px 40px rgba(3, 15, 27, .42), 0 0 0 1px rgba(184, 132, 53, .11);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
#cia-wa-open-btn:hover, #cia-wa-open-btn:focus-visible { background: #174b75; transform: translateY(-2px); }
#cia-wa-open-btn.is-footer-hidden { opacity: 0; pointer-events: none; transform: translateY(18px); }
.cia-wa-main-icon { width: 31px; height: 31px; display: inline-flex; flex: 0 0 31px; }
.cia-wa-main-icon svg { width: 31px; height: 31px; fill: #fff; }
#cia-wa-btn-text { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cia-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 13, 23, .68);
  backdrop-filter: blur(3px);
}
.cia-overlay.is-open { display: flex; }
.cia-modal {
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid rgba(170, 123, 53, .36);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .38);
}
.cia-modal-header {
  min-height: 70px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #0b2a45, #071c2f);
  color: #fff;
}
.cia-modal-header strong { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.cia-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}
.cia-modal-body { padding: 23px; }
.cia-modal-body h2 { font-size: 2.05rem; }
.cia-modal-intro { margin: 8px 0 20px; color: #625d56; font-size: .9rem; }
.cia-wa-form { display: grid; gap: 12px; }
.cia-wa-field { position: relative; display: flex; flex-direction: column; gap: 7px; }
.cia-wa-field span { color: #5e5850; font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cia-wa-field input,
.cia-wa-field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #c8c0b4;
  background: #fbf9f4;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.cia-wa-field input:focus,
.cia-wa-field select:focus { border-color: var(--bronze); box-shadow: 0 0 0 2px rgba(170, 123, 53, .08); }
.cia-wa-field input.invalid,
.cia-wa-field select.invalid { border-color: var(--danger); }
.cia-wa-error { min-height: 18px; color: var(--danger); font-size: .76rem; }
.cia-modal-footer {
  min-height: 68px;
  padding: 12px 20px;
  border-top: 1px solid #dcd4c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6d665e;
  font-size: .72rem;
}
.cia-modal-footer img { width: 60px; filter: brightness(0); opacity: .76; }

/* Exit intent */
#cia-exit-popup { z-index: 1200; }
.cia-exit-box {
  position: relative;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid rgba(170, 123, 53, .38);
  box-shadow: 0 24px 68px rgba(0, 0, 0, .4);
  animation: modalIn .22s ease both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.cia-exit-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}
.cia-exit-brand {
  min-height: 300px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #123d62, #071c2f);
  color: #fff;
}
.cia-exit-brand-mark { width: 54px; height: 43px; margin-bottom: 20px; color: var(--bronze); }
.cia-exit-brand-mark svg { width: 100%; height: 100%; display: block; }
.cia-exit-brand h2 { font-size: clamp(2.45rem, 5vw, 3.7rem); }
.cia-exit-brand p { margin: 15px 0 0; color: rgba(255,255,255,.78); font-size: .9rem; }
.cia-exit-content { min-height: 300px; padding: 38px 34px; display: flex; align-items: center; }
.cia-exit-step { width: 100%; }
.cia-exit-step[hidden] { display: none !important; }
.cia-exit-step label { display: block; margin-bottom: 7px; color: var(--bronze-deep); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cia-exit-step input {
  width: 100%;
  height: 48px;
  margin-bottom: 11px;
  padding: 0 12px;
  border: 1px solid #c8c0b4;
  background: #fbf9f4;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.cia-exit-step input:focus { border-color: var(--bronze); }
.cia-exit-step .button { width: 100%; }
.cia-exit-error { display: block; min-height: 18px; margin-top: 6px; color: var(--danger); font-size: .76rem; }
.cia-exit-start p { margin: 0 0 20px; color: #615c54; }
.cia-exit-success { margin: 0; font-family: var(--display); font-size: 1.8rem; color: var(--bronze-deep); text-align: center; }

/* Consentimento */
#privacy-consent {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1300;
  width: min(510px, calc(100vw - 44px));
  display: none;
  border: 1px solid rgba(170, 123, 53, .48);
  background: rgba(8, 28, 47, .97);
  color: #fff;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .38);
  backdrop-filter: blur(14px);
}
#privacy-consent.is-open { display: block; animation: consentIn .25s ease both; }
@keyframes consentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.privacy-actions-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 14px 14px 0;
}
.privacy-actions-top button {
  min-height: 43px;
  border: 1px solid rgba(196, 150, 78, .78);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
#privacy-accept-all { background: linear-gradient(135deg, #a77932, #76501e); color: #fff; }
#privacy-customize { background: transparent; color: #fff; }
.privacy-summary { padding: 14px 17px 16px; }
.privacy-summary strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.privacy-summary p { margin: 0; color: rgba(255,255,255,.72); font-size: .76rem; line-height: 1.5; }
.privacy-panel { display: none; padding: 0 17px 17px; border-top: 1px solid rgba(170, 123, 53, .22); }
.privacy-panel.is-open { display: block; }
.privacy-option {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.privacy-option:last-of-type { border-bottom: 0; }
.privacy-option div strong { font-family: var(--sans); font-size: .76rem; font-weight: 700; }
.privacy-option div small { display: block; color: rgba(255,255,255,.58); font-size: .66rem; }
.privacy-switch { position: relative; width: 42px; height: 23px; flex: 0 0 42px; }
.privacy-switch input { position: absolute; opacity: 0; }
.privacy-switch span {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #52606b;
  cursor: pointer;
  transition: background .18s ease;
}
.privacy-switch span::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}
.privacy-switch input:checked + span { background: var(--bronze); }
.privacy-switch input:checked + span::after { transform: translateX(19px); }
.privacy-switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.privacy-save {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(196, 150, 78, .78);
  background: var(--ivory);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1240px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand-copy small { max-width: 210px; }
  .main-nav { gap: 16px; }
  .services-layout { grid-template-columns: 290px 1fr; }
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(3) { border-right: 0; }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 1020px) {
  .container { width: min(calc(100% - 40px), var(--max-width)); }
  .site-header { position: fixed; background: rgba(7, 26, 43, .95); backdrop-filter: blur(14px); }
  .header-inner { min-height: 78px; grid-template-columns: auto 1fr auto; }
  .brand-mark { width: 52px; height: 42px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .44rem; max-width: 180px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 26px;
    background: rgba(5, 21, 35, .99);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(170, 123, 53, .15); }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 28px; }
  .hero-form-card { max-width: 400px; }
  .approach-grid { grid-template-columns: 1fr; gap: 0; }
  .approach-copy { padding: 26px 0 46px; border-left: 0; border-top: 1px solid rgba(8, 27, 44, .14); }
  .services-layout { grid-template-columns: 1fr; }
  .services-heading { padding-right: 0; }
  .services-list { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-right: 1px solid var(--line); }
  .service-card:nth-child(even) { border-right: 0; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split-heading, .corporate-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-card:nth-child(2) { border-right: 0; }
  .method-card:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: 1; }
  .footer-contact, .footer-information { min-height: 180px; }
}

@media (max-width: 780px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-form-card { justify-self: stretch; max-width: 100%; }
  .hero-copy { padding-bottom: 10px; }
  #cia-wa-open-btn {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    width: calc(100vw - 24px);
    height: 68px;
    padding: 0 18px;
  }
  #privacy-consent { left: 12px; bottom: 90px; width: calc(100vw - 24px); }
  .cia-exit-box { grid-template-columns: 1fr; width: min(500px, 100%); }
  .cia-exit-brand { min-height: auto; padding: 28px 26px; }
  .cia-exit-brand-mark { margin-bottom: 12px; }
  .cia-exit-content { min-height: 230px; padding: 28px 26px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .brand-copy small { display: none; }
  .brand-copy { padding-left: 9px; }
  .header-actions .social-link { width: 36px; height: 36px; }
  .hero-content { padding-top: 104px; padding-bottom: 38px; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(4,18,31,.76), rgba(7,29,49,.48) 68%, rgba(10,38,63,.26));
  }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-text { max-width: 95%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-form-card { padding: 24px 18px; }
  .hero-form-row { grid-template-columns: 1fr; }
  .approach-title { padding: 42px 0 27px; }
  .approach-copy { padding: 28px 0 42px; }
  .services-heading { padding: 42px 0; }
  .services-list { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(even) { border-right: 0; border-top: 1px solid var(--line); min-height: 290px; }
  .service-card:first-child { border-top: 0; }
  .method, .contact, .corporate { padding: 80px 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card,
  .method-card:nth-child(2) { border-right: 0; border-top: 1px solid var(--line-light); }
  .method-card:first-child { border-top: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label,
  .contact-form .full { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; padding-bottom: 48px; }
  .footer-brand { grid-column: auto; grid-row: auto; order: -1; }
  .footer-contact, .footer-information { min-height: 0; padding: 28px 0 0; border-left: 0; border-right: 0; border-top: 1px solid rgba(170, 123, 53, .24); }
  .footer-credit {
  gap: 12px; padding: 16px 0; }
  #cia-wa-btn-text { font-size: 13px; }
  .privacy-actions-top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .method-card { opacity: 1; transform: none; }
}

#privacy-consent .privacy-summary p { margin: 0; color: rgba(243,239,231,.82); font-size: .95rem; line-height: 1.6; }


/* Footer refinement v5 */
.footer-contact { justify-content: flex-start; }
.footer-social-row { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; }
.footer-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid rgba(170, 123, 53, .55); color: var(--ivory); transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.footer-social-icon:hover { transform: translateY(-1px); border-color: rgba(170, 123, 53, .85); background: rgba(170,123,53,.08); }
.footer-social-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-social-icon svg path { fill: currentColor; stroke: none; }
.footer-office { margin-top: 0; }
.footer-office strong { display: inline-block; font-size: 1.05rem; line-height: 1.35; margin-bottom: 4px; color: var(--ivory); }
.footer-office span { display: inline-block; margin-top: 6px; color: rgba(243,239,231,.9); font-size: .9rem; }
.footer-brand { min-width: 320px; }
.footer-brand .brand-mark { width: 108px; height: 88px; }
.footer-brand .brand-copy { margin-top: 16px; }
.footer-brand .brand-copy strong { font-size: 1.9rem; letter-spacing: .05em; }
.footer-brand .brand-copy small { max-width: 310px; font-size: .66rem; line-height: 1.5; letter-spacing: .14em; }
.nxtl-link { min-width: 112px; height: 34px; margin-left: 10px; }
.nxtl-link img { width: 102px; max-height: 30px; object-fit: contain; filter: brightness(0) invert(1); opacity: 1; }

@media (max-width: 960px) {
  .footer-brand { min-width: 260px; }
  .footer-brand .brand-mark { width: 92px; height: 75px; }
  .footer-brand .brand-copy strong { font-size: 1.68rem; }
  .footer-brand .brand-copy small { font-size: .6rem; max-width: 280px; }
}
@media (max-width: 640px) {
  .footer-social-row { margin-bottom: 18px; }
  .footer-social-icon { width: 52px; height: 52px; }
  .footer-brand .brand-mark { width: 88px; height: 72px; }
  .footer-brand .brand-copy strong { font-size: 1.5rem; }
  .footer-brand .brand-copy small { display: block; font-size: .56rem; max-width: 240px; }
  .nxtl-link { min-width: 96px; }
  .nxtl-link img { width: 88px; max-height: 26px; }
}
