:root {
    --bg-main: #F7F7FA; /* Fundo super suave para deixar a gelatina brilhar */
    --text-main: #3D0C11; /* Amora Profundo - Nossa alternativa sofisticada ao preto */
    --text-muted: #626280; /* Um tom escurecido de lavanda para textos longos */
    
    /* A Paleta Gradual */
    --brand-lavanda: #A2A2D0; /* Lavanda Digital - Calma e clareza */
    --brand-amora: #3D0C11; /* Amora Profundo - Maturidade e seriedade */
    --brand-acido: #CCFF00; /* Verde Menta Ácido - Disrupção total */
    --brand-coral: #FF6F61; /* Coral Atômico - Vitalidade humana */
    --brand-gelatina: rgba(224, 242, 241, 0.6); /* Azul Gelatina - Profundidade e camadas */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Fundo gradual: de um branco suave no topo para toques sutis de Lavanda */
    background-image: linear-gradient(to bottom, transparent 0%, rgba(162, 162, 208, 0.1) 100%);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--brand-amora);
}

.gradient-text {
    /* Gradiente vibrante quebrando a seriedade do Amora */
    background: linear-gradient(135deg, var(--brand-coral) 0%, var(--brand-amora) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--brand-coral); /* Destaques ganham o toque atômico e vital */
}

/* Navbar - Usando a Gelatina para profundidade 3D */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-gelatina); /* Azul gelatina translúcido */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--brand-amora);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-acido); /* O ponto disruptivo logo de cara */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.6);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--brand-amora);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Botoes - Aqui entra a disrupção! */
.btn-primary, .btn-primary-outline, .btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    /* Verde Menta Ácido brilhando! Alto contraste com texto Amora */
    background: var(--brand-acido);
    color: var(--brand-amora);
    border: none;
    box-shadow: 0 6px 15px rgba(204, 255, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 255, 0, 0.6);
    background: #d4ff33;
}

.btn-primary-outline {
    background: transparent;
    color: var(--brand-amora);
    border: 2px solid var(--brand-amora);
}

.btn-primary-outline:hover {
    background: rgba(61, 12, 17, 0.05);
}

.btn-secondary {
    background: var(--brand-gelatina);
    color: var(--brand-amora);
    border: 1px solid rgba(162, 162, 208, 0.3);
}

.btn-secondary:hover {
    background: rgba(162, 162, 208, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 111, 97, 0.1);
    color: var(--brand-coral);
    border: 1px solid rgba(255, 111, 97, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--brand-amora);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

/* Efeito Visual do Caos para Ordem */
.hero-visual {
    flex: 0.8;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chaos-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    width: 3px;
    border-radius: 3px;
    animation: drift 8s infinite alternate ease-in-out;
}

/* O caos usa as cores emocionais (Coral) e calmas (Lavanda) até se romper na estrutura (Amora) */
.line-1 { left: 20%; height: 70%; top: 5%; transform: rotate(25deg); background: linear-gradient(to bottom, transparent, var(--brand-coral), transparent); }
.line-2 { left: 40%; height: 90%; top: 0%; transform: rotate(-35deg); background: linear-gradient(to bottom, transparent, var(--brand-lavanda), transparent); animation-delay: -2s; }
.line-3 { left: 60%; height: 60%; top: 20%; transform: rotate(55deg); background: linear-gradient(to bottom, transparent, var(--brand-coral), transparent); animation-delay: -4s; }
.line-4 { left: 80%; height: 80%; top: 10%; transform: rotate(-15deg); background: linear-gradient(to bottom, transparent, var(--brand-amora), transparent); animation-delay: -6s; }

.line-5-flow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    height: 340px;
    border: 3px solid transparent;
    border-top-color: var(--brand-amora);
    border-right-color: var(--brand-amora);
    border-bottom-color: rgba(61, 12, 17, 0.2);
    border-left-color: rgba(255, 111, 97, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 15s linear infinite;
    opacity: 0.8;
}

.glass-orb {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--brand-gelatina); /* O orb é puramente gelatina, criando profundidade */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 15px 35px rgba(162, 162, 208, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb::after {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--brand-acido); /* O miolo é disruptivo */
    border-radius: 50%;
    box-shadow: 0 0 30px var(--brand-acido);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes drift {
    0% { transform: translateY(0) rotate(20deg); opacity: 0.6; }
    100% { transform: translateY(30px) rotate(25deg); opacity: 1; }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* Sections Base */
section {
    padding: 8rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    color: var(--brand-amora);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Grid de Cards - As Dores e a Profundidade */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--brand-gelatina); /* Todos os cards com camada 3D de gelatina */
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(162, 162, 208, 0.15);
}

/* Hovers disruptivos e emocionais */
.cards-grid .glass-card:nth-child(1):hover {
    border-color: var(--brand-coral);
    box-shadow: 0 15px 35px rgba(255, 111, 97, 0.2);
    transform: translateY(-8px);
}
.cards-grid .glass-card:nth-child(2):hover {
    border-color: var(--brand-acido);
    box-shadow: 0 15px 35px rgba(204, 255, 0, 0.2);
    transform: translateY(-8px);
}
.cards-grid .glass-card:nth-child(3):hover {
    border-color: var(--brand-lavanda);
    box-shadow: 0 15px 35px rgba(162, 162, 208, 0.3);
    transform: translateY(-8px);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.glass-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--brand-amora);
}

.glass-card p {
    color: var(--text-muted);
    font-weight: 400;
}

/* Seção de Solução - Estrutura Analítica */
.solution-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: rgba(162, 162, 208, 0.08); /* Lavanda super sutil no fundo */
    border-top: 1px solid rgba(162, 162, 208, 0.2);
    border-bottom: 1px solid rgba(162, 162, 208, 0.2);
}

.solution-content {
    flex: 1;
}

.solution-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.solution-text strong {
    color: var(--brand-amora);
    font-weight: 700;
}

.features-list {
    list-style: none;
    margin-top: 2.5rem;
}

.features-list li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--brand-amora);
    font-weight: 600;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--brand-acido);
    color: var(--brand-amora);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(204, 255, 0, 0.4);
}

.solution-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Animação do Radar */
.radar-container {
    width: 360px;
    height: 360px;
    position: relative;
    border-radius: 50%;
    background: var(--brand-gelatina);
    border: 2px solid rgba(162, 162, 208, 0.4);
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(162, 162, 208, 0.6);
}

.rc-1 { width: 120px; height: 120px; }
.rc-2 { width: 240px; height: 240px; }
.rc-3 { width: 360px; height: 360px; border-style: solid; }

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    background: conic-gradient(from 0deg, transparent 70%, rgba(255, 111, 97, 0.3) 100%); /* O radar de calor humano (Coral) */
    transform-origin: 0 0;
    animation: radar-spin 4s linear infinite;
    border-radius: 0 100% 0 0;
}

.radar-dot {
    position: absolute;
    top: 25%;
    left: 65%;
    width: 14px;
    height: 14px;
    background: var(--brand-acido); /* O problema é hackeado pelo ácido */
    border-radius: 50%;
    box-shadow: 0 0 15px var(--brand-acido);
    animation: blink 3s infinite;
}

/* History Section - A Jornada Visual */
.history-section {
    background: transparent;
}

.history-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.history-text {
    flex: 1.5;
    border-left: 4px solid var(--brand-amora);
    border-radius: 0 24px 24px 0;
    background: var(--brand-gelatina); /* Fundo de gelatina em vez do branco duro */
    backdrop-filter: blur(10px);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(162, 162, 208, 0.1);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.history-text h3 {
    color: var(--brand-amora);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    margin-top: 1rem;
    font-weight: 700;
}

.history-text h3:first-child {
    margin-top: 0;
}

.history-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 200px;
}

.ts-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid rgba(162, 162, 208, 0.5);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

/* A jornada das cores: da emoção -> disruptivo -> maturidade */
.timeline-step:nth-child(1) .ts-dot { border-color: var(--brand-coral); }
.timeline-step:nth-child(3) .ts-dot { border-color: var(--brand-acido); background: rgba(204, 255, 0, 0.2); }
.timeline-step:nth-child(5) .ts-dot { border-color: var(--brand-amora); background: var(--brand-amora); box-shadow: 0 0 15px rgba(61, 12, 17, 0.4); }

.ts-content {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-amora);
}

.timeline-line {
    height: 60px;
    width: 4px;
    border-radius: 2px;
}

.timeline-line:nth-child(2) { background: linear-gradient(to bottom, var(--brand-coral), var(--brand-acido)); }
.timeline-line:nth-child(4) { background: linear-gradient(to bottom, var(--brand-acido), var(--brand-amora)); }

/* Team Section - Ambiente Organizado */
.team-section {
    background: linear-gradient(to bottom, rgba(162, 162, 208, 0.1), transparent);
}

.team-card {
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    background: var(--brand-gelatina);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-coral);
    box-shadow: 0 15px 40px rgba(255, 111, 97, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(61, 12, 17, 0.1);
    background-size: cover;
    background-position: center;
}

.pat-avatar {
    border: 4px solid var(--brand-amora);
    background-image: url('pat-perfil.jpg.png');
}

.team-avatar-bg {
    border: 4px solid var(--brand-coral);
    background-image: radial-gradient(circle, rgba(255, 111, 97, 0.1) 0%, transparent 70%);
}

.team-role {
    color: var(--brand-coral);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section - A Maturidade no Amora Profundo */
.contact-section {
    background: transparent;
}

.contact-container {
    display: flex;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: none;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(61, 12, 17, 0.1);
}

.contact-info {
    flex: 1;
    padding: 4rem;
    background: var(--brand-amora); /* O ponto focal de ancoragem pesada */
    color: #fff;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cm-icon {
    font-size: 1.8rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--brand-acido); /* O ícone salta em menta ácido */
}

.cm-text h4 {
    color: #fff;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.cm-text p {
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.contact-form {
    flex: 1.2;
    padding: 4rem;
    background: var(--brand-gelatina); /* Usa a gelatina no formulário */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brand-amora);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.8);
    border: 2px solid rgba(162, 162, 208, 0.4);
    border-radius: 12px;
    color: var(--brand-amora);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-acido);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid rgba(162, 162, 208, 0.2);
    padding: 5rem 5% 2rem;
    background: rgba(162, 162, 208, 0.05); /* Um suspiro final de Lavanda */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    color: var(--brand-amora);
}

.footer-brand p {
    color: var(--text-muted);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--brand-coral);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(162, 162, 208, 0.2);
    padding-top: 2rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 3rem; }
    .hero { gap: 2rem; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
        padding-bottom: 6rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .solution-section {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .features-list li {
        justify-content: center;
    }
    
    .history-content {
        flex-direction: column;
    }
    
    .history-text {
        border-left: none;
        border-top: 4px solid var(--brand-amora);
        border-radius: 24px;
        padding: 2rem;
    }

    .contact-container {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-info, .contact-form {
        padding: 3rem 2rem;
    }
    
    .contact-info {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .radar-container {
        width: 280px;
        height: 280px;
    }
    
    .rc-1 { width: 90px; height: 90px; }
    .rc-2 { width: 180px; height: 180px; }
    .rc-3 { width: 280px; height: 280px; }
    
    .radar-sweep { width: 140px; height: 140px; }
}
