/* ================================
   AGREGUE.CSS  |  VAVABENE
   Página: agregue.html
   ================================ */

/* --------- Reset mínimo --------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: #1b1b1b;
  background: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* --------- Helpers --------- */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

h1, h2, h3 {
  color: #0a1f44;
  line-height: 1.2;
  margin: 0 0 12px;
}

p { margin: 0 0 12px; color: #1b1b1b; }

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  user-select: none;
}

.btn--primary { background: #1aa37a; color: #fff; }
.btn--primary:hover { background: #148961; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: #0a1f44; border: 1px solid #12306b; }
.btn--ghost:hover { background: #f4f6fb; }
.btn--ghost.dark { color: #0a1f44; border-color: #12306b; }

/* --------- Topbar / Nav --------- */
/* overlay: fica por cima do banner, com gradiente escuro */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar--overlay {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6,19,54,0.85) 0%, rgba(6,19,54,0.55) 60%, rgba(6,19,54,0) 100%);
  border-bottom: 0;
  backdrop-filter: none;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 10px; }

.nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
}

.topbar--overlay .nav__link { color: #ffffff; }
.topbar--overlay .nav__link:hover { background: rgba(255,255,255,0.12); }
.topbar--overlay .nav__link--secondary {
  color: #ffffff;
  border-color: #ffffff;
}

/* --------- Hero (sem textos por cima) --------- */
/* HERO */
.hero { position: relative; overflow: hidden; }
.hero__img { width: 100%; height: auto; display: block; }

/* HOTSPOT clicável na “faixa de botão” do banner (calibrado para 1920x800) */
.hero__hotspot{
  position: absolute;
  left: 62%;     /* ajuste fino conforme a arte */
  top: 60%;
  width: 30%;
  height: 13%;
  border-radius: 60px;
  display: block;
  text-decoration: none;
  outline: none;
}

.hero__hotspot:hover{
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255,215,0,.85) inset, 0 8px 28px rgba(0,0,0,.25);
}

.hero__hotspot:focus-visible{
  box-shadow: 0 0 0 3px #12306b inset, 0 0 0 6px rgba(18,48,107,.25);
}

/* Responsivo: refina a posição quando a imagem comprime */
@media (max-width: 1280px){
  .hero__hotspot{
    left: 55%;
    top: 59%;
    width: 36%;
    height: 13%;
  }
}

@media (max-width: 960px){
  .hero__hotspot{
    left: 53%;
    top: 60%;
    width: 40%;
    height: 14%;
  }
}

/* --------- Benefícios --------- */
.beneficios { padding: 60px 0; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-cta { white-space: nowrap; }

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(10, 31, 68, 0.08);
  text-align: center;
}
.card img { height: 80px; margin: 0 auto 12px; }

/* --------- Info --------- */
.info { padding: 60px 0; }

.info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info__box {
  position: relative;
  background: #f4f6fb;
  border-radius: 14px;
  padding: 20px;
}

.box-cta {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  font-size: 0.92rem;
}

/* --------- Formulário (no modal) --------- */
.form__intro { margin: 6px 0 18px; color: #6b7280; text-align: left; }

.fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 16px;
}
.fieldset legend { font-weight: 700; color: #0a1f44; padding: 0 6px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; }
.field label { font-weight: 600; margin-bottom: 6px; }

.field input,
.field select,
.field textarea {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #1aa37a;
  border-color: #1aa37a;
}

.help { font-size: 0.85rem; color: #6b7280; }
.error-msg { color: #d11f3d; font-size: 0.85rem; min-height: 1.2em; }

.consent { margin: 10px 0 6px; }

.checkbox { display: flex; align-items: flex-start; gap: 8px; }
.checkbox input { margin-top: 3px; }

.actions { text-align: right; }
.status { margin-top: 12px; font-size: 0.95rem; color: #12306b; }

/* --------- Modal --------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal.is-open { display: flex; }

.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 54, 0.66);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(6,19,54,0.35);
  padding: 22px;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}
.modal__close:hover { color: #0a1f44; }






/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #EEF2F1;
  padding: 48px 24px 28px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto; /* logo na última coluna */
  column-gap: 48px;
  align-items: start;
}

/* títulos dos blocos */
.site-footer h3 {
  margin: 0 0 14px;
  font-weight: 500;             /* Montserrat Medium */
  font-size: 30px;
  line-height: 1.05;
  color: #27373f;
}

/* mapa do site */
.site-footer ul { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
}

.site-footer li { 
  margin: 8px 0; 
}

.site-footer a {
  text-decoration: none;
  color: #27373f;
  font-weight: 300;             /* Montserrat Light */
  font-size: 24px;
  line-height: 1.15;
}

/* contato e @vava.bene */
.footer__contact p,
.footer__social span {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 10px 0;
  font-weight: 500;
  font-size: 20px;
  color: #27373f;
}

/* ícones sociais */
.footer__social a { 
  display: inline-block; 
  margin-right: 12px; 
}

.footer__brand { 
  justify-self: end; 
  align-self: center; 
}

.footer__brand img { 
  max-width: 316px; 
  height: auto; 
}

/* barra legal/credits */
.footer__legal {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #6a767a;
}

/* responsivo — footer */
@media (max-width: 1200px) {
  .site-footer h3 { 
    font-size: 26px; 
  }
  .site-footer a,
  .footer__contact p,
  .footer__social span { 
    font-size: 22px; 
  }
}

@media (max-width: 1100px) {
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .footer__brand { 
    grid-column: 1 / -1; 
    justify-self: center; 
  }
  .footer__brand img { 
    max-width: 260px; 
  }
}

@media (max-width: 640px) {
  .site-footer .container { 
    grid-template-columns: 1fr; 
  }
  .footer__brand { 
    order: 4; 
  }
  .site-footer h3 { 
    font-size: 22px; 
  }
  .site-footer a,
  .footer__contact p,
  .footer__social span { 
    font-size: 18px; 
  }
  .footer__brand img { 
    max-width: 220px; 
  }
}
