/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background: #f2f2f2;
}

body.pagina-home {
  background: #ffffff;
}

/* =========================
   HOME
========================= */

.home-content {
  flex: 1;
}

.home-imagem-principal {
  width: 100%;
  background: #fff;
}

.home-imagem-principal img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

body.pagina-sobre,
body.pagina-produtos,
body.pagina-contactos {
  background: #ffffff;
}

/* =========================
   HOME
========================= */

/* HEADER */
.top-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

/* margin-right: -50px; */
/* LOGO */
.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-box a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  width: 235px;
  height: auto;
  display: block;
}

.tagline {
  font-family: 'Kaushan Script', cursive;
  font-size: 20px;
  color: #2f7d4f; 
  text-align: center;
  margin-top: -5px;
  margin-left: 50px;
  
  letter-spacing: 0.8px;
}

/* MENU */
.main-nav {
  display: flex;
  flex: 2;
  justify-content: center;
  align-items: center;
  gap: 50px;
  transform: translateX(-90px);
  margin-left: -70px;  /* -80px */
}

.main-nav a {
  text-decoration: none;
  color: #000000;
  font-size: 17.5px;
  font-weight: 400;
  transition: 0.3s;
}

.main-nav a.active {
  color: #1c245c;
  font-weight: 500;
}

.main-nav a:hover {
  color: #165A94;
}

/* BANNER DA PÁGINA */
.page-banner {
  background: #f3f3f3;
  text-align: center;
  padding: 58px 20px 62px;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 400;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.page-banner p {
  font-size: 14px;
  color: #8a8a8a;
}

.sobre-conteudo {
  background: #ffffff;
  padding: 72px 0 90px;
  text-align: center;
}

.sobre-texto-bloco {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.sobre-texto-bloco h2 {
  font-size: 37px;
  font-weight: 400;
  color: #222;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-align: center;
}

.sobre-texto-bloco h3 {
  font-size: 30px;
  font-weight: 300;
  color: #000000;
  letter-spacing: 1px;
  margin-bottom: 42px;
}

.sobre-texto-bloco p {
  max-width: 1080px;
  font-size: 20px;
  line-height: 2.0;
  color: #666;
  margin-bottom: 22px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  .main-nav {
    transform: none;
    gap: 25px;
    flex-wrap: wrap;
  }

  .search-box {
    justify-content: center;
    padding-right: 0;
  }

  .page-banner h1 {
    font-size: 34px;
  }

  .sobre-texto-bloco h2 {
    font-size: 30px;
  }

  .sobre-texto-bloco h3 {
    font-size: 22px;
  }

  .sobre-texto-bloco p {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* FOOTER */
.site-footer {
  background: #f5f5f5;
  padding: 70px 40px 30px;
  color: #555;
  margin-top: 80px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer-logo-area img {
  width: 230px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  margin-left: -50px;
}

/* margin-top: -20px;
  margin-left: 30px; */

.footer-logo-area p {
  font-size: 20px;
  color: #0c8a43;
  font-family: "Kaushan Script", cursive;
  margin-top: -15px;
  margin-left: -10px;
}

.footer-column h4 {
  font-size: 18px;
  color: #222;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-column a,
.footer-column p {
  display: block;
  text-decoration: none;
  color: #666;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 4px;
}

.footer-column a:hover {
  color: #1c245c;
}

.footer-contactos h4:not(:first-child) {
  margin-top: 20px;
}

.footer-social {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 0;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-social a {
  color: #222;
  font-size: 20px;
  margin: 0 14px;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #777;
  font-size: 14px;
  line-height: 1.8;
  padding-top: 10px;
}

.home-content {
  min-height: 500px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f2f2f2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== CONTACTOS ===== */

.contactos-page {
  background: #ffffff;
  padding: 90px 20px 110px;
}

.contactos-clean {
  max-width: 1200px;
  margin: 0 auto;
}

.contactos-clean h1 {
  text-align: center;
  font-size: 44px;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.contactos-subtitulo {
  text-align: center;
  font-size: 19px;
  color: #777777;
  margin-bottom: 70px;
}

.contactos-grid {
  max-width: 830px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contacto-box {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.contacto-box i {
  font-size: 28px;
  color: #1E6FB7;
  margin-bottom: 18px;
}

.contacto-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.contacto-box p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

.bloco-mapa {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.titulo-mapa {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin: 80px 0 30px;
  text-align: center;
  
}

.titulo-mapa h2 {
  margin-bottom: 800px;
  text-align: center;
}

.botao-mapa {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 25px;
}

.botao-mapa a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #1E6FB7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.botao-mapa a:hover {
  background: #165A94;
  transform: translateY(-2px);
  
}

.mapa-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mapa-container iframe {
  width: 100%;
  height: 460px;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .contactos-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .contactos-clean h1 {
    font-size: 34px;
  }

  .contactos-subtitulo {
    font-size: 16px;
  }

  .titulo-mapa {
    font-size: 24px;
  }

  .mapa-container iframe {
    height: 360px;
  }
}

.page-banner {
  background: #1E6FB7; /* #f3f3f3 */
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 400;
  color: #ffffff;  /* #222 */
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.page-banner p {
  font-size: 14px;
  color: #ffffff;  /* #222 */
  letter-spacing: 0.5px;
}

.contactos-grid {
  margin-top: 60px; /* 👈 empurra as caixas para baixo */
}

.contacto-box {
  position: relative;
  background: #ffffff;
}

.contacto-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 16px 16px 0 0;
}

.contacto-box:nth-child(1) {
  background: #def0ff; /* azul claro */
}

.contacto-box:nth-child(2) {
  background: #daffea; /* verde claro */
}

.contacto-box:nth-child(3) {
  background: #fddfb5; /* amarelo claro */
}

.contacto-box:nth-child(4) {
  background: #ece2e2; /* vermelho claro */
}

.contacto-box:nth-child(5) {
  background: #bef2fd; /* roxo claro */
}

.contacto-box:nth-child(6) {
  background: #ffc3c3; /* verde água */
}

/* ===== PRODUTOS ===== */

.produtos-page {
  background: #ffffff;
  padding: 90px 20px 110px;
}

.produtos-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.produtos-intro h2 {
  font-size: 32px;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.produtos-intro p {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

.produtos-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.produto-card {
  position: relative;
  background: #f9f9f9;
  border-radius: 18px;
  padding: 34px 28px;
  text-align: center;
  min-height: 360px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

/* linha decorativa no topo */
.produto-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 4px;
  border-radius: 8px;
  background: #1E6FB7;
}

.produto-icon {
  width: 76px;
  height: 76px;
  margin: 10px auto 22px;
  border-radius: 50%;
  background: #eaf3fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-icon i {
  font-size: 30px;
  color: #1E6FB7;
}

.produto-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 14px;
}

.produto-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 290px;
  margin-left: auto;
  margin-right: auto;
}

.produto-card a {
  display: inline-block;
  padding: 11px 24px;
  background: #1E6FB7;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.produto-card a:hover {
  background: #165A94;
}

/* cores subtis diferentes por categoria */
.produto-card:nth-child(1) .produto-icon { background: #eaf3fb; }
.produto-card:nth-child(2) .produto-icon { background: #edf8ef; }
.produto-card:nth-child(3) .produto-icon { background: #fff4e8; }
.produto-card:nth-child(4) .produto-icon { background: #fdeeee; }
.produto-card:nth-child(5) .produto-icon { background: #eef4ff; }
.produto-card:nth-child(6) .produto-icon { background: #f4f1ff; }

@media (max-width: 900px) {
  .produtos-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .produtos-intro h2 {
    font-size: 28px;
  }

  .produtos-intro p {
    font-size: 16px;
  }

  .produto-card {
    min-height: auto;
  }
}

/* ===== CATEGORIAS DE PRODUTOS ===== */

.categoria-page {
  background: #ffffff;
  padding: 90px 20px 110px;
}

.categoria-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.categoria-intro h2 {
  font-size: 32px;
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.categoria-intro p {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

.categoria-grid {
  max-width: 1150px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.categoria-card {
  background: #f9f9f9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
  text-align: center;
}

.categoria-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.categoria-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  padding: 15px;
  background: #fff;
}

.categoria-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 24px 20px 12px;
}

.categoria-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin: 0 24px 24px;
}

.categoria-card a {
  display: inline-block;
  margin-bottom: 28px;
  padding: 11px 22px;
  background: #1E6FB7;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.categoria-card a:hover {
  background: #165A94;
}

.categoria-info-extra {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

.categoria-info-extra p {
  font-size: 17px;
  color: #666;
  margin-bottom: 20px;
}

.categoria-info-extra a {
  display: inline-block;
  padding: 12px 24px;
  background: #1E6FB7;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.categoria-info-extra a:hover {
  background: #165A94;
}

@media (max-width: 900px) {
  .categoria-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .categoria-intro h2 {
    font-size: 28px;
  }

  .categoria-intro p {
    font-size: 16px;
  }

  .categoria-card img {
    height: 200px;
  }
}

/* ===== DETALHE DO PRODUTO ===== */

.produto-detalhe-page {
  background: #ffffff;
  padding: 90px 20px 110px;
}

.produto-detalhe-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 150px;
  padding-bottom: 150px;
  border-bottom: 1px solid #eee;
}

.produto-detalhe-imagem {
  text-align: center;
}

.produto-detalhe-imagem img {
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
}

.produto-detalhe-info h2 {
  font-size: 38px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  white-space: nowrap;
}

.produto-subtitulo {
  font-size: 18px;
  color: #1E6FB7;
  font-weight: 500;
  margin-bottom: 24px;
}

.produto-detalhe-info p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 18px;
}

.produto-lista {
  margin: 25px 0 30px;
  padding-left: 20px;
}

.produto-lista li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.botao-produto {
  display: inline-block;
  background: #1E6FB7;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;

}

.botao-produto:hover {
  background: #165A94;
}

@media (max-width: 900px) {
  .produto-detalhe-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .produto-lista {
    text-align: left;
    display: inline-block;
  }

  .produto-detalhe-info h2 {
    font-size: 30px;
  }
}

.categoria-info-extra {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  margin-top: 100px;
}

.sobre-texto-bloco h3 {
  font-family: 'Kaushan Script', cursive;
  color: #0c8a43;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

/* =========================
   BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f5f5f5;
    color: #222;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   HEADER
========================= */
.top-header {
    background: #fff;
    padding: 18px 40px;
    border-bottom: 1px solid #eaeaea;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.logo-box img {
    width: 240px;
}

.tagline {
    font-family: "Kaushan Script", cursive;
    font-size: 20px;
    color: #0c8a43;
    margin-top: -8px;
    margin-left: 60px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: #222;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #165A94;
}

.search-box {
    font-size: 22px;
    color: #222;
    cursor: pointer;
    transition: 0.3s;
}

.search-box:hover {
    color: #165A94;
}

#search-input {
    display: none;
    position: absolute;
    right: 0;
    top: 65px;
    width: 240px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    outline: none;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#search-input.show {
    display: block;
}

.footer-logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-link img {
  display: block;
}

.home-hero {
  position: relative;
  width: 100%;
  
}


.home-imagem-principal {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.home-imagem-principal img {
  width: 100%;
  height: calc(100vh - 140px);
  object-fit: cover;
  display: block;
}

.home-hero-texto {
  position: absolute;
  left: 40px;
  bottom: 70px;
}

.home-hero-texto h1 {
  color: #fff;
}

.btn-hero {
  display: inline-block;
  background: #1E6FB7;
  color: #fff;
  text-decoration: none;
  padding: 18px 34px;
  font-size: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-hero:hover {
  background: #165A94;
}

/* =========================
   EXTRA
========================= */

.mapa-full {
  width: 100vw;
  height: 550px;
  margin: 0;
  margin-top: 80px;
}

.mapa-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-split {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 80px 10%;
}

.split-img img {
  width: 100%;
  border-radius: 4px;
}

.split-text {
  max-width: 500px;
}

/* CTA */
.home-cta {
  position: relative;
  padding: 100px 10%;
  text-align: center;
  color: #fff;
  margin: 80px 0;

  /* imagem + overlay */
  background: url("images/FABRICA3.jpg") center/cover no-repeat;
}

/* overlay escuro (essencial) */
.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* conteúdo por cima */
.cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* título */
.home-cta h2 {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* texto */
.home-cta p {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 30px;
}

/* botão */
.btn-cta {
  display: inline-block;
  background: #1E6FB7;
  color: #fff;
  padding: 14px 35px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  border: 1px solid transparent;
}

/* hover */
.btn-cta:hover {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  transform: translateY(-2px);
}

.home-split-cards {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 100px 8%;
}

/* IMAGEM */
.split-image {
  flex: 1.2;
}

.split-image img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 16px;
  margin-left: -50px;
}

/* CARDS */
.split-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* CARD */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

/* HOVER */
.card:hover {
  transform: translateY(-4px);
}

/* ÍCONE */
.icon {
  min-width: 60px;
  width: 60px;
  height: 60px;
  background: #e6eef8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon i {
  color: #1E6FB7;
  font-size: 22px;
}

/* TEXTO */
.card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  padding: 30px 35px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .home-split-cards {
    flex-direction: column;
  }

  .split-image img {
    height: 350px;
  }
}

.card {
  border-left: 4px solid #1E6FB7;
}

.home-split-cards {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
}

.split-image {
  flex: 1.2;
}

.split-image img {
  width: 100%;
  height: 750px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.split-cards {
  flex: 1.45;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-cards .card {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  padding: 28px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-left: 4px solid #1E6FB7;
}

.split-cards .icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: #eaf1fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-cards .icon i {
  font-size: 26px;
  color: #1E6FB7;
}

.split-cards .card h3 {
  margin: 0;
  min-width: 140px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.split-cards .card p {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.home-producao {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
  margin-left: 0px;
}

/* TEXTO */
.producao-text {
  flex: 1;
  max-width: none;

  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  border-left: 5px solid #1E6FB7;
}

/* IMAGEM */
.producao-image {
  flex: 1;
}

.producao-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

.producao-text span {
  color: #1E6FB7;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.producao-text h2 {
  font-size: 34px;
  margin-bottom: 18px;
  color: #111;
}

.producao-text p {
  color: #555;
  line-height: 1.7;
  font-size: 16px;
}

.producao-text:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

.producao-text {
  flex: 0.7;        /* ocupa mais espaço horizontal */
  max-width: none;  /* remove limite de largura */
  padding: 50px 45px;
  margin-left: -50px;
}

/* AZUL1 */ /* #1E6FB7*/

/* HOVER1 AZUL */ /*#165A94*/

/* AZUL2 */ /*#1F5DAA*/

/* HOVER2 AZUL */ /*#174B88*/

/* alinhar texto mais à esquerda e aumentar largura */ /* .producao-text - repetido */
.producao-text {
  flex: 1;
  max-width: 800px; /* aumenta largura */
  margin-left: -70px; /* move para a esquerda */
}

/* ===================================================================== */
/* CORREÇÕES PARA TELEMÓVEL (Não afeta o PC)                             */
/* ===================================================================== */

@media screen and (max-width: 768px) {
    
    /* 1. HEADER E MENU (Centrar tudo e remover margens negativas) */
    .header-inner {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .logo-box img {
        width: 220px; /* Reduz o logotipo um bocadinho */
        text-align: center;
        margin-left: -20px;
    }
    
    .main-nav {
        transform: none;
        margin-left: 0;
        gap: 15px;
        flex-wrap: wrap; /* Permite que o menu desça de linha se não couber */
        justify-content: center;
    }

    /* 2. SECÇÃO HOME-SPLIT-CARDS E PRODUÇÃO (Colocar em coluna) */
    .home-split-cards, 
    .home-producao {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .split-image img {
        margin-left: 0; /* Remove a margem negativa que atirava a imagem para a esquerda */
        height: auto;
        max-height: 400px;
    }

    .producao-text {
        margin-left: 0;
        padding: 30px 20px;
    }

    /* 3. CAIXAS (CARDS) COM ÍCONES E TEXTO */
    .split-cards .card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    .split-cards .card h3 {
        min-width: auto;
    }

    /* 4. FOOTER / RODAPÉ (Passar de 5 colunas para 1 coluna) */
    .footer-top {
        grid-template-columns: 1fr; /* Coloca tudo numa única coluna vertical */
        text-align: center;
        gap: 30px;
    }

    .footer-logo-area img {
        margin-left: auto;
        margin-right: auto; /* Centra o logotipo do rodapé */
    }

    .footer-logo-area p {
        margin-left: 0;
        margin-top: 10px;
    }

    /* 5. GRELHAS GERAIS (Produtos, Contactos, Categorias) */
    .contactos-grid, 
    .produtos-grid, 
    .categoria-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        padding: 0 10px;
    }

    /* 6. CORREÇÕES DE PADDING GERAL E TEXTOS LONGOS */
    .sobre-texto-bloco {
        padding: 0 15px;
    }
    
    .home-cta {
        padding: 60px 20px;
    }
    
    .home-cta h2 {
        font-size: 28px;
    }
}

/* ===================================================================== */
/* FIX ESPECÍFICO PARA A PÁGINA DO PRODUTO NO TELEMÓVEL                  */
/* ===================================================================== */

@media screen and (max-width: 768px) {
    
    /* 1. OBRIGAR O TÍTULO A DESCER DE LINHA */
    .produto-detalhe-info h2 {
        white-space: normal !important; /* Isto anula o nowrap e deixa o texto quebrar */
        font-size: 26px !important; /* Reduz um pouco o tamanho para não ocupar o ecrã todo */
        line-height: 1.3;
        text-align: left;
    }

    /* 2. ALINHAR O TEXTO À ESQUERDA PARA LER MELHOR */
    .produto-detalhe-info p,
    .produto-subtitulo {
        text-align: left !important;
        padding-right: 10px;
    }

    /* 3. CORRIGIR A LISTA DE PROPRIEDADES QUE ESTAVA A SAIR DO ECRÃ */
    .produto-lista {
        display: block !important; 
        text-align: left !important;
        padding-left: 20px !important; /* Dá espaço para as "bolinhas" da lista */
        margin-right: 15px;
    }

    /* 4. GARANTIR QUE A CAIXA NÃO ULTRAPASSA O ECRÃ */
    .produto-detalhe-info {
        width: 100%;
        max-width: 100vw; /* Garante que nunca passa da largura do ecrã */
        overflow-x: hidden;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .tagline {
        margin-left: 40px !important; /* 👈 Este é o truque para empurrar para a direita */
        text-align: center;
        font-size: 18px;
        margin-top: -10px;
    }

    .footer-logo-area p {
      font-size: 19px;
      color: #0c8a43;
      font-family: "Kaushan Script", cursive;
      margin-top: -20px;
      margin-left: 80px;
    }

    .footer-logo-area img {
      width: 220px;
      height: auto;
      display: block;
      margin-bottom: 10px;
      margin-left: 36px;
    }

    .home-hero-texto {
      position: absolute;
      margin-left: 0px;
      margin-bottom: -20px;
      
    }

    .home-hero-texto h1 {
      color: #fff;
      font-size: 25px;
    }

}

/* EXTRA */
