/* ============================================================
   CONDE — Design System
   ============================================================ */

/* --- Fonts ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Skip to main content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--gold, #C9A867);
  color: #0E1B2C;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 4px 0;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }
body {
  background: #F6F3EE;
  font-family: 'Work Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1B2A3D;
  font-size: 16px;
  line-height: 1.6;
}
::selection { background: #B68B4C; color: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* --- CSS Variables ----------------------------------------- */
:root {
  --bg: #F6F3EE;
  --bg-alt: #EFEAE0;
  --navy-dark: #0E1B2C;
  --navy: #13243A;
  --gold: #C9A867;
  --gold-mid: #B68B4C;
  --gold-text: #9A8255;
  --text: #1B2A3D;
  --text-mid: #566273;
  --text-light: #6A7689;
  --text-muted: #8A94A4;
  --text-nav: #A9B2C0;
  --border: rgba(19, 36, 58, .1);
  --border-mid: rgba(19, 36, 58, .14);
  --max-w: 1320px;
  --px: 56px;
}

/* --- Animations -------------------------------------------- */
@keyframes condeFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: condeFade 0.5s ease both; }

/* --- Layout Helpers ---------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-gold   { background: var(--gold); color: var(--navy-dark); }
.btn-navy   { background: var(--navy); color: #fff; }
.btn-white  { background: #fff; color: var(--navy); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: transparent;
  padding: 14px 22px;
}
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-linkedin:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-linkedin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-lg { font-size: 15px; padding: 16px 34px; }

/* --- Section Labels ---------------------------------------- */
.label {
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold-text);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.label-gold { color: var(--gold); }
.label-sm { font-size: 11px; letter-spacing: 0.2em; }

/* --- Typography -------------------------------------------- */
.serif { font-family: 'Cormorant Garamond', serif; }
.h-hero {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 45px;
  line-height: 1.07;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 42px;
  color: var(--navy);
}
.h-sub {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  color: var(--navy);
}
.h-page {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 45px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* --- Navigation -------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.logo-img { height: 110px; width: auto; }
.logo-img-sm { height: 36px; width: auto; }
.footer-logo-img { height: 100px; width: auto; }
.logo-text-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.logo-text-sub {
  font-size: 8px;
  letter-spacing: 0.34em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: #B7C0CE;
}
.site-nav > a { transition: color .2s; }
.site-nav > a:hover,
.site-nav > a.active { color: #fff; }

/* Dropdown trigger */
.has-dropdown {
  position: relative;
}
.has-dropdown.active > a { color: #fff; }
.nav-link-parent {
  display: flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  transition: color .2s;
  cursor: pointer;
}
.has-dropdown:hover .nav-link-parent,
.has-dropdown:focus-within .nav-link-parent { color: #fff; }
.nav-caret {
  transition: transform .22s ease;
  flex-shrink: 0;
}
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 272px;
  background: #fff;
  border: 1px solid var(--border-mid);
  box-shadow: 0 24px 56px -10px rgba(14,27,44,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Transparent bridge: fills the gap between trigger and panel so hover doesn't break */
.nav-dropdown::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: -24px;
  right: -24px;
  height: 22px;
}
/* Arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--border-mid);
  border-top: 1px solid var(--border-mid);
}
/* All links inside dropdown share base style */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--bg); color: var(--navy); }
/* "Ver todos" link — must override .nav-dropdown a with same or higher specificity */
.nav-dropdown .nav-dropdown-all {
  display: block;
  padding: 11px 18px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--gold-text);
  border-bottom: 1px solid var(--border-mid);
}
.nav-dropdown .nav-dropdown-all:hover { background: var(--bg); color: var(--gold); }
.nav-dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-mid);
  flex-shrink: 0;
}
.nav-dropdown-icon svg {
  width: 100%;
  height: 100%;
}

/* Hamburger button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  flex-shrink: 0;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .3s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; width: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,27,44,.7);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 94vw);
  height: 100%;
  background: var(--navy-dark);
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.mobile-nav-close {
  background: none;
  border: 1px solid rgba(255,255,255,.18);
  color: #A9B2C0;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
}
.mobile-nav-close:hover { border-color: rgba(255,255,255,.4); color: #fff; }

.mobile-nav-links {
  flex: 1;
  padding: 12px 0 20px;
}
.mobile-nav-links > a {
  display: block;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-nav);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .15s, background .15s;
}
.mobile-nav-links > a:hover { color: #fff; background: rgba(255,255,255,.03); }
.mobile-nav-links > a.active { color: #fff; }

/* Mobile submenu */
.mobile-has-submenu {
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-submenu-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-nav);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s, background .15s;
  text-align: left;
}
.mobile-submenu-trigger:hover { color: #fff; background: rgba(255,255,255,.03); }
.mobile-submenu-trigger.is-open { color: #fff; }
.mobile-caret {
  flex-shrink: 0;
  transition: transform .25s ease;
}
.mobile-submenu-trigger.is-open .mobile-caret { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  background: rgba(0,0,0,.2);
  padding: 6px 0 10px;
}
.mobile-submenu.is-open { display: block; }
.mobile-submenu-all {
  display: block;
  padding: 10px 24px 10px 34px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold-text) !important;
  transition: color .15s;
}
.mobile-submenu-all:hover { color: var(--gold) !important; }
.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px 11px 34px;
  font-size: 14px;
  color: #8A94A4;
  transition: color .15s;
}
.mobile-submenu a:hover { color: #fff; }
.mobile-submenu-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-mid);
  flex-shrink: 0;
}
.mobile-submenu-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-nav-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

/* Header variant for white pages */
.header-light .logo-text-name { color: var(--navy); }
.header-light .logo-text-sub { color: var(--gold-text); }
.header-light .site-nav { color: var(--text-mid); }
.header-light .site-nav > a:hover,
.header-light .site-nav > a.active { color: var(--navy); }
.header-light .menu-btn span { background: var(--navy); }

/* --- Hero Section ------------------------------------------ */
.hero {
  background: var(--navy-dark);
  color: #fff;
  position: relative;
}
.hero-body {
  padding: 72px var(--px) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-body > div { min-width: 0; }
.hero-label { margin-bottom: 22px; }
.hero-title { color: #fff; margin-bottom: 26px; }
.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-nav);
  max-width: 520px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* --- Hero Image Frame -------------------------------------- */
.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-img-frame {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}
.hero-img-frame img {
  position: relative;
  z-index: 2;
  width: 500px;
  height: 500px;
  object-fit: cover;
  display: block;
}
/* Offset gold rectangle — peeks out bottom-right to suggest depth */
.hero-img-frame::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: -32px;
  bottom: -32px;
  border: 1px solid rgba(201,168,103,.38);
  z-index: 1;
  pointer-events: none;
}
/* Ambient radial glow at the base of the image */
.hero-img-frame::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: -20%;
  right: -20%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,103,.13) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
/* L-shaped corner bracket accents */
.hero-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 3;
  pointer-events: none;
}
.hero-corner--tl { top: -8px; left: -8px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner--tr { top: -8px; right: -8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.hero-corner--bl { bottom: -8px; left: -8px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner--br { bottom: -8px; right: -8px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* Decorative concentric rings behind the photo, evoking a digital/tech scan */
.hero-rings {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(201,168,103,.18);
  pointer-events: none;
}
.hero-rings::before,
.hero-rings::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,103,.22);
}
.hero-rings::after { inset: 30%; border-style: solid; border-color: rgba(201,168,103,.14); }

/* Floating icon badges — circular chips scattered around the hero photo */
.hero-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 1px solid rgba(201,168,103,.45);
  color: var(--gold);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.hero-badge svg { width: 22px; height: 22px; }
.hero-badge--1 { top: 4%;    left: -9%; }
.hero-badge--2 { top: 24%;   right: -11%; }
.hero-badge--3 { top: 50%;   left: -13%; }
.hero-badge--4 { top: 66%;   right: -9%; }
.hero-badge--5 { bottom: 8%; left: -7%; }
.hero-badge--6 { bottom: -6%; right: 10%; }

/* --- Pillars Strip ----------------------------------------- */
.pillars-strip {
  border-top: 1px solid rgba(201,168,103,.22);
  background: var(--navy-dark);
}
.pillars-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 26px 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.pillar:last-child { border-right: none; }
.pillar + .pillar { padding-left: 40px; }
.pillar-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--gold);
  margin-right: 12px;
}
.pillar-desc { font-size: 13.5px; color: var(--text-muted); }

/* --- Services Grid ----------------------------------------- */
.services-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--px);
}
.section-header {
  text-align: center;
  margin-bottom: 54px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 32px;
  min-height: 230px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service-card:hover {
  border-color: var(--gold-mid);
  box-shadow: 0 20px 40px -22px rgba(19,36,58,.4);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-mid);
  margin-bottom: 22px;
}
.service-card-icon svg {
  width: 100%;
  height: 100%;
}
.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 24px;
  flex: 1;
}
.service-card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: .02em;
}
/* --- Process Steps ----------------------------------------- */
.process-section { background: var(--bg-alt); }
.process-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 90px var(--px);
}
.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 54px;
  flex-wrap: wrap;
  gap: 20px;
}
.process-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 380px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-mid);
}
.process-step {
  padding: 32px 28px 0 0;
  border-right: 1px solid rgba(19,36,58,.12);
}
.process-step:last-child { border-right: none; padding-left: 28px; padding-right: 0; }
.process-step + .process-step { padding-left: 28px; }
.process-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-mid);
  border-radius: 50%;
  margin: -36px 0 24px;
}
.process-tag {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-text);
  font-weight: 600;
  margin-bottom: 12px;
}
.process-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-text { font-size: 13px; line-height: 1.6; color: var(--text-light); }

/* --- About Section ----------------------------------------- */
.about-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-title { font-size: 42px; line-height: 1.15; margin-bottom: 22px; }
.about-body { font-size: 16px; line-height: 1.75; color: var(--text-mid); margin-bottom: 30px; }

/* --- Clientes Section ---------------------------------------- */
.clientes-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px);
}
.clientes-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clientes-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: clientes-scroll 30s linear infinite;
}
.clientes-slider:hover .clientes-track {
  animation-play-state: paused;
}
@keyframes clientes-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.cliente-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 180px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.cliente-logo:hover {
  box-shadow: 0 20px 40px -22px rgba(19,36,58,.4);
  transform: translateY(-3px);
}
.cliente-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 860px) {
  .cliente-logo { width: 140px; }
}

/* --- CTA Section ------------------------------------------- */
.cta-section { background: var(--navy); }
.cta-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.12;
  color: #fff;
}
.cta-subtitle { font-size: 16px; color: var(--text-mid); margin-bottom: 34px; }

/* --- Footer ------------------------------------------------ */
.site-footer {
  background: var(--navy-dark);
  color: var(--text-nav);
  font-family: 'Work Sans', system-ui, sans-serif;
}
.footer-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--px) 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-oab { font-size: 11px; letter-spacing: 0.2em; color: #5E6A7C; }
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: default;
}
.footer-accordion-caret { display: none; flex-shrink: 0; transition: transform .25s ease; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 13.5px;
  color: var(--text-nav);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-links-sub {
  font-size: 12.5px;
  color: #8A94A4;
  padding-left: 14px;
  position: relative;
}
.footer-links-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
a:not(.footer-links-sub) + .footer-links-sub { margin-top: 6px; }
.footer-contact-item {
  font-size: 13.5px;
  color: var(--text-nav);
  margin-bottom: 11px;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--px);
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #5E6A7C;
}

/* --- Sub-Hero (Service/Inner pages) ------------------------ */
.sub-hero { background: var(--navy-dark); color: #fff; }
.sub-hero-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--px) 86px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: end;
}
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--gold); margin: 0 6px; }
.area-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.area-tag-line { width: 32px; height: 1px; background: var(--gold); }
.contact-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,103,.3);
  padding: 32px;
}

/* --- Mission / Vision / Values ------------------------------ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  margin-top: 8px;
}
.mvv-item {
  padding: 44px 40px;
  border-left: 1px solid var(--border-mid);
  text-align: center;
}
.mvv-item:first-child { border-left: none; }
.mvv-icon { width: 34px; height: 34px; margin: 0 auto 22px; color: var(--gold-mid); }
.mvv-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  color: var(--navy);
  margin-bottom: 14px;
}
.mvv-desc { font-size: 14px; line-height: 1.75; color: var(--text-mid); }
.mvv-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-block;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
}
.mvv-list li { position: relative; padding-left: 17px; }
.mvv-list li::before { content: '•'; position: absolute; left: 0; color: var(--gold-mid); }

/* --- Other Services Grid ----------------------------------- */
.other-services-section { background: var(--bg-alt); }
.other-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
/* --- News Cards -------------------------------------------- */
.news-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--px);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.news-card:hover {
  box-shadow: 0 16px 36px -12px rgba(19,36,58,.2);
  transform: translateY(-3px);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}
.article-img-frame {
  float: right;
  width: 440px;
  margin: 6px 0 32px 40px;
}
.article-img-frame img {
  width: 100%;
  height: 320px;
  max-height: none;
  object-fit: cover;
  border-radius: 2px;
}
.news-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  color: var(--gold);
}
.news-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.news-card-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  font-weight: 600;
  margin-bottom: 12px;
}
.news-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}
.news-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 24px;
  flex: 1;
}
.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.news-card-date { color: var(--text-muted); }
.news-card-link { font-weight: 600; color: var(--gold-text); }

/* --- News Article ------------------------------------------ */
.article-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--px) 96px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.article-category {
  background: var(--bg-alt);
  padding: 4px 12px;
  color: var(--gold-text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.article-content { font-size: 16px; line-height: 1.85; color: var(--text-mid); }
.article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 40px 0 16px;
}
.article-content p { margin-bottom: 20px; }
.article-content ul { margin: 0 0 20px 20px; list-style: disc; }
.article-content ul li { margin-bottom: 8px; }

/* --- Service body layout (article + boxed scope card) ----------- */
.article-body--tight { padding-bottom: 8px; }
.service-scope-wrap {
  max-width: var(--max-w);
  margin: 0 auto 96px;
  padding: 0 var(--px);
}
.service-scope-card {
  background: var(--bg-alt);
  border-top: 3px solid var(--gold);
  padding: 44px 48px;
}
.service-scope-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.service-scope-icon {
  width: 52px;
  height: 52px;
  color: var(--gold-mid);
  flex-shrink: 0;
}
.service-scope-icon svg { width: 100%; height: 100%; }
.service-scope-header .area-tag { margin-bottom: 10px; }
.service-scope-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}
.service-scope-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-mid);
}
.service-scope-card-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.service-scope-check {
  color: var(--gold-mid);
  flex-shrink: 0;
  margin-top: 3px;
}
.service-scope-card-list li p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}

/* --- Contact Form ------------------------------------------ */
.contact-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-mid);
  background: #fff;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 14.5px;
  color: var(--text);
  border-radius: 2px;
  transition: border-color .2s;
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.form-submit:hover { background: var(--navy-dark); }
.alert {
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-control.is-invalid { border-color: #dc3545; }
.form-error {
  display: block;
  color: #dc3545;
  font-size: 12.5px;
  margin-top: 6px;
}

/* --- Page Header (non-hero) -------------------------------- */
.page-header { background: var(--navy-dark); }
.page-header-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px) 72px;
}

/* --- Admin ------------------------------------------------- */
.admin-wrap { min-height: 100vh; display: flex; }
.admin-sidebar {
  width: 240px;
  background: var(--navy-dark);
  padding: 32px 0;
  flex-shrink: 0;
}
.admin-sidebar .logo-mark { padding: 0 24px 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-nav { padding: 24px 0; }
.admin-nav a {
  display: block;
  padding: 11px 24px;
  font-size: 14px;
  color: var(--text-nav);
  transition: background .15s, color .15s;
}
.admin-nav a:hover,
.admin-nav a.active { background: rgba(255,255,255,.05); color: #fff; }
.admin-nav .nav-section-title {
  padding: 16px 24px 6px;
  font-size: 10px;
  letter-spacing: .2em;
  color: #5E6A7C;
  font-weight: 600;
}
.nav-section-title--spaced { margin-top: 16px; }
.admin-nav-logout { margin-top: 24px; color: #c0392b; }
.admin-content { flex: 1; padding: 40px; background: #F0EDE8; overflow-y: auto; }
.admin-page-title { font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 32px; }
.admin-card { background: #fff; border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px 14px 0;
  font-size: 14px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
}
.badge-green { background: #d4edda; color: #155724; }
.badge-red   { background: #f8d7da; color: #721c24; }
.admin-actions { display: flex; gap: 10px; }
.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 2px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .2s;
}
.btn-sm:hover { opacity: .82; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-danger   { background: #c0392b; color: #fff; }
.btn-secondary { background: var(--bg-alt); color: var(--text); border-color: var(--border-mid); }

/* --- Admin - Formulários e Tabelas --------------------------- */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.admin-page-header .admin-page-title { margin: 0; }
.form-inline { display: inline; }
.form-hint { color: var(--text-muted); font-size: 12px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.text-xs-muted { font-size: 12px; color: var(--text-muted); }
.td-message { max-width: 260px; white-space: normal; font-size: 13px; }
.td-nowrap { white-space: nowrap; }
.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
  display: block;
  transition: border-color .2s;
}
.stat-card:hover { border-color: var(--gold); }
.stat-card-value {
  font-size: 36px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-mid);
  margin-bottom: 8px;
}
.stat-card-label { font-size: 13.5px; color: var(--text-mid); }
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.admin-card-title { font-size: 18px; color: var(--navy); }

/* --- Admin Login ---------------------------------------------- */
.login-header { text-align: center; margin-bottom: 36px; }
.login-logo { height: 48px; width: auto; margin: 0 auto 16px; }
.login-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #13243A;
}
.login-alert { margin-bottom: 20px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-group--inline { display: flex; align-items: center; gap: 10px; }
.form-group--inline-padded { padding-top: 28px; }
.form-label--flush { margin: 0; }
.image-preview-wrap { margin-top: 10px; }
.image-preview-img { max-height: 120px; max-width: 100%; object-fit: cover; border: 1px solid var(--border); }
.textarea-code { font-family: monospace; font-size: 13px; }

/* --- WhatsApp FAB ------------------------------------------ */
.wpp-fab {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wpp-fab:hover { transform: scale(1.08); }

/* --- Cookie Consent --------------------------------------- */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 9998;
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  color: #fff;
  background: rgba(14, 27, 44, .98);
  border: 1px solid rgba(201, 168, 103, .38);
  box-shadow: 0 24px 70px rgba(4, 12, 23, .34);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--gold);
}
.cookie-banner-title {
  margin-bottom: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}
.cookie-banner-text {
  max-width: 760px;
  color: #C5CCD5;
  font-size: 13.5px;
  line-height: 1.55;
}
.cookie-banner-details { margin-top: 7px; color: #C5CCD5; font-size: 12.5px; }
.cookie-banner-details summary {
  width: fit-content;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-details p { margin-top: 6px; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-btn {
  min-width: 104px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  font: 600 12px/1 'Work Sans', sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.cookie-btn--accept { color: var(--navy-dark); background: var(--gold); }
.cookie-btn--reject { color: var(--gold); background: transparent; }
.cookie-btn:hover, .cookie-btn:focus-visible { background: #D8BD86; color: var(--navy-dark); }
.cookie-settings-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-bottom-actions { display: flex; align-items: center; gap: 22px; }

/* --- Utility ----------------------------------------------- */
.text-gold  { color: var(--gold-text); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.link-inherit { color: inherit; }
.icon-no-shrink { flex-shrink: 0; }
.btn-block-center { width: 100%; justify-content: center; }
.mb-3 { margin-bottom: 24px; }
.section-80 {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px);
}
.bg-alt-section { background: var(--bg-alt); }

/* --- Sobre Page --------------------------------------------- */
.sub-hero-title { color: #fff; margin-bottom: 24px; }
.sub-hero-title--tight { margin-bottom: 20px; }
.sub-hero-lead { font-size: 18px; line-height: 1.7; color: var(--text-nav); }
.contact-box-label { margin-bottom: 18px; }
.contact-box-text { font-size: 14.5px; line-height: 1.65; color: #B7C0CE; margin-bottom: 22px; }
.contact-box-btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.founder-text { font-size: 16px; line-height: 1.85; color: var(--text-mid); margin-bottom: 20px; }
.founder-text:last-child { margin-bottom: 0; }
.founder-media { text-align: center; }
.hero-img-frame--centered { margin: 0 auto 22px; }
.founder-photo-img { width: 281px; height: 360px; object-fit: cover; }
.founder-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.founder-role { margin-bottom: 20px; }
.services-preview-header { text-align: center; margin-bottom: 48px; }
.services-preview-footer { text-align: center; margin-top: 40px; }

/* --- Service Detail Page ------------------------------------- */
.sub-hero-lead--wide { max-width: 600px; }
.other-services-title { font-size: 36px; }
.empty-state-text { color: var(--text-muted); font-size: 16px; }
.section-72 {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--px);
}

/* --- News Article Page --------------------------------------- */
.sub-hero--article { padding-bottom: 56px; }
.container--pt40 { padding-top: 40px; }
.article-category--block { display: inline-block; margin-bottom: 20px; }
.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
}
.article-back-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* --- Contact Page --------------------------------------------- */
.sub-hero-title--sm { margin-bottom: 16px; }
.contact-box-meta { font-size: 14px; color: #B7C0CE; }
.contact-wpp-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  padding: 28px;
  margin-bottom: 20px;
  transition: background .2s;
}
.contact-wpp-cta:hover { background: var(--navy-dark); }
.contact-wpp-cta-label { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.contact-wpp-cta-title { font-size: 18px; font-weight: 500; }
.contact-wpp-cta-sub { font-size: 13px; color: var(--text-nav); margin-top: 4px; }
.contact-info-box { border: 1px solid var(--border); padding: 28px; }
.contact-info-text { font-size: 15px; line-height: 1.7; color: var(--text-mid); }
.oab-label { font-size: 11px; letter-spacing: .2em; color: var(--gold-text); font-weight: 600; }
.contact-info-oab { font-size: 14px; color: var(--text-mid); }

/* --- Home Page ------------------------------------------------ */
.bg-section { background: var(--bg); }
.about-img-wrap { display: flex; align-items: center; justify-content: center; }
.about-img { height: 250px; width: auto; }
.news-section--tight { padding-top: 80px; padding-bottom: 80px; }
.section-header--left { text-align: left; margin-bottom: 40px; }
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-actions-col { display: flex; flex-direction: column; gap: 14px; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-4  { margin-top: 32px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-4  { margin-bottom: 32px; }
.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold-text);
  border: 1px solid rgba(154,130,85,.35);
  padding: 9px 18px;
  border-radius: 2px;
  transition: border-color .2s, color .2s, background .2s;
}
.back-link:hover {
  border-color: var(--gold-mid);
  color: var(--gold-mid);
  background: rgba(201,168,103,.06);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: border-color .2s, background .2s, color .2s;
}
.page-link:hover { border-color: var(--gold-mid); color: var(--navy); }
.page-link.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  :root { --px: 32px; }
  .hero-body,
  .about-section,
  .contact-section,
  .founder-grid { grid-template-columns: 1fr; }
  .service-scope-card-list { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-body { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-hero-body { grid-template-columns: 1fr; }
  .article-img-frame { width: 340px; margin-left: 24px; }
  .article-img-frame img { height: 240px; }
  .hero-badge, .hero-rings { display: none; }
}

/* Tablet — collapse nav to hamburger */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-wpp-btn { display: none; }
  .menu-btn { display: flex; }
  .logo-img { height: 64px; }
}

@media (max-width: 680px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-banner-mark { display: none; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-btn { width: 100%; min-height: 44px; }
  .footer-bottom-actions { flex-direction: column; align-items: flex-start; gap: 4px; }
  :root { --px: 20px; }
  .logo-img { height: 85px; }
  .hero-img-frame::before { top: 16px; left: 16px; right: -16px; bottom: -16px; }
  .hero-img-frame::after { left: -10%; right: -10%; }
  .hero-img-frame img { width: 260px; height: 260px; }
  .article-img-frame { float: none; width: 100%; margin: 0 0 24px; }
  .article-img-frame img { height: 220px; }
  .article-featured-img { height: 220px; }
  .service-scope-card { padding: 28px 24px; }
  .service-scope-header { align-items: flex-start; gap: 16px; }
  .service-scope-icon { width: 38px; height: 38px; }
  .service-scope-card-list { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .h-hero { font-size: 36px; }
  .h-section, .h-page { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .cta-body .btn,
  .about-section .btn,
  .services-preview-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .news-grid,
  .process-grid,
  .mvv-grid,
  .founder-grid { grid-template-columns: 1fr; }
  .pillars-strip { display: none; }
  .contact-box { display: none; }
  /* Área de atuação becomes a swipeable slider on mobile, instead of stacking full-height cards */
  .services-section { padding: 56px var(--px) 64px; }
  .services-section .section-header { margin-bottom: 28px; }
  .services-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(var(--px) * -1);
    padding: 4px var(--px) 10px;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .service-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-height: auto;
    padding: 22px 20px;
  }
  .service-card-icon { width: 32px; height: 32px; margin-bottom: 14px; }
  .service-card-title { font-size: 21px; margin-bottom: 8px; }
  .service-card-desc {
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mvv-item { border-left: none; border-top: 1px solid var(--border-mid); }
  .mvv-item:first-child { border-top: none; }
  .founder-grid { gap: 40px; }
  .footer-body { grid-template-columns: 1fr; }
  .footer-col-title.footer-accordion-trigger {
    cursor: pointer;
    padding: 18px 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .footer-accordion-caret { display: block; }
  .footer-accordion-trigger.is-open .footer-accordion-caret { transform: rotate(180deg); }
  .footer-accordion-content { display: none; padding-bottom: 16px; }
  .footer-accordion-content.is-open { display: flex; flex-direction: column; }
  .cta-body { flex-direction: column; align-items: stretch; }
}

/* Prevent body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }
