/* Reset Local e Variáveis */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.about-page {
    --purple-glow: #8a2be2;
    --blue-glow: #00d2ff;
    --dark-deep: #050214;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-deep);
    color: var(--text-white);
    line-height: 1.6;
    
}
/* --- Container Principal --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* --- Seção de Introdução (Quem Somos) --- */
.intro-section {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
    margin-top: -50px;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--purple-glow));
    background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
    -webkit-text-fill-color: transparent;
}

.intro-content p.lead {
    font-size: 20px;
    color: var(--blue-glow);
    margin-bottom: 20px;
    font-weight: 500;
}

.intro-content p {
    color: var(--text-gray);
    font-size: 17px;
}

/* Visual Alien (A Esfera) */
.intro-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.alien-glow {
    width: 300px;
    height: 300px;
    background: var(--purple-glow);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 5s infinite ease-in-out;
}

.projects-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
}

.projects-badge span {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
}

/* --- Seção História e Propósito --- */
.purpose-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 100%);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 120px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.purpose-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* --- Grid de O que Fazemos --- */
.services-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

.services-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 120px;
}

.service-card-about {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
}

.service-card-about:hover {
    border-color: var(--blue-glow);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
}

.service-card-about i {
    font-size: 40px;
    color: var(--blue-glow);
    margin-bottom: 20px;
    display: block;
}

/* ============================================================
   NOSSO DIFERENCIAL - ESTILO REFERÊNCIA
   ============================================================ */

/* Variáveis locais para este componente */
.differentials-section {
    --bg-color: #050214; /* Cor de fundo escura */
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.03); /* Fundo sutil para os cards */
    --card-border: rgba(255, 255, 255, 0.1); /* Borda do card */

    /* Gradientes para os ícones */
    --purple-icon-gradient: linear-gradient(135deg, #8a2be2 0%, #4a00e0 100%);
    --blue-icon-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --pink-icon-gradient: linear-gradient(135deg, #ff00cc 0%, #ff6666 100%);
    --teal-icon-gradient: linear-gradient(135deg, #00ffc8 0%, #008080 100%);
    --red-icon-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --orange-icon-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);

    padding: 10px 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
}

.differentials-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.diff-main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(
    to right, 
    #4facfe 0%, 
    #00f2fe 25%, 
    #f093fb 50%, 
    #f5576c 75%, 
    #4facfe 100%
  );
    background-clip: text;
    background-size: 200% auto; 
    -webkit-background-clip: text; /* Versão Webkit (Safari/Chrome) */
    -webkit-text-fill-color: transparent;
    animation: animaGradiente 3s linear infinite;
}

@keyframes animaGradiente {
  to { background-position: 200% center; }
}



.diff-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.diff-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px; /* Garante altura mínima para alinhamento */
}

.diff-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.diff-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--text-color); /* Ícone branco, o brilho vem do wrapper */
    position: relative;
    overflow: hidden; /* Para o brilho interno */
}

/* Aplica os gradientes de fundo aos wrappers */
.purple-gradient { background: var(--purple-icon-gradient); }
.blue-gradient { background: var(--blue-icon-gradient); }
.pink-gradient { background: var(--pink-icon-gradient); }
.teal-gradient { background: var(--teal-icon-gradient); }
.red-gradient { background: var(--red-icon-gradient); }
.orange-gradient { background: var(--orange-icon-gradient); }

/* Efeito de brilho sutil */
.diff-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0.8;
    mix-blend-mode: soft-light;
}


.diff-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.diff-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsividade */
@media (max-width: 768px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
    .diff-main-title {
        font-size: 36px;
    }
}

/* --- Call To Action Final --- */
.cta-about {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
}

.cta-about h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 30px;
    transition: 0.3s;
}

.btn-contact:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile */
@media (max-width: 900px) {
    .intro-section, .diff-container {
        flex-direction: column;
        text-align: center;
    }
    .intro-content h2 { font-size: 40px; }
    .diff-items-grid { grid-template-columns: 1fr; }
}

.back-portal {
    width: fit-content; /* Largura automática para não ocupar a linha toda */
    position: relative;
    margin-bottom: 85px;
    display:block;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background: rgba(138, 43, 226, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 12px;
}

/* Brilho interno que pulsa */
.inner-glow {
    position: absolute;
    top: 0;
    left: -1000%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 210, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.back-portal i {
    font-size: 20px;
    color: #8a2be2; /* Cor Roxa Alien */
    transition: all 0.3s ease;
}

/* --- EFEITOS DE HOVER --- */

.back-portal:hover {
    transform: translateX(5px);
    background: rgba(138, 43, 226, 0.1);
    border-color: #00d2ff; /* Muda para o azul no hover */
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2),
                inset 0 0 10px rgba(0, 210, 255, 0.1);
}

.back-portal:hover .inner-glow {
    left: 10%;
    transition: 0.6s;
}

.back-portal:hover i {
    color: #00d2ff;
    transform: translateX(-3px);
}

.back-portal:active {
    transform: scale(0.95);
}

/* Responsividade Mobile */
@media (max-width: 900px) {
    .back-portal {
        display: flex;          /* Muda para flex para respeitar margens */
        width: max-content;     /* Garante que o fundo não ocupe a largura toda */
        margin: 0 auto 30px auto; /* Centraliza horizontalmente e mantém espaço inferior */
        justify-content: center;
        font-size: 16px;        /* Ajuste leve na fonte para telas menores */
    }

    .intro-content {
        display: flex;
        flex-direction: column;
        align-items: center;    /* Garante que tudo dentro do conteúdo alinhe ao centro */
        text-align: center;
    }
}

/* ===== FOOTER ===== */
.footer { 
  background-color: #050214;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Logo */
.footer-logo img {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(146, 17, 238, 0.8));
}
/* Texto */

.footer-text{
background:#050214;
}
.footer-text p {
  font-size: 0.95rem;
  text-align: center;
  font-weight: 500;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  padding-bottom: 80px;
}