/* ==========================================================================
   SOLUTTI COMEX — Estilos globais
   --------------------------------------------------------------------------
   Organização:
   01. Tokens (cores, fontes, espaçamentos)
   02. Base / reset
   03. Utilitários de layout (container, seções, grids)
   04. Tipografia (títulos, eyebrow, textos)
   05. Botões
   06. Header / navegação / seletor de idioma
   07. Footer
   08. Componentes da HOME (hero, sobre, soluções, mercados, etapas, mapa, blog, CTA)
   09. Páginas internas (page-hero, quem somos, serviços, portfólio, blog, post, contato, legal)
   10. Responsivo
   ========================================================================== */

/* 01. TOKENS ============================================================== */
:root {
  --c-navy: #0a325b;        /* azul institucional (títulos, botões, footer) */
  --c-navy-deep: #002338;   /* azul profundo (seção do mapa)               */
  --c-teal: #56aea3;        /* verde-água da marca                         */
  --c-teal-dark: #3f8f85;   /* hover do verde-água                         */
  --c-grey: #e3e2e6;        /* fundo cinza (Nossas soluções)               */
  --c-grey-line: #e7e9ec;   /* bordas suaves de cards                      */
  --c-text: #3b4a5c;        /* texto corrido                               */
  --c-muted: #7c8794;       /* datas, legendas                             */
  --c-white: #ffffff;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Site "full": fundos ocupam 100% da tela e o conteúdo usa um container largo */
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 120px);

  --radius-s: 6px;
  --radius-m: 12px;
  --pill: 999px;

  --header-h: 104px;
}

/* 02. BASE ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 3px; }
.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 200;
  background: var(--c-navy); color: #fff; padding: 10px 18px; border-radius: var(--pill);
}
.skip-link:focus { top: 16px; }

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

/* 03. LAYOUT ============================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--grey { background: var(--c-grey); }
.section--teal { background: var(--c-teal); color: var(--c-white); }
.section--navy { background: var(--c-navy); color: var(--c-white); }
.section--deep { background: var(--c-navy-deep); color: var(--c-white); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* 04. TIPOGRAFIA ========================================================== */
.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-navy);
}
.section--teal .eyebrow { color: var(--c-navy); }
.section--deep .eyebrow, .section--navy .eyebrow { color: var(--c-teal); }

.h1, .h2 {
  margin: 0 0 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
  line-height: 1.1;
  color: var(--c-navy);
}
.h1 { font-size: clamp(34px, 4.6vw, 58px); }
.h2 { font-size: clamp(28px, 3.3vw, 46px); }
.h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--c-navy);
}
.section--teal .h2, .section--deep .h2, .section--navy .h2,
.section--teal .h3, .section--deep .h3, .section--navy .h3 { color: var(--c-white); }

.lead { font-size: clamp(16px, 1.3vw, 18px); max-width: 62ch; letter-spacing: .01em; }
.prose p { margin: 0 0 18px; max-width: 64ch; letter-spacing: .01em; }
.prose strong { color: var(--c-navy); font-weight: 700; }

/* 05. BOTÕES ============================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 36px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--teal { background: var(--c-teal); color: #fff; }
.btn--teal:hover { background: var(--c-teal-dark); }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: #062541; }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--c-navy); }
.btn--sm { min-height: 30px; padding: 0 16px; font-size: 10px; }
/* Botões em caixa baixa (hero e header, como no layout) */
.btn--sentence { text-transform: none; letter-spacing: .04em; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 24px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* 06. HEADER ============================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(10, 50, 91, .12); }
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  min-height: var(--header-h);
}
.site-header__logo img { width: 164px; }
.nav-panel { display: flex; align-items: center; margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav__link {
  display: block; padding: 7px 14px; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; letter-spacing: .03em;
  color: var(--c-navy); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav__link:hover { color: var(--c-teal-dark); }
.main-nav__link[aria-current="page"] { background: var(--c-teal); color: #fff; font-weight: 600; }

.site-header__actions { display: flex; align-items: center; gap: 22px; margin-left: 40px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--c-navy); color: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin-inline: auto; background: currentColor; position: relative;
  transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* 07. FOOTER ============================================================== */
.site-footer { background: var(--c-navy); color: #fff; padding-block: 72px 48px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, auto) auto auto;
  gap: 40px 56px;
  align-items: start;
}
.site-footer__brand img { width: 164px; margin-bottom: 28px; }
.site-footer__brand p { margin: 0; max-width: 36ch; font-size: 14px; line-height: 1.6; }
.site-footer h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding: 3px 0; font-size: 15px; text-decoration: none; opacity: .92; }
.site-footer li a:hover { color: var(--c-teal); opacity: 1; }
.social { display: flex; gap: 14px; }
.social a { color: var(--c-teal); }
.social a:hover { color: #fff; }
.social svg { width: 34px; height: 34px; }
.site-footer__bottom {
  display: flex; justify-content: flex-end;
  margin-top: 40px; font-size: 14px;
}

/* 08. HOME ================================================================ */

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 70vh, 760px);
  display: flex; align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 62, 68, .92) 0%, rgba(8, 62, 68, .7) 32%, rgba(8, 62, 68, 0) 58%),
    linear-gradient(0deg, rgba(10, 50, 91, .85) 0%, rgba(10, 50, 91, 0) 45%),
    var(--hero-img, url("../img/hero-porto.jpg")) center / cover no-repeat,
    #0b4a4f;
}
.hero__content { position: relative; max-width: 620px; padding-block: 80px; }
.hero__tag {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px;
  border-radius: var(--pill); background: var(--c-navy);
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.hero .h1 { color: #fff; font-size: clamp(34px, 4vw, 54px); }
.hero p { margin: 0 0 32px; max-width: 46ch; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Sobre */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.split .prose { margin-bottom: 26px; }

/* Nossas soluções (3 frentes) */
.fronts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; text-align: left; }
.front { display: flex; flex-direction: column; }
.front__icon { width: 96px; height: 70px; color: var(--c-teal); margin-bottom: 36px; }
.front__icon svg { width: 100%; height: 100%; }
.front p { margin: 0 0 24px; max-width: 34ch; min-height: 4.8em; }
.front .btn { margin-top: auto; align-self: flex-start; }
.front__list { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid #c3c8d0; }
.front__list li {
  padding: 10px 0 10px 22px; border-bottom: 1px solid #c3c8d0; position: relative;
  font-size: 15px; font-weight: 500; color: var(--c-navy);
}
.front__list li::before {
  content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px;
  margin-top: -4px; border-radius: 50%; background: var(--c-teal);
}
.front__tag { margin: -4px 0 10px; font-size: 14px; font-weight: 600; color: var(--c-teal-dark); letter-spacing: .02em; }

/* Mercados — colagem de fotos */
.collage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "a b c d e f g"
    "a h c i j k l";
  gap: 12px;
  height: clamp(300px, 28vw, 420px);
  margin-bottom: 64px;
}
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius-s); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .t-a { grid-area: a; } .collage .t-b { grid-area: b; } .collage .t-c { grid-area: c; }
.collage .t-d { grid-area: d; } .collage .t-e { grid-area: e; } .collage .t-f { grid-area: f; }
.collage .t-g { grid-area: g; } .collage .t-h { grid-area: h; } .collage .t-i { grid-area: i; }
.collage .t-j { grid-area: j; } .collage .t-k { grid-area: k; } .collage .t-l { grid-area: l; }
.collage .t-m { grid-area: m; }
/* Espaço reservado para foto ainda não enviada (remover a classe ao inserir a imagem) */
.collage__todo {
  display: grid; place-items: center; padding: 12px;
  border: 2px dashed rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .14);
}
.collage__todo figcaption { font-size: 13px; font-weight: 600; line-height: 1.35; color: #fff; }
.section--teal .lead { margin: 0 auto 34px; }

/* Etapas */
.steps {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin: 64px 0 72px; padding: 0; list-style: none;
}
.step { flex: 0 1 170px; text-align: center; }
.step__icon { width: 72px; height: 72px; margin: 0 auto 22px; color: var(--c-teal); }
.step__icon svg { width: 100%; height: 100%; }
.step__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--c-navy); }
.step__num { display: block; color: var(--c-teal-dark); }
.step__text { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.step-arrow { flex: none; width: 34px; margin-top: 24px; color: #cfd6dd; }

/* Mapa / presença internacional */
.world { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 32px; align-items: center; }
.stats { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.stat { display: flex; align-items: center; gap: 26px; }
.stat svg { width: 52px; height: 52px; flex: none; color: var(--c-teal); }
.stat p { margin: 0; line-height: 1.45; font-size: 16px; letter-spacing: .02em; }
.stat strong { display: block; font-weight: 700; }
.world__map img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at center, #000 60%, transparent 100%);
}
.world__text { text-align: right; }
.world__text .lead { margin: 0 0 32px auto; max-width: 38ch; }

/* Blog na home */
.blog-home { display: grid; grid-template-columns: minmax(300px, 1fr) 2.1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.blog-home__intro .h2 { font-size: clamp(28px, 2.7vw, 40px); }
.blog-home__intro .lead { margin: 0 0 40px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--c-grey-line); border-radius: var(--radius-m);
  overflow: hidden; background: #fff;
}
.post-card__img { aspect-ratio: 16 / 10.2; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 26px 28px; }
.post-card__cat { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--c-teal-dark); }
.post-card__title { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: .02em; color: var(--c-navy); }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--c-teal-dark); }
.post-card__date { margin: 0 0 18px; font-size: 12px; color: var(--c-muted); }
.post-card .btn { margin-top: auto; align-self: flex-start; }

/* CTA final */
.cta {
  position: relative; color: #fff; text-align: center;
  padding-block: clamp(110px, 14vw, 190px);
  background:
    linear-gradient(0deg, rgba(10, 50, 91, .82), rgba(10, 50, 91, .55)),
    var(--cta-img, url("../img/cta-aperto-de-maos.jpg")) center / cover no-repeat,
    var(--c-navy);
}
.cta .h2 { color: #fff; }
.cta .lead { margin: 0 auto 34px; }

/* 09. PÁGINAS INTERNAS ==================================================== */
.page-hero {
  color: #fff;
  padding-block: clamp(80px, 10vw, 140px);
  background:
    linear-gradient(90deg, rgba(10, 50, 91, .96) 0%, rgba(10, 50, 91, .82) 50%, rgba(10, 50, 91, .45) 100%),
    var(--hero-img, url("../img/hero-porto.jpg")) center / cover no-repeat,
    var(--c-navy);
}
.page-hero .eyebrow { color: var(--c-teal); }
.page-hero .h1 { color: #fff; max-width: 26ch; font-size: clamp(30px, 3.6vw, 48px); }
.page-hero .lead { margin: 0; }
.page-hero .lead + .lead { margin-top: 14px; }

.breadcrumb { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { text-decoration: none; opacity: .85; }
.breadcrumb a:hover { color: var(--c-teal); opacity: 1; }

/* Quem somos */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { padding: 36px 32px; background: #fff; border-top: 4px solid var(--c-teal); }
.pillar p { margin: 0; }

.values { margin-top: 72px; }
.values__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.chip {
  padding: 10px 22px; border: 2px solid var(--c-navy); border-radius: var(--pill);
  background: transparent; color: var(--c-navy);
  font-size: 15px; font-weight: 600; letter-spacing: .03em; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }
.chip[aria-selected="true"] { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.values__panel { max-width: 60ch; min-height: 3.4em; margin: 0 auto; text-align: center; font-size: 17px; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.person__photo {
  aspect-ratio: 4 / 5; margin-bottom: 24px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--c-grey); color: var(--c-navy);
  font-size: 54px; font-weight: 800; letter-spacing: .06em;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__role { margin: -4px 0 12px; font-size: 14px; font-weight: 600; color: var(--c-teal-dark); }
.person p { margin: 0; }

/* Serviços */
.service { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.service__head { position: sticky; top: calc(var(--header-h) + 32px); }
.service__icon { width: 84px; height: 60px; color: var(--c-teal); margin-bottom: 24px; }
.service__icon svg { width: 100%; height: 100%; }
.service .h2 { font-size: clamp(26px, 2.5vw, 36px); }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cdd3da; }
.section--deep .service-list, .section--navy .service-list { border-color: rgba(255, 255, 255, .2); }
.service-list li { padding: 26px 0; border-bottom: 1px solid #cdd3da; }
.section--deep .service-list li, .section--navy .service-list li { border-color: rgba(255, 255, 255, .2); }
.service-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--c-navy); }
.section--deep .service-list h3, .section--navy .service-list h3 { color: #fff; }
.service-list p { margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-grid li { padding: 32px 32px 36px 0; border-top: 2px solid var(--c-teal); margin-right: 24px; }
.steps-grid .num { display: block; margin-bottom: 10px; font-size: 40px; font-weight: 800; color: var(--c-teal); line-height: 1; }
.steps-grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--c-navy); }
.steps-grid p { margin: 0; }

.statement { max-width: 980px; margin-inline: auto; text-align: center; }
.statement .h2 { text-transform: none; letter-spacing: .01em; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; }

.partners { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.partners li { padding: 8px 18px; border-radius: var(--pill); background: #fff; color: var(--c-navy); font-size: 14px; font-weight: 600; }

/* Portfólio */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 40px; padding: 0; list-style: none; }
.tab-panel[hidden] { display: none; }
.tab-panel__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.tab-panel__head p { margin: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-slot {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 20px;
  border: 1.5px dashed #b9c2cc; border-radius: var(--radius-m);
  color: var(--c-muted); font-size: 13px; text-align: center;
}
.logo-slot img { max-height: 70%; width: auto; object-fit: contain; }

/* Blog (listagem) */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 48px; padding: 0; list-style: none; }
.filter .chip { font-size: 14px; padding: 8px 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.post-card--feature .post-card__img { aspect-ratio: auto; min-height: 320px; }
.post-card--feature .post-card__body { padding: 40px 48px; justify-content: center; }
.post-card--feature .post-card__title { font-size: 26px; }
.post-card__excerpt { margin: 0 0 22px; font-size: 15px; }
.empty-state { padding: 48px; text-align: center; border: 1.5px dashed #b9c2cc; border-radius: var(--radius-m); }
.empty-state[hidden] { display: none; }

/* Post */
.post-hero { padding-block: 72px 0; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; font-size: 14px; color: var(--c-muted); }
.post-hero__meta .post-card__cat { margin: 0; }
.post-hero .h1 { text-transform: none; letter-spacing: .01em; font-size: clamp(30px, 3.6vw, 48px); max-width: 24ch; line-height: 1.2; }
.post-cover { margin: 48px 0 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-m); }
.article { max-width: 720px; font-size: 18px; line-height: 1.75; }
.article p { margin: 0 0 24px; }
.article p:first-child { font-size: 20px; color: var(--c-navy); }
.post-back { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--c-navy); font-weight: 600; text-decoration: none; }
.post-back:hover { color: var(--c-teal-dark); }

/* Contato */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form label, .form legend { font-size: 14px; font-weight: 600; color: var(--c-navy); }
.form .opt { font-weight: 400; color: var(--c-muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid #cdd3da; border-radius: var(--radius-s); background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-teal); outline: none; box-shadow: 0 0 0 3px rgba(86, 174, 163, .25); }
.form [aria-invalid="true"] { border-color: #c0392b; }
.form__error { margin: 0; font-size: 13px; color: #c0392b; }
.form fieldset { margin: 0; padding: 0; border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.radios label { position: relative; font-weight: 500; }
.radios input { position: absolute; opacity: 0; min-height: 0; width: 1px; height: 1px; }
.radios span {
  display: inline-block; padding: 8px 18px; border: 1.5px solid #cdd3da; border-radius: var(--pill);
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.radios input:checked + span { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.radios input:focus-visible + span { outline: 3px solid var(--c-teal); outline-offset: 2px; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__status { margin: 0; font-weight: 600; color: var(--c-teal-dark); }
.channels { padding: 40px 36px; background: var(--c-navy); color: #fff; }
.channels .h3 { color: #fff; }
.channels ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.channels a { display: flex; align-items: center; gap: 14px; text-decoration: none; word-break: break-word; }
.channels a:hover { color: var(--c-teal); }
.channels svg { width: 26px; height: 26px; flex: none; color: var(--c-teal); }

/* Páginas legais */
.legal > * { max-width: 760px; }
.notice { padding: 20px 24px; background: var(--c-grey); border-left: 4px solid var(--c-teal); }

/* 10. RESPONSIVO ========================================================== */
@media (max-width: 1180px) {
  .site-header__actions { margin-left: 16px; gap: 12px; }
  .main-nav__link { padding: 7px 10px; font-size: 14px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .world { grid-template-columns: 1fr 1fr; }
  .world__map { grid-column: 1 / -1; order: -1; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .site-header__logo img { width: 132px; }
  .nav-toggle { display: block; }
  .nav-panel { display: none; }
  .nav-open .nav-panel {
    display: flex; flex-direction: column; align-items: stretch; gap: 20px;
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; padding: 12px var(--gutter) 28px; background: #fff;
    box-shadow: 0 16px 24px rgba(10, 50, 91, .12);
  }
  .nav-open .site-header__actions { margin: 0; }
  .nav-open .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-open .main-nav__link { padding: 12px 16px; font-size: 17px; }

  .split, .blog-home, .service, .contact, .tab-panel__head { grid-template-columns: 1fr; }
  .service__head { position: static; }
  .split__media { max-width: 560px; }
  .fronts, .pillars, .team { grid-template-columns: 1fr 1fr; }
  .steps { flex-wrap: wrap; justify-content: center; gap: 40px 24px; }
  .step { flex: 0 0 calc(33.333% - 24px); }
  .step-arrow { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card--feature { grid-template-columns: 1fr; }
  .post-card--feature .post-card__body { padding: 28px; }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(8, 62, 68, .78) 0%, rgba(10, 50, 91, .9) 100%),
      var(--hero-img, url("../img/hero-porto.jpg")) 42% center / cover no-repeat,
      #0b4a4f;
  }
  .hero__content { padding-block: 56px; }
  .fronts, .pillars, .team, .cards-3, .cards-grid, .steps-grid, .form { grid-template-columns: 1fr; }
  .step { flex: 0 0 calc(50% - 12px); }
  .collage {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 110px;
    grid-auto-flow: dense;
    height: auto;
  }
  .collage > figure { grid-area: auto !important; }
  .collage > .t-c, .collage > .t-h { grid-row: span 2 !important; }
  .world { grid-template-columns: 1fr; }
  .world__text { text-align: left; }
  .world__text .lead { margin-left: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { justify-content: flex-start; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .channels { padding: 32px 24px; }
  .post-card--feature .post-card__img { min-height: 220px; }
}

/* 11. UNIDADES E WHATSAPP FLUTUANTE ======================================= */
.site-footer__units {
  display: flex; flex-wrap: wrap; gap: 24px 64px;
  margin: 48px 0 0 !important; padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.site-footer__units li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__units svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--c-teal); }
.site-footer__units p { margin: 0; font-size: 14px; line-height: 1.55; }
.site-footer__units strong { display: block; font-size: 15px; }
.site-footer__units a { text-decoration: none; opacity: .92; }
.site-footer__units a:hover { color: var(--c-teal); opacity: 1; }

.channels__units-title { margin-top: 36px; }
.channels strong { font-weight: 700; }
.channels a span { line-height: 1.5; }

.whats-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0, 35, 56, .3);
  transition: transform .2s, background-color .2s;
}
.whats-float:hover { transform: scale(1.06); background: #1ebe5a; }
.whats-float svg { width: 32px; height: 32px; }
@media (max-width: 720px) {
  .whats-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* 12. IDIOMAS (desativado por enquanto) ===================================
   O seletor PT/EN/ES já está no header e no footer, mas fica oculto.
   Para ativar: <html lang="pt-BR" class="idiomas-ativos">
   ========================================================================== */
html:not(.idiomas-ativos) .lang { display: none; }

/* 13. PÁGINAS LEGAIS ======================================================= */
.legal .h3 { margin: 40px 0 12px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; max-width: 64ch; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--c-teal-dark); }
.portfolio-area { margin-top: 56px; }

/* 14. PRODUTOS DO PORTFÓLIO ================================================ */
.product-card { margin: 0; }
.product-card .post-card__body { padding: 16px 20px 18px; }
.product-card .post-card__title { margin: 0; }
/* Marcação temporária para foto ainda não enviada */
.product-card__todo {
  display: grid; place-items: center;
  background: var(--c-grey);
  border-bottom: 2px dashed #b9c2cc;
}
.product-card__todo span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-muted); }

/* 15. COLAGEM EM 3 LINHAS (variação) =======================================
   Ativada com a classe "collage--3". Equipamentos, Azeite e Vinhos ficam
   em destaque vertical; os demais produtos em blocos menores.
   ========================================================================== */
@media (min-width: 721px) {
  .collage--3 {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
      "a b c d e"
      "f m c g h"
      "i j k l h";
    height: clamp(480px, 46vw, 680px);
  }
}
/* Card com a foto inteira (ex.: Equipamentos, foto vertical) */
.product-card__fit { position: relative; background: var(--c-navy); }
.product-card__fit-bg {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(18px) brightness(.85);
}
.product-card__fit img { position: relative; object-fit: contain; }

/* Seletor de idioma (PT/EN) — no WordPress: Polylang/WPML ------------------ */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px;
  border: 1.5px solid currentColor; border-radius: var(--pill);
  background: none; color: var(--c-navy);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.lang__btn svg { width: 18px; height: 18px; }
.lang__btn .chev { width: 12px; height: 12px; transition: transform .2s; }
.lang.is-open .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10;
  min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: var(--radius-m);
  box-shadow: 0 10px 30px rgba(0, 35, 56, .18);
  display: none;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--c-navy); text-decoration: none; font-size: 14px; font-weight: 500;
}
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--c-grey); }
.lang__menu a[aria-current="true"] { font-weight: 700; }
.site-header__actions { gap: 18px; }
.site-footer .lang__btn { color: #fff; }
.site-footer .lang__menu { top: auto; bottom: calc(100% + 8px); }
.nav-open .lang__menu { left: 0; right: auto; }

/* 16. EXPERIÊNCIA EM CAMPO (prova social) ================================== */
.exp__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.exp__head .h2 { margin-bottom: 0; }
.exp__head .lead { margin: 0; }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 48px; padding: 0; list-style: none; }
.exp-grid--home { grid-template-columns: repeat(3, 1fr); }
.exp-grid:not(.exp-grid--home) { margin-bottom: 0; }
.exp-card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  padding: 0; border: 0; border-radius: var(--radius-m); overflow: hidden;
  background: var(--c-grey); cursor: zoom-in; text-align: left;
}
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.exp-card:hover img { transform: scale(1.04); }
.exp-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 35, 56, .85) 0%, rgba(0, 35, 56, 0) 55%);
}
.exp-card__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.exp-card__tag {
  display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: var(--pill);
  background: var(--c-teal); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.exp-card__cap { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }

.lightbox {
  width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-m);
  background: #0c1b2a; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 20, 34, .88); }
.lightbox__figure { margin: 0; }
.lightbox__img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-m) var(--radius-m) 0 0; background: #000; }
.lightbox__cap { padding: 14px 20px 18px; font-size: 15px; font-weight: 600; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: #fff; color: var(--c-navy); font-size: 30px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.lightbox__close { top: -18px; right: -18px; font-size: 26px; }
.lightbox__prev { left: -23px; top: 45%; }
.lightbox__next { right: -23px; top: 45%; }

@media (max-width: 1024px) {
  .exp__head { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .exp-grid, .exp-grid--home { grid-template-columns: 1fr 1fr; gap: 10px; }
  .exp-card__text { left: 10px; right: 10px; bottom: 10px; }
  .exp-card__cap { font-size: 12.5px; }
  .exp-card__tag { font-size: 9.5px; }
  .lightbox__close { top: 8px; right: 8px; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* Respiro entre o logo e o banner */
.site-header__inner { padding-block: 14px; }
:root { --header-h: 128px; }
@media (max-width: 1024px) {
  .site-header__inner { padding-block: 10px; }
  :root { --header-h: 100px; }
}

/* Produto em destaque no Portfólio (Equipamentos) */
.product-card--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.product-card--feature .post-card__img { flex: 1; aspect-ratio: auto; min-height: 260px; }
@media (max-width: 1024px) {
  .product-card--feature { grid-column: 1 / -1; grid-row: auto; }
  .product-card--feature .post-card__img { aspect-ratio: 16 / 9; flex: none; }
}
.product-card--feature .post-card__body { flex: none; }
.product-card--feature .post-card__img img { position: absolute; inset: 0; }
.product-card--feature .post-card__img { position: relative; }

/* WhatsApp flutuante um pouco maior */
.whats-float { width: 68px; height: 68px; right: 28px; bottom: 28px; }
.whats-float svg { width: 38px; height: 38px; }
@media (max-width: 720px) {
  .whats-float { width: 60px; height: 60px; right: 16px; bottom: 16px; }
  .whats-float svg { width: 34px; height: 34px; }
}

/* LinkedIn nos cards da equipe */
.person__in {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  color: var(--c-navy); font-size: 14px; font-weight: 600; text-decoration: none;
}
.person__in svg { width: 22px; height: 22px; color: var(--c-teal); }
.person__in:hover { color: var(--c-teal-dark); }

/* Quatro pilares */
.fronts--4 { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.fronts--4 .front p { max-width: none; min-height: 0; }
.fronts--4 .front .btn { padding: 0 24px; }
@media (max-width: 1180px) { .fronts--4 { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (max-width: 720px)  { .fronts--4 { grid-template-columns: 1fr; } }
.fronts--4 .front .btn { white-space: nowrap; font-size: 12px; letter-spacing: .06em; padding: 0 22px; }
.fronts--4 { gap: 28px; }
.fronts--4 .front .btn { font-size: 11.5px; letter-spacing: .05em; padding: 0 20px; }
@media (max-width: 1400px) { .fronts--4 { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (max-width: 720px)  { .fronts--4 { grid-template-columns: 1fr; } }
.fronts--4 .front p { max-width: 52ch; }

/* 17. CASES E DEPOIMENTOS ================================================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.case-card { padding: 32px 30px; border: 1px solid var(--c-grey-line); border-top: 4px solid var(--c-teal); border-radius: var(--radius-m); background: #fff; }
.case-card__seg { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-teal-dark); }
.case-card dl { margin: 18px 0 0; }
.case-card dt { font-size: 13px; font-weight: 700; color: var(--c-navy); }
.case-card dd { margin: 2px 0 14px; font-size: 15px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.quote { margin: 0; padding: 36px 34px; border-radius: var(--radius-m); background: var(--c-grey); }
.quote blockquote { margin: 0 0 20px; font-size: 18px; line-height: 1.6; color: var(--c-navy); }
.quote figcaption { font-size: 14px; }
.quote figcaption strong { display: block; color: var(--c-navy); }
/* Modelos (estrutura enquanto não há conteúdo real) */
.case-card--model, .quote--model { border: 1.5px dashed #b9c2cc; background: transparent; color: var(--c-muted); }
.case-card--model { border-top: 1.5px dashed #b9c2cc; }
.case-card--model .h3, .quote--model blockquote, .quote--model figcaption strong { color: var(--c-muted); }
@media (max-width: 1024px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .cases-grid, .quotes { grid-template-columns: 1fr; } }
/* Campo anti-robô do formulário (invisível para pessoas) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* Colagem de mercados: efeito ao passar o mouse --------------------------- */
.collage figure { position: relative; }
.collage img { transition: transform .5s ease, filter .35s ease; }
.collage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 28px 14px 12px;
  background: linear-gradient(0deg, rgba(10, 50, 91, .9) 0%, rgba(10, 50, 91, 0) 100%);
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
@media (hover: hover) {
  .collage figure:hover img { transform: scale(1.07); }
  .collage figure:hover figcaption { opacity: 1; transform: none; }
  /* As demais fotos ficam levemente apagadas para destacar a escolhida */
  .collage:hover figure:not(:hover) img { filter: saturate(.55) brightness(.8); }
}
/* Em telas de toque, o nome aparece sempre (não existe "passar o mouse") */
@media (hover: none) {
  .collage figcaption { opacity: 1; transform: none; padding: 20px 8px 6px; font-size: 11px; }
}
