:root {
    --roxo: #6f2dbd;
    --roxo-escuro: #3b0d69;
    --cinza: #f6f2fb;
    --branco: #fff;
}

/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

.section {
    padding: 100px 20px;
    text-align: center;
}

.light {
    background: var(--cinza);
}

.hero {
    background: linear-gradient(135deg, var(--roxo-escuro), var(--roxo));
    color: #fff;
    padding-top: 160px;
}

.highlight {
    background: var(--roxo-escuro);
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box;
}

.card.purple {
    background: var(--roxo);
    color: #fff;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* Botão principal animado */
.btn-primary {
    background: var(--roxo);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.btn-primary:hover {
    background: var(--roxo-escuro);
    box-shadow: 0 8px 20px rgba(111,45,189,0.4);
    transform: translateY(-3px);
}

.btn-primary::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 0 rgba(111,45,189,0.6);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(111,45,189,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(111,45,189,0); }
    100% { box-shadow: 0 0 0 0 rgba(111,45,189,0); }
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

/* ===== NAVBAR ===== */
/* Menu fixo */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--roxo-escuro);
    z-index: 1000;
}

/* Container do menu */
.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lista de links */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    position: relative;
}

/* Links */
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animado que segue o mouse */
.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--cinza); /* muda a cor do texto */
}

.nav-links a:hover::before {
    width: 100%; /* underline se expande */
}

/* Linha animada contínua (seguindo o mouse) */
.nav-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* JS simples para efeito mais fluido (opcional) */


/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
}

.logo-img {
    width: 260px;
    height: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #12041f;
    color: #fff;
    text-align: center;
    padding: 30px;
}

/* ===== FADE ANIMATION ===== */
.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTATO ===== */
.contact {
    background: linear-gradient(135deg, #2a063f, #1d082f);
    color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.form-group input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button {
    padding: 16px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(111,45,189,0.4);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--roxo-escuro);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}
/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5b;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  color: white; /* faz o ícone ficar branco */
}

/* Animação dos caminhos */
#logoAnimado path {
  stroke-dasharray: 1000; 
  stroke-dashoffset: 1000;
  animation: desenhar 4s ease forwards;
}

/* Animação de traçar (efeito circuito passando) */
@keyframes desenhar {
  to {
    stroke-dashoffset: 0;
  }
}
