* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
    color: #09365f;
    scroll-behavior: smooth;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
.container {
    width: 1170px;
    max-width: 100%;
    margin: auto;
}
.header {
    position: relative;
    width:100%;
    z-index: 99;
    padding: 15px;
    background-color: #09365F;
}
.header-main {
    background-color: #09365F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.header .logo {
    padding: 0 15px;
}
.header .logo img {
    height: 40px;
}
.header .nav-menu {
    padding: 0 15px;
}
.header .menu > .menu-item {
    display: inline-block;
    margin-left: 30px;
    position: relative;
}
.header .menu > .menu-item > a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}
.header .open-nav-menu {
    height: 34px;
    width: 40px;
    margin-right: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.header .open-nav-menu span {
    display: block;
    height: 3px;
    width: 24px;
    background-color: #fff;
    position: relative;
}
.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.header .open-nav-menu span:before {
    top: -7px;
}
.header .open-nav-menu span:after {
    top: 7px;
}
.header .close-nav-menu {
    display: none;
}
.menu-overlay {
    position: fixed;
    z-index: 999;
    background-color: rgba(23,13,102,0.51);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}
@media (max-width: 991px) {
    .header .nav-menu {
        position: fixed;
        right: -280px;
        visibility: hidden;
        width: 280px;
        height: 100%;
        top: 0;
        overflow-y: auto;
        background-color: #222;
        z-index: 1000;
        padding: 15px 0;
        transition: 0.5s;
    }
    .header .nav-menu.open {
        visibility: visible;
        right: 0;
    }
    .header .open-nav-menu,
    .header .close-nav-menu {
        display: flex;
    }
    .header .close-nav-menu{
        height: 20px;
        width: 20px;
        background: #fff;
        margin: 0 0 15px 15px;
        border-radius: 50%;
        cursor: pointer;
        padding: 5px;
    }
    .header .menu > .menu-item {
        display: block;
        margin: 0;
    }
    .header .menu > .menu-item > a {
        color: #fff;
        padding: 12px 15px;
        border-bottom: 1px solid #333;
    }
}

/* Restante do estilo antigo */
.hero {
    background-color: #326fa7;
    color: white;
    text-align: center;
    padding: 100px 20px 60px;
}
.hero h1 {
    font-size: 3rem;
    animation: fadeInDown 1s ease;
}
.hero p {
    font-size: 1.2rem;
    margin-top: 15px;
    animation: fadeInUp 1s ease;
}
.hero a {
    display: inline-block;
    margin-top: 30px;
    background-color: white;
    color: #09365f;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}
.hero a:hover {
    background-color: #e0e0e0;
}
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}
.section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #09365f;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 {
    color: #326fa7;
    margin-bottom: 10px;
}

.sobre-conteudo, .faq, .contato-form, .mapa {
    max-width: 800px;
    margin: auto;
    text-align: center;
}


.faq h2, .contato-form h2, .mapa h2 {
    margin-bottom: 30px;
}
.accordion {
    background-color: #09365f;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: background-color 0.2s;
    border-radius: 5px;
    margin-bottom: 5px;
}
.accordion:hover, .accordion.active {
    background-color: #0b497f;
}
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}
.panel p {
    padding: 15px 0;
    margin: 0;
}
iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
form button {
    background-color: #09365f;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
form button:hover {
    background-color: #0b497f;
}
footer {
    text-align: center;
    padding: 20px;
    background-color: #e4e4e4;
    font-size: 14px;
}
@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

#testimonials {
    min-height: 80vh;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    padding: 12px 8%;
}

#testimonials_header {
    text-align: center;
}

#testimonials_header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #3758f9;
}

#testimonials_header h2 {
    color: #111928;
    font-size: 40px;
}

#testimonials_header p {
    color: #637381;
    font-size: 16px;
    max-width: 485px;
}

.swiper {
    width: 100%;
    height: 329px;
    padding-bottom: 60px;
}

.swiper-slide {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    box-shadow: 0px 0px 20px 0px rgba(92, 115, 160, 0.07);
    padding: 34px;
    border-radius: 12px;
}

.testimonial-rate {
    display: flex;
    gap: 2px;
}

.testimonial-rate i {
    color: #f9b707;
}

.testimonial-quote {
    color: #637381;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-weight: 600;
    font-size: 14px;
    color: #111928;
}

.author-info p {
    font-size: 12px;
    color: #8899a8;
}

.swiper-button-prev,
.swiper-button-next {
    background-color: #fff;
    width: 25px;
    height: 25px;
    color: #3758f9;
    border: 1px solid #f9fafb;
    border-radius: 100%;
    box-shadow: 0px 0px 20px 0px rgba(92, 115, 160, 0.2);
}

.swiper-button-prev::after {
    content: '\f053';
    font-family: 'Font Awesome 5 free';
    font-weight: 900;
    font-size: 14px;
}

.swiper-button-next::after {
    content: '\f054';
    font-family: 'Font Awesome 5 free';
    font-weight: 900;
    font-size: 14px;
}

.swiper-button-prev {
    left: 3px;
}

.swiper-button-next {
    right: 3px;
}

.swiper-pagination.active {
    background-color: #3758f9;
}

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
  animation: wa-float 2s infinite cubic-bezier(.62,.01,.37,1.01);
}
.whatsapp-float:hover {
  background: #1ebe57;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
@keyframes wa-float {
  0%   { transform: translateY(0) scale(1);}
  50%  { transform: translateY(-10px) scale(1.07); box-shadow: 0 8px 32px rgba(0,0,0,0.18);}
  100% { transform: translateY(0) scale(1);}
}

/* Tooltip */
.wa-tooltip {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(33,37,41,0.95);
  color: #fff;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.3s, right 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
  margin-right: 10px;
}
.whatsapp-float:hover .wa-tooltip,
.whatsapp-float:focus .wa-tooltip,
.whatsapp-float:active .wa-tooltip {
  opacity: 1;
  right: 120%;
}

/* Setinha do tooltip */
.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid rgba(33,37,41,0.95);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
/* TABLET */
@media (max-width: 991px) {
  .container,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    padding: 48px 18px 30px;
  }
  .section {
    padding: 36px 18px;
  }
  .cards {
    gap: 28px;
  }
  .card {
    padding: 24px 16px;
  }
  #testimonials {
    padding: 36px 4%;
    gap: 30px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .container,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

.header-main {
    flex-direction: row;       /* Mantém logo e menu na mesma linha */
    align-items: center;       /* Alinha verticalmente */
    justify-content: space-between; /* Espaço entre logo e menu */
    gap: 0;
    padding: 10px 0;           /* Ajuste de padding se necessário */
  }
  .header .logo {
    padding: 0;
  }
  .header .open-nav-menu {
    margin: 0 6px 0 0;         /* Encosta o menu na direita */
    order: 2;                  /* Garante que o menu fique à direita da logo */
  }
  .header .logo {
    order: 1;                  /* Garante que a logo fique à esquerda */
  }
  .hero {
    padding: 32px 10px 22px;
  }
  .hero h1 {
    margin-bottom: 14px;
  }
  .section {
    padding: 22px 6px;
  }
  .section h2 {
    margin-bottom: 18px;
    font-size: 1.13rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card {
    padding: 16px 10px;
    margin-bottom: 0;
  }
  .faq h2, .contato-form h2, .mapa h2 {
    margin-bottom: 12px;
  }
  .accordion {
    font-size: 15px;
    padding: 13px 12px;
    margin-bottom: 7px;
  }
  .panel {
    padding: 0 12px;
    margin-bottom: 13px;
  }
  .panel p {
    padding: 10px 0;
  }
  iframe {
    height: 150px;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  #testimonials {
    gap: 18px;
    padding: 20px 4%;
  }
  .swiper {
    height: 150px;
    padding-bottom: 18px;
  }
  .swiper-slide {
    padding: 12px 6px;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
  .testimonial-author {
    gap: 10px;
  }
  .author-avatar {
    width: 28px;
    height: 28px;
  }
  .author-info h3 {
    font-size: 13px;
  }
  .author-info p {
    font-size: 11px;
  }
  form input, form textarea {
    padding: 10px 8px;
    margin-bottom: 14px;
  }
  form button {
    padding: 10px 20px;
    font-size: 1.05rem;
  }
  footer {
    font-size: 11px;
    padding: 12px 6px;
    margin-top: 20px;
  }
.whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
    bottom: 16px;
    right: 16px;
  }
  .wa-tooltip {
    right: 50%;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px 10px;
    font-size: 0.96rem;
  }
  .wa-tooltip::after {
    left: 50%;
    top: 100%;
    border-left: 8px solid transparent;
    border-top: 8px solid rgba(33,37,41,0.95);
    border-right: 8px solid transparent;
    border-bottom: 0;
    transform: translateX(-50%);
  }
}
#form-resposta {
    margin-top: 10px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-block;
    max-width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

#form-resposta.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-resposta.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background-color: #333;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 90%;
    width: auto;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.toast.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.sucesso {
    background-color: #28a745;
}

.toast.erro {
    background-color: #dc3545;
}
