/* === SISTEMA DE TIPOGRAFIA CONSISTENTE === */
:root {
  /* Escala tipográfica baseada em 1.25 (quinta perfeita) */
  --font-scale: 1.25;
  
  /* Tamanhos base para desktop */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  
  /* Pesos de fonte */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  
  /* Alturas de linha */
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Espaçamentos */
  --spacing-xs: 0.25rem;      /* 4px */
  --spacing-sm: 0.5rem;       /* 8px */
  --spacing-md: 1rem;         /* 16px */
  --spacing-lg: 1.5rem;       /* 24px */
  --spacing-xl: 2rem;         /* 32px */
  --spacing-2xl: 3rem;        /* 48px */
}

/* === RESET E BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: #333;
  background: #fff;
}
header {
  background: #fff;
  color: #07A8DA;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.linha-azul-bottom {
  width: 99vw;
  height: 6px;
  background: #e6f7ff;
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.logo {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #07A8DA;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #0C76D6;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #07A8DA;
  border-radius: 2px;
}
.btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: #0C76D6;
  color: #fff;
}
.btn-primary:hover {
  background: #07A8DA;
}
.btn-secondary {
  background: #fff;
  color: #0C76D6;
  border: 2px solid #07A8DA;
}
.btn-secondary:hover {
  background: #e6f7ff;
}
footer {
  background: #0C76D6;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0 1rem 0;

}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
/* FOOTER DE CONTATO MINIMALISTA */
.footer-contato {
  background: #fff;
  border-top: 1.5px solid #e6f7ff;
  padding: 2.2rem 1rem 1.5rem 1rem;
  text-align: center;
  color: #222;
  font-size: 1.08rem;

}
.footer-contato .footer-contato-list {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.footer-contato .footer-contato-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.08rem;
  color: #222;
}
.footer-contato .footer-contato-item i {
  color: #07A8DA;
  font-size: 1.2rem;
  min-width: 27px;
}
.footer-contato .footer-contato-titulo {
  font-weight: 700;
  color: #0C76D6;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* Redes Sociais no Footer */
.footer-redes-sociais {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6f7ff;
}

.rede-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #07A8DA;
  color: #07A8DA;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.rede-social-link:hover {
  background: #07A8DA;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 168, 218, 0.3);
}

.navbar .nav-links li a {
  font-weight: bold;
  font-size: 1.15rem;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  color: #0074d9;
  border-bottom: 2px solid #0074d9;
}
h1, h2, h3 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: #222f3e;
}

h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xs);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xs);
}

p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-md);
  color: #4a5568;
}
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 0.7rem 0.5rem;
  }
}
@media (max-width: 720px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.5rem;
    min-height: 48px;
    position: relative;
  }
  .logo {
    font-size: var(--font-size-lg);
    color: #07A8DA;
    z-index: 21;
  }
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 22;
  }
  .menu-toggle span {
    background: #07A8DA;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #07A8DA;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.10);
    z-index: 20;
    border-radius: 0 0 12px 12px;
    padding: 0.2rem 0;
    margin: 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav-links li a {
    color: #fff !important;
    font-size: var(--font-size-base);
    padding: 0.6rem 0;
    display: block;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    text-align: center;
  }
  .nav-links li a:hover,
  .nav-links li a:focus {
    background: #0C76D6;
    color: #fff !important;
  }
  
  /* === TIPOGRAFIA RESPONSIVA - 720px === */
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-xl); }
  h4 { font-size: var(--font-size-lg); }
  h5 { font-size: var(--font-size-base); }
  h6 { font-size: var(--font-size-sm); }
  p { font-size: var(--font-size-base); }
}
@media (max-width: 600px) {
  .footer-contato {
    font-size: var(--font-size-base);
    padding: 1.2rem 0.2rem 1rem 0.2rem;
  }
  .footer-contato .footer-contato-titulo {
    font-size: var(--font-size-base);
  }
  .footer-contato .footer-contato-item {
    font-size: var(--font-size-base);
  }
  .footer-contato .footer-contato-list {
    flex-direction: column;
    gap: 0.7rem;
  }
  .footer-redes-sociais {
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }
  .rede-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  /* === TIPOGRAFIA RESPONSIVA - 600px === */
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-lg); }
  h4 { font-size: var(--font-size-base); }
  h5 { font-size: var(--font-size-sm); }
  h6 { font-size: var(--font-size-xs); }
  p { font-size: var(--font-size-sm); }
  
  .footer-redes-sociais {
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .rede-social-link {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .logo {
    font-size: var(--font-size-base);
  }
  .nav-links li a {
    font-size: var(--font-size-sm);
    padding: 0.5rem 0;
  }
  
  /* === TIPOGRAFIA RESPONSIVA - 480px === */
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-base); }
  h4 { font-size: var(--font-size-sm); }
  h5 { font-size: var(--font-size-xs); }
  h6 { font-size: var(--font-size-xs); }
  p { font-size: var(--font-size-xs); }
}
@media (max-width: 360px) {
  .logo {
    font-size: var(--font-size-sm);
  }
  .nav-links li a {
    font-size: var(--font-size-sm);
    padding: 0.4rem 0;
  }
  
  /* === TIPOGRAFIA RESPONSIVA - 360px === */
  h1 { font-size: var(--font-size-xl); }
  h2 { font-size: var(--font-size-lg); }
  h3 { font-size: var(--font-size-sm); }
  h4 { font-size: var(--font-size-xs); }
  h5 { font-size: var(--font-size-xs); }
  h6 { font-size: var(--font-size-xs); }
  p { font-size: var(--font-size-xs); }
}

/* Estilos para Formulários */
.formulario-contato {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0C76D6;
  box-shadow: 0 0 0 3px rgba(12, 118, 214, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  font-style: italic;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Estilos para Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid #e1e5e9;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #0C76D6;
  border-color: #0C76D6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Estados de erro */
.form-group input.erro,
.form-group select.erro,
.form-group textarea.erro {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.erro-campo {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
  font-weight: 500;
}

/* Botão de envio do formulário */
.formulario-contato .btn-primary {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.formulario-contato .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(12, 118, 214, 0.3);
}

.formulario-contato .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Responsividade dos formulários */
@media (max-width: 768px) {
  .formulario-contato {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }
  
  .formulario-contato .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
