/*
Theme Name: Órigo Assessoria
Theme URI: https://origoconsultoria.com.br/
Author: Operação Tática
Description: Tema institucional focado no Terceiro Setor e NR-1, preparado para builders.
Version: 1.0.0
Text Domain: origo
*/
:root {
  --primary: #0f69b2;
  --primary-dark: #0b5795;
  --accent: #ec268f;
  --accent-dark: #c91d76;
  --dark: #373435;
  --dark-deep: #242223;
  --bg: #f9f9f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --text: #373435;
  --muted: #686466;
  --success: #16794f;
  --danger: #b42318;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(55, 52, 53, 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #eef2f7;
}

::-webkit-scrollbar-thumb {
  background: #8ea3c2;
  border: 3px solid #eef2f7;
  border-radius: 99px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

:focus-visible {
  outline: 3px solid #ec79b7;
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9.5rem);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 150ms var(--ease-out), box-shadow 180ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(236, 38, 143, 0.28);
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 16px 36px rgba(236, 38, 143, 0.34);
}

.button-blue,
.button-secondary {
  color: var(--white);
  background: #0f69b2;
  border-color: #0f69b2;
  box-shadow: 0 12px 28px rgba(15, 105, 178, 0.25);
}

.button-blue:hover,
.button-secondary:hover {
  background: #10548c;
  border-color: #10548c;
  box-shadow: 0 16px 36px rgba(15, 105, 178, 0.34);
  color: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: var(--white);
  color: var(--dark);
}

.button-outline {
  color: var(--primary);
  background: #f0f7fd;
  border: 1.5px solid var(--primary);
  font-weight: 600;
}

.button-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 105, 178, 0.22);
}

.button-light {
  color: var(--dark);
  background: var(--white);
}

.button-light:hover {
  color: var(--accent);
}

.button-large {
  min-height: 58px;
  padding-inline: 1.7rem;
}

.text-link {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 5px;
}

.text-link::after,
.service-card a::after,
.publication-item a::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-out);
}

.text-link:hover::after,
.service-card a:hover::after,
.publication-item a:hover::after {
  transform: translateX(4px) rotate(45deg);
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(55, 52, 53, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  position: relative;
  display: inline-flex;
  min-width: 178px;
  min-height: 57px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.brand::before {
  content: "";
  width: 178px;
  height: 57px;
  background: url("assets/images/logo-header.png") center / contain no-repeat;
  transition: background-image 200ms ease, opacity 200ms ease;
}

.brand-mark,
.brand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.45rem);
}

.primary-nav>a {
  position: relative;
  font-size: 0.77rem;
  font-weight: 500;
  white-space: nowrap;
}

.primary-nav>a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 2px;
  background: currentColor;
  transition: right 180ms var(--ease-out);
}

.primary-nav>a:hover::after {
  right: 0;
}

.primary-nav .nav-cta {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
}

.site-header.is-scrolled .brand::before,
.inner-header .brand::before {
  background-image: url("assets/images/logo-header2.png");
}

.site-header.is-scrolled .nav-cta {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  color: currentColor;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease-out), opacity 150ms ease;
}

.hero-slider {
  position: relative;
  min-height: 720px;
  height: 100svh;
  max-height: 980px;
  color: var(--white);
  background: var(--dark-deep);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease-in-out), visibility 900ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-slide.is-active .hero-media {
  animation: ken-burns 8s linear both;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(36, 34, 35, 0.95) 0%, rgba(15, 105, 178, 0.8) 48%, rgba(55, 52, 53, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-content>* {
  opacity: 0;
  transform: translateY(18px);
}

.hero-slide.is-active .hero-content>* {
  animation: hero-in 700ms var(--ease-out) forwards;
}

.hero-slide.is-active .hero-content>*:nth-child(2) {
  animation-delay: 80ms;
}

.hero-slide.is-active .hero-content>*:nth-child(3) {
  animation-delay: 150ms;
}

.hero-slide.is-active .hero-content>*:nth-child(4) {
  animation-delay: 220ms;
}

.hero-content h1,
.hero-content h2 {
  max-width: min(900px, 72vw);
  margin-bottom: 1.35rem;
  color: var(--white);
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content>p {
  max-width: 58ch;
  margin-bottom: 2rem;
  color: #e1e9f6;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: clamp(2rem, 5vw, 4rem);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-control-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-dots {
  display: flex;
  gap: 0.3rem;
}

.slider-dot {
  width: 48px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.slider-dot span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.slider-dot.is-active span {
  background: var(--white);
}

.slider-toggle {
  padding: .35rem .55rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 6px;
  font-size: .66rem;
  font-weight: 600;
  cursor: pointer;
}

.hero-controls p {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.hero-controls strong {
  font-size: 1.5rem;
}

.hero-controls span {
  color: #b7c8e1;
  font-size: 0.75rem;
}

@keyframes ken-burns {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.11);
  }
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-strip {
  position: relative;
  z-index: 5;
  color: var(--dark);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 1.7rem clamp(1rem, 2.7vw, 2.3rem);
  border-right: 1px solid var(--border);
}

.trust-grid p:first-child {
  border-left: 1px solid var(--border);
}

.trust-grid strong {
  color: var(--dark);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.72rem;
}

.services-section {
  background: var(--bg);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  margin-bottom: 1.3rem;
}

.section-heading>p,
.section-heading-row p {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-row .text-link {
  flex: 0 0 auto;
  margin-bottom: 0.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.service-card {
  grid-column: span 4;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(55, 52, 53, 0.06);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.service-card-featured {
  grid-column: span 4;
  background: linear-gradient(140deg, #ffffff 55%, #eaf4fb);
}

.service-card-dark {
  grid-column: span 4;
  color: #f0edef;
  background: var(--dark);
  border-color: var(--dark);
}

.service-card-dark h3,
.service-card-dark a {
  color: var(--white);
}

.service-card-wide {
  grid-column: span 6;
}

.service-card-accent {
  grid-column: span 6;
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.service-card-accent h3,
.service-card-accent a {
  color: var(--white);
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: auto;
}

.duration-badge {
  padding: 0.38rem 0.65rem;
  color: var(--primary);
  background: #eaf4fb;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
}

.service-card-dark .duration-badge {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.service-card-accent .duration-badge {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.service-card h3 {
  max-width: 20ch;
  margin: 2rem 0 0.9rem;
}

.service-card p {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card-dark p,
.service-card-accent p {
  color: #f0edef;
}

.service-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(55, 52, 53, 0.14);
  }
}

.process-section {
  color: var(--white);
  background: var(--dark-deep);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.process-intro h2 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.process-intro p {
  color: #bfcce1;
}

.process-intro .text-link {
  margin-top: 1rem;
  color: #8ec0ff;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list>li>span {
  color: #8ec0ff;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.process-list h3 {
  margin-bottom: 0.55rem;
  color: var(--white);
}

.process-list p {
  margin: 0;
  color: #bfcce1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: clamp(460px, 58vw, 680px);
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.8) contrast(1.03);
}

.experience-note {
  position: absolute;
  right: -1.5rem;
  bottom: 2rem;
  width: min(240px, 54%);
  padding: 1.5rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.experience-note strong,
.experience-note span {
  display: block;
}

.experience-note strong {
  font-size: 2rem;
  line-height: 1.1;
}

.experience-note span {
  margin-top: 0.4rem;
  font-size: 0.76rem;
  line-height: 1.5;
}

.about-copy h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

.about-copy .lead {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.about-copy>p:not(.lead) {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.check-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #eaf4fb;
  border-radius: 50%;
}

.check-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list strong {
  color: var(--dark);
}

.check-list p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.values-section {
  background: var(--bg);
}

.values-heading {
  max-width: 800px;
  margin-bottom: 3rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.mission-grid article {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--white);
}

.mission-grid h3 {
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.mission-grid p {
  margin: 0;
  color: var(--dark);
  font-size: clamp(1.1rem, 2.3vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
}

.values-statement {
  grid-column: 1 / -1;
  width: 100%;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.35rem;
  margin-top: 1.75rem;
}

.value-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.2rem 1.6rem;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(236, 38, 143, 0.22);
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 220ms ease;
}

.value-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(55, 52, 53, 0.12);
  border-color: #cbd5e1;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.value-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.2rem;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.value-card:hover .value-icon {
  transform: scale(1.08);
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(15, 105, 178, 0.16);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-content strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  transition: color 240ms ease;
}

.value-card:hover .value-content strong {
  color: var(--dark);
}

.value-content p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  transition: color 240ms ease;
}

.value-card:hover .value-content p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .value-card,
  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    grid-column: auto;
  }

  .value-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

.case-section {
  color: var(--white);
  background: var(--primary);
}

.case-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.case-title h2 {
  color: var(--white);
}

.case-proof>p {
  margin-bottom: 2rem;
  color: #e1edff;
  font-size: 1.02rem;
}

.proof-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.proof-items span {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
}

.proof-items span:nth-child(odd) {
  padding-right: 1rem;
}

.cta-banner {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(36, 34, 35, 0.84), rgba(15, 105, 178, 0.88)), url("assets/images/hero-projetos.jpg") center / cover;
  transform: scale(1.03);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1.4rem;
  color: var(--white);
}

.cta-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #dbe7f8;
  font-size: 1.05rem;
}

.publications-section {
  background: var(--bg);
}

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

.publication-item {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--border);
}

.publication-item span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.publication-item h3 {
  margin: 0.3rem 0 0;
}

.publication-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.publication-item a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.blog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.blog-cover {
  position: relative;
  min-height: 235px;
  display: flex;
  align-items: flex-end;
  padding: 1.3rem;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.blog-cover::before,
.blog-cover::after {
  content: "";
  position: absolute;
  transition: transform 650ms var(--ease-out);
}

.blog-cover::before {
  width: 70%;
  height: 70%;
  right: -12%;
  top: -15%;
  border: 26px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.blog-cover::after {
  width: 54%;
  height: 54%;
  left: -16%;
  bottom: -22%;
  background: rgba(255, 255, 255, .1);
  transform: rotate(24deg);
}

.cover-docs {
  background: #373435;
}

.cover-accounts {
  background: #0f69b2;
}

.cover-nr1 {
  background: #163767;
}

.blog-cover span {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.blog-meta span {
  color: var(--primary);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.15rem;
  line-height: 1.45;
}

.blog-card-body>p:not(.blog-meta) {
  color: var(--muted);
  font-size: 0.83rem;
}

.blog-card .text-link {
  font-size: 0.79rem;
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }

  .blog-card:hover .blog-cover::before {
    transform: scale(1.08) rotate(7deg);
  }
}

.faq-section {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.faq-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.7rem);
}

.faq-intro p {
  color: var(--muted);
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.55rem 0;
  color: var(--dark);
  background: transparent;
  border: 0;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--primary);
  transition: transform 180ms var(--ease-out);
}

.faq-item button i::after {
  transform: rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 2.5rem 1.5rem 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-details h2 {
  font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.contact-details>p {
  color: var(--muted);
}

.contact-details address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin: 2.2rem 0;
  font-style: normal;
}

.contact-details address>* {
  margin: 0;
  color: var(--dark);
  font-size: 0.82rem;
  line-height: 1.55;
}

.contact-details address span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-frame {
  overflow: hidden;
  min-height: 245px;
  background: var(--bg);
  border-radius: var(--radius);
}

.map-frame iframe {
  width: 100%;
  height: 245px;
  display: block;
  border: 0;
  filter: grayscale(1) contrast(0.92);
}

.lead-form {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg);
  border-radius: var(--radius);
}

.form-heading {
  margin-bottom: 2rem;
}

.form-heading h3 {
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--dark);
  font-size: 0.73rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--dark);
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 0.85rem;
}

.form-field textarea {
  min-height: 130px;
  padding: 0.75rem 0.85rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.14);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1em;
  display: block;
  margin-top: 0.3rem;
  color: var(--danger);
  font-size: 0.66rem;
}

.recaptcha-placeholder {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.2rem 0 1rem;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1px dashed #9aaac2;
  border-radius: 9px;
}

.recaptcha-placeholder svg {
  width: 28px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recaptcha-placeholder p {
  display: grid;
  margin: 0;
}

.recaptcha-placeholder strong {
  color: var(--dark);
  font-size: 0.73rem;
}

.recaptcha-placeholder small {
  color: var(--muted);
  font-size: 0.61rem;
}

.privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  cursor: pointer;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  margin: 0.15rem 0 0;
  accent-color: var(--primary);
}

.submit-button {
  width: 100%;
  margin-top: 0.8rem;
}

.submit-button.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-button i {
  display: none;
  width: 15px;
  height: 15px;
  margin-left: 0.7rem;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.submit-button.is-loading i {
  display: block;
}

.form-status {
  min-height: 1.6em;
  margin-top: 0.7rem;
  color: var(--success);
  font-size: 0.75rem;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  padding-top: clamp(4rem, 8vw, 7rem);
  color: #d6d1d3;
  background: var(--dark-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.85fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 4rem;
}

.brand-light {
  width: 178px;
  min-width: 178px;
  min-height: 57px;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.brand-light::before {
  width: 178px;
  height: 57px;
  background-image: url("assets/images/logo-header.png");
}

.footer-about p {
  max-width: 38ch;
  margin: 1.5rem 0;
  font-size: 0.82rem;
}

.footer-seal {
  display: inline-flex;
  padding: 0.5rem 0.75rem;
  color: #f7d4e7;
  border: 1px solid rgba(236, 38, 143, .38);
  border-radius: 7px;
  font-size: 0.65rem;
  font-weight: 600;
}

.site-footer h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

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

.site-footer li,
.site-footer a {
  font-size: 0.72rem;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f7d4e7;
  font-size: 0.76rem;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.social-link svg {
  width: 34px;
  height: 34px;
  padding: 0.45rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.social-link.social-facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-link:hover svg {
  border-color: var(--accent);
  background: rgba(236, 38, 143, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

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

.footer-bottom p:last-child {
  display: flex;
  gap: 1.4rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--whatsapp);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(37, 211, 102, .55);
  border-radius: inherit;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

.whatsapp-float svg {
  width: 31px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
}

@keyframes whatsapp-pulse {
  0% {
    opacity: .7;
    transform: scale(.9);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog page */
.inner-header {
  color: var(--dark);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 30px rgba(11, 35, 87, .08);
}

.inner-header .nav-cta {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.page-hero {
  padding: calc(var(--header-height) + 3.2rem) 0 3.2rem;
  background: var(--bg);
}

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
}

.blog-page {
  padding-top: 3.2rem;
  background: var(--white);
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.blog-page-grid .blog-card {
  display: flex;
  flex-direction: column;
}

.blog-page-grid .blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.blog-page-grid .blog-card-body .text-link {
  margin-top: auto;
}

.blog-page-grid .blog-cover {
  min-height: 200px;
}

.blog-page-grid .blog-title {
  margin-bottom: 1rem;
  font-size: 1.08rem;
  line-height: 1.45;
}

.cover-cert {
  background: #244f81;
}

.cover-funding {
  background: #0d4f8f;
}

.cover-finance {
  background: #173d70;
}

.cover-governance {
  background: #373435;
}

.cover-calls {
  background: #2769bd;
}

.cover-private {
  background: #134884;
}

.newsletter-band {
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  background: var(--dark);
  border-radius: var(--radius);
}

.newsletter-band h2 {
  margin-bottom: .5rem;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.newsletter-band p {
  margin: 0;
  color: #c7d4e7;
}

/* Reusable article template */
.article-hero {
  padding: calc(var(--header-height) + 4.5rem) 0 4.5rem;
  background: var(--bg);
}

.article-hero-inner {
  max-width: 980px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: .72rem;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 600;
}

.article-hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
}

.article-summary {
  max-width: 70ch;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  color: var(--muted);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.article-meta span:first-child {
  color: var(--primary);
  font-weight: 600;
}

.article-cover {
  position: relative;
  min-height: clamp(360px, 42vw, 590px);
  display: flex;
  align-items: flex-end;
  margin-top: 3.5rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
  border-radius: var(--radius);
}

.article-cover::before,
.article-cover::after {
  content: "";
  position: absolute;
  border: 40px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.article-cover::before {
  width: 64%;
  height: 120%;
  top: -45%;
  right: -10%;
}

.article-cover::after {
  width: 45%;
  height: 85%;
  bottom: -38%;
  left: -8%;
}

.article-cover span {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: 1.25rem;
}

.article-index,
.article-help {
  padding: 1.35rem;
  background: var(--bg);
  border-radius: 12px;
}

.article-index h2,
.article-help h2 {
  margin-bottom: 1rem;
  font-size: .9rem;
  letter-spacing: 0;
}

.article-index ol {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: .76rem;
}

.article-index a:hover {
  color: var(--primary);
}

.article-help {
  color: #f0edef;
  background: var(--dark);
}

.article-help h2 {
  color: var(--white);
}

.article-help p {
  margin-bottom: 1rem;
  font-size: .75rem;
}

.article-help .button {
  width: 100%;
  min-height: 44px;
  padding-inline: .8rem;
  font-size: .72rem;
}

.article-content {
  max-width: 760px;
  color: var(--text);
}

.article-content>p,
.article-content>ul {
  margin-bottom: 1.4rem;
}

.article-lead {
  color: var(--dark);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
}

.article-content>h2 {
  margin: 4rem 0 1.2rem;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding: 1.7rem 0;
  color: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-content blockquote p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.55;
}

.article-checklist {
  display: grid;
  gap: .85rem;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 1.65rem;
}

.article-checklist li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 2px;
}

.article-note {
  margin: 2.4rem 0;
  padding: 1.4rem 1.5rem;
  color: var(--text);
  background: #eaf4fb;
  border-radius: 12px;
}

.article-note h3 {
  margin-bottom: .4rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.article-note p {
  margin: 0;
  font-size: .85rem;
}

.article-cta {
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #f0edef;
  background: var(--dark-deep);
  border-radius: var(--radius);
}

.article-cta h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.article-cta p {
  margin-bottom: 1.5rem;
}

.article-back {
  margin-top: 2.2rem;
}

/* Legal pages */
.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.legal-content h2 {
  margin-top: 3rem;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-notice {
  padding: 1rem 1.2rem;
  color: var(--dark);
  background: #eaf4fb;
  border-radius: 10px;
}

@media (max-width: 1060px) {
  .primary-nav {
    gap: .8rem;
  }

  .primary-nav>a {
    font-size: .7rem;
  }

  .footer-grid {
    grid-template-columns: 1.3fr .7fr .9fr;
  }

  .footer-grid>div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .site-header.menu-active {
    background: #ffffff !important;
    color: var(--dark) !important;
    box-shadow: 0 4px 20px rgba(55, 52, 53, 0.08) !important;
  }

  .site-header.menu-active .brand::before {
    background-image: url("assets/images/logo-header2.png") !important;
  }

  .menu-toggle {
    display: grid;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.2rem 1.25rem 2.5rem;
    color: var(--dark);
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease, visibility 240ms;
    will-change: transform, opacity;
    z-index: 999;
  }

  .primary-nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav>a {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    transition: color 150ms ease;
  }

  .primary-nav>a:hover,
  .primary-nav>a:active {
    color: var(--accent);
  }

  .primary-nav>a::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 1.2rem;
    padding: 0.95rem 1rem;
    color: #ffffff;
    background: var(--accent);
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .service-card,
  .service-card-featured,
  .service-card-dark {
    grid-column: span 1;
    min-height: 330px;
  }

  .service-card-accent {
    grid-column: 1 / -1;
  }

  .process-layout,
  .about-grid,
  .case-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-intro,
  .faq-intro {
    position: static;
  }

  .about-grid {
    gap: 4rem;
  }

  .about-media {
    width: calc(100% - 1.5rem);
  }

  .case-grid {
    gap: 2.2rem;
  }

  .blog-grid,
  .blog-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid .blog-card:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .section {
    padding-block: 4.7rem;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-slider {
    min-height: 690px;
    height: 100svh;
    max-height: 820px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 24, 61, .82), rgba(6, 24, 61, .93));
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero-content h1,
  .hero-content h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.5vw, 3rem);
  }

  .hero-content>p {
    font-size: .96rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-controls {
    top: calc(var(--header-height) + .75rem);
    bottom: auto;
    justify-content: flex-end;
    gap: .7rem;
  }

  .slider-control-group {
    gap: .55rem;
  }

  .slider-dot {
    width: 25px;
  }

  .hero-controls p {
    display: none;
  }

  .slider-toggle {
    padding: .3rem .45rem;
    font-size: .6rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid p,
  .trust-grid p:first-child {
    padding: 1rem;
    border: 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card-featured,
  .service-card-dark,
  .service-card-accent {
    grid-column: auto;
    min-height: 310px;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
  }

  .about-media {
    width: calc(100% - .75rem);
  }

  .about-media img {
    height: 450px;
  }

  .mission-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value-card,
  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    grid-column: auto;
    padding: 1.7rem 1.3rem;
  }

  .proof-items {
    grid-template-columns: 1fr;
  }

  .proof-items span:nth-child(odd) {
    padding-right: 0;
  }

  .cta-banner {
    min-height: 540px;
  }

  .publication-item {
    grid-template-columns: 1fr;
    gap: .6rem;
    padding-block: 1.5rem;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .text-link {
    margin-top: 1rem;
  }

  .blog-grid,
  .blog-page-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid .blog-card:last-child {
    grid-column: auto;
  }

  .contact-details address {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 1.25rem;
  }

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

  .footer-bottom {
    display: grid;
  }

  .footer-bottom p:last-child {
    flex-wrap: wrap;
  }

  .site-header .brand {
    min-width: 140px;
    min-height: 46px;
    padding: 0;
    background: transparent;
  }

  .site-header .brand::before {
    width: 140px;
    height: 46px;
  }

  .inner-header .button {
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    font-size: 0.75rem;
  }

  .newsletter-band {
    grid-template-columns: 1fr;
    padding: 2rem 1.4rem;
  }

  .article-hero {
    padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  }

  .article-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  .article-cover {
    min-height: 390px;
    margin-top: 1rem;
    padding: 1.5rem;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding-block: 4.5rem;
  }

  .article-content>h2 {
    margin-top: 3.2rem;
  }

  .whatsapp-float {
    right: .8rem;
    bottom: .8rem;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content>* {
    opacity: 1;
    transform: none;
  }
}

.qa-static *,
.qa-static *::before,
.qa-static *::after {
  animation: none !important;
  transition: none !important;
}

.qa-static .reveal,
.qa-static .hero-content>* {
  opacity: 1 !important;
  transform: none !important;
}

.qa-static .site-header,
.qa-static .process-intro,
.qa-static .faq-intro {
  position: absolute !important;
}

.qa-static .process-intro,
.qa-static .faq-intro {
  position: static !important;
}


/* ==========================================================================
   PLANS GRID: 3 COLUNAS DE SERVIÇOS
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(55, 52, 53, 0.06);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(55, 52, 53, 0.12);
  border-color: #cbd5e1;
}

.plan-card-featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #fff6fb 100%);
  box-shadow: 0 14px 40px rgba(236, 38, 143, 0.14);
  transform: scale(1.02);
}

.plan-card-featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 26px 54px rgba(236, 38, 143, 0.22);
}

.plan-ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 0.35rem 1rem;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(236, 38, 143, 0.35);
}

.plan-card-premium {
  border-color: #94a3b8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.plan-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  color: var(--primary);
  background: #eaf4fb;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}

.plan-badge-accent {
  color: var(--white);
  background: var(--accent);
}

.plan-badge-dark {
  color: var(--white);
  background: var(--dark);
}

.plan-title {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
}

.plan-tagline {
  margin: 0 0 1.2rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
}

.plan-card-featured .plan-tagline {
  color: var(--accent-dark);
}

.plan-target {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.plan-target strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.plan-target p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--dark);
  line-height: 1.5;
}

.plan-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
  flex: 1 0 auto;
}

.plan-section-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.plan-features,
.plan-deliverables {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.plan-features li,
.plan-deliverables li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.plan-card-featured .plan-features li::before {
  color: var(--accent);
}

.plan-deliverables li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  top: -0.1rem;
  color: var(--muted);
  font-weight: 900;
  font-size: 1.1rem;
}

.plan-footer {
  margin-top: auto;
  padding-top: 1.2rem;
}

.button-plan {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding-block: 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
}

.button-dark {
  color: var(--white);
  background: var(--dark);
  border: 1px solid var(--dark);
}

.button-dark:hover {
  background: var(--dark-deep);
  color: var(--white);
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .plan-card-featured {
    transform: none;
  }

  .plan-card-featured:hover {
    transform: translateY(-8px);
  }
}



/* ==========================================================================
   COMPARATIVE TABLE: QUADRO DE ESCOPO DOS PLANOS
   ========================================================================== */
.plans-comparison-wrapper {
  margin-top: 3.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(55, 52, 53, 0.06);
  overflow: hidden;
}

.plans-comparison-header {
  padding: 1.25rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.plans-comparison-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 700;
}

.plans-comparison-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plans-comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.92rem;
}

.plans-comparison-table th,
.plans-comparison-table td {
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.plans-comparison-table th:last-child,
.plans-comparison-table td:last-child {
  border-right: none;
}

.plans-comparison-table tr:last-child td {
  border-bottom: none;
}

.plans-comparison-table th {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.plans-comparison-table th.col-feature {
  text-align: left;
  color: var(--primary);
  width: 34%;
}

.plans-comparison-table th.col-featured-plan {
  color: var(--accent);
  background: #fff0f7;
}

.plans-comparison-table td.col-feature {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
}

.plans-comparison-table td.col-featured-plan {
  background: #fffbfd;
}

.plans-comparison-table .check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eaf4fb;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.plans-comparison-table td.col-featured-plan .check-yes {
  background: #ffe4f2;
  color: var(--accent);
}

.plans-comparison-table .check-no {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 600;
}

.plans-comparison-table .badge-partial {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
}



/* ==========================================================================
   PÁGINA DE EDITAIS ABERTOS
   ========================================================================== */
.editais-hero {
  padding-bottom: 2.5rem;
}

.editais-filter-section {
  padding-top: 1rem;
  background: var(--bg);
}

.editais-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-pill {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}

.filter-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.filter-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 105, 178, 0.25);
}

.editais-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.editais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.edital-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: 0 10px 32px rgba(55, 52, 53, 0.05);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.edital-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(55, 52, 53, 0.1);
  border-color: #cbd5e1;
}

.edital-card-highlight {
  border-left: 4px solid var(--accent);
}

.edital-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.edital-status {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-open {
  background: #e6f7ef;
  color: #16794f;
}

.edital-deadline {
  font-size: 0.78rem;
  color: var(--muted);
}

.edital-organ {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.edital-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--dark);
  line-height: 1.35;
}

.edital-summary {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.edital-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 1.75rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.meta-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.edital-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.button-edital {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding-block: 0.8rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* Banner de CTA na página de editais */
.editais-cta-band {
  background: var(--dark-deep);
  color: var(--white);
  padding-block: clamp(4rem, 6vw, 6rem);
}

.editais-cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.editais-cta-text h2 {
  margin: 0.8rem 0 1rem;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.editais-cta-text p {
  color: #cad7ec;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.editais-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 960px) {
  .editais-grid {
    grid-template-columns: 1fr;
  }

  .editais-cta-card {
    grid-template-columns: 1fr;
  }

  .edital-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}