
/* =========================
   RESET & BASE
========================= */
* 

{

    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    margin:0; 
    font-family: Inter,  
}

/* =========================
   LAYOUT GLOBAL
========================= */
.section {
    padding: 100px 40px;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* =========================
   HEADER
========================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 99999;

    width: 100%;
    background: #ffffff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 5%; /* controla altura real */
    box-shadow: none;
}

/* LOGO */
.logo img {
    height: 100px;
}


/* NAV DESKTOP */
.main-header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.main-header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.main-header nav a:hover {
    color: #0f172a;
}
/* BOTÃO MENU */
.menu-toggle {
    
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
}

/* BOTÃO NAV */
.btn-nav {
  display: inline-block;
  padding: 4px 8px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(11, 125, 156, 0.15);
  border: 1px solid rgba(11, 125, 156, 0.4);
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

nav ul li a {
  display: inline-block;
  padding: 4px 8px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(11, 125, 156, 0.15);
  border: 1px solid rgba(11, 125, 156, 0.4);
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

nav ul li a:hover {
  background: #4dddf7;
  border-color: #4dddf7;
  transform: translateY(-2px);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

    /* ❌ REMOVE ISSO → NÃO USA COM STICKY */
    body {
        padding-top: 0;
    }

    

    .main-header {
        padding: 10px 20px;
    }

    

    .logo img {
        height: 40px;
    }

   .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;

    top: 50%;
    transform: translateY(-50%); /* 🔥 centraliza a CAIXA */
}



    .main-header nav.active {
        display: block;
    }

    .main-header nav ul {
        margin: 0;
        padding: 0 0 20px;
        flex-direction: column;
        text-align: center;
        
        
    }
}

/* =========================
   HERO
========================= */
.hero {
    padding: 10px 20px 60px;
    text-align: center;
    background: #ffffff;
    color: #1e293b;
    
}

.hero-logo {
    width: 150px;
    margin: 0 auto 25px;
}

.hero-badge {
    display: inline-block;
    max-width: 90%;
    margin: 0 auto 20px;
    padding: 20px 40px;
    border: 1px solid #1e293b;
    border-radius: 20px;
    font-size: 35px;
    text-align: center;
}

@media (max-width: 768px) {
  .hero-badge {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 12px;
    max-width: 95%;
    margin-bottom: 12px;
    opacity: 0.9;
  }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #1e293b;
    max-width: 700px;
    margin: 0 auto 30px;
}



/* BOTÕES */
.btn-primary {
    display: inline-block;
    padding: 15px 25px;
    color: #1e293b;
    text-decoration: none;
    border-radius: 999px;
    background: rgba(11, 125, 156, 0.15);
    border: 1px solid rgba(11, 125, 156, 0.4);
    backdrop-filter: blur(6px);
    transition: 0.3s;
    

    position: relative;
    overflow: hidden;
    z-index: 1;

}

/* hover */
.btn-primary:hover {
    background: #4dddf7;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}


/* =========================
   SEÇÕES
========================= */
.services-bg {
    background: #1e293b;
    color: #f8fafc;
}

.services-bg h2 {
    color: #fff;
}

.services-bg .intro-text {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 40px;
    color: #cbd5e1;
}

.reviews-bg {
    background: #f8fafc;
    color: #1e293b;
}

.tools-section {
    background: #f8fafc;
    
}
.tools-section .service-card h3 {
    color: #ffffff;
}

.tools-section .service-card p {
    color: #cbd5e1;
}

.tools-section .intro-text {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 40px;
    color: #1e293b;
}
.about {
    background: #1e293b;
    color: #e2e8f0;
}

/* Estilo padrão (Mobile) - mantém o que você já tem */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Estilo apenas para Desktop (telas maiores que 1024px) */


/* =========================
   CARDS
========================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch; /*  garante mesma altura */
}

.service-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;

  display: flex;
  flex-direction: column;
  height: 100%; /* essencial */
}


.service-card:hover {
    transform: translateY(-10px);
}

.service-media {
    width: 100%;
    height: 350px; /* Defina uma altura fixa para manter a consistência */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}



.service-media img {
    width: 100%;
    height: 100%;
    /* O pulo do gato: corta a imagem para preencher o espaço sem distorcer */
    object-fit: cover; 
    /* Se preferir que a imagem apareça inteira sem cortar, use: object-fit: contain; */
    
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1; /*  ocupa o espaço disponível */
}

.service-btn {
  display: inline-block;
  padding: 4px 8px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(11, 125, 156, 0.15);
  border: 1px solid rgba(11, 125, 156, 0.4);
  backdrop-filter: blur(6px);
  transition: 0.3s;
  align-self: flex-start;
}

.service-btn:hover {
  transform: translateY(-2px);
  background: #16a34a;
}

/* =========================
   REVIEWS
========================= */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #0f172a;
    padding: 30px;
    border-radius: 20px;
    color: #e2e8f0;
}

.stars {
    color: #facc15;
    margin-bottom: 15px;
}

/* =========================
   MODAL
========================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    padding: 20px;
    justify-content: center;
    align-items: flex-start;
    
}
.modal li::before {
    content: "✔ ";
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #0f172a;
    color: #e2e8f0;
    width: 95%;
    max-width: 600px;
    padding: 30px 20px;
    border-radius: 20px;
    margin: auto;
    position: relative;
    
}
.modal ul {
    list-style: none;   /* remove a bolinha */
    padding-left: 0;    /* remove recuo padrão */
    margin-top: 15px;
}
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.close:hover {
  color: #fff;
  transform: scale(1.2);
}


/* =========================
   WHATSAPP
========================= */
/* BOTÃO WHATSAPP */
.whatsapp-float {
    position: fixed; /* ← troca sticky por fixed */
    bottom: 20px;
    right: 20px;

    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    animation: pulse 2s infinite;
}

/* ÍCONE */
.whatsapp-float svg {
    width: 26px;
    height: 26px;
    fill: white;
}

/* ANIMAÇÃO */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 12px rgba(37,211,102,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/*galeria*/

.gallery {
  padding: 80px 20px;
  text-align: center;
  background: #0f172a;
  color: #fff;
}

/* cabeçalho */
.gallery-header {
  max-width: 600px;
  margin: 0 auto 40px;
}

.gallery-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #fff;
}

.gallery-header p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* slider */
.gallery-slider {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative; /* 🔥 necessário */
}

/* imagem */
.gallery-slide img {
  width: 85%;
  height: 85%;
  object-fit: cover;
  display: block;
  margin: auto;
  border-radius: 10px;
}

/* legenda */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 12px;
  font-size: 20px;
  color: white;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    transparent
  );
}

/* =========================
   FOOTER (PRO)
========================= */
.footer {
    background: #ffffff;
    padding: 80px 20px 40px;
    border-top: 1px solid #e2e8f0;

    /* REMOVIDO: position sticky (bugava layout) */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

/* COLUNA LOGO / DESCRIÇÃO */
.footer-logo-space {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    width: 160px;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}


/* TÍTULOS */
.footer h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #1e293b;
}

/* LINKS */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #22c55e;
    padding-left: 4px; /* micro animação */
}

/* CONTATO */
.footer address {
    font-style: normal;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* DIVISÃO FINAL */
.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    color: #94a3b8;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo-space {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 900px) {

    .main-header {
        padding: 0 20px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
    }

    @media (min-width: 1024px) {
    .about-container p {
        font-size: 1.25rem; /* Aumenta o texto principal */
        line-height: 1.8;    /* Melhora o espaçamento entre linhas para leitura */
    }
    
    .about-container h2 {
        font-size: 2.5rem;   /* Aumenta o título da seção */
        margin-bottom: 20px;
    }
}

    .main-header nav {
    position: fixed;
    top: 40px; /* 🔥 ajuste fino (ou 64px dependendo do header) */
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 0 0 20px; /* 🔥 remove o espaço de cima */
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

    .main-header nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .main-header nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .services,
    .reviews {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
        margin-top: 0;
    }

    .hero p {
        font-size: 16px;
    }
}
@media (max-width: 900px) {
    .hero {
        padding: 30px 20px 50px; /* antes 120px */
    }
}

@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 0;  
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
 nav {
        text-align: center;
    }

    .footer-links {
        padding: 0;
    }

    .footer-links li {
        list-style: none;
    }


/* =========================
   BOTÃO DO DEV
========================= */
.dev-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;

  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;

  border: 1px solid #334155;
  border-radius: 500px;

  transition: 0.3s;
}

.dev-btn:hover {
  color: #fff;
  border-color: #334155;
}

/*SLIDE DE IMAGENS*/

.slider {
    display: flex;
    width: 500%; /* 5 imagens = 500% */
    height: 100%;
    animation: slide-5 15s infinite; /* 3 segundos por imagem (5x3=15) */
}

.slider img {
    width: 20%; /* Cada imagem ocupa 1/5 do container de 500% */
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem achatar */
    object-position: center; /* Mantém o foco no meio da foto */
}

@keyframes slide-5 {
    0% { transform: translateX(0); }
    15% { transform: translateX(0); }       /* Foto 1 parada */
    20% { transform: translateX(-20%); }    /* Transição para Foto 2 */
    35% { transform: translateX(-20%); }    /* Foto 2 parada */
    40% { transform: translateX(-40%); }    /* Transição para Foto 3 */
    55% { transform: translateX(-40%); }    /* Foto 3 parada */
    60% { transform: translateX(-60%); }    /* Transição para Foto 4 */
    75% { transform: translateX(-60%); }    /* Foto 4 parada */
    80% { transform: translateX(-80%); }    /* Transição para Foto 5 */
    95% { transform: translateX(-80%); }    /* Foto 5 parada */
    100% { transform: translateX(0); }      /* Volta para a primeira */
}
