@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
  --azul-integra: #27609c;
  --preto: #333;
  --cinza-texto: #666;
  --cinza-claro: #f8f9fa;
  --branco: #ffffff;
  --borda: #eeeeee;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 14px 34px rgba(39, 96, 156, 0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* Estrutura Base */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  color: var(--preto);
  background-color: var(--branco);
  padding-top: 60px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* Header Fixo com Menu Centralizado */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  z-index: 1000;
  box-sizing: border-box;
}

/* Técnica para centralizar o NAV */
.logo-area,
.right-spacer {
  flex: 1;
  display: flex;
  align-items: center;
}

.right-spacer {
  justify-content: flex-end;
}

nav {
  flex: 2;
  display: flex;
  justify-content: center;
}

.logo-header {
  height: 30px;
  width: auto;
}

nav a {
  text-decoration: none;
  color: var(--preto);
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--azul-integra);
}

/* Conteúdo Principal */
main {
  flex: 1 0 auto;
}

/* Footer Largo */
footer {
  flex-shrink: 0;
  background: var(--cinza-claro);
  padding: 40px 10%;
  border-top: 1px solid var(--borda);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--cinza-texto);
  line-height: 1.4;
  margin: 0;
}

.footer-section h4 {
  color: var(--azul-integra);
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Links sem sublinhado no Footer */
.footer-section ul li a {
  text-decoration: none;
  color: var(--cinza-texto);
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--azul-integra);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--borda);
  text-align: center;
  font-size: 0.85rem;
  color: var(--cinza-texto);
}

/* Contatos com Ícones */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cinza-texto);
}

.contact-list li i {
  color: var(--azul-integra);
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

/* Botões */
.btn-azul,
.btn-primario {
  background: var(--azul-integra);
  color: var(--branco);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--azul-integra);
}

.btn-azul:hover,
.btn-primario:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(39, 96, 156, 0.18);
}

.btn-secundario {
  background: transparent;
  color: var(--azul-integra);
  padding: 10px 25px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  border: 1px solid var(--azul-integra);
  transition: all 0.3s ease;
}

.btn-secundario:hover {
  background: rgba(39, 96, 156, 0.06);
  transform: translateY(-1px);
}

/* Blocos e Layouts */
.section {
  padding: 80px 10%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 900px;
}

.section-head {
  margin-bottom: 50px;
}

.section-head.center {
  text-align: center;
}

.eyebrow {
  margin-top: 0;
  display: inline-block;
  margin-bottom: 12px;
  color: var(--azul-integra);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--cinza-texto);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Hero */
.hero {
  padding: 140px 10% 90px;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--azul-integra);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  display: block;
  white-space: normal;
}

.hero p {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--cinza-texto);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Página de produtos */
.produtos-lista {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 30px;
}

.produto-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #dfe9f4;
}

.produto-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f3f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produto-card-content h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  color: var(--preto);
}

.produto-card-content p {
  margin: 0 0 20px;
  color: var(--cinza-texto);
  line-height: 1.7;
  font-size: 1rem;
}

.produto-card-content .btn-secundario {
  display: inline-block;
}

/* Página de detalhe do produto */
.produto-detalhe-page {
  padding-top: 90px;
  padding-bottom: 90px;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
}

.produto-detalhe-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 48px;
  align-items: center;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.produto-detalhe-image {
  background: #f3f6fa;
  border-radius: 20px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.produto-detalhe-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;
}

.produto-detalhe-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.produto-detalhe-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--preto);
}

.produto-detalhe-content .lead {
  margin: 0 0 28px;
  max-width: 100%;
  color: var(--cinza-texto);
  font-size: 1.08rem;
  line-height: 1.9;
}

.produto-detalhe-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.produto-detalhe-actions .btn-primario,
.produto-detalhe-actions .btn-secundario {
  min-width: 180px;
  text-align: center;
}

/* Contato */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-form {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--azul-integra);
  box-shadow: 0 0 0 3px rgba(39, 96, 156, 0.08);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-item span {
  font-size: 0.75rem;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a {
  text-decoration: none;
  color: var(--preto);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--azul-integra);
}

.contact-item strong {
  font-weight: 500;
}

.alert-sucesso,
.alert-erro {
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.alert-sucesso {
  background: #eef8f1;
  border: 1px solid #cfe9d6;
  color: #25613a;
}

.alert-erro {
  background: #fff1f1;
  border: 1px solid #f1c9c9;
  color: #a33a3a;
}

#alert {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#alert.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

/* Sobre */
.sobre-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.sobre-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sobre-content p {
  margin: 0;
  color: var(--cinza-texto);
  font-size: 1rem;
  line-height: 1.9;
}

.sobre-highlight {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--borda);
  text-align: center;
  color: var(--azul-integra);
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 500;
}

.sobre-highlight strong {
  font-size: 1.2rem;
}

/* Responsivo */
@media (max-width: 1024px) {
  .produto-detalhe-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .produto-detalhe-content {
    align-items: center;
    text-align: center;
  }

  .produto-detalhe-content .lead {
    max-width: 760px;
  }

  .produto-detalhe-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 5%;
  }

  .right-spacer {
    display: none;
  }

  .section {
    padding: 60px 5%;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .contact-list li {
    align-items: center;
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .produto-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .produto-card-image {
    height: 220px;
  }

  .produto-detalhe-page {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .produto-detalhe-wrap {
    padding: 22px;
    border-radius: 18px;
  }

  .produto-detalhe-image {
    min-height: 240px;
    padding: 18px;
    border-radius: 16px;
  }

  .produto-detalhe-content h1 {
    font-size: 2rem;
  }

  .produto-detalhe-actions {
    width: 100%;
    flex-direction: column;
  }

  .produto-detalhe-actions .btn-primario,
  .produto-detalhe-actions .btn-secundario {
    width: 100%;
  }

  .sobre-card {
    padding: 24px;
  }

  .sobre-content p {
    font-size: 0.97rem;
    line-height: 1.8;
  }

  .sobre-highlight {
    font-size: 1.05rem;
  }
}

.produto-info-bloco {
  margin-top: 36px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.produto-info-bloco h2 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  color: var(--preto);
}

.produto-info-bloco p {
  margin: 0 0 16px;
  color: var(--cinza-texto);
  line-height: 1.9;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  background: #f8fbff;
}

.benefit-card span {
  color: var(--azul-integra);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.benefit-card p {
  margin: 0;
  color: var(--preto);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .produto-info-bloco {
    padding: 22px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}