html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

/* Estilo básico para tabelas do blog */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: #000761;
    color: #fff;
}

th, td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

tbody tr:hover {
    background-color: #eef;
    transition: background-color 0.3s;
}

/* Links de ação dentro da tabela */
td a {
    color: #000761;
    text-decoration: none;
    font-weight: 600;
}

td a:hover {
    text-decoration: underline;
}


.btn-add {
    display: inline-block;
    background-color: #000761;
    color: white;
    padding: 10px 18px;
    margin-bottom: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-add:hover {
    background-color: #333399;
}

.btn-action {
    background-color: transparent;
    color: #000761;
    font-weight: bold;
    border: none;
    padding: 6px 10px;
    margin-right: 5px;
    cursor: pointer;
    text-decoration: underline;
}

.btn-action.delete {
    color: crimson;
}

.btn-action:hover {
    text-decoration: none;
}

/* estilo carrossel */

.blog-slider {
    padding: 60px 20px;
    background-color: #f9f9f9;
}
.blog-slider h2 {
    color: #000761;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}
.swiper {
    max-width: 1200px;
    margin: auto;
}

.swiper-slide {
    width: 300px;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
}












/* Estilo base para o conteúdo do blog */
.blog-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    font-family: 'Source Sans Pro', sans-serif;
}

.blog-container h1,
.blog-container h2 {
    color: #000761;
    font-size: 32px;
    margin-bottom: 20px;
}

.blog-container p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.blog-container label {
    display: block;
    font-weight: 600;
    margin: 15px 0 5px;
}

.blog-container input[type="text"],
.blog-container textarea,
.blog-container input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
}

.blog-container .btn {
    background: #000761;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.blog-container .btn:hover {
    background: #333399;
}

.blog-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
}

.post-content p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.post-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #000761;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #000540;
}

.btn-secondary {
    background-color: #555;
}

.btn-secondary:hover {
    background-color: #333;
}


.post-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-form input[type="text"],
.post-form textarea,
.post-form input[type="file"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.post-form textarea {
    resize: vertical;
}

.error-messages {
    background-color: #ffeaea;
    border: 1px solid #ffcccc;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #c00;
}

.error-messages ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-ver {
    padding: 6px 12px;
    background-color: #000761;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-ver:hover {
    background-color: #000540;
}

.topo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff; /* Ou a cor que desejar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra opcional */
    z-index: 1000; 
  }
  .tagline {
    font-size: 16px;
    line-height: 1; /* evita que o texto fique "flutuando" */
    padding-bottom: 17px; /* ajuste fino se quiser alinhar melhor */
    color: #333;
}
.logo-tagline {
    display: flex;
    align-items: flex-end; /* alinha pela parte de baixo */
    gap: 8px; /* espaço entre logo e tagline */
}
  main {
    background-color: #f3efef;
     flex: 1;
    
  }
  .img_1{
    height: 400px;
    width: 100%;
  }
  
  .site-footer {
    background-color: #000761;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    max-width: 250px;
}

.footer-logo img.logo-footer {
    width: 120px;
    margin-bottom: 10px;
}

.footer-links,
.footer-social {
    min-width: 150px;
}

.footer-links h4,
.footer-social h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 6px;
}

.footer-links a,
.footer-social a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover,
.footer-social a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}
.sobre-empresa {
    background-color: #f8f8f8;
    padding: 60px 20px;
    min-height: 520px;
}

.container-sobre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
    padding-top: 20px;
}

.texto-sobre {
    flex: 1;
    min-width: 280px;
}

.texto-sobre h2 {
    color: #000761;
    font-size: 32px;
    margin-bottom: 20px;
}

.texto-sobre p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.imagem-sobre {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.imagem-sobre img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.servicos {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.servico-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.servico-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.servico-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.contato {
    background-color: #f0f4f8;
    padding: 60px 40px 20px 20px;
    color: #333;
}

.container-contato {
    max-width: 900px;
    margin: 0 auto;
}

.contato h2 {
    color: #000761;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contato-info p {
    margin-bottom: 20px;
    font-size: 18px;
}

.contato-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contato-lista li {
    font-size: 18px;
    margin-bottom: 10px;
}

.form-contato label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    font-family: 'Source Sans Pro', sans-serif;
}

.form-contato button.btn {
    background-color: #000761;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-contato button.btn:hover {
    background-color: #333399;
}



  
  /* Centraliza tudo e coloca logo + menu na mesma linha */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
  }
  .container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
  }
  .content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.servico-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.servico-item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.servico-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.servico-item h2 {
  color: #000761;
    font-size: 32px;
  margin-bottom: 10px;
}

.servico-item p {
  font-size: 1rem;
  color: #333;
}

  
  /* Estilo do logo */
  .logo {
    height: 60px; /* Ajuste conforme sua imagem */
    display: block;
  }
  
  /* Menu horizontal */
  .menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  /* Links do menu */
  .menu li a {
    text-decoration: none;
    color: #000761;
    font-size: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700; 
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
  }
  
  /* Estilo opcional de hover */
  .menu li a:hover {
    color: #023AAB;
  }
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .social {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .social a svg {
    transition: transform 0.2s ease, fill 0.2s ease;
  }
  
  .social a:hover svg {
    transform: scale(1.1);
    fill: #023AAB;
  }

  .jumbotron {
    position: relative;
    width: 100%;
    height: 500px; 
    overflow: hidden;
    margin-top: 60px; /*altura do header*/
  }
  
  .jumbotron img {
    width: 100%;
    height: 138%;
    /* object-fit: cover; */
  }
  
  .jumbotron-texto {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  }
  
  .jumbotron-texto h1 {
    margin: 0;
    font-size: 36px;
  }
  
  .jumbotron-texto p {
    margin: 8px 0 0;
    font-size: 18px;
  }
  .custom-link {
    background-color: transparent;
    color: #000761;
    border: 1px solid #000761;
    transition: all 0.3s ease;
}

.custom-link:hover {
    background-color: #000761;
    color: #fff;
}

.custom-active {
    background-color: #000761;
    color: #fff;
    border: 1px solid #000761;
}

.custom-disabled {
    color: #aaa;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}
.ck.ck-toolbar {
    background-color: #f1f1f1; /* ou sua cor de fundo personalizada */
    border: 1px solid #ccc;
    border-radius: 6px;
}

.ck.ck-button.ck-on,
.ck.ck-button:hover {
    background-color: #000761 !important; /* sua cor principal */
    color: #fff !important;
    border-radius: 4px;
}

.ck-editor__editable_inline {
    background-color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}


  /* mobile styles */
@media (max-width: 768px) {
    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
      }
      .contato-grid {
        grid-template-columns: 1fr; /* Uma coluna só */
        gap: 20px; /* Espaçamento menor para mobile */
        padding: 0 10px; /* Pequeno padding nas laterais */
    }

    .form-contato input,
    .form-contato textarea {
        font-size: 14px; /* Ajusta fonte pra caber melhor */
    }

    .contato-lista li {
        font-size: 16px;
    }

    .form-contato button.btn {
        width: 100%; /* Botão ocupa a largura total no mobile */
        padding: 12px;
        font-size: 16px;
    }
    
  
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 1000;
    }
    .social {
        position: absolute;
        top: 70px; /* Ajusta abaixo do botão */
        right: 20px;
        display: flex;
        gap: 12px;
        background: #000761;
        padding: 8px 12px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
      }

      .social a svg {
        fill: #ffffff;
        transition: fill 0.2s ease, transform 0.2s ease;
      }
    
      .social a:hover svg {
        fill: #aaccff;
        transform: scale(1.1);
      }
    
      /* Menu responsivo - fica abaixo do social */
      .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120px; /* Agora fica abaixo do social */
        right: 20px;
        background-color: #000761;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
        width: 200px;
      }
    
      .menu.show {
        display: flex;
      }
    
      .menu li a {
        color: #ffffff;
      }
      .tagline {
        display: none;
      }
      
  }