:root {
    --color-primary: #05f7a6;
    --color-secondary: #70af9c;
    --color-bg: #0D0C0F;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--color-bg);
    background-image: radial-gradient(circle at top, rgba(5, 247, 166, 0.1) 0%, transparent 50%);
    overflow-x: hidden;
}

/* --- Google Icons Styling --- */
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    font-size: inherit; /* Inherit size from parent */
    display: inline-flex;
    vertical-align: middle;
}

/* Ensure icons scale correctly with Tailwind's text size classes */
.icon-container .material-symbols-outlined,
.solution-icon .material-symbols-outlined,
.icon-wrapper .material-symbols-outlined {
    font-size: inherit; 
    line-height: 1;
}

.icon-container.text-4xl .material-symbols-outlined { font-size: 2.25rem; }
.icon-container.text-5xl .material-symbols-outlined { font-size: 3rem; }
.solution-icon.text-8xl .material-symbols-outlined { font-size: 6rem; }
.icon-wrapper.text-5xl .material-symbols-outlined { font-size: 3rem; }
.idea-center .material-symbols-outlined { font-size: 4rem; color: var(--color-primary); }


/* --- Animações --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 1s ease-out forwards; }
.fade-out {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    pointer-events: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* --- Portas (MODIFICADO) --- */
.door-scene { perspective: 1500px; transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.door-container { 
    width: 100%; 
    height: 420px; /* Altura ajustada para parecer uma porta */
    position: relative; 
    transform-style: preserve-3d; 
}
.door {
    position: absolute; width: 100%; height: 100%;
    transform-origin: left center; transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s, box-shadow 0.5s;
    cursor: pointer; background-color: rgba(23, 21, 28, 0.8);
    border: 2px solid rgba(5, 247, 166, 0.4); 
    border-radius: 8px; /* Bordas suavemente arredondadas */
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 15px 5px rgba(5, 247, 166, 0.2);
}
.door-scene:hover .door { border-color: var(--color-primary); box-shadow: 0 0 35px 8px rgba(5, 247, 166, 0.4); }
.door-scene:hover .door:not(.is-opening) { transform: rotateY(-35deg); }
.door.is-opening { transform: rotateY(-110deg) translateX(10px) scale(0.95); }
.door-content { 
    backface-visibility: hidden; 
    transform: translateZ(1px); 
    position: relative; /* Necessário para a maçaneta */
}
/* Efeito de maçaneta adicionado */
.door-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.door-scene:hover .door-content::after {
    background-color: var(--color-primary);
}


/* --- Seção de Conteúdo --- */
.content-section {
    display: none; opacity: 0; width: 100%;
    transition: opacity 0.5s ease-out;
}
.content-section.visible { display: block; opacity: 1; }

/* --- Animação do Robô --- */
@keyframes robot-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.robot-container { animation: robot-float 5s ease-in-out infinite; }
@keyframes robot-light-blink {
    0%, 48%, 52%, 100% { fill: #f87171; } 50% { fill: var(--color-primary); }
}
.robot-light { animation: robot-light-blink 3s linear infinite; animation-delay: 1s; }

/* --- Botão WhatsApp --- */
.whatsapp-button {
    background: #25D366;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 30px #25d366;
}

/* --- Botão Flutuante WhatsApp --- */
.whatsapp-float-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 25px #25d366;
}
.whatsapp-float-button .material-symbols-outlined {
    font-size: 32px;
}

/* --- Seções da Página --- */
.section-card {
    background-color: rgba(23, 21, 28, 0.7);
    border: 1px solid rgba(5, 247, 166, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Carrossel de Logos --- */
@keyframes scroll-logos {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
.logos-track {
    animation: scroll-logos 40s linear infinite;
}

/* --- Formulário --- */
.form-input {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--color-secondary);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(5, 247, 166, 0.5);
}

/* --- Botões --- */
.action-button { background-color: var(--color-primary); color: #0D0C0F; transition: all 0.3s ease; }
.action-button:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(5, 247, 166, 0.7); }
.back-button { border: 2px solid var(--color-secondary); color: var(--color-secondary); transition: all 0.3s ease; }
.back-button:hover { background-color: var(--color-primary); border-color: var(--color-primary); color: #0D0C0F; box-shadow: 0 0 20px rgba(5, 247, 166, 0.5); }


/* --- Órbita de Ideias --- */
@keyframes orbit {
    from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}
@keyframes orbit-md {
    from { transform: rotate(0deg) translateX(220px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
}

.idea-orbit-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 4rem auto;
}

.idea-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: rgba(5, 247, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(5, 247, 166, 0.3), inset 0 0 20px rgba(5, 247, 166, 0.2);
}

/* Link que envolve o item da órbita */
.orbit-link {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px; 
    margin-left: -40px;
    width: 80px;
    height: 80px;
    animation: orbit 30s linear infinite;
    text-decoration: none;
    color: white;
}
.orbit-link:hover .orbit-item {
    transform: scale(1.2) !important;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(5, 247, 166, 0.5);
    background-color: rgba(5, 247, 166, 0.1);
}
.orbit-link:hover {
    animation-play-state: paused;
}
.orbit-link:nth-of-type(1) { animation-delay: 0s; }
.orbit-link:nth-of-type(2) { animation-delay: -3.75s; }
.orbit-link:nth-of-type(3) { animation-delay: -7.5s; }
.orbit-link:nth-of-type(4) { animation-delay: -11.25s; }
.orbit-link:nth-of-type(5) { animation-delay: -15s; }
.orbit-link:nth-of-type(6) { animation-delay: -18.75s; }
.orbit-link:nth-of-type(7) { animation-delay: -22.5s; }
.orbit-link:nth-of-type(8) { animation-delay: -26.25s; }

.orbit-item {
    width: 100%;
    height: 100%;
    background-color: rgba(23, 21, 28, 0.7);
    border: 1px solid rgba(5, 247, 166, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .idea-orbit-container { width: 440px; height: 440px; }
    .orbit-link { animation-name: orbit-md; }
}

/* --- Seção Concorrentes --- */
.nav-link {
    background-color: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(5, 247, 166, 0.5);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.competitor-card {
    background-color: rgba(23, 21, 28, 0.7);
    border: 1px solid rgba(5, 247, 166, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.competitor-card .icon-wrapper {
    color: var(--color-primary);
    animation: spin 20s linear infinite;
}

.competitor-card.in-view {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 0 35px rgba(5, 247, 166, 0.3);
}

/* --- Seção de Soluções --- */
.solution-card {
    background-color: rgba(23, 21, 28, 0.4);
    border: 1px solid rgba(5, 247, 166, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    opacity: 0.7;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.5s ease, box-shadow 0.5s ease;
}

.solution-card.in-view {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(5, 247, 166, 0.5);
    box-shadow: 0 0 40px rgba(5, 247, 166, 0.1);
}

.solution-card .solution-icon {
    color: var(--color-primary);
    filter: drop-shadow(0 0 15px rgba(5, 247, 166, 0.6));
}