/* Variáveis de Cores */
:root {
    --primary-color: #FF9F43; /* Laranja vibrante */
    --secondary-color: #54A0FF; /* Azul amigável */
    --dark-color: #222f3e;
    --light-color: #feca57;
    --bg-color: #fff9f0; /* Fundo creme suave */
    --white: #ffffff;
    --gray: #777;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Fredoka', sans-serif;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-contato {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(255, 159, 67, 0.4);
}

.btn-contato:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    min-height: 80vh;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.btn-hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(84, 160, 255, 0.4);
}

.btn-hero:hover {
    background-color: #2e86de;
    transform: translateY(-3px);
}

.hero-img {
    flex: 1;
    text-align: right;
}

.hero-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Serviços (Cards) --- */
.services {
    padding: 4rem 5%;
    text-align: center;
    background-color: var(--white);
}

.services h2, .gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.services .subtitle {
    margin-bottom: 3rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Estilo do Card Individual */
.card {
    background: #FFFBF5;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    width: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card:hover, .card.active {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 15px 30px rgba(255, 159, 67, 0.2);
}

/* Círculo do ícone (Pequeno - Card) */
.icon-box {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    background-color: rgba(0,0,0,0.03);
    transition: 0.3s;
}

/* Cores dos ícones baseadas no JSON */
.icon-box.blue, .icon-big.blue i { color: #54A0FF; }
.icon-box.green, .icon-big.green i { color: #2ecc71; }
.icon-box.purple, .icon-big.purple i { color: #9b59b6; }
.icon-box.orange, .icon-big.orange i { color: #e67e22; }

/* Animação do ícone */
.card:hover .icon-box {
    transform: scale(1.1);
}

.card:hover i {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* --- Página de Detalhes (NOVO - SPA) --- */
.details-section {
    padding: 4rem 5%;
    min-height: 80vh;
    background-color: var(--bg-color);
    animation: fadeIn 0.5s ease-in-out;
}

.container-detalhes {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
}

.btn-voltar {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: transparent;
    border: 2px solid #eee;
    color: var(--gray);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-voltar:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.detalhe-content {
    margin-top: 1rem;
}

.icon-big {
    font-size: 5rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.03);
}

.detalhe-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detalhe-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.lista-beneficios {
    text-align: left;
    background: #FFFBF5;
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid #eee;
}

.lista-beneficios h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lista-beneficios ul {
    list-style: none;
}

.lista-beneficios li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.lista-beneficios li::before {
    content: "\f00c"; /* Check icon FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2ecc71;
    margin-right: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Galeria --- */
.gallery {
    padding: 4rem 5%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
}

.socials {
    margin-top: 1rem;
}

.socials a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary-color);
}

/* --- Responsividade (Mobile) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-img img {
        width: 80%;
    }

    /* Ajuste para a Página de Detalhes no celular */
    .container-detalhes {
        padding: 2rem 1rem;
    }
    
    .btn-voltar {
        position: static;
        margin-bottom: 2rem;
        display: inline-flex;
    }
}