/* Reset e fonte */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

html { scroll-behavior: smooth; }


/* <weight>: Use a value from 100 to 900 */
/* <uniquifier>: Use a unique and descriptive class name */



body { 
    background-color: #fff; 
    color: #000; 
    line-height: 1.6; 
}

#sobre p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Menu fixo no topo */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topbar nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    gap: 40px;
}

.topbar nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.topbar nav ul li a:hover {
    color: #0A2F66; /* azul escuro hover */
}

/* Header com logo */
header {
    padding: 20px 20px; /* diminui de 60px para 40px */
    text-align: center;
}

header .logo-topo {
    max-width: 500px;
    width: 80%;
    height: auto;
    margin: auto;
    display: block;
}

/* Seções */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Títulos das seções */
section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Container de cards */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; /* centra linhas com menos de 3 cards */
}

/* Cards */
.card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(10,47,102,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px; /* aumenta largura dos cards */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10,47,102,0.3);
}

/* Título do card */
.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
}

/* Preço */
.price {
    font-size: 24px;
    color: #0A2F66; /* azul escuro */
    font-weight: 700;
    margin-bottom: 15px;
}

/* Parágrafo do card */
.card p {
    font-size: 15px;
    color: #111;
}

/* Formulário */
form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    font-size: 16px;
    border-radius: 6px;
}

textarea {
    resize: none;
    height: 120px;
}

button {
    background-color: #0A2F66;
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s;
}

button:hover {
    background-color: #083061;
}

/* Footer */
.dark-footer {
    background: #0a1f44;
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
}

.dark-footer p {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 14px;
    letter-spacing: 1px;
}

.dark-footer .social-links a {
    margin: 0 25px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dark-footer .social-links a:hover {
    opacity: 0.7;
}



/* Responsividade */
@media screen and (max-width: 992px) {
    .card { width: 45%; }
}

@media screen and (max-width: 600px) {
    .card { width: 90%; }
    .topbar nav ul { gap: 20px; flex-wrap: wrap; }
}

/* WHATSAPP */

.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #0a1f44; /* azul escuro */
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-button:hover {
    background-color: #132e66; /* azul um pouco mais claro */
    transform: translateY(-3px);
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.popup-content {
  background-color: #fff;
  padding: 30px;
  margin: 15% auto;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 25px;
  cursor: pointer;
}