/* =========================================
   VARIÁVEIS & RESET
   ========================================= */
:root {
    /* Paleta de Cores - Acolhedora e Terrosa */
    --primary: #D8743C;      /* Terracota - Acolhimento e Ação */
    --primary-light: #E8D6C3; /* Bege Quente - Suavidade */
    --primary-dark: #B55D2C; /* Terracota Escuro (Hover) */
    --secondary: #7F8F8A;    /* Verde Acinzentado - Serenidade e Saúde */
    --accent: #9C8574;       /* Marrom Claro - Estabilidade */
    --accent-light: #E8D6C3;
    
    --bg-light: #F7F4EF;     /* Off-white Quente */
    --bg-white: #FFFFFF;
    --text-main: #4A403A;    /* Marrom Café Escuro (Legibilidade) */
    --text-light: #7F8F8A;   /* Verde Acinzentado (Apoio) */
    --border: #E8D6C3;       /* Bege Quente */

    /* Tipografia */
    --font-heading: 'Nunito', sans-serif; /* Arredondada e amigável */
    --font-body: 'Open Sans', sans-serif; /* Alta legibilidade */

    /* Espaçamento */
    --container-padding: 2rem;
    --section-spacing: 6rem; /* Mais respiro = Mais clean */
    --radius: 24px;          /* Bordas bem arredondadas = Acolhimento */
    --shadow: 0 10px 40px -10px rgba(156, 133, 116, 0.15); /* Sombra Marrom Claro */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7; /* Leitura mais confortável */
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

img { max-width: 100%; display: block; }

/* =========================================
   COMPONENTES
   ========================================= */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section { padding: var(--section-spacing) 0; }

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.text-center { text-align: center; }

/* Botões */
.btn-primary, .btn-outline {
    display: inline-flex;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(216, 116, 60, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* =========================================
   HEADER & NAV
   ========================================= */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary);
}

.nav-desktop { display: none; }
.btn-header { display: none; }

/* Menu Mobile */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active { right: 0; }

.menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding-top: 160px;
    padding-bottom: 6rem;
    background: radial-gradient(circle at top right, rgba(216, 116, 60, 0.1) 0%, transparent 40%), linear-gradient(180deg, #FFFFFF 0%, #F7F4EF 100%);
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(216, 116, 60, 0.1);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =========================================
   SEÇÕES (Cards, Steps, FAQ)
   ========================================= */
.cards-grid {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Sombra inicial muito sutil */
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--primary);
    display: block;
}

.card h3 { margin-bottom: 1rem; color: var(--secondary); font-size: 1.35rem; }
.card p { color: var(--text-light); font-size: 0.95rem; }

.about-section { background: white; }
.credentials {
    list-style: none;
    margin-top: 1.5rem;
}
.credentials li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start; /* Alinhamento mais natural */
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -10px rgba(216, 116, 60, 0.15);
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text p { margin-bottom: 1rem; }

.steps-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
}

.step-num {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--accent-light);
    color: var(--secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cta-wrapper { text-align: center; }

/* FAQ */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--secondary);
    list-style: none; /* Remove triângulo padrão */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

/* Ícone customizado para o FAQ */
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-item p { margin-top: 1rem; color: var(--text-light); line-height: 1.8; }

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-disclaimer { opacity: 0.7; margin: 1rem 0; font-size: 0.8rem; }

.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========================================
   MEDIA QUERIES (Desktop)
   ========================================= */
@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .nav-desktop { display: flex; gap: 2rem; }
    .nav-desktop a:hover { color: var(--primary); }
    .btn-header { display: inline-flex; }

    .hero h1 { font-size: 3.5rem; }
    .hero-actions { flex-direction: row; justify-content: center; }

    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: 1fr 1fr; }

    .about-container {
        flex-direction: row; /* Imagem à esquerda, texto à direita */
        align-items: center;
    }
    .about-image {
        flex: 0 0 40%; /* Imagem ocupa 40% da largura */
        margin-right: 3rem;
    }
}

/* Social Link Footer */
.footer-social {
    margin: 1.5rem 0;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: white;
    color: var(--secondary);
    transform: translateY(-2px);
}