:root {
  --font-main: "Segoe UI", Roboto, Arial, system-ui, sans-serif;
  --container: 1160px;
  --readable: 700px;
  --legal: 880px;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-alt: #eef2f5;
  --text: #111824;
  --muted: #4b5966;
  --line: #d7dde3;
  --navy: #111824;
  --gold: #caa75e;
  --gold-dark: #7c5d23;
  --microcopy-light: #5f6b78;
  --text-soft-dark: #d7e0e7;
  --whatsapp: #167a4a;
  --whatsapp-dark: #0f5e39;
  --focus: #f2c15b;
  --radius-sm: 8px;
  --radius-button: 5px;
  --section-padding-mobile: 76px;
  --section-padding-desktop: 96px;
  --container-padding-mobile: 24px;
  --container-padding-desktop: 32px;
  --card-gap: 28px;
  --shadow-soft: 0 18px 48px rgba(17, 24, 36, .11);
  --shadow-card: 0 8px 28px rgba(17, 24, 36, .08);
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--gold-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--container-padding-mobile) * 2), var(--container));
  margin-inline: auto;
}

.narrow-container {
  max-width: 880px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 24, 36, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.header-inner,
.legal-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-8);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  justify-content: center;
  color: #e8edf2;
  font-size: .95rem;
}

.site-nav a,
.nav-dropdown-toggle {
  color: #e8edf2;
  text-decoration: none;
}

.site-nav a:hover,
.nav-dropdown-toggle:hover {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 60;
  width: min(640px, 86vw);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
  background: rgba(13, 19, 29, .98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  padding: 11px 12px;
  border-radius: var(--radius-button);
  color: #e8edf2;
  line-height: 1.25;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(202, 167, 94, .1);
  color: var(--gold);
}

.header-cta,
.footer-whatsapp {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius-button);
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .12);
}

.header-cta:hover,
.footer-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  overflow: clip;
  background: var(--navy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(202, 167, 94, .16), transparent 32%, rgba(255, 255, 255, .04));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: var(--space-12);
  align-items: stretch;
  padding-block: var(--space-16) 0;
}

.home-hero .hero-grid {
  min-height: 760px;
  grid-template-columns: minmax(0, .98fr) minmax(320px, 1.02fr);
  gap: var(--space-16);
}

.service-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr);
  padding-top: var(--space-10);
}

.hero-copy {
  max-width: 700px;
  padding-bottom: var(--space-16);
  align-self: center;
}

.eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--gold-dark);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.hero .eyebrow,
.dark-section .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.hero p {
  color: #dce4ea;
}

.hero-subtitle,
.section-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.48;
  color: inherit;
}

.hero-subtitle {
  max-width: 680px;
  margin: var(--space-5) 0 var(--space-4);
  color: #fff;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: grid;
  gap: var(--space-3);
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
  color: inherit;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: .55em;
  box-shadow: 0 0 0 5px rgba(202, 167, 94, .14);
}

.hero .check-list li {
  color: #edf2f5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-8);
}

.button,
.button:visited {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 36, .14);
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-whatsapp,
.button-whatsapp:visited {
  background: var(--whatsapp);
  color: #fff;
}

.button-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.hero .button-secondary,
.dark-section .button-secondary {
  background: rgba(255, 255, 255, .09);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: .92rem;
}

.microcopy {
  margin-top: var(--space-4);
  color: var(--microcopy-light);
  font-size: .9rem;
}

.hero .microcopy,
.dark-section .microcopy {
  color: var(--text-soft-dark);
}

.center,
.center-cta {
  text-align: center;
  justify-content: center;
}

.center-cta {
  display: flex;
  margin-top: var(--space-10);
}

.hero-portrait {
  min-height: 460px;
  display: flex;
  align-items: end;
  justify-content: center;
  align-self: end;
  height: 100%;
  margin-bottom: 0;
}

.hero-portrait img {
  width: min(108%, 620px);
  max-height: min(720px, 84vh);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, .32));
  margin-bottom: 0;
}

.home-portrait img {
  width: min(118%, 690px);
  max-height: min(780px, 88vh);
}

.service-portrait,
.portrait-card {
  margin: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.service-portrait img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: rgba(255, 255, 255, .04);
  border-radius: 6px;
}

.service-portrait figcaption,
.portrait-card figcaption {
  margin-top: var(--space-3);
  color: #c6d0d8;
  font-size: .86rem;
}

.portrait-card {
  position: relative;
  max-width: 460px;
  min-height: 560px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: var(--space-5) var(--space-5) 0;
  background: #101924;
  color: #fff;
}

.portrait-card img {
  width: 100%;
  max-height: 535px;
  flex: 1 1 auto;
  object-fit: contain;
  object-position: center bottom;
  margin-top: auto;
  margin-bottom: 0;
}

.portrait-card figcaption {
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-4);
  width: fit-content;
  max-width: calc(100% - var(--space-10));
  margin-top: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-button);
  background: rgba(13, 19, 29, .78);
  color: #fff;
  backdrop-filter: blur(10px);
}

.service-portrait-clean {
  position: relative;
  min-height: 470px;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.service-portrait-clean::before {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 167, 94, .22), transparent 65%);
  filter: blur(18px);
  z-index: 0;
}

.service-portrait-clean img {
  position: relative;
  z-index: 1;
  width: min(112%, 620px);
  max-height: min(700px, 82vh);
  object-fit: contain;
  object-position: bottom center;
}

.section {
  padding-block: var(--section-padding-mobile);
}

.muted-section {
  background: var(--surface-alt);
}

.dark-section {
  background: var(--navy);
  color: #fff;
}

.dark-section p {
  color: #d1dbe3;
}

.section-heading {
  max-width: var(--readable);
  margin-bottom: var(--space-12);
}

.section-heading:not(.left) {
  text-align: center;
  margin-inline: auto;
}

.section-heading p {
  margin-bottom: 0;
}

.section-heading::after,
.section-copy h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-heading.left::after,
.section-copy h2::after {
  margin-left: 0;
  margin-right: auto;
}

.service-page #confianca .section-heading,
.service-page #duvidas .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.service-page #confianca .section-heading::after,
.service-page #duvidas .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

.section-split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--space-12);
  align-items: center;
}

.align-start {
  align-items: start;
}

.narrow {
  max-width: 620px;
}

.card-grid,
.services-grid,
.metric-grid,
.process-grid,
.compact-stack {
  display: grid;
  gap: var(--card-gap);
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-stack {
  grid-template-columns: 1fr;
}

.info-card,
.service-card-link {
  min-height: 100%;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.info-card:hover,
.service-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
  border-color: rgba(202, 167, 94, .55);
}

.icon-card {
  text-align: center;
}

.services-grid .info-card,
.process-grid .info-card,
.card-grid .info-card.icon-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-grid .info-card {
  min-height: 190px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(202, 167, 94, .35);
  border-radius: 12px;
  color: var(--gold-dark);
  background: rgba(202, 167, 94, .08);
}

.dark-section .card-icon {
  color: var(--gold);
  background: rgba(202, 167, 94, .12);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card p {
  margin-bottom: 0;
  font-size: .98rem;
}

.info-card h3 + p {
  margin-top: var(--space-3);
}

.service-card-link > span:not(.card-icon) {
  display: inline-block;
  margin-top: var(--space-4);
  color: var(--gold-dark);
  font-size: .92rem;
  font-weight: 800;
}

.service-card-link:hover {
  color: var(--text);
}

.dark-cards .info-card,
.dark-section .info-card,
.quiet-panel {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: none;
}

.dark-cards .info-card:hover,
.dark-section .info-card:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.dark-cards .info-card p,
.dark-section .info-card p,
.quiet-panel p {
  color: #d5dfe7;
}

.quiet-panel,
.quote-panel {
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, .15);
}

.quote-panel {
  background: var(--navy);
  color: #fff;
}

.quote-panel p {
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.45;
}

.desktop-only {
  display: none;
}

.risk-panel {
  min-height: 100%;
  overflow: hidden;
}

.risk-panel p {
  position: relative;
  z-index: 1;
}

.risk-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 280px);
  aspect-ratio: 1.42;
  display: grid;
  place-items: center;
  margin: var(--space-7) auto 0;
  overflow: hidden;
}

.risk-visual::after {
  content: "";
  position: absolute;
  inset: 8% -40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
  opacity: .36;
  transform: translateX(-60%);
  animation: risk-shimmer 7s ease-in-out infinite;
}

.risk-shield-clock {
  width: 100%;
  max-width: 310px;
  color: #f0dca8;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(202, 167, 94, .18));
  animation: risk-float 5.4s ease-in-out infinite, risk-glow 5.4s ease-in-out infinite;
}

.risk-shield-clock path,
.risk-shield-clock circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes risk-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes risk-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 13px rgba(202, 167, 94, .16));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(202, 167, 94, .25));
  }
}

@keyframes risk-shimmer {
  0%,
  24% {
    transform: translateX(-60%);
  }

  62%,
  100% {
    transform: translateX(60%);
  }
}

.final-cta {
  background: #fff;
}

.final-cta-inner {
  max-width: 860px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: var(--space-16) var(--space-8);
  box-shadow: var(--shadow-soft);
}

.final-cta-inner p {
  color: #d8e1e8;
}

.final-cta-inner .check-list {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button span {
  color: var(--gold-dark);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-panel p {
  margin-top: 0;
}

.related-links {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.related-links p {
  width: 100%;
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.related-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: #fff;
  text-decoration: none;
  font-size: .93rem;
}

.breadcrumb {
  position: relative;
  padding-top: var(--space-6);
  display: flex;
  gap: 10px;
  color: #cbd5dd;
  font-size: .92rem;
}

.breadcrumb a {
  color: #fff;
}

.site-footer {
  padding-top: var(--space-16);
  background: #0d131d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: var(--space-10);
}

.footer-logo {
  width: 220px;
  margin-bottom: var(--space-5);
}

.site-footer p,
.site-footer a {
  color: #c9d2dc;
}

.site-footer h2 {
  margin-bottom: var(--space-4);
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-whatsapp {
  width: fit-content;
  margin-top: var(--space-3);
  color: #fff !important;
}

.footer-area-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px !important;
}

.footer-area-links a {
  font-size: .93rem;
  line-height: 1.35;
  font-weight: 500;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom {
  margin-top: var(--space-10);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
}

.legal-header {
  background: #111824;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.legal-header-inner {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.legal-home-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.legal-main {
  padding-bottom: var(--space-16);
  background: var(--bg);
}

.legal-content {
  max-width: var(--legal);
}

.legal-breadcrumb {
  padding-top: var(--space-10);
  color: var(--muted);
}

.legal-breadcrumb a {
  color: var(--text);
}

.legal-title-block {
  padding: var(--space-10) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}

.legal-title-block h1 {
  color: var(--text);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.updated {
  color: var(--muted);
  font-size: .95rem;
}

.legal-intro {
  padding-top: var(--space-6);
}

.legal-summary {
  margin: var(--space-8) 0 var(--space-12);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-summary h2 {
  font-size: 1.08rem;
}

.legal-summary a {
  color: var(--text);
}

.legal-article section {
  padding-top: var(--space-8);
  scroll-margin-top: 92px;
}

.legal-article h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-article ul {
  color: var(--muted);
  line-height: 1.7;
}

.pending-inline {
  padding: 2px 6px;
  border: 1px solid #ead38c;
  border-radius: 6px;
  background: #fff5d8;
  color: #7a4f00;
}

.legal-end-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-12);
}

.legal-footer {
  padding-block: var(--space-12);
  background: #0d131d;
  color: #fff;
}

.legal-footer p,
.legal-footer a {
  color: #c9d2dc;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

@media (max-width: 1180px) {
  .card-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .container {
    width: min(100% - (var(--container-padding-desktop) * 2), var(--container));
  }

  .section {
    padding-block: var(--section-padding-desktop);
  }

  .service-page #riscos .two-column {
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    align-items: stretch;
  }

  .service-page #riscos .section-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-page .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .risk-panel {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: var(--space-8);
    min-height: 100%;
    padding: clamp(40px, 5vw, 64px);
  }

  .desktop-only {
    display: block;
  }

  .risk-visual {
    width: min(100%, 340px);
    margin-top: var(--space-6);
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--space-3);
  }

  .brand img {
    width: 156px;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-5);
    background: #111824;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .site-nav a,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 var(--space-4);
    background: rgba(255, 255, 255, .04);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-dropdown-menu::before {
    content: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    margin-left: auto;
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero-grid,
  .home-hero .hero-grid,
  .service-hero .hero-grid,
  .section-split,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-portrait {
    min-height: 360px;
  }

  .hero-portrait img {
    max-height: 520px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-card {
    max-width: 380px;
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - (var(--container-padding-mobile) * 2), var(--container));
  }

  .section {
    padding-block: var(--section-padding-mobile);
  }

  .hero-grid {
    padding-block: var(--space-12) 0;
    gap: var(--space-10);
  }

  .hero-copy,
  .section-heading,
  .section-heading.left,
  .section-copy,
  .two-column > div:first-child,
  .quiet-panel {
    text-align: center;
    margin-inline: auto;
  }

  .section-heading {
    margin-bottom: var(--space-10);
  }

  .section-heading::after,
  .section-heading.left::after,
  .section-copy h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle,
  .section-subtitle {
    line-height: 1.58;
  }

  p {
    line-height: 1.72;
  }

  .check-list {
    gap: var(--space-4);
    margin-block: var(--space-8);
  }

  .hero-copy .check-list,
  .section-copy .check-list,
  .two-column > div:first-child .check-list,
  .final-cta-inner .check-list {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  main .check-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  main .check-list li {
    text-align: left;
  }

  .hero .hero-copy {
    text-align: left;
    align-items: flex-start;
    margin-inline: 0;
  }

  .hero .eyebrow,
  .hero h1,
  .hero p,
  .hero .hero-subtitle,
  .hero .microcopy {
    text-align: left;
  }

  .hero .button-row {
    justify-content: flex-start;
  }

  .hero .button-row .button {
    margin-left: 0;
    margin-right: auto;
  }

  .hero .hero-copy .check-list {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 2.75rem);
  }

  .button-row,
  .center-cta,
  .legal-end-actions {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-6);
  }

  .button-row .button,
  .center-cta .button {
    width: 100%;
    max-width: 360px;
  }

  main .button-whatsapp {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .service-page #riscos .risk-panel {
    display: grid;
    justify-items: center;
    min-height: auto;
    padding: var(--space-10) var(--space-6);
  }

  .service-page #riscos .risk-panel p {
    text-align: center;
  }

  .service-page #riscos .risk-visual {
    display: none;
    width: min(100%, 260px);
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .service-page #riscos .risk-shield-clock {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .header-cta {
    width: auto;
    font-size: .9rem;
  }

  .button {
    min-height: 50px;
    padding-inline: 18px;
    text-align: center;
  }

  .button span {
    white-space: nowrap;
  }

  .section-copy > .button,
  .two-column > div:first-child > .button {
    display: inline-flex;
    margin-inline: auto;
  }

  .card-grid,
  .services-grid,
  .metric-grid,
  .process-grid,
  .compact-stack {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .info-card {
    padding: 30px 24px;
    min-height: auto;
  }

  .final-cta-inner {
    padding: var(--space-12) var(--space-5);
  }

  .service-portrait-clean {
    max-width: 340px;
    justify-self: center;
    min-height: 320px;
  }

  .service-portrait-clean img {
    max-height: 410px;
    width: 100%;
  }

  .portrait-card {
    min-height: 500px;
  }

  .portrait-card img {
    max-height: 480px;
  }

  .footer-grid {
    gap: var(--space-8);
  }

  .footer-area-links {
    grid-template-columns: 1fr;
  }

  .legal-end-actions {
    flex-direction: column;
  }

}

@media (max-width: 380px) {
  .button {
    gap: 8px;
    padding-inline: 14px;
    font-size: .9rem;
  }

  .button-icon {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .risk-visual::after {
    opacity: 0;
  }

  .info-card:hover,
  .service-card-link:hover,
  .button:hover {
    transform: none;
  }
}

.blog-hero {
  background: linear-gradient(135deg, #111824 0%, #1b2636 62%, #233245 100%);
  color: #fff;
}

.blog-hero-inner {
  max-width: 780px;
  padding-block: var(--space-20);
}

.blog-hero .hero-subtitle {
  color: var(--text-soft-dark);
}

.blog-list-section {
  padding-block: var(--space-20);
}

.blog-list-section > .container {
  width: min(100% - 64px, 1120px);
}

.blog-list-section .section-heading {
  max-width: 760px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.blog-list-section .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

.blog-search {
  max-width: 820px;
  margin: 0 auto var(--space-8);
}

.blog-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
}

.blog-search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(202, 167, 94, .36);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.blog-search-field span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gold-dark);
}

.blog-search-field svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-search-field input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.blog-search-field button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.blog-search-field button:hover {
  background: #26364a;
}

.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto var(--space-12);
}

.blog-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
}

.blog-tabs a:hover,
.blog-tabs a.is-active {
  border-color: var(--gold);
  background: rgba(202, 167, 94, .12);
  color: var(--text);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-8);
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.blog-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.32;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--gold-dark);
}

.blog-card p {
  margin: 0;
}

.blog-card-theme {
  width: fit-content;
  padding: 5px 9px;
  border-radius: var(--radius-button);
  background: rgba(202, 167, 94, .14);
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.blog-card-meta {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

.blog-card-meta time {
  color: var(--muted);
}

.blog-card-meta a {
  font-weight: 800;
  color: var(--gold-dark);
  text-decoration: none;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-10);
}

.blog-pagination a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.blog-pagination a.is-active,
.blog-pagination a:hover {
  border-color: var(--gold);
  background: var(--navy);
  color: #fff;
}

.blog-empty {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.blog-cta-section .final-cta-inner {
  text-align: center;
}

.blog-admin {
  background: var(--bg);
}

.admin-main {
  min-height: calc(100vh - 72px);
}

.admin-section {
  padding-block: var(--space-16);
}

.admin-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.admin-title-row h1,
.admin-login h1,
.admin-delete-panel h1 {
  margin: 0;
  font-size: 2rem;
}

.admin-panel {
  padding: var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-6);
  background: var(--navy);
}

.admin-login {
  width: min(100%, 420px);
  display: grid;
  gap: var(--space-5);
}

.admin-login img {
  width: 240px;
  margin-inline: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.admin-form {
  display: grid;
  gap: var(--space-5);
}

.admin-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-upload-primary {
  padding: var(--space-5);
  border: 1px dashed rgba(202, 167, 94, .72);
  border-radius: var(--radius-sm);
  background: #fffaf0;
}

.admin-advanced {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfd;
}

.admin-advanced summary {
  padding: var(--space-4) var(--space-5);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.admin-advanced > :not(summary) {
  margin: 0 var(--space-5) var(--space-5);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.admin-form label,
.admin-login label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-login input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: #fff;
  color: var(--text);
}

.admin-form textarea {
  resize: vertical;
  min-height: 112px;
}

.admin-alert,
.admin-success {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.admin-alert {
  border: 1px solid #d48a8a;
  background: #fff1f1;
  color: #8d2525;
}

.admin-alert ul {
  margin: 0;
  padding-left: 20px;
}

.admin-success {
  border: 1px solid #8cc6a7;
  background: #effaf4;
  color: #16633e;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-table small {
  color: var(--muted);
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: var(--radius-button);
  font-size: .82rem;
  font-weight: 800;
}

.admin-status-published {
  background: #eaf7ef;
  color: #16633e;
}

.admin-status-draft {
  background: #f1f3f6;
  color: var(--muted);
}

.admin-status-scheduled {
  background: #fff6df;
  color: #7c5d23;
}

.admin-actions,
.admin-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.admin-actions a {
  font-weight: 800;
  text-decoration: none;
}

.admin-actions-bar {
  margin-top: var(--space-3);
}

.admin-actions-bar.compact {
  margin-top: 0;
}

.danger-link {
  color: #9d2f2f;
}

.admin-danger-button {
  background: #9d2f2f;
  color: #fff;
  border: 0;
}

.admin-danger-button:hover {
  background: #7f2525;
  color: #fff;
}

.admin-empty {
  text-align: center;
  padding-block: var(--space-10);
}

.admin-delete-panel {
  max-width: 760px;
}

.landingblog-page .lbp-sidebar-cta .button,
.landingblog-page .lbp-inline-cta .button,
.landingblog-page .lbp-conversion-shell .button,
.landingblog-page .lbp-final-cta .button,
.landingblog-page .button-whatsapp,
.landingblog-page .button-whatsapp:visited {
  color: #fff !important;
}

.landingblog-page .lbp-sidebar-cta .button span,
.landingblog-page .lbp-inline-cta .button span,
.landingblog-page .lbp-conversion-shell .button span,
.landingblog-page .lbp-final-cta .button span,
.landingblog-page .button-whatsapp span {
  color: #fff !important;
}

.landingblog-page .button-whatsapp:hover,
.landingblog-page .lbp-sidebar-cta .button:hover,
.landingblog-page .lbp-inline-cta .button:hover,
.landingblog-page .lbp-conversion-shell .button:hover,
.landingblog-page .lbp-final-cta .button:hover {
  background: var(--whatsapp-dark) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .blog-card-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .blog-hero-inner {
    padding-block: var(--space-16);
  }

  .blog-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blog-list-section > .container {
    width: min(100% - 48px, var(--container));
  }

  .blog-search-field {
    grid-template-columns: auto 1fr;
  }

  .blog-search-field button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .blog-tabs a {
    justify-content: center;
  }

  .admin-panel {
    padding: var(--space-5);
  }

  .admin-section {
    padding-block: var(--space-10);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}
