/* =====================================================
   FREDELIN TURISMO
   CONTRATO DE PRESTAÇÃO DE SERVIÇOS
   contrato-servicos.css
===================================================== */

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ================= BASE ================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f1f5f9;
  color: #1e293b;
  line-height: 1.75;
  min-height: 100vh;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* =====================================================
   CABEÇALHO
===================================================== */

.header {
  width: 100%;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  min-height: 88px;
  margin: 0 auto;
  padding: 14px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}


/* ================= MARCA ================= */

.marca {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.marca:hover {
  text-decoration: none;
}

.logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.marca-texto h1 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.marca-texto p {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.4;
}


/* =====================================================
   SELETOR DE IDIOMA
===================================================== */

.seletor-idioma {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seletor-idioma label {
  color: #ffffff;
  font-size: 1.15rem;
}

.seletor-idioma select {
  min-width: 170px;
  padding: 10px 14px;

  background: #ffffff;
  color: #1e293b;

  border: 1px solid #cbd5e1;
  border-radius: 10px;

  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  cursor: pointer;

  outline: none;
}

.seletor-idioma select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}


/* =====================================================
   CONTEÚDO PRINCIPAL
===================================================== */

.conteudo {
  width: 100%;
  max-width: 980px;

  margin: 45px auto 70px;
  padding: 0 22px;
}


/* =====================================================
   TÍTULO DO DOCUMENTO
===================================================== */

.titulo-documento {
  background: #ffffff;

  padding: 48px 45px;
  margin-bottom: 28px;

  text-align: center;

  border-radius: 20px;

  border: 1px solid #e2e8f0;

  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.07);
}

.titulo-documento span {
  display: inline-block;

  margin-bottom: 12px;

  color: #2563eb;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.titulo-documento h2 {
  color: #0f172a;

  font-size: clamp(1.8rem, 4vw, 2.7rem);

  line-height: 1.25;

  font-weight: 800;

  margin-bottom: 12px;
}

.titulo-documento p {
  color: #64748b;

  font-size: 1rem;
  font-weight: 600;
}


/* =====================================================
   AVISO
===================================================== */

.aviso {
  background: #eff6ff;

  border-left: 5px solid #2563eb;

  padding: 22px 25px;

  margin-bottom: 28px;

  border-radius: 12px;

  color: #334155;

  font-size: 0.95rem;

  box-shadow: 0 5px 18px rgba(37, 99, 235, 0.06);
}

.aviso strong {
  color: #1d4ed8;
}


/* =====================================================
   SEÇÕES DO CONTRATO
===================================================== */

.secao {
  background: #ffffff;

  padding: 32px 36px;

  margin-bottom: 18px;

  border-radius: 16px;

  border: 1px solid #e2e8f0;

  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.045);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.secao:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.08);
}


/* ================= TÍTULOS ================= */

.secao h3 {
  color: #0f172a;

  font-size: 1.22rem;

  font-weight: 700;

  line-height: 1.4;

  margin-bottom: 17px;

  padding-bottom: 10px;

  border-bottom: 1px solid #e2e8f0;
}


/* ================= PARÁGRAFOS ================= */

.secao p {
  color: #475569;

  font-size: 0.96rem;

  margin-bottom: 15px;
}

.secao p:last-child {
  margin-bottom: 0;
}


/* ================= LISTAS ================= */

.secao ul {
  margin: 10px 0 5px 22px;

  padding-left: 10px;
}

.secao li {
  color: #475569;

  margin-bottom: 8px;

  padding-left: 4px;
}

.secao li::marker {
  color: #2563eb;
}


/* ================= LINKS ================= */

.secao a {
  color: #2563eb;

  font-weight: 600;

  text-decoration: underline;
}

.secao a:hover {
  color: #1d4ed8;
}


/* =====================================================
   DESTAQUE PARA ACEITE
===================================================== */

.secao:nth-of-type(20) {
  border-left: 5px solid #2563eb;
}


/* =====================================================
   DOCUMENTOS RELACIONADOS
===================================================== */

.documentos-relacionados {
  background: #ffffff;

  padding: 34px 36px;

  margin-top: 28px;

  border-radius: 18px;

  border: 1px solid #e2e8f0;

  box-shadow:
    0 8px 25px rgba(15, 23, 42, 0.06);
}

.documentos-relacionados h3 {
  color: #0f172a;

  font-size: 1.3rem;

  margin-bottom: 22px;
}

.documentos-links {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 14px;
}

.documentos-links a {
  display: block;

  padding: 14px 17px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  border-radius: 12px;

  color: #334155;

  font-size: 0.92rem;

  font-weight: 600;

  transition: 0.25s;
}

.documentos-links a:hover {
  background: #eff6ff;

  border-color: #93c5fd;

  color: #1d4ed8;

  text-decoration: none;

  transform: translateY(-2px);
}


/* =====================================================
   CONTATO DO DOCUMENTO
===================================================== */

.contato-documento {
  margin-top: 28px;

  padding: 40px;

  text-align: center;

  background: #0f172a;

  color: #ffffff;

  border-radius: 20px;

  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.15);
}

.contato-documento h3 {
  color: #ffffff;

  font-size: 1.5rem;

  margin-bottom: 10px;
}

.contato-documento p {
  color: #cbd5e1;

  margin-bottom: 6px;

  font-size: 0.95rem;
}

.contato-documento strong {
  color: #ffffff;
}


/* =====================================================
   BOTÃO WHATSAPP
===================================================== */

.btn-whatsapp {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 22px;

  padding: 14px 25px;

  background: #22c55e;

  color: #ffffff;

  border-radius: 999px;

  font-size: 0.95rem;

  font-weight: 700;

  text-decoration: none;

  box-shadow:
    0 8px 20px rgba(34, 197, 94, 0.25);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
  background: #16a34a;

  color: #ffffff;

  text-decoration: none;

  transform: translateY(-3px);

  box-shadow:
    0 12px 25px rgba(34, 197, 94, 0.32);
}


/* =====================================================
   RODAPÉ
===================================================== */

.footer {
  background: #020617;

  color: #cbd5e1;

  padding: 40px 22px;
}

.footer-container {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1.2fr 1fr 0.8fr;

  gap: 35px;

  align-items: start;
}

.footer h3 {
  color: #ffffff;

  font-size: 1.15rem;

  margin-bottom: 8px;
}

.footer p {
  color: #94a3b8;

  font-size: 0.88rem;

  line-height: 1.7;

  margin-bottom: 6px;
}


/* =====================================================
   LINKS DO RODAPÉ
===================================================== */

.links-footer {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.links-footer a {
  color: #60a5fa;

  font-size: 0.88rem;

  text-decoration: none;

  transition: 0.25s;
}

.links-footer a:hover {
  color: #ffffff;

  text-decoration: underline;
}


/* =====================================================
   RESPONSIVO - TABLET
===================================================== */

@media (max-width: 900px) {

  .header-container {
    flex-wrap: wrap;

    justify-content: center;

    padding: 18px 20px;
  }

  .marca {
    width: 100%;

    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .links-footer {
    grid-column: 1 / -1;

    flex-direction: row;

    flex-wrap: wrap;
  }

}


/* =====================================================
   RESPONSIVO - CELULAR
===================================================== */

@media (max-width: 600px) {

  body {
    font-size: 14px;
  }

  .header-container {
    padding: 15px;
  }

  .logo {
    width: 54px;
    height: 54px;
  }

  .marca-texto h1 {
    font-size: 1.05rem;
  }

  .marca-texto p {
    font-size: 0.7rem;
  }

  .seletor-idioma {
    width: 100%;

    justify-content: center;
  }

  .seletor-idioma select {
    width: 100%;
    max-width: 240px;
  }

  .conteudo {
    margin-top: 25px;

    padding: 0 12px;
  }

  .titulo-documento {
    padding: 32px 20px;

    border-radius: 15px;
  }

  .titulo-documento h2 {
    font-size: 1.65rem;
  }

  .titulo-documento p {
    font-size: 0.9rem;
  }

  .aviso {
    padding: 18px;

    font-size: 0.88rem;
  }

  .secao {
    padding: 24px 20px;

    border-radius: 13px;
  }

  .secao h3 {
    font-size: 1.08rem;
  }

  .secao p,
  .secao li {
    font-size: 0.9rem;
  }

  .documentos-relacionados {
    padding: 25px 20px;
  }

  .documentos-links {
    grid-template-columns: 1fr;
  }

  .contato-documento {
    padding: 30px 20px;

    border-radius: 15px;
  }

  .footer {
    padding: 30px 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 25px;
  }

  .links-footer {
    align-items: center;

    flex-direction: column;

    gap: 10px;
  }

}


/* =====================================================
   IMPRESSÃO / PDF
===================================================== */

@media print {

  body {
    background: #ffffff;

    color: #000000;
  }

  .header {
    background: #ffffff;

    border-bottom: 1px solid #cccccc;

    box-shadow: none;
  }

  .marca-texto h1 {
    color: #000000;
  }

  .marca-texto p {
    color: #555555;
  }

  .logo {
    border-color: #000000;
  }

  .seletor-idioma,
  .btn-whatsapp,
  .footer {
    display: none !important;
  }

  .conteudo {
    max-width: 100%;

    margin: 0;

    padding: 20px;
  }

  .titulo-documento,
  .aviso,
  .secao,
  .documentos-relacionados,
  .contato-documento {
    box-shadow: none;

    border: 1px solid #cccccc;

    break-inside: avoid;
  }

  .secao:hover {
    transform: none;

    box-shadow: none;
  }

  .secao {
    page-break-inside: avoid;
  }

  a {
    color: #000000;

    text-decoration: none;
  }

}