/* ===================== RESET ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================== ESTRUTURA GLOBAL (FOOTER FIXO NO FUNDO) ====================== */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6f8;
  color: #333;
  line-height: 1.6;
}

/* ===================== MENU ====================== */
nav {
  background: #0b3c5d;
  padding: 8px 0;   /* reduz altura da barra */
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a.ativo {
  border-bottom: 2px solid #f9a826;
}

/* ✅ BOTÃO WHATSAPP NO MENU */
nav a.btn-whatsapp {
  background: #25d366;
  padding: 10px 16px;
  border-radius: 999px;
  border-bottom: none !important;
}

nav a.btn-whatsapp:hover {
  background: #1ebe5d;
  border-bottom: none !important;
}

/* ===================== HERO ====================== */
.hero {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("https://images.unsplash.com/photo-1581091870627-3b6d34a1b4b5")
    center / cover;
  color: #fff;
  padding: 100px 20px;
}

.hero-container {
  max-width: 1100px;
  margin: auto;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
}

.hero-buttons {
  margin-top: 25px;
}

/* ===================== BOTÕES ====================== */
.btn {
  display: inline-block;
  background: #f9a826;
  color: #000;
  padding: 12px 25px;
  margin-right: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn.secundario {
  background: #fff;
}

.btn-principal {
  display: inline-block;
  margin-top: 20px;
  background: #f9a826;
  color: #000;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-principal:hover {
  opacity: 0.9;
}

/* ===================== SEÇÕES ====================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* ✅ AJUSTE: Texto do "Quem Somos" (corrigido - sem linhas soltas) */
.container h3 {
  font-size: 18px;
  font-weight: normal;
  color: #444;
  line-height: 1.9;

  text-align: justify;
  white-space: normal;

  max-width: 820px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  color: #0b3c5d;
}

/* ===================== BENEFÍCIOS ====================== */
.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

/* ===================== TOPO DAS PÁGINAS ====================== */
.pagina-topo {
  background: #f1f1f1;
  padding: 60px 20px;
  text-align: center;
}

.pagina-topo h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #003f80;
}

.pagina-topo p {
  font-size: 16px;
  color: #555;
}

/* ✅ AJUSTE: você trocou o subtítulo de p para h2 */
.pagina-topo h2 {
  font-size: 18px;
  color: #555;
  font-weight: normal;
}

/* ===================== SERVIÇOS ====================== */
.servicos-grid {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.servico-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.servico-card h3 {
  color: #0056b3;
  margin-bottom: 10px;
}

.servico-card p {
  color: #555;
}

/* ===================== FIX CENTRALIZAÇÃO SERVIÇOS ====================== */

.servico-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===================== PORTFÓLIO ====================== */

.portfolio-grid {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* IMAGEM DO PORTFÓLIO */
.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-card img:hover {
  transform: scale(1.08);
}

/* Responsivo */
@media (max-width: 600px) {
  .portfolio-card img {
    height: 220px;
  }
}

/* ===================== FIX PORTFÓLIO - REMOVE ESPAÇOS EM BRANCO ====================== */

.portfolio-grid {
  align-items: stretch;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
}

.portfolio-card img {
  flex: 1;
}

.portfolio-card {
  cursor: pointer;
}


/* ===================== FORMULÁRIOS ====================== */
form {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

form label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #0b3c5d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background: #092f47;
}

/* ===================== FORM AVANÇADO ====================== */
.linha {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===================== CTA ====================== */
.cta {
  background: #003f80;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

/* ===================== WHATSAPP FIXO ====================== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 12px 15px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  z-index: 50;
}

.whatsapp a {
  color: #fff;
  text-decoration: none;
}

/* ===================== RESPONSIVO ====================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  nav ul {
    gap: 15px;
  }

  .linha {
    flex-direction: column;
  }
}

/* ===================== RESPONSIVO - CELULAR ====================== */
@media (max-width: 768px) {

  /* MENU */
  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 14px;
  }

  .btn-whatsapp {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* HERO */
  .hero {
    padding: 70px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  /* SEÇÕES */
  .container {
    padding: 40px 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  /* ✅ AJUSTE: Texto do "Quem Somos" no celular */
  .container h3 {
    font-size: 16px;
    line-height: 1.8;
    max-width: 100%;
  }

  /* ✅ AJUSTE: topo da página e subtítulo */
  .pagina-topo h1 {
    font-size: 28px;
  }

  .pagina-topo h2 {
    font-size: 15px;
  }

  /* BENEFÍCIOS */
  .beneficios {
    grid-template-columns: 1fr;
  }

  /* SERVIÇOS */
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  /* PORTFÓLIO */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* FORMULÁRIO */
  form {
    padding: 30px 20px;
  }

  /* LINHAS DO FORM */
  .linha {
    flex-direction: column;
    gap: 15px;
  }


  /* WHATSAPP FIXO */
  .whatsapp {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ===================== LOGO NO MENU ====================== */
.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===================== LOGO NO MENU (AJUSTADA) ====================== */
.logo img {
  height: 105px;        /* aumenta visibilidade da escrita */
  max-width: 220px;
  object-fit: contain;
}


/* ===================== PADRÃO DE TÍTULOS (SEÇÕES) ====================== */
.pagina-topo h1,
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #003f80;
}

.pagina-topo h2,
.section-title p {
  font-size: 18px;
}

/* ===================== PADRÃO MOBILE (SEÇÕES) ====================== */
@media (max-width: 768px) {

  .pagina-topo h1,
  .section-title h2 {
    font-size: 26px;
  }

  .pagina-topo h2,
  .section-title p {
    font-size: 15px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px auto;
  }

  .portfolio-card img {
    height: 200px;
  }
}

/* ===================== PADRÃO DE TÍTULOS - OVERRIDE FINAL ====================== */
.pagina-topo h1 {
  font-size: 36px !important;
  font-weight: 700 !important;
}

.pagina-topo p,
.pagina-topo h2 {
  font-size: 18px !important;
  font-weight: normal !important;
}

/* Mobile */
@media (max-width: 768px) {
  .pagina-topo h1 {
    font-size: 28px !important;
  }

  .pagina-topo p,
  .pagina-topo h2 {
    font-size: 16px !important;
  }
}

/* ===================== PATCH FINAL (SEM BAGUNÇA) ===================== */
.container form {
  position: relative;
  z-index: 5;
}

/* ===================== FOOTER FINAL ====================== */

.footer {
  background: #0b3c5d;
  color: #fff;
  padding: 25px 0 15px;
}

/* Container centralizado na página */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  display: flex;
  justify-content: flex-start;
}

/* Texto do contato à esquerda */
.footer-col {
  text-align: left;
}

/* Espaçamento do texto */
.footer-col h4 {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-col p {
  font-size: 14px;
  margin: 4px 0;
}

/* Copyright continua centralizado */
.footer-copy {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  opacity: 0.85;
}

/* Links sempre brancos */
.footer a,
.footer a:visited,
.footer a:active,
.footer a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    padding-left: 15px;
  }
}

/* ===================== FORÇA ALINHAMENTO CONTATO À ESQUERDA ====================== */

.footer-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 40px !important;
  display: flex !important;
  justify-content: flex-start !important;
}

.footer-col {
  text-align: left !important;
  margin: 0 !important;
}

/* ===================== FOOTER EXCLUSIVO HOME ====================== */

.footer-home .footer-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 40px;
  display: flex;
  justify-content: flex-start;
}

.footer-home .footer-col {
  text-align: left;
}

/* Mantém copyright centralizado */
.footer-home .footer-copy {
  text-align: center;
}

/* ===================== REMOVE LINK AZUL MOBILE (TEL / EMAIL) ===================== */

/* Remove cor azul automática de telefones no mobile */
a[href^="tel"],
a[href^="mailto"] {
  color: #ffffff !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important;
  pointer-events: auto;
}

/* iOS / Safari mobile */
.footer a,
.footer span,
.footer p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

/* Força neutralização de auto-detect do iOS */
meta[name="format-detection"] {
  content: "telephone=no";
}

/* ===================== FIX DEFINITIVO FOOTER DESKTOP ====================== */

/* Força o footer ocupar a tela inteira */
.footer {
  width: 100%;
}

/* Container colado na esquerda no DESKTOP */
.footer-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 40px !important;
  display: flex !important;
  justify-content: flex-start !important;
}

/* Texto do contato sempre à esquerda */
.footer-col {
  text-align: left !important;
}

/* Copyright continua centralizado */
.footer-copy {
  text-align: center !important;
}

/* ===================== MOBILE MANTÉM COMO ESTÁ ====================== */
@media (max-width: 768px) {
  .footer-container {
    padding-left: 20px !important;
  }
}







