/* Adicionando reset completo e estilos base responsivos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #4b4f52;
  line-height: 1.6;
}

/* Garantindo que todas as imagens sejam responsivas e não estiquem */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header responsivo */
.header {
  background-color: #d32f2f;
  padding: 1rem;
}

.logo {
  height: 3rem;
  width: auto;
}

/* Hero section totalmente responsivo */
.hero-section {
  background-color: #ffffff;
  padding: 2rem 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.hero-text {
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  color: #4b4f52;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #4b4f52;
}

.hero-image {
  width: 100%;
}

.products-image {
  width: 100%;
  height: auto;
}

.catalog-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.catalog-text {
  font-size: 1rem;
  color: #4b4f52;
  margin-bottom: 0.25rem;
}

.catalog-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4b4f52;
}

/* Seções responsivas */
.section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.red-bar {
  width: 4px;
  min-height: 3rem;
  background-color: #d32f2f;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000000;
}

.section-subtitle {
  color: #6b7280;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.section-header-with-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: left;
}

/* Grid de marcas responsivo - mobile first */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.brand-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
}

.brand-logo {
  max-height: 6rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-right: auto;
}

.brand-logo-large {
  max-height: 8rem;
  width: auto;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
  display: block;
  margin-right: auto;
}

.brand-logo-medium {
  max-height: 6rem;
  width: auto;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
  display: block;
  margin-right: auto;
}

/* Quem Somos responsivo */
.subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #4b4f52;
}

.quem-somos-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.quem-somos-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quem-somos-image-wrapper {
  width: 100%;
}

.quem-somos-image {
  width: 100%;
  height: auto;
  border: 4px solid #4a90e2;
  border-radius: 0.25rem;
  object-fit: cover;
}

.quem-somos-text p {
  color: #4b4f52;
  line-height: 1.6;
  text-align: justify;
}

/* Botões de contato responsivos */
.contact-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto 2rem;
}

.contact-button {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b4f52;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.contact-button:hover {
  background-color: #f9fafb;
}

.contact-icon {
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  object-fit: contain;
}

.contact-footer {
  background-color: #d32f2f;
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  border-radius: 0.5rem;
}

.contact-footer p {
  font-size: 0.875rem;
}

/* Grid de conteúdo de marca responsivo */
.brand-content-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-paragraph {
  color: #4b4f52;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.brand-subtitle {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  color: #4b4f52;
}

.brand-list {
  color: #4b4f52;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.brand-list li {
  margin-bottom: 0.5rem;
}

/* Grid de estatísticas responsivo */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d32f2f;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: bold;
  color: #4b4f52;
}

.stat-description {
  font-size: 0.75rem;
  color: #4b4f52;
}

/* Catálogo responsivo */
.brand-catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.catalog-logo {
  max-height: 4rem;
  width: auto;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.catalog-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Produtos JP2 responsivos */
.jp2-products {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jp2-product-image {
  width: 100%;
  height: auto;
}

/* Imagens BR Brasil responsivas */
.br-brasil-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.br-brasil-banner {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.br-brasil-categories {
  width: 100%;
  height: auto;
}

/* Seção CIAMET responsiva */
.ciamet-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ciamet-intro-col {
  display: flex;
  flex-direction: column;
}

.ciamet-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.ciamet-product-card {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
}

.ciamet-product-image {
  width: 100%;
  height: 6rem;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.ciamet-product-label {
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  background-color: #4b5563;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

/* Categorias MAZI responsivas */
.mazi-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mazi-category-image {
  width: 100%;
  height: auto;
}

/* Botão CTA responsivo */
.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: transparent;
  border: 1px solid #4b4f52;
  color: #4b4f52;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #f9fafb;
}

.cta-icon {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* Seção História responsiva */
.historia-section {
  margin-bottom: 3rem;
}

.historia-paragraph {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Sala de reuniões responsiva */
.sala-reunioes {
  margin-bottom: 3rem;
}

.sala-reunioes-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
}

/* Seção Propósito responsiva */
.proposito-section {
  margin-top: 3rem;
}

.proposito-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem auto 0;
}

.proposito-item {
  display: flex;
  justify-content: center;
}

.proposito-image {
  width: 100%;
  max-width: 12rem;
  height: auto;
}

/* Fale Conosco Final responsivo */
.fale-conosco-final-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fale-conosco-map {
  display: flex;
  justify-content: center;
}

.mapa-brasil {
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.fale-conosco-text p {
  color: #4b4f52;
  line-height: 1.6;
}

.fale-conosco-info-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fale-conosco-info {
  display: flex;
  flex-direction: column;
}

.info-title {
  font-size: 0.875rem;
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  color: #4b4f52;
}

.info-title:first-child {
  margin-top: 0;
}

.info-text {
  font-size: 0.875rem;
  color: #4b4f52;
  margin-bottom: 0.25rem;
}

.info-text.phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.phone-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: currentColor;
}

.fale-conosco-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-button-final {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b4f52;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.contact-button-final:hover {
  background-color: #f9fafb;
}

.contact-icon-final {
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* Formulário de Contato */
.contact-form-wrapper {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-form-intro {
  color: #4b4f52;
  font-size: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b4f52;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #4b4f52;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d32f2f;
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background-color: #d32f2f;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.form-submit-button:hover {
  background-color: #b71c1c;
}

.contact-info-box {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact-info-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #4b4f52;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  color: #4b4f52;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-social-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #4b4f52;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.social-link:hover {
  color: #d32f2f;
}

.social-icon {
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* Removendo estilos de link padrão dos botões */
a.contact-button,
a.contact-button-final,
a.cta-button {
  text-decoration: none;
}

/* Media queries para tablet (768px+) */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .header {
    padding: 1.5rem 0;
  }

  .logo {
    height: 4rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-grid {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-image {
    flex: 1;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-header-with-label {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .section-label {
    text-align: right;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .brand-card {
    padding: 2rem;
    min-height: 8rem;
  }

  .brand-logo {
    max-height: 7rem;
  }

  .quem-somos-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }

  .quem-somos-images {
    flex-direction: row;
  }

  .contact-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .brand-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-number {
    font-size: 1.875rem;
  }

  .ciamet-intro {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .ciamet-products {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .ciamet-product-image {
    height: 8rem;
  }

  .ciamet-product-label {
    font-size: 0.875rem;
  }

  .proposito-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fale-conosco-final-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }

  .mapa-brasil {
    max-width: 28rem;
  }

  .fale-conosco-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 3rem;
  }

  .form-submit-button {
    width: auto;
    min-width: 16rem;
  }
}

/* Media queries para desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 7rem;
  }

  .catalog-image {
    max-width: 28rem;
  }

  .jp2-product-image {
    max-width: 24rem;
  }

  .sala-reunioes-image {
    max-width: 48rem;
  }

  .proposito-image {
    max-width: 12.5rem;
  }
}

/* Media queries para telas grandes (1280px+) */
@media (min-width: 1280px) {
  .hero-title {
    font-size: 9rem;
  }
}

/* Página de Obrigado */
.thank-you-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.thank-you-content {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.thank-you-icon {
  width: 5rem;
  height: 5rem;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  font-weight: bold;
}

.thank-you-title {
  font-size: 2rem;
  font-weight: bold;
  color: #4b4f52;
  margin-bottom: 1rem;
}

.thank-you-message {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.thank-you-redirect {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.thank-you-redirect #countdown {
  font-weight: bold;
  color: #d32f2f;
}

.thank-you-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: #d32f2f;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.thank-you-button:hover {
  background-color: #b71c1c;
}

@media (min-width: 768px) {
  .thank-you-icon {
    width: 6rem;
    height: 6rem;
    font-size: 3.5rem;
  }

  .thank-you-title {
    font-size: 2.5rem;
  }

  .thank-you-message {
    font-size: 1.25rem;
  }
}
