/*
  PALETA DE CORES - Agência 20k Gold
  - Cor Primária (Escuro/Texto): #2b2b2b
  - Cor de Destaque (Rosa Forte): #D3A6A0
  - Fundo Principal (Rosa Claro): #EAD1D1
  - Fundo Secundário (Super Claro): #FAF6F6
  - Cor de Texto (Claro): #ffffff
*/

:root {
    --primary-color: #2b2b2b;       /* Preto suave para textos e botões */
    --secondary-color: #D3A6A0;    /* Rosa mais forte para destaques e hovers */
    --accent-color: #EAD1D1;       /* Rosa claro principal da identidade */
    --background-light: #FAF6F6;   /* Quase branco com um toque de rosa */
    --text-dark: #2b2b2b;
    --text-light: #ffffff;
    --font-family: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 1000;
    background-color: var(--accent-color);
    backdrop-filter: blur(10px);
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: 110px;
    padding-left: 1px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--background-light);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: var(--background-lightr);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.whatsapp-link i {
    font-size: 24px;
    color: var(--primary-color); /* Cor oficial do WhatsApp */
}

.whatsapp-link span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

section[id] {
    scroll-margin-top: 90px;
}

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: var(--text-light);
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background-hero.png');
    background-position: center;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    color: var(--text-light);
    background-color: var(--secondary-color);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.services-section, .apps-section {
    padding: 80px 30px;
    text-align: center;
    background-color: #ffffff;
}

.services-section h2, .apps-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    margin-top: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-container, .apps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-card {
    background-color: var(--background-light);
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.apps-section {
    background-color: var(--background-light);
}

.app-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.app-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 20px;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-us-section {
    padding: 80px 30px;
    background-color: white;
    color: var(--text-dark);
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us-logo {
    width: 280px;
    height: auto;
    margin-bottom: 30px;
}

.about-us-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.purpose-section {
    padding: 80px 30px;
    background-color: var(--accent-color);
}

.purpose-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.purpose-section > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.purpose-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-5px);
}

.purpose-card-content {
    padding: 35px 30px;
    text-align: center;
}

.purpose-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.purpose-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.purpose-description {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-section {
    padding: 80px 30px;
    text-align: center;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.contact-section h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact-section > p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    padding: 40px 30px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.contact-card h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.contact-card p {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    word-wrap: break-word;
}

.social-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    color: var(--text-light);
    font-size: 35px;
    text-decoration: none;
    background-color: #25D366; /* WhatsApp Green */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-bar a:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

footer {
    padding: 25px 20px;
    text-align: center;
    color: var(--text-dark);
    background-color: white;
    border-top: 1px solid #eee;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Estilos para Páginas Legais (termos.html, privacidade.html) */
.legal-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 20px 50px 20px;
}
.legal-page-content h1 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.legal-page-content > p:first-of-type {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
}
.legal-page-content h2 {
    font-size: 1.9rem;
    margin-top: 45px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary-color);
}
.legal-page-content p, .legal-page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 1.2em;
}
.legal-page-content strong {
    color: var(--text-dark);
}
.legal-page-content ul {
    padding-left: 20px;
}

/* Banner de Consentimento de Cookies */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

#consent-banner.hidden {
    transform: translateY(150%);
}

.consent-text {
    font-size: 0.9rem;
}

.consent-text a {
    color: #8ab4f8;
    text-decoration: underline;
}

#accept-consent-btn {
    flex-shrink: 0;
}

/* Responsividade para Dispositivos Móveis */
@media (max-width: 768px) {
    header {
        height: 80px;
        padding: 0 20px;
    }

    .logo {
        width: 90px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
    }

    header.open {
        background-color: var(--accent-color);
    }

    header.open nav {
        display: block;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        background-color: var(--accent-color);
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
    }

    header nav ul li a {
        display: block;
        padding: 18px 0;
        text-align: center;
        width: 100%;
    }

    header nav ul li a:hover {
        background-color: var(--background-light);
    }

    .whatsapp-link {
        justify-content: center;
        padding: 15px 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    header.open .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    header.open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    header.open .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    section[id] {
        scroll-margin-top: 80px;
    }
    
    .hero-content {
        margin-top: -80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .services-section, .apps-section, .purpose-section, .contact-section, .about-us-section {
        padding: 60px 20px;
    }

    .services-section h2, .apps-section h2, .purpose-section h2, .contact-section h2, .legal-page-content h1 {
        font-size: 2.2rem;
    }
    
    footer {
        padding-bottom: 25px; /* Reduzido pois o social bar não empurra mais o conteúdo */
    }

    #consent-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}