:root {
  --primary-blue: #1041B3;
  --secondary-blue: #264A9A;
  --yellow-bg: #FFB600;
  --whatsapp-green: #199E0D;
  --orange-title: #EE4E4C;
  --text-dark: #333333;
  --text-light: #ffffff;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.25s ease;
  
  --side-pattern-yellow: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTciIGhlaWdodD0iMjAwMCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9Im0iIHg9Ii04OCIgd2lkdGg9IjMwNSIgaGVpZ2h0PSIyMDAwIj48cmVjdCB4PSItODgiIHdpZHRoPSIzMDUiIGhlaWdodD0iMjAwMCIgZmlsbD0iI2ZmZiIvPjwvbWFzaz48ZyBtYXNrPSJ1cmwKI20pIj48dGV4dCB4PSItMTAiIHk9IjMwMCIgZmlsbD0iIzEwNDFCMiIgb3BhY2l0eT0iMC4xNSIgZm9udC1mYW1pbHk9Ik1vbnRzZXJyYXQiIGZvbnQtc2l6ZT0iMjgwIiBmb250LXdlaWdodD0iODAwIj5pbjwvdGV4dD48dGV4dCB4PSItMTAiIHk9IjgwMCIgZmlsbD0iIzEwNDFCMiIgb3BhY2l0eT0iMC4xNSIgZm9udC1mYW1pbHk9Ik1vbnRzZXJyYXQiIGZvbnQtc2l6ZT0iMjgwIiBmb250LXdlaWdodD0iODAwIj5pbjwvdGV4dD48dGV4dCB4PSItMTAiIHk9IjEzMDAiIGZpbGw9IiMxMDQxQjIiIG9wYWNpdHk9IjAuMTUiIGZvbnQtZmFtaWx5PSJNb250c2VycmF0IiBmb250LXNpemU9IjI4MCIgZm9udC13ZWlnaHQ9IjgwMCI+aW48L3RleHQ+PC9nPjwvc3ZnPg==");
  --side-pattern-blue: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTMiIGhlaWdodD0iMjAwMCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9Im0iIHdpZHRoPSIzMDUiIGhlaWdodD0iMjAwMCIgZmlsbD0iI2ZmZiIvPjwvbWFzaz48ZyBtYXNrPSJ1cmwKI20pIj48dGV4dCB4PSIyMCIgeT0iMzAwIiBmaWxsPSIjRkVCNjAwIiBvcGFjaXR5PSIwLjE1IiBmb250LWZhbWlseT0iTW9udHNlcnJhdCIgZm9udC1zaXplPSIyODAiIGZvbnQtd2VpZ2h0PSI4MDAiPmluPC90ZXh0Pjx0ZXh0IHg9IjIwIiB5PSI4MDAiIGZpbGw9IiNGRUI2MDAiIG9wYWNpdHk9IjAuMTUiIGZvbnQtZmFtaWx5PSJNb250c2VycmF0IiBmb250LXNpemU9IjI4MCIgZm9udC13ZWlnaHQ9IjgwMCI+aW48L3RleHQ+PHRleHQgeD0iMjAiIHk9IjEzMDAiIGZpbGw9IiNGRUI2MDAiIG9wYWNpdHk9IjAuMTUiIGZvbnQtZmFtaWx5PSJNb250c2VycmF0IiBmb250LXNpemU9IjI4MCIgZm9udC13ZWlnaHQ9IjgwMCI+aW48L3RleHQ+PC9nPjwvc3ZnPg==");
  --paint-tools-pattern: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDgwIDgwIj48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2Utb3BhY2l0eT0iMC4xMiI+PHBhdGggZD0iTTEwIDEwaDIwdjE1SDEweiIvPjxwYXRoIGQ9Ik0yMCAyNXYxNSIvPjxwYXRoIGQ9Ik01MCA1MGgxNXYyMEg1MHoiLz48cGF0aCBkPSJNNTcgNTBWMzAiLz48cGF0aCBkPSJNMTUgNjBhMTAgMTAgMCAwIDEgMjAgMCIvPjxwYXRoIGQ9Ik01NSAxNWExMCAxMCAwIDAgMSAyMCAwIi8+PC9nPjwvc3ZnPg==");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
}

.text-blue { color: var(--secondary-blue); }
.text-white { color: #fff; }

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2.8rem;
}

.in-logo-badge {
  max-width: 50px;
  height: auto;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
  text-transform: uppercase;
}

.btn-whatsapp:hover {
  background-color: #127909;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-img {
  max-height: 55px;
  width: auto;
  display: block;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: #1041b3 url('img/BGNOVO.webp') no-repeat right center / cover;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 70px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 750px;
  position: relative;
  padding-left: 40px;
}

.hero-bar {
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 85%;
  background-color: var(--yellow-bg);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-brand small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #cfd6e4;
  margin-bottom: 6px;
}

.brand-img {
  max-width: 330px;
  height: auto;
}

/* Destaque / Amarelo */
.highlight-wrapper {
  background-color: var(--primary-blue);
  position: relative;
}

.highlight-section {
  background-color: var(--yellow-bg);
  padding: 80px 0 110px 0;
  border-bottom-left-radius: 260px;
  position: relative;
  z-index: 2;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.paint-cans-frame {
  position: relative;
  background-color: #1041B3;
  border-radius: 140px 0 0 0;
  padding: 40px 30px 20px 40px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(0);
  transition: transform 1.9s ease-in-out; 
  : 1s;
}
.paint-cans-frame :hover{
  transform: translateY(-15px);
}

.img-paint-cans {
  width: 100%;
  max-width: 440px;
  display: block;
  /* transform: translate(-15px, -15px); */
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
}
.img-paint-cans {
  width: 100%;
  max-width: 440px;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
}


.highlight-text h2 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 1.4rem;
  line-height: 1.15;
  font-weight: 800;
}

.highlight-text p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  opacity: 0.95;
}

/* Linha de Produtos */
.products-container {
  padding-top: 10px;
}

.products-title {
  text-align: center;
  font-size: 2.2rem;
  color: #1041B3;
  margin-bottom: 45px;
  font-weight: 800;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: var(--secondary-blue);
  color: #fff;
  padding: 18px 18px 24px 18px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(1, 10, 32, 0.721);
}

.card-img-wrapper {
  width: 100%;
  height: 185px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #fff;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.card p {
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.9;
  font-weight: 400;
}

/* Segmentos */
.segments-section {
  background-color: var(--primary-blue);
  padding: 110px 0;
}

.segments-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.segment-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 30px;
  align-items: center;
}

.segment-row.reverse {
  grid-template-columns: 1fr 320px;
}

.segment-row.reverse .segment-thumb {
  order: 2;
}
.segment-row.reverse .segment-info {
  order: 1;
}

.segment-thumb {
  height: 290;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0);
  transition: 0.9s;
}
.segment-thumb :hover {
    transform: translateY(-5px);
    height: 290;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0);
}

.segment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-info h3 {
  color: var(--yellow-bg);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.segment-info p {
  color: #fff;
  font-size: 0.95rem;
}

/* ========================================================
   APLICAÇÕES E SOLUÇÕES (Alinhado com a imagem de referência)
   ======================================================== */
.solutions-grid-section {
  padding: 110px 0;
  background-color: var(--yellow-bg);
  position: relative;
}

.solutions-grid-section .section-title {
  color: var(--secondary-blue);
  margin-bottom: 60px;
}

.grid-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px 60px;
  align-items: center;
}

.grid-box {
  display: flex;
  align-items: center;
  gap: 22px;
}

.circle-thumb {
  width: 160px;
  height: 160px;
  min-width: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.4);
  transition: 0.5s;
}

.circle-thumb:hover  {
  width: 170x;
  height: 170px;
  min-width: 170px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.grid-desc h4 {
  font-size: 1.15rem;
  color: var(--orange-title);
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.3;
}

.grid-desc p {
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 600;
}

/* Catálogo Interminas */
.catalog-section {
  background-color: #1041B3;
  background-image: var(--paint-tools-pattern);
  background-repeat: repeat-y;
  background-position: right top;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.catalog-layout {
  display: flex;
  align-items: stretch;
  min-height: 490px;
  width: 100%;
}

.catalog-painter-pane {
  flex: 0 0 30%;
  position: relative;
  overflow: hidden;
  background-color: #1041B3;
}

.painter-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  size: 25%;
}

.painter-photo { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: top center; 
  display: block; 
  
  /* Apaga somente a borda vertical direita */
  mask-image: linear-gradient(to right, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
}


.roller-highlight-ring {
  position: absolute;
  top: 10px;
  left: 65%;
  width: 100px;
  height: 100px;
  border: 11px solid #FFB600;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

.catalog-content-pane {
  flex: 1;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.catalog-header-area h2 {
  color: #FFB600;
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.catalog-lead-text,
.catalog-sub-lead {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.catalog-sub-lead {
  margin-bottom: 24px;
}

.catalog-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  gap: 12px;
  margin-bottom: 24px;
}

.cat-card {
  background-color: #ffffff;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-2px);
}

.cat-card-tl { border-radius: 24px 6px 6px 6px; }
.cat-card-tr { border-radius: 6px 24px 6px 6px; }
.cat-card-bl { border-radius: 6px 6px 6px 24px; }
.cat-card-br { border-radius: 6px 6px 24px 6px; }

.cat-icon-bullet {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.7rem;
}

.bullet-yellow { background-color: #FFB600; }
.bullet-blue   { background-color: #1041B3; }
.bullet-red    { background-color: #EE4E4C; }
.bullet-green  { background-color: #199E0D; }

.cat-card-text {
  color: #222222;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-footer-area {
  max-width: 580px;
}

.catalog-footnote {
  color: #ffffff;
  font-size: 0.82rem;
  margin-bottom: 18px;
  opacity: 0.95;
}

.btn-catalog-action {
  background-color: #FFB600;
  color: #222222;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 8px;
  gap: 8px;
}

.btn-catalog-action:hover {
  background-color: #e6a400;
}

/* Sobre a Interminas */
.about-section {
  padding: 120px 0 90px 0;
  background-color: var(--yellow-bg);
  position: relative;
}

.about-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.about-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-text-col h2 {
  font-size: 2.4rem;
  color: var(--secondary-blue);
  margin-bottom: 6px;
}

.about-text-col h4 {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 16px;
}

.about-text-col p {
  color: #333333;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.worker-cutout-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.worker-blue-arch {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 340px;
  background-color: var(--primary-blue);
  border-radius: 140px 140px 0 0;
  z-index: 1;
}

.worker-img {
  position: relative;
  z-index: 2;
  max-width: 380px;
  height: auto;
  display: block;
}

/* Losangos Azuis */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.pillar-diamond-box {
  text-align: center;
  padding: 0 10px;
}

.diamond-icon {
  /* 1. AUMENTADO O TAMANHO: De 90px para 120px (ajuste como preferir) */
  width: 120px;
  height: 120px;
  background: var(--primary-blue);
  color: #ffffff;
  margin: 0 auto 30px auto;
  /* Mantém o losango inclinado no estado inicial */
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);

  /* 2. TRANSIÇÃO: Controla a velocidade e suavidade da rotação (0.5 segundos) */
  transition: transform 0.5s ease-in-out, background-color 0.3s;
}

/* 3. EFEITO HOVER: Faz o losango girar ao passar o mouse */
.pillar-diamond-box:hover .diamond-icon {
  transform: rotate(360deg);
}
/* Mantém o ícone reto compensando a rotação inicial do pai */
.diamond-icon i {
  transform: rotate(-45deg);
  font-size: 2.2rem;
  /* Transição para o ícone também girar de forma suave */
  transition: transform 0.5s ease-in-out;
}

/* 4. CORREÇÃO DO ÍCONE NO HOVER: Faz o ícone ficar reto (0 graus) junto com o quadrado */
.pillar-diamond-box:hover .diamond-icon i {
  transform: rotate(0deg);
}

.pillar-diamond-box p {
  color: #333333;
  font-size: 0.85rem;
  line-height: 1.45;
} 

/* =========================
Seção Contato & Mapa 
===========================*/

.contact-section {
  background-color: var(--primary-blue);
  padding: 80px 0 60px 0;
}

.contact-container {
  max-width: 1050px;
  margin: 0 auto;
}

.contact-card-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  padding: 50px 45px;
  gap: 50px;
  margin-bottom: 45px;
}

.contact-info-col h2 {
  color: var(--secondary-blue);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 15px;
  font-family: var(--font-title);
  font-weight: 800;
}

.contact-subtitle {
  color: #555555;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-details-list li.address-item {
  align-items: flex-start;
}

.contact-details-list .icon-wrap {
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #f1b317;
}

.contact-details-list a,
.contact-details-list span {
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  transition: var(--transition);
}

.contact-details-list a:hover {
  color: var(--primary-blue);
}

.contact-form-col h3 {
  color: var(--secondary-blue);
  font-size: 1.55rem;
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-weight: 700;
}

.form-subtitle {
  color: #666666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-form-col input,
.contact-form-col textarea {
  width: 100%;
  padding: 10px 14px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-col input::placeholder,
.contact-form-col textarea::placeholder {
  color: #888888;
  opacity: 0.8;
}

.contact-form-col input:focus,
.contact-form-col textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(16, 65, 179, 0.15);
}

.contact-form-col textarea {
  resize: vertical;
  min-height: 85px;
}

.btn-contact-submit {
  width: 100%;
  background-color: #199E0D;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 5px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-contact-submit:hover {
  background-color: #127909;
}

.contact-map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  line-height: 0;
}

.contact-map-wrapper iframe {
  display: block;
}

/* Rodapé */
.footer {
  background: #092569;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
}

/* Grafismo Lateral */
.highlight-section,
.segments-section,
.solutions-grid-section,
.about-section {
  position: relative;
  overflow: hidden;
}

.pattern-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 100%;
  background-image: var(--side-pattern-yellow);
  background-repeat: repeat-y;
  background-position: left top;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.pattern-right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background-image: var(--side-pattern-blue);
  background-repeat: repeat-y;
  background-position: right top;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.pattern-right-blue::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background-image: var(--side-pattern-yellow);
  background-repeat: repeat-y;
  background-position: right top;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.highlight-section .container,
.segments-section .container,
.solutions-grid-section .container,
.about-section .container {
  position: relative;
  z-index: 2;
}

/* ========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ======================================================== */
@media (max-width: 1100px) {
  .catalog-features-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .catalog-layout {
    flex-direction: column;
  }

  .catalog-content-pane {
    padding: 50px 20px;
  }

  .hero-content {
    justify-content: flex-start;
  }
  
  .highlight-grid,
  .about-top,
  .about-pillars-grid,
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }

  .grid-items {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .segment-row,
  .segment-row.reverse {
    grid-template-columns: 1fr;
  }

  .highlight-section {
    border-bottom-left-radius: 90px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
  
  .pattern-left::before,
  .pattern-right::after,
  .pattern-right-blue::after {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Oculta o painel do pintor no telemóvel */
  .catalog-painter-pane {
    display: none !important;
  }

  .hero {
    background-image: url('img/BG-MOBILE.webp');
    padding: 70px 0;
    min-height: auto;
  }

  .hero-text {
    padding-left: 20px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .brand-img {
    max-width: 250px;
  }

  .paint-cans-frame {
    border-radius: 80px 0 0 0;
    padding: 25px 15px 15px 25px;
  }

  .highlight-section {
    border-bottom-left-radius: 40px;
    padding: 50px 0 70px 0;
  }

  .highlight-text h2 {
    font-size: 1.8rem;
  }

  .products-title,
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .solutions-grid-section,
  .segments-section,
  .about-section,
  .contact-section {
    padding: 60px 0;
  }

  .worker-blue-arch {
    width: 220px;
    height: 280px;
  }

  .worker-img {
    max-width: 300px;
  }

  .contact-card-wrapper {
    padding: 30px 20px;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-box {
    gap: 15px;
  }

  .circle-thumb {
    width: 85px;
    height: 85px;
    min-width: 85px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }
}