/* ============================================
   AUTOMAÇÃO RESIDENCIAL - CSS ESPECÍFICO
   ============================================ */

/* ============================================
   VARIÁVEIS CSS
   ============================================ */
:root {
  --primary-color: #2A7DE1;
  --secondary-color: #6bdad5;
  --dark-bg: #0F2C3E;
  --darker-bg: #000F18;
  --darkest-bg: #080D16;
  --text-white: #FFFFFF;
  --text-light: rgba(255, 255, 255, 0.80);
  --border-color: rgba(42, 125, 225, 0.20);
  --font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max-width: 1250px;
  --container-sized: 600px;
  --spacing-xs: 10px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 80px;
  --border-radius: 10px;
  --border-radius-lg: 15px;
  --transition: all 0.3s ease;
  --hoverBg: rgba(22, 112, 202, 0.20);
  --hoverColor: #FFFFFF;
}

/* ============================================
   CONTAINER
   ============================================ */
.container.sized {
  max-width: 1250px;
}

/* ============================================
   HERO SECTION - AUTOMAÇÃO RESIDENCIAL
   ============================================ */
.automacao-residencial-hero-section {
  background: var(--darker-bg);
  min-height: 50vh;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  z-index: 0;
}

.automacao-residencial-hero-section .container.sized {
  margin-top: 385px;
  margin-bottom: 200px;
  margin-left: auto;
  margin-right: auto;
}

.automacao-residencial-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../uploads/living-room-with-couch-light-hanging-from-ceiling-1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  z-index: 0;
}

.automacao-residencial-hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 684px;
  margin-left: 0;
}

.automacao-residencial-hero-text-content {
  margin-bottom: var(--spacing-lg);
}

.automacao-residencial-hero-text-content h1 {
  margin-bottom: var(--spacing-md);
  font-family: var(--font-family);
  font-size: 56px;
  line-height: 61.6px;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--text-white);
}

.automacao-residencial-hero-text-content p {
  margin-bottom: 0;
  font-family: var(--font-family);
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--text-white);
}

.automacao-residencial-hero-button {
  margin-top: var(--spacing-lg);
}

/* ============================================
   BOTÃO AUTOMAÇÃO RESIDENCIAL
   ============================================ */
.btn-automacao-residencial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: #000F18;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-align: left;
  position: relative;
  isolation: isolate;
}

.btn-automacao-residencial::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  padding: 1px;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-automacao-residencial:hover {
  background: rgba(22, 112, 202, 0.20);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-automacao-residencial:hover::before {
  opacity: 1;
}

.btn-automacao-residencial:active {
  transform: translateY(0);
}

/* ============================================
   BADGE AUTOMAÇÃO RESIDENCIAL
   ============================================ */
.section-badge-automacao {
  display: inline-flex;
  padding: 5px 15px;
  background: rgba(22, 112, 202, 0.20);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
  text-align: left;
  align-self: flex-start;
  position: relative;
}

.section-badge-automacao::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  padding: 1px;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
}

/* Título com Gradiente - Automação Residencial */
.title-gradient-automacao {
  font-family: var(--font-family);
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  margin: 0 0 15px 0;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SEÇÃO AUTOMAÇÃO
   ============================================ */
.automacao-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  overflow: hidden;
}

.automacao-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../uploads/Group-6-14.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.automacao-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Coluna Esquerda: Imagem */
.automacao-image-column {
  position: relative;
}

.automacao-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.automacao-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Coluna Direita: Conteúdo */
.automacao-text-column {
  display: flex;
  flex-direction: column;
}

.automacao-description {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: var(--text-white);
  margin: 0 0 var(--spacing-lg) 0;
}

.automacao-button {
  margin-top: 0;
}

/* ============================================
   RESPONSIVE - AUTOMAÇÃO SECTION
   ============================================ */

/* ============================================
   SEÇÃO BENEFÍCIOS AUTOMAÇÃO
   ============================================ */
.beneficios-automacao-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  overflow: visible;
}

.beneficios-automacao-section-bg {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  background-image: url('../../uploads/Group-6-2.svg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  z-index: 0;
}

.beneficios-automacao-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Coluna Esquerda: Conteúdo */
.beneficios-automacao-text-column {
  display: flex;
  flex-direction: column;
}

.beneficios-automacao-description {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: var(--text-white);
  margin: 0 0 var(--spacing-lg) 0;
}

/* Hero Features - Copiado do front-page.css */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 8px 16px;
  background: rgba(22, 112, 202, 0.20);
  border: 1px solid rgba(22, 112, 202, 0.20);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-white);
}

.hero-feature-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-feature-item span {
  white-space: nowrap;
}

.beneficios-automacao-button {
  margin-top: 0;
}

/* Coluna Direita: Imagem */
.beneficios-automacao-image-column {
  position: relative;
}

.beneficios-automacao-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.beneficios-automacao-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE - BENEFÍCIOS AUTOMAÇÃO SECTION
   ============================================ */

/* ============================================
   SEÇÃO SOLUÇÕES AUTOMAÇÃO
   ============================================ */
.solucoes-automacao-section {
  position: relative;
  background: #000F18;
  padding: var(--spacing-xxl) 0;
}

.solucoes-automacao-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.solucoes-automacao-section .section-badge-automacao {
  align-self: center;
  text-align: center;
}

.solucoes-automacao-section .title-gradient-automacao {
  text-align: center;
}

.solucoes-automacao-description {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.80);
  margin: 0 0 40px 0;
  text-align: center;
}

.solucoes-automacao-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-bottom: 40px;
  width: 100%;
  align-items: stretch;
}

.solucoes-automacao-block {
  background: #0D1722;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.solucoes-automacao-block::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
}

.solucoes-automacao-block-text {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: var(--text-white);
  margin: 0 0 10px 0;
  text-align: center;
}

.solucoes-automacao-block-span {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.80);
  display: block;
  text-align: center;
  flex-grow: 1;
}

.solucoes-automacao-button {
  margin-top: var(--spacing-lg);
}

/* ============================================
   RESPONSIVE - SOLUÇÕES AUTOMAÇÃO SECTION
   ============================================ */

/* ============================================
   MODAL WHATSAPP - AUTOMAÇÃO RESIDENCIAL
   ============================================ */
.whatsapp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.whatsapp-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.whatsapp-modal-content {
  position: relative;
  z-index: 2;
  background: var(--darkest-bg) url('../../uploads/Group-6-17.png') no-repeat center;
  background-size: cover;
  border-radius: var(--border-radius-lg);
  padding: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.whatsapp-modal.active .whatsapp-modal-content {
  transform: scale(1);
}

.whatsapp-modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 10;
}

.whatsapp-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.whatsapp-modal-title {
  font-family: var(--font-family);
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 var(--spacing-sm) 0;
  text-align: center;
}

.whatsapp-modal-subtitle {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: var(--text-light);
  margin-bottom: 15px;
  text-align: center;
}

.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.whatsapp-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.whatsapp-form-group label {
  font-family: var(--font-family);
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: var(--text-white);
}

.whatsapp-form-group input,
.whatsapp-form-group select {
  padding: 12px 15px;
  background: var(--darker-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-white);
  font-size: 20px;
  line-height: 30px;
  font-family: var(--font-family);
  transition: var(--transition);
}

.whatsapp-form-group input:focus,
.whatsapp-form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.1);
}

.whatsapp-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 30px;
}

.whatsapp-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
  margin-top: var(--spacing-sm);
  position: relative;
  isolation: isolate;
}

.whatsapp-submit-button::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  padding: 1px;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.whatsapp-submit-button:hover::before {
  opacity: 1;
}

.whatsapp-submit-button:disabled {
  background: rgba(22, 112, 202, 0.10);
  cursor: not-allowed;
  opacity: 0.6;
}

.whatsapp-submit-button:not(:disabled):hover {
  background: rgba(22, 112, 202, 0.20);
  color: var(--hoverColor);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 183, 255, 0.3);
}

.whatsapp-submit-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

/* ============================================
   SEÇÃO CONFIANÇA AUTOMAÇÃO
   ============================================ */
.confianca-automacao-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  overflow: hidden;
}

.confianca-automacao-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../uploads/Group-6-17.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.confianca-automacao-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.confianca-automacao-section .section-badge-automacao {
  align-self: center;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.confianca-automacao-section .title-gradient-automacao {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.confianca-automacao-description {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: var(--text-white);
  margin: 0 0 var(--spacing-xl) 0;
  text-align: center;
  max-width: 800px;
}

.confianca-automacao-videos {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 100px;
  width: 100%;
}

.confianca-automacao-videos iframe {
  min-height: 20px;
  border-radius: 20px;
  overflow: hidden;
  max-width: 576px;
  max-height: 322px;
  width: 576px;
  height: 322px;
}

/* ============================================
   RESPONSIVE - CONFIANÇA AUTOMAÇÃO SECTION
   ============================================ */

/* ============================================
   SEÇÃO CTA AUTOMAÇÃO
   ============================================ */
.cta-automacao-section {
  position: relative;
  padding: var(--spacing-xxl) 0;
  overflow: visible;
}

.cta-automacao-section-bg {
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  background-image: url('../../uploads/Group-6-19.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  z-index: 0;
}

.cta-automacao-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-automacao-content-wrapper {
  background: #ffffff;
  padding: 80px;
  border-radius: var(--border-radius-lg);
  width: 100%;
}

.cta-automacao-title {
  font-family: var(--font-family);
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  margin: 0 0 15px 0;
  background: linear-gradient(90deg, #0080f0, #00f034, #00f0e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.cta-automacao-description {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  color: #131E29;
  margin: 0 0 36px 0;
  text-align: center;
}

.cta-automacao-content .btn-automacao-residencial {
  margin-top: 0;
}

.cta-automacao-content .btn-automacao-residencial:hover {
  color: #000F18;
}

/* ============================================
   RESPONSIVE - CTA AUTOMAÇÃO SECTION
   ============================================ */

/* ============================================
   RESPONSIVE - TABLET (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) and (min-width: 768px) {
  /* Container */
  .container.sized {
    max-width: 100%;
    padding: 0 var(--spacing-md);
  }

  /* Hero Section */
  .automacao-residencial-hero-section .container.sized {
    margin-top: 120px;
    margin-bottom: 150px;
  }

  .automacao-residencial-hero-text-content h1 {
    font-size: 48px;
    line-height: 52.8px;
  }

  .automacao-residencial-hero-text-content p {
    font-size: 18px;
    line-height: 27px;
  }

  /* Seção Automação */
  .automacao-section {
    padding: var(--spacing-xl) 0;
  }

  .automacao-content {
    gap: var(--spacing-lg);
  }

  .automacao-image-wrapper {
    border-radius: 15px;
  }

  .title-gradient-automacao {
    font-size: 36px;
    line-height: 40px;
  }

  .automacao-description {
    font-size: 17px;
    line-height: 25.5px;
  }

  /* Seção Benefícios */
  .beneficios-automacao-section {
    padding: var(--spacing-xl) 0;
  }

  .beneficios-automacao-content {
    gap: var(--spacing-lg);
  }

  .beneficios-automacao-image-wrapper {
    border-radius: 15px;
  }

  .beneficios-automacao-description {
    font-size: 17px;
    line-height: 25.5px;
  }

  /* Seção Soluções */
  .solucoes-automacao-section {
    padding: var(--spacing-xl) 0;
  }

  .solucoes-automacao-blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .solucoes-automacao-block {
    border-radius: 8px;
  }

  .solucoes-automacao-block::before {
    border-radius: 8px;
  }

  .solucoes-automacao-section .title-gradient-automacao {
    font-size: 36px;
    line-height: 40px;
  }

  .solucoes-automacao-description {
    font-size: 17px;
    line-height: 25.5px;
  }

  /* Seção Confiança */
  .confianca-automacao-section {
    padding: var(--spacing-xl) 0;
  }

  .confianca-automacao-section .title-gradient-automacao {
    font-size: 36px;
    line-height: 40px;
  }

  .confianca-automacao-description {
    font-size: 17px;
    line-height: 25.5px;
  }

  .confianca-automacao-videos {
    gap: 40px;
  }

  /* Seção CTA */
  .cta-automacao-section {
    padding: var(--spacing-xl) 0;
  }

  .cta-automacao-content-wrapper {
    padding: 60px;
    border-radius: 12px;
  }

  .cta-automacao-title {
    font-size: 36px;
    line-height: 40px;
  }

  .cta-automacao-description {
    font-size: 17px;
    line-height: 25.5px;
  }

  /* Modal WhatsApp */
  .whatsapp-modal-content {
    border-radius: 12px;
  }

  .whatsapp-modal-title {
    font-size: 36px;
    line-height: 40px;
  }

  .whatsapp-modal-subtitle {
    font-size: 17px;
    line-height: 25.5px;
  }

  /* Badges */
  .section-badge-automacao {
    border-radius: 8px;
  }

  .section-badge-automacao::before {
    border-radius: 8px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE GRANDE (576px - 767px)
   ============================================ */
@media (max-width: 767px) and (min-width: 576px) {
  /* Container */
  .container.sized {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }

  /* Hero Section */
  .automacao-residencial-hero-section .container.sized {
    margin-top: 80px;
    margin-bottom: 100px;
  }

  .automacao-residencial-hero-bg {
    opacity: 0.7;
  }

  .automacao-residencial-hero-content-wrapper {
    max-width: 100%;
  }

  .automacao-residencial-hero-text-content h1 {
    font-size: 36px;
    line-height: 40px;
    text-align: center;
  }

  .automacao-residencial-hero-text-content p {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .automacao-residencial-hero-button {
    text-align: center;
  }

  .btn-automacao-residencial {
    padding: 14px 18px;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  /* Seção Automação */
  .automacao-section {
    padding: var(--spacing-lg) 0;
  }

  .automacao-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .automacao-image-column {
    order: 1;
  }

  .automacao-text-column {
    order: 2;
    text-align: center;
  }

  .automacao-image-wrapper {
    width: 100%;
    border-radius: 15px;
  }

  .section-badge-automacao {
    align-self: center;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .section-badge-automacao::before {
    border-radius: 8px;
  }

  .title-gradient-automacao {
    font-size: 32px;
    line-height: 36px;
    text-align: center;
  }

  .automacao-description {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .automacao-button {
    text-align: center;
  }

  /* Seção Benefícios */
  .beneficios-automacao-section {
    padding: var(--spacing-lg) 0;
  }

  .beneficios-automacao-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .beneficios-automacao-text-column {
    order: 1;
    text-align: center;
  }

  .beneficios-automacao-image-column {
    order: 2;
  }

  .beneficios-automacao-image-wrapper {
    width: 100%;
    border-radius: 15px;
  }

  .beneficios-automacao-description {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .hero-features {
    justify-content: center;
  }

  .beneficios-automacao-button {
    text-align: center;
  }

  /* Seção Soluções */
  .solucoes-automacao-section {
    padding: var(--spacing-lg) 0;
  }

  .solucoes-automacao-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .solucoes-automacao-block {
    border-radius: 8px;
    padding: 15px;
  }

  .solucoes-automacao-block::before {
    border-radius: 8px;
  }

  .solucoes-automacao-section .title-gradient-automacao {
    font-size: 32px;
    line-height: 36px;
  }

  .solucoes-automacao-description {
    font-size: 16px;
    line-height: 24px;
  }

  .solucoes-automacao-block-text {
    font-size: 16px;
    line-height: 24px;
  }

  .solucoes-automacao-block-span {
    font-size: 14px;
    line-height: 21px;
  }

  /* Seção Confiança */
  .confianca-automacao-section {
    padding: var(--spacing-lg) 0;
  }

  .confianca-automacao-section .title-gradient-automacao {
    font-size: 32px;
    line-height: 36px;
  }

  .confianca-automacao-description {
    font-size: 16px;
    line-height: 24px;
  }

  .confianca-automacao-videos {
    gap: 30px;
    margin-bottom: 60px;
    flex-direction: column;
  }

  .confianca-automacao-videos iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 576 / 322;
  }

  /* Seção CTA */
  .cta-automacao-section {
    padding: var(--spacing-lg) 0;
  }

  .cta-automacao-content-wrapper {
    padding: 40px 20px;
    border-radius: 10px;
  }

  .cta-automacao-title {
    font-size: 32px;
    line-height: 36px;
  }

  .cta-automacao-description {
    font-size: 16px;
    line-height: 24px;
  }

  /* Modal WhatsApp */
  .whatsapp-modal-content {
    border-radius: 10px;
    padding: 18px;
  }

  .whatsapp-modal-title {
    font-size: 32px;
    line-height: 36px;
  }

  .whatsapp-modal-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .whatsapp-form-group label {
    font-size: 18px;
    line-height: 27px;
  }

  .whatsapp-form-group input,
  .whatsapp-form-group select {
    font-size: 18px;
    line-height: 27px;
    padding: 10px 15px;
  }

  .whatsapp-submit-button {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 18px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE PEQUENO (≤ 575px)
   ============================================ */
@media (max-width: 575px) {
  /* Container */
  .container.sized {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }

  /* Hero Section */
  .automacao-residencial-hero-section .container.sized {
    margin-top: 130px;
    margin-bottom: 80px;
  }

  .automacao-residencial-hero-bg {
    opacity: 0.7;
  }

  .automacao-residencial-hero-content-wrapper {
    max-width: 100%;
  }

  .automacao-residencial-hero-text-content h1 {
    font-size: 32px;
    line-height: 36px;
    text-align: center;
  }

  .automacao-residencial-hero-text-content p {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .automacao-residencial-hero-button {
    text-align: center;
  }

  .btn-automacao-residencial {
    padding: 14px 18px;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    max-width: 100%;
    text-align: center;
    border-radius: 8px;
  }

  .btn-automacao-residencial::before {
    border-radius: 8px;
  }

  /* Seção Automação */
  .automacao-section {
    padding: var(--spacing-md) 0 50px;
  }

  .automacao-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .automacao-image-column {
    order: 1;
  }

  .automacao-text-column {
    order: 2;
    text-align: center;
  }

  .automacao-image-wrapper {
    width: 100%;
    border-radius: 12px;
  }

  .section-badge-automacao {
    align-self: center;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .section-badge-automacao::before {
    border-radius: 8px;
  }

  .title-gradient-automacao {
    font-size: 28px;
    line-height: 32px;
    text-align: center;
  }

  .automacao-description {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .automacao-button {
    text-align: center;
  }

  /* Seção Benefícios */
  .beneficios-automacao-section {
    padding: var(--spacing-md) 0;
  }

  .beneficios-automacao-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .beneficios-automacao-text-column {
    order: 1;
    text-align: center;
  }

  .beneficios-automacao-image-column {
    order: 2;
  }

  .beneficios-automacao-image-wrapper {
    width: 100%;
    border-radius: 12px;
  }

  .beneficios-automacao-description {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .hero-features {
    justify-content: center;
  }

  .beneficios-automacao-button {
    text-align: center;
  }

  /* Seção Soluções */
  .solucoes-automacao-section {
    padding: var(--spacing-md) 0;
  }

  .solucoes-automacao-blocks {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .solucoes-automacao-block {
    border-radius: 8px;
    padding: 15px;
  }

  .solucoes-automacao-block::before {
    border-radius: 8px;
  }

  .solucoes-automacao-section .title-gradient-automacao {
    font-size: 28px;
    line-height: 32px;
  }

  .solucoes-automacao-description {
    font-size: 14px;
    line-height: 22px;
  }

  .solucoes-automacao-block-text {
    font-size: 16px;
    line-height: 24px;
  }

  .solucoes-automacao-block-span {
    font-size: 14px;
    line-height: 21px;
  }

  /* Seção Confiança */
  .confianca-automacao-section {
    padding: var(--spacing-md) 0;
  }

  .confianca-automacao-section .title-gradient-automacao {
    font-size: 28px;
    line-height: 32px;
  }

  .confianca-automacao-description {
    font-size: 14px;
    line-height: 22px;
  }

  .confianca-automacao-videos {
    gap: 20px;
    margin-bottom: 40px;
    flex-direction: column;
  }

  .confianca-automacao-videos iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 576 / 322;
    border-radius: 12px;
  }

  /* Seção CTA */
  .cta-automacao-section {
    padding: var(--spacing-md) 0;
  }

  .cta-automacao-content-wrapper {
    padding: 30px 15px;
    border-radius: 8px;
  }

  .cta-automacao-title {
    font-size: 28px;
    line-height: 32px;
  }

  .cta-automacao-description {
    font-size: 14px;
    line-height: 22px;
  }

  /* Modal WhatsApp */
  .whatsapp-modal-content {
    border-radius: 8px;
    padding: 15px;
  }

  .whatsapp-modal-title {
    font-size: 28px;
    line-height: 32px;
  }

  .whatsapp-modal-subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  .whatsapp-form-group label {
    font-size: 16px;
    line-height: 24px;
  }

  .whatsapp-form-group input,
  .whatsapp-form-group select {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 15px;
  }

  .whatsapp-submit-button {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 18px;
  }
}

