/* ------------------------------------------------------------------
   IWS Brasil
   Paleta tirada do próprio poço: água, rocha, sal e o verde da marca.
------------------------------------------------------------------- */
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-latin-400-normal.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; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-latin-500-normal.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; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-latin-600-normal.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; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-600-normal.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; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-700-normal.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; }

/* Cirílico (russo) e árabe: outras fontes sob o mesmo nome de família.
   O navegador só baixa estes arquivos se a página tiver esses caracteres. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/assets/fonts/roboto-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Barlow'; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/roboto-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/roboto-condensed-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Barlow'; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/noto-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Barlow'; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/noto-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/assets/fonts/noto-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/assets/fonts/noto-sans-arabic-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --agua:        #13242c;   /* fundo escuro: lâmina d'água */
  --calcario:    #ecede8;   /* fundo claro secundário */
  --branco:      #fafaf7;   /* fundo principal */
  --grafite:     #1f2725;   /* texto */
  --grafite-2:   #4f5a56;   /* texto secundário */
  --linha:       #cfd2ca;
  --verde:       #375521;   /* verde do logo */
  --verde-hover: #2a4119;
  --verde-claro: #b4cc8f;   /* verde legível sobre fundo escuro */
  --sal:         #dcdfd8;
  --sal-2:       #a9b3b0;   /* texto secundário sobre fundo escuro */

  --f-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-disp: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --header-h: 68px;
}

html[lang^="zh"] {
  --f-text: 'Barlow', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --f-disp: 'Barlow Condensed', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}
html[lang="ar"] { --f-text: 'Barlow', 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif; --f-disp: 'Barlow Condensed', 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6;
  color: var(--grafite); background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .numbers :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.container { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.tinted { background: var(--calcario); }

.skip-link {
  position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100;
  padding: 10px 16px; background: var(--verde); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Elementos comuns ---------- */
.btn {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--f-text); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border: 2px solid transparent; border-radius: 3px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-green { background: var(--verde); color: #fff; }
.btn-green:hover { background: var(--verde-hover); }
.btn-light { background: var(--sal); color: var(--agua); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(220,223,216,.45); color: var(--sal); }
.btn-outline-light:hover { border-color: var(--sal); }
.btn-meta { font-weight: 400; font-size: .875rem; opacity: .8; }

.text-link {
  font-weight: 600; color: var(--verde); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.split-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px 48px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px); padding-bottom: 18px; border-bottom: 2px solid var(--grafite);
}
.split-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.split-head p { color: var(--grafite-2); max-width: 34em; }
.block-title { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 28px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--branco); border-bottom: 1px solid var(--linha);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 8px clamp(12px, 2vw, 28px); height: var(--header-h); }
.brand { margin-inline-end: auto; }
.brand img { width: 113px; height: auto; }
.menu ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.menu a {
  display: block; font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--grafite);
  padding-block: 21px; border-bottom: 3px solid transparent;
}
.menu a:hover { color: var(--verde); }
.menu a[aria-current="page"] { border-bottom-color: var(--verde); color: var(--verde); font-weight: 600; }
.menu .menu-cta {
  padding: 9px 16px; border: 2px solid var(--verde); border-radius: 3px; color: var(--verde); font-weight: 600;
}
.menu .menu-cta:hover, .menu .menu-cta[aria-current="page"] { background: var(--verde); color: #fff; }

.menu-contact { display: none; }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding-block: 10px; padding-inline: 10px 0; min-height: 44px;
  font: 600 1rem var(--f-text); color: var(--grafite); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, background-color .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (início) ---------- */
.hero { background: var(--agua); color: var(--sal); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
.hero h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: .98; letter-spacing: -.01em;
  color: #fff; max-width: 13ch; text-wrap: balance;
}
.hero-lede { margin-top: 24px; font-size: 1.1875rem; line-height: 1.55; color: var(--sal); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* esquema do poço */
.well { margin: 0; }
.well-svg { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; direction: ltr; }
.lyr-water { fill: #1d3a47; }
.lyr-sed   { fill: #2e3c37; }
.lyr-salt  { fill: #dfe2db; }
.lyr-res   { fill: #5f4c2c; }
.sea { stroke: #6f8f9c; stroke-width: 1.5; }
.rig path { stroke: var(--sal); stroke-width: 2; fill: none; stroke-linejoin: round; }
.riser { stroke: #9fb3ba; stroke-width: 1.5; fill: none; }
.casing path { stroke: #9aa7a3; stroke-width: 2.5; fill: none; }
.hole { stroke: var(--verde-claro); stroke-width: 3; fill: none; stroke-linecap: round; }
.bit { fill: var(--verde-claro); }
.lbl-bit text { font: 600 13px var(--f-disp); fill: var(--sal); }
.lbl-bit text:nth-child(3) { fill: var(--agua); }
.scale line, .scale path { stroke: var(--sal-2); stroke-width: 1.25; fill: none; }
.scale text { font: 600 15px var(--f-disp); fill: var(--sal); }
.lbl-layer text { font: 500 13px var(--f-text); fill: var(--sal-2); }
.lbl-layer .on-salt { fill: #3e4a46; }
.well-caption { margin-top: 18px; font-size: .875rem; line-height: 1.5; color: var(--sal-2); max-width: 46ch; margin-inline: auto; text-align: center; text-wrap: balance; }

@media (prefers-reduced-motion: no-preference) {
  .hole { stroke-dasharray: 382; stroke-dashoffset: 382; animation: drill 2.4s cubic-bezier(.45,.05,.3,1) .35s forwards; }
  .bit  { opacity: 0; transform: translateY(-382px); animation: bit 2.4s cubic-bezier(.45,.05,.3,1) .35s forwards; }
  @keyframes drill { to { stroke-dashoffset: 0; } }
  @keyframes bit { 0% { opacity: 1; } to { opacity: 1; transform: none; } }
}

/* ---------- Cabeçalho das páginas internas ---------- */
.page-hero { background: var(--calcario); border-bottom: 1px solid var(--linha); padding-block: clamp(32px, 4vw, 52px) clamp(40px, 6vw, 72px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9375rem; color: var(--grafite-2); }
.breadcrumb li + li::before { content: '/'; margin-inline-end: 6px; color: #9aa19c; }
.breadcrumb a { color: var(--grafite-2); }
.breadcrumb a:hover { color: var(--verde); }
.page-hero h1 { margin-top: 18px; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.05; overflow-wrap: break-word; hyphens: auto; }
.page-intro { margin-top: 16px; font-size: 1.25rem; line-height: 1.5; color: var(--grafite-2); max-width: 36em; }

/* ---------- Início: áreas ---------- */
.area-list li { border-bottom: 1px solid var(--linha); }
.area-list a {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr) 32px; gap: 24px; align-items: baseline;
  padding: 24px 0; text-decoration: none;
}
.area-name { font-family: var(--f-disp); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--grafite); }
.area-desc { color: var(--grafite-2); font-size: 1.0625rem; }
.area-go { justify-self: end; width: 12px; height: 12px; border-top: 2px solid var(--verde); border-right: 2px solid var(--verde); transform: rotate(45deg); transition: transform .15s; }
.area-list a:hover .area-name { color: var(--verde); }
.area-list a:hover .area-go { transform: translateX(4px) rotate(45deg); }
[dir="rtl"] .area-go { transform: rotate(-135deg); }
[dir="rtl"] .area-list a:hover .area-go { transform: translateX(-4px) rotate(-135deg); }

/* ---------- Início: números ---------- */
.numbers { background: var(--agua); color: var(--sal); }
.numbers .split-head { border-bottom-color: rgba(220,223,216,.35); }
.numbers .split-head h2 { color: #fff; }
.numbers .text-link { color: var(--verde-claro); }
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.result-num { font-family: var(--f-disp); font-weight: 700; font-size: clamp(3rem, 5vw, 4.25rem); line-height: .95; color: #fff; font-variant-numeric: tabular-nums; }
.result-label { margin-top: 10px; color: var(--sal-2); font-size: 1rem; max-width: 18em; }

/* ---------- Parceiros ---------- */
.partner-strip { display: flex; flex-wrap: wrap; gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.partner-strip li { flex: 1 1 140px; background: #fff; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.partner-strip img { max-height: 44px; width: auto; }
.wordmark { font-family: var(--f-disp); font-weight: 700; font-size: 1.625rem; line-height: 1.05; color: var(--grafite); letter-spacing: .01em; }

.partner-list .partner {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 24px clamp(24px, 4vw, 56px); align-items: center;
  padding-block: 32px; border-bottom: 1px solid var(--linha);
}
.partner-list .partner:first-child { border-top: 2px solid var(--grafite); }
.partner-mark { background: #fff; border: 1px solid var(--linha); min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.partner-mark img { max-height: 52px; width: auto; }
.partner-info h2 { font-size: 1.75rem; }
.partner-rel { margin-top: 2px; font-size: .9375rem; font-weight: 600; color: var(--verde); }
.partner-info p:last-child { margin-top: 8px; color: var(--grafite-2); max-width: 38em; }
.partner-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ---------- Clientes ---------- */
.logos {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--linha); border: 1px solid var(--linha);
}
.logos li { background: #fff; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 22px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Faixa de contato ---------- */
.cta-band { background: var(--verde); color: #fff; padding-block: clamp(44px, 6vw, 72px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.cta-band p { margin-top: 6px; color: #dfe8d3; }
.cta-actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.cta-band .btn-green { background: #fff; color: var(--verde); }
.cta-band .btn-green:hover { background: var(--sal); }
.cta-phone { font-family: var(--f-disp); font-weight: 600; font-size: 1.625rem; color: #fff; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Empresa ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 18px; }
.prose p { max-width: 36em; color: var(--grafite-2); }
.prose p + p { margin-top: 16px; }
.prose p:first-of-type { font-size: 1.1875rem; color: var(--grafite); }

.timeline { border-inline-start: 2px solid var(--verde); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 4px; padding: 0 0 26px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; inset-inline-start: -7px; top: 9px; width: 12px; height: 12px;
  background: var(--branco); border: 2px solid var(--verde); border-radius: 50%;
}
.tl-year { font-family: var(--f-disp); font-weight: 700; font-size: 1.375rem; line-height: 1.3; padding-inline-start: 22px; color: var(--verde); }
.timeline p { font-size: 1rem; color: var(--grafite-2); }
.timeline strong { color: var(--grafite); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--grafite); }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.facts > div { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--linha); }
.facts dt { font-size: .9375rem; color: var(--grafite-2); }
.facts dd { margin-top: 4px; font-family: var(--f-disp); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }

.units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.unit { border-top: 2px solid var(--grafite); padding-top: 16px; }
.unit h3 { font-size: 1.5rem; }
.unit p { margin-top: 8px; color: var(--grafite-2); }
.unit a { color: var(--verde); font-weight: 600; }

/* ---------- Soluções ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--branco); border-bottom: 1px solid var(--linha); }
.subnav ul { display: flex; gap: 8px 28px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 14px 0 11px; white-space: nowrap; font-weight: 500; color: var(--grafite-2); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--verde); border-bottom-color: var(--verde); }
.sol-body { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.stage {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--linha);
  scroll-margin-top: calc(var(--header-h) + 56px);
}
.stage:first-child { border-top: 2px solid var(--grafite); }
.stage-name { font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: var(--verde); }
.stage-body { display: grid; gap: 40px; }
.stage-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px clamp(24px, 3vw, 48px); }
.stage-items h3 { font-size: 1.5rem; line-height: 1.15; }
.stage-items p { margin-top: 8px; color: var(--grafite-2); font-size: 1rem; max-width: 40em; }
.stage-items.ofite { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--linha); }
.spec-list { margin: 20px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.spec-list li { padding: 9px 0; border-bottom: 1px solid var(--linha); font-size: .9688rem; }
.ofite-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--linha); border: 2px solid var(--linha); }
.ofite-imgs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 14px; }

/* ---------- Resultados ---------- */
.case {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr); gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--linha);
}
.case:first-child { border-top: 2px solid var(--grafite); }
.case-num { font-family: var(--f-disp); font-weight: 700; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .9; color: var(--verde); font-variant-numeric: tabular-nums; }
.case-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.case-ctx { margin-top: 4px; font-weight: 600; color: var(--grafite-2); }
.case-body p:not(.case-ctx) { margin-top: 12px; max-width: 38em; }
.case-body .text-link { display: inline-block; margin-top: 14px; }

/* ---------- Contato ---------- */
.channels { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.channel { border-top: 2px solid var(--grafite); padding-top: 16px; }
.channel h2 { font-size: 1.5rem; }
.channel > p:not([class]) { margin-top: 6px; color: var(--grafite-2); }
.channel-big { margin-top: 14px; font-family: var(--f-disp); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; overflow-wrap: anywhere; }
.channel-mid { margin-top: 10px; font-weight: 600; }
.channel a { color: var(--verde); text-decoration: none; }
.channel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.channel-main { background: var(--calcario); padding: 16px 24px 28px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--agua); color: var(--sal); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 16px; color: var(--sal-2); font-size: .9688rem; max-width: 24em; }
.footer-col h2 { font-family: var(--f-text); font-weight: 600; font-size: 1rem; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(220,223,216,.2); margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--sal); text-decoration: none; font-size: .9688rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px); padding-block: 22px; border-top: 1px solid rgba(220,223,216,.15);
  font-size: .875rem; color: var(--sal-2);
}
.footer-bottom p { flex: 1; min-width: 16em; }
.footer-bottom a { color: var(--sal); }
.footer-bottom p + a { margin-inline-start: auto; }

/* ---------- Modal do catálogo ---------- */
.pdf-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.pdf-modal[hidden] { display: none; }
.pdf-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 24, .78); }
.pdf-panel {
  position: relative; width: min(1000px, 100%); height: min(88vh, 900px);
  display: flex; flex-direction: column; background: var(--branco); border-radius: 4px; overflow: hidden;
}
.pdf-bar { display: flex; align-items: center; gap: 20px; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--linha); }
.pdf-bar h2 { font-size: 1.375rem; flex: 1; }
.pdf-link { font-weight: 600; color: var(--verde); }
.pdf-close { font: 600 1rem var(--f-text); background: var(--grafite); color: #fff; border: 0; border-radius: 3px; padding: 10px 16px; cursor: pointer; }
.pdf-panel iframe { flex: 1; width: 100%; border: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: 1fr 1fr; }
  .partner-list .partner { grid-template-columns: 200px minmax(0, 1fr); }
  .partner-links { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .well-svg { max-width: 400px; }
  .two-col { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: 16px; }
  .stage-items.ofite { grid-template-columns: 1fr; }
  .area-list a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .area-desc { grid-column: 1; grid-row: 2; }
  .area-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .units { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--branco); border-bottom: 1px solid var(--linha);
    display: none;
  }
  .menu.open { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; }
  .menu a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--linha); }
  .menu a[aria-current="page"] { border-bottom-color: var(--linha); box-shadow: inset 3px 0 0 var(--verde); padding-inline-start: 12px; }
  .menu .menu-cta { margin-top: 12px; text-align: center; padding: 14px; }
  .menu .menu-cta[aria-current="page"] { box-shadow: none; padding-inline-start: 14px; }
  [dir="rtl"] .menu a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--verde); }
  [dir="rtl"] .menu .menu-cta[aria-current="page"] { box-shadow: none; }
  .menu-contact {
    display: grid; gap: 4px; margin: 0 var(--pad); padding: 16px 0 22px; border-top: 1px solid var(--linha);
  }
  .menu-contact a {
    display: block; padding: 8px 0; border: 0; text-decoration: none; color: var(--verde);
    font-family: var(--f-disp); font-weight: 600; font-size: 1.375rem; line-height: 1.2; overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-list { grid-template-columns: 1fr; }
  .partner-list .partner { grid-template-columns: 1fr; gap: 16px; }
  .partner-links { grid-column: auto; }
  .partner-mark { max-width: 280px; }
  .pdf-modal { padding: 0; }
  .pdf-panel { height: 100%; border-radius: 0; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .results { grid-template-columns: 1fr; }
  .facts, .facts-4 { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .units, .channels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions .btn { white-space: normal; }
}

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

/* ---------- Seletor de idioma ---------- */
.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px;
  list-style: none; cursor: pointer; border-radius: 3px; font-weight: 600; font-size: .9375rem; color: var(--grafite);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--verde); }
.lang-icon { fill: none; stroke: currentColor; stroke-width: 1.4; }
.lang-panel {
  position: absolute; top: calc(100% + 4px); inset-inline-end: 0; z-index: 60; min-width: 190px; padding: 6px 0;
  background: #fff; border: 1px solid var(--linha); border-radius: 3px; box-shadow: 0 10px 30px rgba(19, 36, 44, .14);
}
.lang-panel a { display: block; padding: 10px 18px; text-decoration: none; color: var(--grafite); }
.lang-panel a:hover { background: var(--calcario); color: var(--verde); }
.lang-panel a[aria-current] { font-weight: 600; color: var(--verde); }
.lang-panel a[aria-current]::after { content: ' ✓'; }

/* ---------- Aviso de idioma ---------- */
.lang-suggest { background: var(--agua); color: var(--sal); font-size: .9375rem; }
.lang-suggest .container { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding-block: 10px; }
.lang-suggest p { flex: 1; min-width: 12em; }
.lang-suggest a { color: #fff; font-weight: 600; }
.lang-suggest button { background: none; border: 0; color: var(--sal-2); font: inherit; cursor: pointer; padding: 6px 0; }
.lang-suggest button:hover { color: #fff; text-decoration: underline; }

/* ---------- Ajustes por idioma ---------- */
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] h4 { line-height: 1.3; letter-spacing: 0; }
html[lang^="zh"] .hero h1 { line-height: 1.15; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.35; }
html[lang="ru"] .hero h1, html[lang="fr"] .hero h1, html[lang="es"] .hero h1 { max-width: 16ch; }
html[lang="ru"] .hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); max-width: 18ch; }
/* números, telefones e e-mails sempre da esquerda para a direita (inclusive em árabe) */
[dir="rtl"] .result-num, [dir="rtl"] .case-num { direction: ltr; text-align: right; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }

/* ---------- Página 404 ---------- */
.nf-code { font-family: var(--f-disp); font-weight: 700; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--verde); }
.nf-list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.nf-list li { border-top: 2px solid var(--grafite); padding-top: 14px; }
.nf-list h2 { font-size: 1.5rem; }
.nf-list p { margin-top: 6px; color: var(--grafite-2); }

/* ---------- Política de privacidade ---------- */
.legal > * { max-width: 46rem; }
.legal-updated { font-weight: 600; color: var(--grafite-2); }
.legal-note { margin-top: 8px; color: var(--grafite-2); font-style: italic; }
.legal section { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--linha); }
.legal h2 { font-size: 1.625rem; }
.legal p, .legal li { margin-top: 10px; }
.legal ul { list-style: disc; padding-inline-start: 1.4em; }
.legal a { color: var(--verde); font-weight: 600; }
