/* Variáveis de cores */
:root {
    --primary-color: #3f6689; /* Azul principal */
    --secondary-color: #34495e; /* Azul escuro/cinza */
    --light-gray-color: #ecf0f1;
    --dark-gray-color: #051422;
    --text-color: #333;
    --light-text-color: #fff;
    --whatsapp-color: #25D366;
}

/* Reset e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--dark-gray-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

header .logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}



header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 19px;
}

header nav a:hover {
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: color 0.3s;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

/* Hero Section */
.hero {
    background: url('assets/capa2.png') center/cover no-repeat;
    position: relative;
    color: var(--light-text-color);
    text-align: center;
    padding: 150px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.829);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Botões */
.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background: #3498db; /* Azul mais claro */
}

.btn-secondary {
    background: transparent;
    color: var(--whatsapp-color);
    border: 2px solid var(--whatsapp-color);
}

.btn-secondary:hover {
    background: var(--whatsapp-color);
    color: var(--light-text-color);
}

/* Seções gerais */
.section-light {
    padding: 80px 0;
    background: var(--light-text-color);
}

.section-dark {
    padding: 80px 0;
    background: var(--light-gray-color);
}

.section-highlight {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--light-text-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-gray-color);
}

.section-highlight .section-title {
    color: var(--light-text-color);
}

/* Sobre */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.text-content p {
    margin-bottom: 20px;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    /* background: #ccc; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 1.2rem;
    border-radius: 8px;
    background-image: url('assets/contato.png');
    background-size: cover;      /* ajusta a imagem para cobrir todo o container */
    background-position: center; /* centraliza a imagem */
    background-repeat: no-repeat;
}

.image-placeholder-sede{
    width: 100%;
    height: 507px;               /* ajuste conforme precisar */
    background-image: url('assets/atlassoftware-sede.png');
    background-size: cover;      /* ajusta a imagem para cobrir todo o container */
    background-position: center; /* centraliza a imagem */
    background-repeat: no-repeat;
}

.image-placeholder-contato{
    width: 100%;
    height: 507px;               /* ajuste conforme precisar */
    background-image: url('assets/atlassoftware-sede.png');
    background-size: cover;      /* ajusta a imagem para cobrir todo o container */
    background-position: center; /* centraliza a imagem */
    background-repeat: no-repeat;
}

/* Funcionalidades */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--light-text-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.feature-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Diferenciais */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.diferencial-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.diferencial-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* CTA / Form */
.cta-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-container button {
    width: 100%;
}

.whatsapp-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.whatsapp-cta p {
    margin-bottom: 20px;
}

.whatsapp-cta .image-placeholder {
    height: 195px;
    margin-top: 20px;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--light-text-color);
    width: 100%;
    text-align: center;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Footer */
footer {
    background: var(--dark-gray-color);
    color: var(--light-gray-color);
    padding: 50px 0 20px;
}

footer .footer-content {
    text-align: center;
    margin-bottom: 30px;
}

footer h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

footer .contact-info span {
    margin: 0 15px;
}

footer a {
    color: var(--light-gray-color);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Design responsivo */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }

    header .container {
        flex-direction: column;
        gap: 10px;
    }
    header nav ul {
        gap: 15px;
    }
    .content-grid, .cta-area {
        grid-template-columns: 1fr;
    }
    .image-placeholder {
        height: 250px;
    }
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    /* header nav {
        display: none;
    } */
    
    header .container {
        justify-content: center; /* logo fica centralizado */
    }
    header .logo {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
  /* mostra o ícone hamburger */
  .nav-toggle { display: flex; }

  /* esconde só a lista de links */
  nav .nav-list {
    display: none;
    flex-direction: column;
    /* … outras regras … */
  }

  /* quando aberto, exibe a lista */
  nav.open .nav-list {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  nav .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light-text-color);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  nav.open .nav-list {
    display: flex;
  }
}

/* wrapper e inner para overflow */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.testimonials-inner {
  overflow: hidden;
}

/* grid flexível de cards */
.testimonials-grid {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
}
.testimonial-item {
  flex: 0 0 calc(50% - 15px);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 20px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
}
.testimonial-item .quote-icon {
  position: absolute;
  top: -10px;
  left: 22px;
  font-size: 2.5rem;
  color: rgba(0,0,0,0.1);
}
.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}
.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-role {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}
.testimonial-text {
  flex: 1;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 20px;
}
.btn-testimonial {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}
.btn-testimonial:hover {
  background: #256da1;
}

/* bolinhas de paginação */
.testimonials-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
.testimonials-dots .dot {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.testimonials-dots .dot.active {
  background: var(--primary-color);
}

/* responsividade: uma coluna em telas pequenas */
@media (max-width: 768px) {
  .testimonial-item {
    flex: 0 0 100%;
  }
}

/* ESTILIZAÇÃO DO MODAL */
#thankYouModal.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
#thankYouModal.modal.show {
  display: flex;
}
#thankYouModal .modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeInUp 0.4s ease-out;
}
#thankYouModal .modal-content h2 {
  margin-bottom: 8px;
  color: var(--primary-color);
}
#thankYouModal .modal-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}
#thankYouModal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.4rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
#thankYouModal .modal-close:hover {
  color: #444;
}

/* animação de entrada */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hamburger button --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle .hamburger {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Esconde o nav-list no mobile e mostra o toggle */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  nav .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light-text-color);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  nav .nav-list li {
    margin: 10px 0;
  }
  /* quando aberto */
  nav.open .nav-list {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav .nav-list { display: none; /* ... */ }
  nav.open .nav-list { display: flex; }
}

/* ===== Slider de Clientes (agrupando logos verticalmente em cada slide) ===== */
.slider-clientes {
  overflow: hidden;
  position: relative;
  margin: 40px 0;
  width: 100%;
  /* altura de um slide (ajuste conforme os logos) */
  /* height: 200px; */
}

.slides-clientes {
  display: flex;
  width: calc(4 * 100%);    /* 4 slides x 100% */
  animation: slideClientes 16s infinite;
}

.slide-clientes {
  flex: 0 0 25%;            /* cada slide ocupa 25% da largura total */
  display: flex;
  flex-direction: column;   /* empilha verticalmente */
  justify-content: center;  /* centraliza verticalmente no slide */
  align-items: center;      /* centraliza horizontalmente */
  gap: 15px;                /* espaço entre os logos */
  box-sizing: border-box;
  padding: 10px;
}

.slide-clientes img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.slide-clientes img:hover {
  transform: scale(1.1);
}

/* animação: cada slide fica 4s visível antes de passar ao próximo */
@keyframes slideClientes {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }
  25%  { transform: translateX(-25%); }
  45%  { transform: translateX(-25%); }
  50%  { transform: translateX(-50%); }
  70%  { transform: translateX(-50%); }
  75%  { transform: translateX(-75%); }
  95%  { transform: translateX(-75%); }
  100% { transform: translateX(0%); }
}

/* responsivo: adapta número de slides visíveis */
@media (max-width: 1024px) and (min-width: 769px) {
  .slides-clientes { width: calc(4 * 50%); }
  .slide-clientes { flex: 0 0 50%; }
}

@media (max-width: 768px) {
  .slides-clientes { width: calc(4 * 100%); }
  .slide-clientes { flex: 0 0 100%; }
  .slider-clientes { height: auto; }
}
