/* ==========================================================================
   Open Solutions — folha de estilo única
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #0082c6;
  --primary-dark: #006ca5;
  --dark: #333333;
  --text: #7a7a7a;
  --accent: #f58634;
  --navy: #173e64;
  --light-blue: #9fbee3;
  --teal: #2ca7b0;
  --deep: #002940;
  --white: #ffffff;
  --bg: #f5f5f5;
  --bg-alt: #ebebeb;
  --border: #e3e3e3;
  --whatsapp: #25d366;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1300px;
  --gutter: 20px;
  --radius: 7px;
  --radius-lg: 12px;
  --shadow: 0 0 10px rgba(0, 0, 0, .12);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, .08);
  --header-h: 89px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; color: var(--dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }
.section { padding: 80px 0; }
.section--sm { padding: 50px 0; }
.bg-light { background: var(--bg); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.text-center { text-align: center; }
.hl { color: var(--primary); }
.hl-light { color: var(--light-blue); }
.hl-accent { color: var(--accent); }

.section-title { font-size: 42px; font-weight: 600; margin-bottom: 14px; }
.section-lead { font-size: 17px; color: var(--dark); max-width: 760px; margin: 0 auto 36px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head .section-lead { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 36px;
  font-size: 16px; font-weight: 500; line-height: 1.1;
  color: #fff; background: var(--primary);
  border: 2px solid var(--primary); border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); }
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn--sm { padding: 13px 26px; font-size: 15px; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 15px; }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 4px; flex: none; }
.brand__logo { width: 150px; }
.brand__sap { width: 66px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 8px; }
.main-nav a { display: flex; align-items: center; gap: 6px; padding: 13px 10px; color: #6b6b6b; font-size: 15px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav .is-active > a { color: var(--accent); }
.main-nav .caret { width: 14px; height: 14px; flex: none; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 330px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 9px 20px; font-size: 14px; color: var(--dark); }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--accent); background: var(--bg); }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; background: #fff; border: 1px solid var(--border); border-radius: 4px;
  font-size: 13px; cursor: pointer;
}
.lang__btn img, .lang__list img { width: 16px; height: 11px; object-fit: cover; }
.lang__btn svg { width: 14px; height: 14px; }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 4px); min-width: 100%;
  list-style: none; margin: 0; padding: 4px 0; background: #fff; border: 1px solid var(--border); border-radius: 4px;
  display: none; box-shadow: var(--shadow-soft);
}
.lang.is-open .lang__list { display: block; }
.lang__list a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; color: var(--dark); white-space: nowrap; }
.lang__list a:hover { background: var(--bg); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* Menu mobile (gaveta) */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0, 20, 35, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--deep); color: #fff; padding: 24px 28px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.drawer__close svg { width: 22px; height: 22px; fill: currentColor; }
.drawer h2 { color: #fff; font-size: 18px; margin: 26px 0 10px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { display: block; padding: 6px 0; color: #fff; font-size: 15px; }
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--accent); }
.drawer__langs { display: flex; gap: 14px; }
.drawer__langs img { width: 34px; height: 24px; object-fit: cover; border-radius: 3px; }

/* --------------------------------------------------------------------------
   Heróis
   -------------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; background-color: var(--navy);
  background-size: cover; background-position: center; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 32%, rgba(23, 62, 100, 0) 100%); opacity: .7;
}
.hero h1, .hero h2 { color: #fff; }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

.hero--home { min-height: 700px; padding: 130px 0 230px; }
.hero--home .hero__kicker { font-size: 17px; margin-bottom: 24px; }
.hero--home h1 { font-size: 55px; font-weight: 700; line-height: 1.1; max-width: 650px; margin-bottom: 50px; }

.page-hero { padding: 100px 0 90px; }
.page-hero::before { background: linear-gradient(90deg, var(--navy) 20%, rgba(23, 62, 100, .55) 100%); opacity: .85; }
.page-hero__kicker { font-size: 15px; margin-bottom: 20px; }
.page-hero h1 { font-size: 48px; font-weight: 700; line-height: 1.1; max-width: 900px; margin: 0; }
.page-hero h1 .hl-light { display: block; }
.page-hero__sub { font-size: 17px; margin: 18px 0 0; max-width: 820px; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero--module { padding: 80px 0 70px; }

.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid #ddd; font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0; }
.breadcrumbs li + li::before { content: "»"; margin-right: 6px; color: var(--dark); }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--dark); }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.stats-wrap { position: relative; margin-top: -170px; z-index: 2; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 0 10px rgba(0, 0, 0, .21);
  padding: 40px; text-align: center;
}
.stat__num { display: block; font-size: 52px; font-weight: 800; line-height: 1; color: var(--primary); }
.stat__label { display: block; font-size: 23px; font-weight: 500; line-height: 1.7; margin-top: 6px; }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-intro h2 { font-size: 60px; line-height: 1.1; font-weight: 600; }
.about-intro__text { line-height: 2; }
.about-intro .btn { margin-top: 30px; }

.tech { background: linear-gradient(180deg, var(--teal) 0%, var(--navy) 100%); color: #fff; padding: 80px 0; }
.tech h2 { color: #fff; font-size: 38px; text-align: center; margin-bottom: 12px; }
.tech .section-lead { color: #fff; text-align: center; font-size: 16px; max-width: 900px; margin: 0 auto 36px; }

.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.module-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 220px; padding: 24px; background: #fff; border-radius: 4px;
  color: var(--dark); box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s;
}
.module-card:hover { color: var(--dark); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.module-card h3 { font-size: 21px; font-weight: 400; line-height: 1.15; margin: 0; }
.module-card img { width: 46px; height: 46px; object-fit: contain; }

/* Acordeão de setores */
.sectors { display: flex; height: 600px; overflow: hidden; list-style: none; margin: 0; padding: 0; background: var(--navy); }
.sector {
  position: relative; flex: 1 1 0; min-width: 2.2rem; background-size: cover; background-position: center;
  transition: flex-grow .45s ease;
}
.sector:hover, .sector:focus-within { flex-grow: 3.2; }
.sector a { position: absolute; inset: 0; display: flex; color: #fff; background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(17, 17, 17, .92) 100%); }
.sector a:hover { color: #fff; }
.sector__content { position: absolute; left: 40px; right: 90px; bottom: 50px; opacity: 0; transform: translateY(10px); transition: opacity .3s .1s, transform .3s .1s; }
.sector:hover .sector__content, .sector:focus-within .sector__content { opacity: 1; transform: none; }
.sector__content h3 { color: #fff; font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 14px; }
.sector__content p, .sector__content li { font-size: 14px; font-weight: 500; line-height: 1.35; }
.sector__content ul { margin: 10px 0 0; padding-left: 20px; }
.sector__aside {
  position: absolute; right: 1rem; top: 0; bottom: 0; padding: 1rem;
  display: flex; align-items: center; writing-mode: vertical-rl; transform: rotate(180deg);
  text-transform: uppercase; white-space: nowrap; font-size: 1.4rem; transition: opacity .3s;
}
.sector__aside::before { content: "•"; font-size: 2rem; margin-bottom: 1rem; }
.sector__aside::after { content: ""; flex-grow: 1; width: 1px; margin-top: 1rem; background: rgba(255, 255, 255, .25); }
.sector:hover .sector__aside, .sector:focus-within .sector__aside { opacity: 0; }

.fiori { position: relative; z-index: 1; background: var(--navy); color: #fff; padding: 0; }
.fiori__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 420px; }
.fiori__media { position: relative; align-self: stretch; }
.fiori__media img { position: absolute; left: 0; top: 14px; width: 100%; max-width: 700px; }
.fiori h2 { color: #fff; font-size: 30px; font-weight: 600; line-height: 1.55; margin: 0; }

.career-card { display: grid; grid-template-columns: 44% 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.career-card__img { min-height: 500px; background-size: cover; background-position: center; }
.career-card__body { padding: 60px 70px; align-self: center; }
.career-card h2 { font-size: 48px; line-height: 1.1; }
.career-card p { line-height: 1.75; }
.career-card .btn-row { margin-top: 30px; }

.cta-band { position: relative; color: #fff; background-size: cover; background-position: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23, 62, 100, .78); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.cta-band h2 { color: #fff; font-size: 52px; font-weight: 400; line-height: 1.2; max-width: 680px; margin: 0; }
.cta-band h2 strong { font-weight: 700; }
.cta-band .btn { flex: none; margin-right: 110px; }

/* Carrossel genérico */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 6px 2px 14px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: none; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: 0; background: none; color: var(--navy); cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.carousel__btn svg { width: 22px; height: 22px; fill: currentColor; }
.carousel__btn--prev { left: -44px; }
.carousel__btn--next { right: -44px; }
.carousel__btn[disabled] { opacity: .25; cursor: default; }

.clients .carousel__track > * { width: calc((100% - 80px) / 5); display: grid; place-items: center; height: 110px; }
.clients img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; }

.case-slide { width: calc((100% - 40px) / 3); }

/* Card de vídeo (casos de sucesso) */
.video-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 14px 14px 20px; height: 100%; }
.video-card h3 { font-size: 15px; font-weight: 400; margin: 18px 0 0; }
.video-card h3 a { color: var(--dark); }
.video-card h3 a:hover { color: var(--primary); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; border: 0; padding: 0; cursor: pointer; border-radius: 3px; overflow: hidden; }
.yt::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.yt:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after { display: none; }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c5c5c5; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--dark); }

/* Cards de post */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 7px 7px 30px;
}
.post-card__img { aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--radius); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 22px 13px 0; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
.post-card h3 a { color: var(--deep); }
.post-card h3 a:hover { color: var(--primary); }
.post-card time { font-size: 13px; color: #6b6b6b; margin-bottom: 12px; }
.post-card p { font-size: 14px; color: var(--text); line-height: 1.55; margin-bottom: 14px; }
.post-card__more { margin-top: auto; text-decoration: underline; font-weight: 500; }

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contact-band { position: relative; background: var(--deep); padding: 200px 0 40px; isolation: isolate; }
.contact-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: -1; background: var(--contact-bg) center / cover no-repeat; }
.contact-card {
  max-width: 900px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 50px 80px 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
}
.contact-card h2 { text-align: center; font-size: 48px; margin-bottom: 14px; }
.contact-card > p { text-align: center; font-size: 17px; margin-bottom: 30px; }

.contact-card__info { text-align: center; font-size: 14px; color: #666; margin-top: 22px; }
.contact-actions--center { justify-content: center; }
.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
.contact-cta { background: var(--bg); border-radius: var(--radius-lg); padding: 40px; }
.contact-cta h2 { font-size: 30px; line-height: 1.2; }
.contact-cta p { margin-bottom: 26px; }

.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.contact-info dt { font-weight: 600; font-size: 14px; color: #555; }
.contact-info dd { margin: 2px 0 0; font-size: 14px; color: #666; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #555; }
.contact-info dd:last-child { border-bottom: 0; }
.contact-intro h2 { font-size: 30px; line-height: 1.2; }
.contact-intro > p { margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Páginas internas — blocos comuns
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split h2 { font-size: 40px; line-height: 1.15; }
.split__text { line-height: 1.75; }
.split > img { justify-self: center; max-height: 520px; width: auto; }
.split .btn { margin-top: 10px; }

.shot-carousel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 10px; }
.shot-carousel .carousel__track { padding: 0; gap: 0; }
.shot-carousel .carousel__track > * { width: 100%; }
.shot-carousel img { width: 100%; border-radius: 6px; }

.feature-grid { display: grid; gap: 20px; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: #fff; border: 1px solid #dcdcdc; border-radius: 10px; padding: 16px 16px 26px; text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.feature__icon { width: 64px; height: 64px; margin: 0 auto 16px; }
.feature__icon img { width: 64px; height: 64px; object-fit: contain; }
.feature h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.feature p { font-size: 13.5px; color: #555; line-height: 1.5; }
.feature--plain { border: 0; box-shadow: var(--shadow); padding: 26px 20px; }
.feature--plain h3 { margin: 0; font-size: 16px; }
.block-gap { margin-top: 50px; }

/* Desafios × soluções */
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.challenge { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 24px 34px; }
.challenge h3 { font-size: 19px; color: var(--navy); line-height: 1.2; margin-bottom: 22px; }
.challenge h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.challenge h4 svg { width: 18px; height: 18px; fill: var(--navy); }
.challenge h4.is-solution svg { fill: var(--accent); }
.challenge p { font-size: 13.5px; line-height: 1.6; margin-bottom: 22px; }
.challenge p:last-child { margin-bottom: 0; }

.statement { background: linear-gradient(90deg, var(--deep) 0%, var(--navy) 100%); color: #fff; padding: 60px 0; }
.statement h2 { color: #fff; text-align: center; font-size: 34px; line-height: 1.3; max-width: 1000px; margin: 0 auto; }

.om-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.om-card { grid-column: span 2; background: #fff; border: 1px solid #dcdcdc; border-radius: 10px; padding: 20px 20px 26px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.om-grid .om-card:nth-last-child(2):nth-child(3n + 1), .om-grid .om-card:nth-last-child(1):nth-child(3n + 2) { grid-column: span 3; }
.om-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.om-card__head img { width: 52px; height: 52px; flex: none; }
.om-card h3 { font-size: 16px; color: var(--navy); margin: 0; }
.om-card p { font-size: 13px; line-height: 1.6; color: #444; }

/* Sobre */
.prose-lg { font-size: 16.5px; line-height: 1.6; color: #555; }
.prose-lg strong { color: var(--dark); }
.partners { background: var(--navy); border-radius: var(--radius); padding: 30px 34px 34px; margin-top: 34px; }
.partners h2 { color: #fff; font-size: 26px; margin-bottom: 16px; }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.partners__grid > * { background: #fff; border-radius: 4px; height: 100px; display: grid; place-items: center; padding: 12px; }
.partners__grid img { max-height: 70px; width: auto; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 30px 20px; box-shadow: var(--shadow-soft); }
.mv-card img { width: 42px; height: 42px; margin-bottom: 14px; }
.mv-card h3 { font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.mv-card p { font-size: 13.5px; color: #444; line-height: 1.6; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 22px 20px 34px; box-shadow: var(--shadow-soft); }
.value-card img { width: 42px; height: 42px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 14px; }
.value-card p { font-size: 13px; color: var(--text); line-height: 1.6; }
.countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 44px; }
.country { text-align: center; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.country img { width: 100px; height: 100px; margin: 0 auto 10px; }
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.icon-card { background: #fff; border-radius: 4px; padding: 20px 16px 22px; color: var(--dark); min-height: 0; gap: 0; }
.bg-navy .icon-card h3 { color: var(--dark); }
.icon-card img { width: 44px; height: 44px; margin-bottom: 32px; }
.icon-card h3 { font-size: 15px; font-weight: 400; margin: 0; }
.title-upper { text-transform: uppercase; }

/* Post */
.post-header { padding: 50px 0 0; }
.post-header h1 { font-size: 34px; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.post-meta { display: flex; gap: 16px; font-size: 13px; margin-bottom: 22px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 12px; height: 12px; fill: var(--primary); }
.post-cover { border-radius: var(--radius); width: 100%; margin-bottom: 22px; }
.prose { font-size: 15px; line-height: 1.6; color: #444; }
.prose h2 { font-size: 30px; margin: 1.1em 0 .5em; color: var(--dark); font-weight: 500; }
.prose h3 { font-size: 22px; margin: 1.1em 0 .5em; font-weight: 500; }
.prose h4 { font-size: 18px; margin: 1em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 26px; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose a { text-decoration: underline; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary); color: var(--dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 34px 0 60px; }
.share h2 { font-size: 18px; margin: 0 14px 0 0; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.share a:hover { background: var(--primary); color: #fff; }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.related { background: var(--navy); padding: 60px 0 70px; }
.related h2 { color: #fff; font-size: 34px; margin-bottom: 30px; }

.legal { padding: 50px 0 70px; }
.legal h1 { font-size: 40px; margin-bottom: 20px; }
.legal .prose { color: var(--text); font-size: 14.5px; }
.legal .prose h2 { font-size: 30px; color: var(--dark); }

.empty-note { color: var(--text); }

/* Caso de sucesso (individual) */
.case-video { max-width: 960px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 500; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 96px; color: var(--primary); margin: 0; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: #fff; padding: 80px 0 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .55fr .85fr 1fr; gap: 30px; }
.site-footer h2 { color: #fff; font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
.contact-list { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; fill: var(--primary); flex: none; margin-top: 2px; }
.social { display: flex; gap: 8px; margin-bottom: 36px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background-color .2s; }
.social a:hover { background: var(--accent); }
.social svg { width: 19px; height: 19px; fill: var(--deep); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.footer-brand img { width: 280px; }
.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .25); padding: 20px 0 24px; text-align: center; font-size: 12px; }

.whats-float {
  position: fixed; right: 15px; bottom: 15px; z-index: 90;
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px;
  background: var(--whatsapp); color: #fff; border-radius: 30px; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.whats-float:hover { color: #fff; background: #1ebe5b; }
.whats-float svg { width: 15px; height: 15px; fill: currentColor; }

.cookie {
  position: fixed; left: 15px; bottom: 15px; z-index: 95; max-width: 290px;
  background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
  padding: 16px 20px; font-size: 12px; line-height: 1.5; color: #444;
}
.cookie[hidden] { display: none; }
.cookie p { margin-bottom: 12px; }
.cookie a { color: var(--navy); text-decoration: underline; }
.cookie button { width: 100%; padding: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 4px; font-weight: 600; cursor: pointer; }

/* Animações de entrada sutis */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .main-nav a { padding: 13px 7px; font-size: 14px; }
  .carousel__btn--prev { left: -8px; }
  .carousel__btn--next { right: -8px; }
  .clients .carousel, .cases-carousel { padding: 0 34px; }
  .cta-band .btn { margin-right: 0; }
}

/* menu completo só cabe acima de 1100px (os rótulos em espanhol são mais longos) */
@media (max-width: 1100px) {
  .main-nav, .site-header .lang { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .brand__logo { width: 130px; }
  .brand__sap { width: 56px; }

  .hero--home { min-height: 0; padding: 90px 0 200px; }
  .hero--home h1 { font-size: 44px; }
  .page-hero h1 { font-size: 38px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 34px; }
  .stat__num { font-size: 40px; }
  .stat__label { font-size: 18px; }
  .about-intro h2 { font-size: 44px; }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .fiori__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; min-height: 0; }
  .fiori__media img { position: static; }
  .fiori h2 { font-size: 24px; }
  .career-card { grid-template-columns: 1fr; }
  .career-card__img { min-height: 320px; }
  .career-card__body { padding: 40px; }
  .career-card h2 { font-size: 36px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding-top: 60px; padding-bottom: 60px; }
  .cta-band h2 { font-size: 38px; }
  .clients .carousel__track > * { width: calc((100% - 40px) / 3); }
  .case-slide { width: calc((100% - 20px) / 2); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .split h2 { font-size: 32px; }
}

@media (max-width: 767px) {
  .hero--home { padding: 70px 0 190px; }
  .hero--home h1 { font-size: 34px; margin-bottom: 34px; }
  .page-hero { padding: 60px 0; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 28px; }
  .stats-wrap { margin-top: -150px; }
  .stats { grid-template-columns: 1fr; padding: 28px 20px; gap: 22px; }
  .about-intro, .split { grid-template-columns: 1fr; gap: 30px; }
  .about-intro h2 { font-size: 36px; }
  .tech h2 { font-size: 28px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .module-card { min-height: 160px; padding: 18px; }
  .module-card h3 { font-size: 17px; }
  .sectors { flex-direction: column; height: auto; }
  .sector { min-height: 120px; flex: none; transition: none; }
  .sector a { position: relative; inset: auto; min-height: 120px; }
  .sector__content { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; transform: none; padding: 30px 60px 30px 20px; }
  .sector__content h3 { font-size: 22px; margin: 0; }
  .sector__content p, .sector__content ul { display: none; }
  .sector__aside { display: none; }
  .career-card__body { padding: 30px 22px; }
  .career-card h2 { font-size: 30px; }
  .cta-band h2 { font-size: 30px; }
  .clients .carousel__track > * { width: calc((100% - 20px) / 2); }
  .case-slide { width: 100%; }
  .post-grid, .feature-grid--3, .feature-grid--2, .challenge-grid, .mv-grid, .values-grid, .partners__grid { grid-template-columns: 1fr; }
  .feature-grid--4, .icon-grid { grid-template-columns: 1fr 1fr; }
  .om-grid { grid-template-columns: 1fr; }
  .om-grid .om-card, .om-grid .om-card:nth-last-child(2):nth-child(3n + 1), .om-grid .om-card:nth-last-child(1):nth-child(3n + 2) { grid-column: auto; }
  .statement h2 { font-size: 24px; }
  .contact-band { padding-top: 120px; }
  .contact-card { padding: 34px 20px 40px; border-radius: 14px; }
  .contact-card h2 { font-size: 32px; }
  .contact-cta { padding: 28px 20px; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-header h1 { font-size: 27px; }
  .prose h2 { font-size: 24px; }
  .legal h1 { font-size: 30px; }
  .whats-float span { display: none; }
  .whats-float { padding: 14px; }
  .whats-float svg { width: 22px; height: 22px; }
  .country img { width: 72px; height: 72px; }
}
