/* ========================
   RESET E BASE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #111;
    background: #f9fdff;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #004085;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    line-height: 1.2;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================
   HEADER
======================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    z-index: 999;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

header .logo img {
    width: 255px;
    height: auto;
    transition: width 0.3s ease;
}

header nav {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
}

header nav a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s;
}

header nav a:hover {
    color: #007bff;
}

.btn-cta {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 5px;
}

/* ========================
   BOTÃO CTA - LANDING PAGE
======================== */
a.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #004085, #00c6ff);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

a.btn-cta:hover {
  background: linear-gradient(135deg, #ff6b6b, #ffca3a);
  color: #111;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
/* BOTÃO CTA NO MENU MOBILE */
@media(max-width: 768px) {
  a.btn-cta {
    font-size: 0.9rem;       /* fonte menor */
    padding: 0.5rem 1rem;    /* menos padding */
    border-radius: 6px;      /* ligeiramente menor */
  }
}


/* ========================
   RESPONSIVO MOBILE - HEADER MINIMALISTA
======================== */
@media(max-width: 768px) {
    header {
        padding: 0.2rem 1rem; /* ainda mais compacto */
    }

    header .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    /* Logo menor e proporcional */
    header .logo img {
        width: 120px;
        height: auto;
    }

    /* Navegação escondida */
    header nav {
        display: none;
    }

    /* Botão orçamento à direita, menor */
    .btn-cta {
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
    }
}



/* ========================
   BANNER
======================== */
.hero-banner {
    width: 100%;
    text-align: center;
    margin-top: 170px; /* Espaçamento do topo */
}

.hero-banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* ESCONDER BANNER EM MOBILE */
@media(max-width: 768px) {
    .hero-banner {
        display: none;
    }
}
/* ========================
   HERO OTIMIZADO
======================== */
.hero {
  position: relative;
  margin-top: 100px;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  scroll-margin-top: 150px;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Bloco Esquerdo - Texto */
.hero-left {
  flex: 1 1 500px;
}

.hero-left h1 {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-left p {
  font-size: 1.25rem;
  color: #004d66;
  margin-bottom: 2rem;
}

/* Contatos diretos no hero */
.hero-contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-contact-item {
  background-color: #ffce00;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  color: #111;
  text-decoration: none;
  transition: 0.3s;
}

.hero-contact-item:hover {
  background-color: #ffb800;
}

.hero-contact-item.whatsapp {
  background-color: #25d366;
  color: #fff;
}

.hero-contact-item.whatsapp:hover {
  background-color: #1ebe57;
}

/* Bloco Direito - Formulário */
.hero-right {
  flex: 1 1 400px;
}
  .hero-form-title {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 1rem;
  text-align: center; /* centraliza no formulário */
}
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffffcc;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.hero-form input,
.hero-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.hero-form textarea {
  height: 80px;
  resize: none;
}

.hero-form button.btn-cta {
  background: linear-gradient(135deg, #004085, #00c6ff);
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.75rem;
}

.hero-form button.btn-cta:hover {
  background: linear-gradient(135deg, #ff6b6b, #ffca3a);
  color: #111;
  transform: scale(1.05);
}

/* Alertas */
.alert-info {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #ff0000;
}

/* ========================
   RESPONSIVO MOBILE
======================== */
@media(max-width: 768px) {
  .hero-container {
    flex-direction: column;        /* empilha os blocos */
    align-items: center;           /* centraliza horizontalmente */
    gap: 2rem;                     /* espaço entre blocos */
    padding: 0 1rem;               /* padding lateral */
  }

  .hero-left, .hero-right {
    flex: unset;                   /* remove flex que limitava */
    width: 100%;                   /* ocupam toda largura */
    max-width: 500px;              /* evita que fiquem gigantes */
  }

  .hero-left h1 {
    font-size: 2rem;
    text-align: center;
  }

  .hero-left p {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-contact {
    justify-content: center;       /* centraliza botões */
  }



  .hero-form {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 1.5rem;
    gap: 1rem;
  }

  .hero-form input,
  .hero-form textarea {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .hero-form textarea {
    height: 100px;
  }

  .hero-form button.btn-cta {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* ========================
   TABLETS GRANDES / LAPTOP
======================== */
@media(max-width: 992px) {
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .hero-left h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-left p {
    text-align: center;
  }
}



/* ========================
   PRODUTOS
======================== */
.produtos {
    padding: 4rem 0;
    background: #f9fdff;
}

.produtos h2 {
    text-align: center;
    color: #004085;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.produtos .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.produtos .card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.produtos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.produtos .card img {
    width: 100%;
    max-width: 215px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.produtos .card h3 {
    color: #003e81;
    margin-bottom: .5rem;
}

.produtos .card p {
    font-size: .95rem;
    color: #666;
    margin-bottom: 1rem;
}

.produtos .btn-card {
    display: inline-block;
    padding: .5rem 1rem;
    background: #004085;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.produtos .btn-card:hover {
    background: #004085;
}

/* ========================
   SOBRE
======================== */
.sobre {
    padding: 4rem 0;
    background: #e0f4ff;
    text-align: center;
}

.sobre h2 {
    font-size: 2.5rem;
    color: #004085;
    margin-bottom: 1rem;
}

.sobre p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #333;
}

/* ========================
   CONTATO
======================== */
.contato {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #e0f7ff, #ccefff);
}

.contato h2 {
    font-size: 2rem;
    color: #004085;
    margin-bottom: 1rem;
}

.contato address {
    font-style: normal;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

/* ========================
   FOOTER
======================== */
footer {
    background: #111;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    font-size: .9rem;
}

/* ========================
   MODAL
======================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    width: 90%;
    max-width: 700px;
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.modal-body .form-group {
    margin-bottom: 1rem;
}

.modal-body label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 600;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: .6rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-body button.btn-submit {
    background: #004085;
    color: #fff;
    padding: .6rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.modal-body button.btn-submit:hover {
    background: #004085;
}

.alert-info {
    display: none;
    background: #d1ecf1;
    color: #0c5460;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

/* ========================
   BOTÕES FIXOS
======================== */
.btn-telefone {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: transform .3s;
    bottom: 20px;
    left: 20px;
    background: #004085;
}

.btn-telefone img {
    width: 32px;
    height: 32px;
}

.btn-telefone:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    background: #25d366;
    color: #004085;
    padding: .6rem 1rem;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .25);
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    z-index: 999;
}

.btn-whatsapp img {
    width: 32px;
    height: 32px;
    margin-right: .6rem;
}

.btn-whatsapp .whatsapp-text {
    display: inline-block;
    font-size: .9rem;
    white-space: nowrap;
}

.btn-whatsapp:hover {
    color: #fff;
    transform: scale(1.1);
    background: linear-gradient(135deg, #00c851, #00e676);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

/* ========================
   RESPONSIVO
======================== */
@media(max-width:768px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1rem; }
    .produtos h2 { font-size: 2rem; }
    .sobre h2 { font-size: 2rem; }
    .hero-form { max-width: 90%; }
}
