/*
Theme Name: Pres_Theme
Author: Vasco Pilas
Version: 1.0
*/

/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #111;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================
   HEADER BASE
========================= */
.site-header {
  background: #294057;
  position: relative;   /* referencial do mega-menu desktop */
  z-index: 1200;
}

.header-inner {
  width: 100%;
  padding: 18px 30px;
  display: flex;
  align-items: center;
}

/* =========================
   LOGO
========================= */
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }

/* =========================
   HEADER RIGHT (DESKTOP)
========================= */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* =========================
   NAVIGATION (DESKTOP)
========================= */
.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  padding: 10px 0;
  position: relative;
}

/* underline desktop (usa ::before, deixa ::after livre para mobile) */
.main-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .2s ease;
}

.main-nav a:hover::before { width: 100%; }

/* =========================
   HEADER ICONS (DESKTOP)
   (ficam depois de Contactos porque estão fora do nav no HTML)
========================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.header-icon:hover { transform: translateY(-1px); opacity: .85; }

.header-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

/* =========================
   MEGA MENU (DESKTOP) – “como estava antes”
========================= */
.has-mega { position: static; }
.has-mega > a { padding-bottom: 18px; } /* tolerância para não fechar ao descer */

.mega-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}

.has-mega:hover > .mega-menu,
.has-mega:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.mega-col {
  border-left: 1px solid #f0f0f0;
  padding-left: 20px;
}

.mega-col:first-child {
  border-left: none;
  padding-left: 0;
}

.mega-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}

.mega-col h4 a { color: #111; }

.mega-produto-img {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mega-thumb {
  width: 46px;
  height: 46px;
  border: 1px solid #e5e5e5;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mega-produto-title {
  font-size: 13px;
  line-height: 1.35;
  color: #333;
}

.mega-ver-todos {
  margin-top: 14px;
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* =========================
   HAMBURGER (SÓ MOBILE)
========================= */
.menu-toggle {
  display: none;
  z-index: 2200;
    position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  color: #fff;
}

.menu-toggle svg { width: 26px; height: 26px; }

.menu-toggle svg line {
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
  stroke-width: 2.8;
  stroke-linecap: round;
}

body.menu-open .menu-toggle svg line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle svg line:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle svg line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   MOBILE (mantém exatamente o comportamento atual)
========================================================= */
@media (max-width: 900px) {

  body.menu-open { overflow: hidden; }

  /* HEADER fixo */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
  }

  .header-inner { justify-content: space-between; }

  .menu-toggle {
    display: flex;
    z-index: 2100;
  }

  /* esconde icons no header (aparecem só no overlay, via JS ao mover para dentro do nav) */
  .header-actions { display: none; }

  /* overlay */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;

    background: #294057;

    /* MAIS ALTO que conteúdo e overlays */
    z-index: 2100;

    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    padding: 24px 30px 40px;

    /* garante interação */
    pointer-events: auto;
  }

  /* abre por classe OU por body (mais robusto) */
  .main-nav.open,
  body.menu-open .main-nav {
    display: block;
  }

  /* icons no topo do overlay (agora estão dentro do nav, por JS) */
  body.menu-open .main-nav .header-actions {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 12px 0 28px;
  }

  body.menu-open .main-nav .header-icon {
    width: auto;
    height: auto;
    padding: 8px;
  }

  body.menu-open .main-nav .header-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.6;
  }

  /* remove underline no mobile */
  .main-nav a::before { content: none; }

  /* LISTA – nível 1 (Artebel style) */
  .main-nav .menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .main-nav .menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .main-nav .menu > li:last-child { border-bottom: none; }

  .main-nav .menu > li > a {
    height: 52px;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    position: relative;
    padding-right: 32px;
  }

  /* seta só para Produtos (nível 1) */
  .main-nav .menu > li.has-mega > a::after {
    content: "\203A";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
  }

  /* =========================
     PRODUTOS – nível 2 (famílias)
  ========================= */
  body.menu-produtos-open .main-nav .menu > li:not(.has-mega),
  body.menu-produtos-open .has-mega > a {
    display: none;
  }

  body.menu-produtos-open .mega-menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: #294057;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }

  .menu-back {
    height: 52px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.35);
  }

  .mega-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .mega-col {
    border: none;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .mega-col:last-child { border-bottom: none; }

  /* só famílias */
  .mega-col h4 { margin: 0; }

  .mega-col h4 a {
    height: 52px;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    position: relative;
    padding-right: 32px;
  }

  .mega-col h4 a::after {
    content: "\203A";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
  }

  /* esconder produtos no mobile */
  .mega-produto-img,
  .mega-ver-todos { display: none; }
}


              /* =========================
                HOME PAGE
              ========================= */





/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  background-image: url('/assets/img/hero-presdouro.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 64, 87, 0.75); /* azul Presdouro */
  z-index: 1;
}

/* overlay UNIFORME */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(41,64,87,0.25); /* ajustável */
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 595px;
  margin-left: 8%;
  padding-left: 20px;
  border-left: 3px solid #fff;
}

/* Headline */
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* CTAs */
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;

  border-radius: 2px;
  transition: all .2s ease;
}

/* CTA principal */
.btn-primary {
  background: #fff;
  color: #294057;
}

.btn-primary:hover {
  background: #e6e6e6;
}

/* CTA secundário */
.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* =========================
   HERO — MOBILE
========================= */

@media (max-width: 900px) {

  .hero-inner {
    padding: 100px 24px 120px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 14px;
  }

  .btn {
    width: 100%;
  }
}

/* =========================
   HERO COM IMAGEM REAL
========================= */

.hero-image {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background-image: url('/assets/img/hero-presdouro.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* overlay institucional */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* conteúdo acima do overlay */
.hero-image .hero-inner {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  padding: 0 30px;
}
.hero::before,
.hero::after {
  pointer-events: none;
}

/* =========================
   HERO — MOBILE (SEM IMAGEM)
========================= */

@media (max-width: 900px) {
  .hero {
    margin-top: 72px; /* mesma altura do header */
  }
}

@media (max-width: 900px) {

  /* mata QUALQUER imagem */
  .hero,
  .hero.hero-image,
  .hero-image {
    background-image: none !important;
    background: #294057 !important;
  }

  /* remove overlay da imagem */
  .hero::before {
    display: none;
  }

  /* padrão técnico */
 .hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(rgba(255,255,255,0.08) 5px, transparent 1px);

  background-size: 22px 22px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}


  /* conteúdo acima do padrão */
  .hero-inner {
    position: relative;
    z-index: 2;
    padding: 120px 24px 100px;
  }

  /* reset layout desktop */
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

/* =========================
   FIX MENU MOBILE vs HERO
========================= */
@media (max-width: 900px) {

  /* hero nunca pode tapar o menu */
  .hero,
  .hero::before,
  .hero::after {
    pointer-events: none;
    z-index: 0;
  }

  /* conteúdo da hero continua visível */
  .hero-inner {
    pointer-events: auto;
    z-index: 1;
  }

  /* menu SEMPRE acima da hero */
  .site-header {
    z-index: 3000;
  }

  .main-nav {
    z-index: 3100;
  }

  .menu-toggle {
    z-index: 3200;
  }
}

@media (max-width: 900px) {

  /* a hero nunca deve capturar cliques */
  .hero {
    pointer-events: none;
  }

  /* mas o conteúdo interno pode */
  .hero-inner,
  .hero-content {
    pointer-events: auto;
  }

  /* garantir header clicável */
  .site-header,
  .menu-toggle {
    pointer-events: auto;
  }
}





/* =========================
   CAPACIDADE & DIFERENCIAIS
========================= */

.capacity {
  position: relative;
  background: #f6f7f8;
  padding: 120px 30px;
  overflow: hidden;
}

/* PADRÃO TÉCNICO */
.capacity::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(rgba(0,0,0,0.08) 2px, transparent 2px),
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);

  background-size: 40px 40px, 40px 40px, 40px 40px;
  opacity: 1;

  pointer-events: none;
}



/* CONTAINER */
.capacity-inner {
  position: relative;
  z-index: 1;

  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* TEXTO */
.capacity-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  margin-bottom: 22px;
  color: #294057;
}

.capacity-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
}

/* MÉTRICAS */
.capacity-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.metric strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #294057;
  margin-bottom: 6px;
}

.metric span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #666;
}

/* DIFERENCIAIS */
.capacity-points {
  list-style: none;
  display: grid;
  gap: 14px;
}

.capacity-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.capacity-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #294057;
  font-weight: 600;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .capacity {
    padding: 80px 24px;
  }

  .capacity-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .capacity-metrics {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================
   SOLUÇÕES (SECÇÃO 2)
========================= */

.solutions {
  position: relative;
  padding: 110px 30px;
  background: #fff;
  overflow: hidden;
}

/* PADRÃO (mais forte, estilo “engenharia pesada”, mas controlado) */
.solutions::before {
  content: "";
  position: absolute;
  inset: 0;

  /* padrão MUITO suave */
  background-image:
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);

  background-size: 36px 36px;
  opacity: .25;
  pointer-events: none;
}


.solutions-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEAD */
.solutions-head {
  max-width: 820px;
  margin-bottom: 50px;
}

.solutions-head h2 {
  color: #294057;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.solutions-head p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.solution-card {
  background: #fff;
  border: 1px solid #e6eaee;
  padding: 32px 28px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: #294057;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}


/* Ícone / imagem */
.solution-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;  
  color: #294057;

}

.solution-icon img {
  width: 100%;
  height: auto;
}
.solution-icon img,
.solution-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.solution-card:hover .solution-icon {
  color: #1f3347;
}
.solution-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e9edf1;
  overflow: hidden;
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay leve na imagem para look “industrial” e leitura */
.solution-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41,64,87,0.08);
  pointer-events: none;
}

.solution-body {
  padding: 18px 18px 20px;
}

.solution-body h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #294057;
  margin-bottom: 8px;
}

.solution-body p {
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
}

/* CTA */
.solutions-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Título */
.solution-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #294057;
  margin-bottom: 10px;
}

/* Texto */
.solution-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 22px;
}

/* Botão */
.solution-card .btn {
  font-size: 13px;
  padding: 10px 18px;
  border: 2px solid #294057;
  color: #294057;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: all .2s ease;
}

.solution-card:hover .btn {
  background: #294057;
  color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .solutions {
    padding: 80px 24px;
  }

  .solutions::before {
    opacity: .30;
    background-size: 40px 40px, 40px 40px, 40px 40px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solutions-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .solutions-cta .btn {
    width: 100%;
  }
}

/* =========================
   (opcional) tablet
========================= */
@media (max-width: 1100px) and (min-width: 901px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   APPLICATIONS / SOLUÇÕES
========================= */
/* =========================
   SECTION INTRO
========================= */

.section-intro {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 14px;
  color: #111;
}

.section-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* MOBILE */
@media (max-width: 900px) {
  .section-intro {
    margin-bottom: 40px;
  }

  .section-intro h2 {
    font-size: 26px;
  }
}

.applications-editorial {
  padding: 0px 0;
  background: #fff;
}

/* container global (se ainda não existir noutros ficheiros) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* GRID */
.applications-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 260px);
  gap: 32px;
}

/* CARD BASE */
.application-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 2px;
}

/* IMAGEM */
.application-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* CARD GRANDE */
.application-card.large {
  grid-row: span 2;
}

/* OVERLAY */
.application-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41,64,87,0.55);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  transition: background .3s ease;
}

/* TEXTO */
.application-overlay span {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* HOVER */
.application-card:hover img {
  transform: scale(1.05);
}

.application-card:hover .application-overlay {
  background: rgba(41,64,87,0.7);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .applications-editorial {
    padding: 100px 0;
  }

  .applications-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .application-card,
  .application-card.large {
    height: 220px;
  }

  .application-overlay span {
    font-size: 16px;
  }

  .container {
    padding: 0 22px;
  }
}


/* =========================
   QUALITY SECTION
========================= */

.quality {
  background: #fff;
  padding: 100px 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

/* ITEM */
.quality-item {
  background: #fff;
  padding: 42px 36px;
  border-radius: 4px;
  border: 1px solid #e6e9ed;
}

.quality-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.quality-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* ICON */
.quality-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #294057;
}

.quality-icon svg {
  width: 100%;
  height: 100%;
}

/* MOBILE */
@media (max-width: 900px) {
  .quality {
    padding: 70px 0;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* =========================
   CALL TO ACTION
========================= */

.cta {
  position: relative;
  padding: 100px 0;
  background: #294057;
  color: #fff;
  overflow: hidden;
}

/* padrão técnico (igual à capacity) */
/* padrão técnico reforçado */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255,255,255,0.05) 1px,
      transparent 1px
    ),
    radial-gradient(
      rgba(255,255,255,0.12) 1px,
      transparent 1px
    );

  background-size:
    60px 60px,   /* grelha larga */
    60px 60px,
    24px 24px;   /* pontos técnicos */

  opacity: 0.35;
  pointer-events: none;
}

/* layout */
.cta-inner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* texto */
.cta-text {
  max-width: 620px;
}

.cta-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* ações */
.cta-actions {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

/* botões */
.btn-white {
  background: #fff;
  color: #294057;
}

.btn-white:hover {
  background: #e6e6e6;
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
}

/* =========================
   CTA — MOBILE
========================= */

@media (max-width: 900px) {

  .cta {
    padding: 80px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}


.site-footer {
  background: #1f3446;
  color: #fff;
}

/* TOPO */
.footer-top {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  padding: 80px 8%;
}

.footer-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.footer-contactos h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-contactos p {
  margin-bottom: 14px;
  line-height: 1.5;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 8%;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  opacity: .85;
}

.footer-col a:hover {
  opacity: 1;
}

/* BASE */
.footer-bottom {
  padding: 24px 8%;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  opacity: .8;
}

/* MOBILE */
@media (max-width: 900px) {

  .footer-top {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

}
/* =========================
   CERTIFICAÇÕES
========================= */

.certifications {
  position: relative;
  background: #f7f9fb;
  padding: 70px 8%;
  overflow: hidden;
}

/* padrão técnico subtil */
.certifications::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(0,0,0,0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0,0,0,0.04) 1px,
      transparent 1px
    ),
    radial-gradient(
      rgba(0,0,0,0.06) 1px,
      transparent 1px
    );

  background-size:
    60px 60px,
    60px 60px,
    26px 26px;

  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.certifications-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.certifications h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: #294057;
}

/* LOGOS */
.certifications-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

/* logos sempre institucionais */
.certifications-logos img {
  max-height: 48px;
  width: auto;

  filter: grayscale(100%) brightness(0.1);
  opacity: .75;

  transition: opacity .2s ease;
}

.certifications-logos img:hover {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 900px) {
  .certifications {
    padding: 50px 24px;
  }

  .certifications-logos {
    gap: 28px;
  }

  .certifications-logos img {
    max-height: 42px;
  }
}


/* =========================
   FOOTER — NEWSLETTER
========================= */

.footer-newsletter .newsletter {
  margin-top: 26px;
}

.footer-newsletter .newsletter p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

/* FORM */
.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 42px;
  padding: 0 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;

  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #fff;
}

/* BOTÃO */
.newsletter-form button {
  height: 42px;
  padding: 0 18px;

  background: #fff;
  color: #294057;

  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;

  border: none;
  cursor: pointer;
  transition: background .2s ease;
}

.newsletter-form button:hover {
  background: #e6e6e6;
}

/* MOBILE */
@media (max-width: 900px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
