/* 
 * Engredan - Design System (Vanilla CSS)
 * Refatorado: CSS limpo, sem duplicidades, identidade verde e WhatsApp fixo no canto inferior direito.
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1F6B3A;
  --primary-hover: #18572F;
  --primary-dark: #134626;
  --primary-deep: #0F3A20;
  --primary-soft: #E8F2EC;
  --primary-rgb: 31, 107, 58;
  --secondary: #2E8B57;
  --dark-bg: #121214;
  --dark-surface: #1a1a1e;
  --light-bg: #f8f9fa;
  --light-surface: #ffffff;
  --text-dark: #212529;
  --text-muted-dark: #6c757d;
  --text-light: #f8f9fa;
  --text-muted-light: #ced4da;
  --border-light: #dee2e6;
  --border-dark: #2d2d34;
  --whatsapp: #25d366;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Barlow', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --nav-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 12px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px;
}

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 12px;
}

.section-title.center::after {
  margin-left: auto;
  margin-right: auto;
}

.text-white { color: var(--text-light) !important; }
.text-black { color: var(--text-dark) !important; }

.bg-dark {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 58%, var(--primary-hover) 100%) !important;
}

.bg-light {
  background-color: var(--light-bg) !important;
}

/* Navigation */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: linear-gradient(180deg, rgba(31, 107, 58, 0.98), rgba(24, 87, 47, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo,
.navbar-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: rgba(0, 0, 0, 0.14);
  padding: 9px 14px;
  border-radius: 4px;
}

.navbar-logo img {
  width: 230px;
  max-width: 230px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.14));
}

.navbar-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition);
}

.navbar-menu a:hover {
  color: #ffffff;
}

.navbar-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 440px;
  min-height: 360px;
  overflow: hidden;
  background-color: var(--primary);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active {
  opacity: 1;
  z-index: 2;
}

.carousel-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transform: scale(1.08);
  transition: transform 8s ease;
}

.carousel-item.active img {
  transform: scale(1);
}

.carousel-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.carousel-title {
  color: var(--text-light);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}

.carousel-item.active .carousel-title {
  opacity: 1;
  transform: translateY(0);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-control:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }

.carousel-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  list-style: none;
  z-index: 10;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators li.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* About */
.about-section {
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-image,
.about-content,
.feature-content,
.feature-image {
  flex: 0 0 calc(50% - 24px);
}

.about-image,
.feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
}

/* Feature */
.feature-section,
.partners-section {
  background:
    linear-gradient(rgba(15, 58, 32, 0.88), rgba(15, 58, 32, 0.88)),
    url('../images/mbr-1270x847.jpg') center/cover no-repeat fixed;
  color: var(--text-light);
  position: relative;
}

.feature-container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-content {
  background: rgba(15, 58, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid rgba(255, 255, 255, 0.28);
  padding: 40px;
  border-radius: 12px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.28);
}

/* Products */
.products-section {
  background-color: var(--light-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background-color: var(--light-surface);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.product-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.product-card .btn-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-card .btn-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.product-card:hover .btn-link::after {
  transform: translateX(4px);
}

/* Partners */
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.client-logo {
  flex: 0 0 180px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.client-logo:hover {
  transform: scale(1.05);
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.22);
}

/* Contact */
.contact-grid {
  display: flex;
  gap: 48px;
}

.contact-info {
  flex: 0 0 calc(40% - 24px);
}

.contact-form-container {
  flex: 0 0 calc(60% - 24px);
  background-color: var(--light-surface);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-form-container:hover {
  border-color: rgba(var(--primary-rgb), 0.32);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.info-text p,
.info-text a {
  color: var(--text-muted-dark);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--light-bg);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--light-surface);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-file {
  position: relative;
  display: inline-block;
  width: 100%;
}

.form-file-input {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.form-file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px dashed var(--primary);
  background-color: rgba(var(--primary-rgb), 0.04);
  border-radius: 6px;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
  text-align: center;
}

.form-file:hover .form-file-btn {
  background-color: rgba(var(--primary-rgb), 0.09);
}

/* Catalog */
.catalog-category-header {
  padding: 28px 34px;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 65%, var(--secondary) 100%);
  color: #ffffff;
  border-radius: 14px;
  margin-top: 46px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-category-header img {
  width: 86px;
  height: 86px;
  min-width: 86px;
  object-fit: cover;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.96);
  padding: 6px;
}

.catalog-category-header h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.catalog-category-header p {
  color: rgba(255, 255, 255, 0.86);
}

.catalog-table-container {
  background-color: var(--light-surface);
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 40px;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.catalog-table th {
  background-color: #f1f3f5;
  padding: 16px 24px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-light);
}

.catalog-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.catalog-table tr:last-child td {
  border-bottom: none;
}

.catalog-table tr:hover td {
  background-color: rgba(var(--primary-rgb), 0.045);
}

.catalog-table a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}

/* Footer */
.footer,
footer#footer02-47.footer {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  border-top: 4px solid var(--primary-dark);
  padding: 30px 0 24px;
}

.footer .footer-inner,
footer#footer02-47.footer .footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 17px;
}

.footer-logo,
footer#footer02-47.footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: rgba(0, 0, 0, 0.14);
  padding: 9px 14px;
  border-radius: 4px;
}

.footer-logo img,
footer#footer02-47.footer .footer-logo img {
  width: 230px;
  max-width: 230px;
  max-height: 68px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.14));
}

.footer-links,
footer#footer02-47.footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
footer#footer02-47.footer .footer-links a {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.footer-links a:hover,
footer#footer02-47.footer .footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer .copyright,
footer#footer02-47.footer .copyright {
  width: 100%;
  margin: 0;
  padding-top: 2px;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: normal;
}

.footer .copyright a,
footer#footer02-47.footer .copyright a {
  color: #ffffff !important;
  font-weight: 700;
}

.footer-divider,
.footer hr,
footer#footer02-47.footer .footer-divider,
footer#footer02-47.footer hr {
  display: none !important;
}

/* WhatsApp Floating Widget */
a.whatsapp-widget {
  position: fixed !important;
  right: 28px !important;
  bottom: 28px !important;
  top: auto !important;
  width: 62px !important;
  height: 62px !important;
  background: radial-gradient(circle at 30% 30%, #29e578, var(--whatsapp)) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  transform: none !important;
}

a.whatsapp-widget svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
}

a.whatsapp-widget:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6) !important;
}

a.whatsapp-widget::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 450px;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 99999;
  transition: var(--transition);
  transform: translateY(150%);
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cookie-banner a {
  font-weight: 600;
  text-decoration: underline;
}

.cookie-btn-group {
  display: flex;
  justify-content: flex-end;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .section-padding { padding: 64px 0; }

  .about-section,
  .feature-container,
  .contact-grid {
    flex-direction: column;
    gap: 32px;
  }

  .about-image,
  .about-content,
  .feature-content,
  .feature-image,
  .contact-info,
  .contact-form-container {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-title { font-size: 2.8rem; }

  .catalog-category-header {
    padding: 24px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  .container { padding: 0 18px; }

  .navbar-fixed { height: var(--nav-height); }

  .navbar-logo,
  .navbar-logo a {
    padding: 7px 10px;
  }

  .navbar-logo img {
    width: 178px;
    max-width: 178px;
  }

  .nav-toggle { display: flex; }

  .navbar-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: linear-gradient(180deg, var(--primary-deep) 0%, var(--primary-hover) 100%);
    flex-direction: column;
    padding: 48px 24px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu a {
    font-size: 1.22rem;
  }

  .hero-carousel {
    height: 390px;
    min-height: 340px;
  }

  .carousel-title { font-size: 2.15rem; }
  .section-title { font-size: 1.85rem; }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev { left: 12px; }
  .carousel-control-next { right: 12px; }
  .carousel-indicators { bottom: 20px; }

  .catalog-category-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
    margin-top: 34px;
  }

  .catalog-category-header img {
    width: 76px;
    height: 76px;
    min-width: 76px;
  }

  .catalog-category-header h2 {
    font-size: 1.45rem;
  }

  .catalog-table-container {
    overflow-x: auto;
  }

  .catalog-table {
    min-width: 620px;
  }

  .footer,
  footer#footer02-47.footer {
    padding: 28px 0 24px;
  }

  .footer .footer-inner,
  footer#footer02-47.footer .footer-inner {
    gap: 16px;
    padding: 0 18px;
  }

  .footer-logo img,
  footer#footer02-47.footer .footer-logo img {
    width: 205px;
    max-width: 205px;
  }

  .footer-links,
  footer#footer02-47.footer .footer-links {
    gap: 12px 18px;
  }

  .footer-links a,
  footer#footer02-47.footer .footer-links a {
    font-size: 0.92rem;
  }

  .footer .copyright,
  footer#footer02-47.footer .copyright {
    font-size: 0.76rem;
  }

  a.whatsapp-widget {
    right: 18px !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
  }

  a.whatsapp-widget svg {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (max-width: 480px) {
  .navbar-logo img {
    width: 160px;
    max-width: 160px;
  }

  .footer-logo img {
    width: 190px;
    max-width: 190px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-container {
    padding: 26px 20px;
  }

  .hero-carousel {
    height: 360px;
    min-height: 320px;
  }
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 36px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.catalog-cta strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.catalog-cta p {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.94rem;
}


/* =========================================================
   Formulário de contato - PHP SMTP
   ========================================================= */
.form-alert {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-alert-hidden {
  display: none;
}

.form-alert-error {
  display: block;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.22);
  border-left: 4px solid #dc3545;
  color: #842029;
}

.form-alert-success {
  display: block;
  background: rgba(31, 107, 58, 0.08);
  border: 1px solid rgba(31, 107, 58, 0.22);
  border-left: 4px solid #1F6B3A;
  color: #1F6B3A;
}

.form-help {
  margin-top: 8px;
  color: var(--text-muted-dark);
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .catalog-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .carousel-actions .btn-primary,
  .carousel-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}