:root{
  --blue:#3d5cff;
  --purple:#b833ff;
  --bg:#070b24;
  --text:#f4f3ff;
  --muted:#d8d7e6;
  --soft:#bcbad1;
  --border:rgba(255,255,255,0.12);
  --glass:blur(16px);
  --nav:rgba(10,12,36,0.48);
  --card:rgba(255,255,255,0.06);
  --shadow:0 20px 60px rgba(0,0,0,0.35);
  --glow:0 0 24px rgba(88,108,255,0.35), 0 0 36px rgba(184,51,255,0.18);
  --radius:24px;
}

body{
  margin:0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

.container{
  width:min(1180px, calc(100% - 44px));
  margin:0 auto;
}

/* NAV */
.nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  background:var(--nav);
  backdrop-filter:var(--glass);
  -webkit-backdrop-filter:var(--glass);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.portfolio-nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 60px;
}

.brand-logo{
  height: 39px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.brand-text{
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #eebaff;
  white-space: nowrap;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
}

.nav-links a{
  text-decoration:none;
  color:#f1efff;
  font-size:1.05rem;
  font-weight:500;
  opacity:0.92;
  transition:0.25s ease;
}

.nav-links a:hover{
  opacity:1;
  color:#fff;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  color:#fff;
  font-weight:700;
  border-radius:18px;
  padding:14px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:0.25s ease;
  backdrop-filter:var(--glass);
  -webkit-backdrop-filter:var(--glass);
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  border:none;
  background:linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow:var(--glow);
}

.btn-primary:hover{
  filter:brightness(1.05);
}

/* HERO */
.portfolio-hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  text-align:center;
  background-image:
    linear-gradient(rgba(7,11,36,0.30), rgba(7,11,36,0.38)),
    url("../img/background.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 48%, rgba(182,68,255,0.20), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(61,92,255,0.16), transparent 24%),
    radial-gradient(circle at 85% 40%, rgba(184,51,255,0.16), transparent 22%);
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:2;
  padding-top:110px;
  padding-bottom:40px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
}

.hero-copy{
  max-width:950px;
}

.hero-name{
  margin:0 0 8px;
  font-size:clamp(2.5rem, 5vw, 3.8rem); /* antes estava gigante */
  line-height:1.05;
  font-weight:800;
  letter-spacing:-0.04em;
  color:#f7f4ff;
}

.hero-role{
 margin:0;
  font-size:clamp(1.6rem, 3.5vw, 2.6rem);
  line-height:1.1;
  font-weight:700;
  letter-spacing:-0.02em;

  background: linear-gradient(
    90deg,
    #5b6cff,
    #a855f7,
    #d946ef,
    #5b6cff
  );

  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-lead{
  max-width:600px; /* antes muito largo */
  margin:20px auto 0;
  font-size:clamp(0.95rem, 1.2vw, 1.1rem);
  line-height:1.6;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-top:34px;
  flex-wrap:wrap;
}

.hero-btn-primary,
.hero-btn-secondary{
  min-width:120px;
  min-height:30px;
  font-size:0.95rem;
  border-radius:14px;
  padding: 12px 20px;
}

.hero-btn-secondary{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
}

.chips{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:54px;
}

.chip{
  min-width:20px;
  padding:16px 22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(37, 16, 48, 0.34);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#f2f1ff;
  font-size:1rem;
  font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
}

/* MENU MOBILE */
.menu{
  position:fixed;
  inset:0;
  z-index:100;
  opacity:0;
  pointer-events:none;
  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(8px);
  transition:opacity .25s ease;
}

.menu.open{
  opacity:1;
  pointer-events:auto;
}

.menu-panel{
  position:absolute;
  right:14px;
  top:82px;
  width:min(360px, calc(100% - 28px));
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(22, 10, 36, 0.82);
  box-shadow:var(--shadow);
  padding:12px;
  transform:translateY(-10px);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
}

.menu.open .menu-panel{
  transform:translateY(0);
  opacity:1;
}

.menu-panel a{
  display:block;
  padding:14px 12px;
  border-radius:14px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  margin:4px 0;
}

.menu-panel a:hover{
  background:rgba(255,255,255,0.06);
}

/* RESPONSIVO */
.desktop-only{ display:flex; }
.mobile-only{ display:none; }

@media (max-width: 900px){
  .desktop-only{ display:none !important; }
  .mobile-only{ display:inline-flex; }

  .portfolio-nav{
    min-height:76px;
  }

  .hero-content{
    padding-top:120px;
  }

  .hero-name{
    font-size:clamp(2.6rem, 12vw, 4.3rem);
  }

  .hero-role{
    font-size:clamp(1.7rem, 8vw, 3rem);
  }

  .hero-lead{
    font-size:1rem;
  }

  .chip{
    min-width:auto;
    padding:14px 18px;
    font-size:0.95rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary{
    min-width:180px;
    min-height:56px;
    font-size:1rem;
  }
}

/* --- SEÇÃO PROJETOS --- */
.projetos-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  margin-top: 60px;
  align-items: center;
  width: 100%;
}

.conteudo-projetos {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 383px));
    justify-content: center;
    gap: 25px;
}

.project-card {
    background: #09050d;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    cursor: pointer;

    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.45),
        0 0 0 rgba(51, 0, 255, 0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(162, 0, 255, 0.35), rgba(255, 0, 85, 0.18), rgba(255,255,255,0.06));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(140, 0, 255, 0.28);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(144, 0, 255, 0.12),
        0 0 50px rgba(72, 0, 255, 0.08);
}

.project-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -60px;
    background: radial-gradient(circle, rgba(136, 0, 255, 0.22), transparent 70%);
    pointer-events: none;
    opacity: 0.8;
    transition: 0.4s ease;
}

.project-card:hover::after {
    transform: scale(1.1);
    opacity: 1;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #1e0b20;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(9, 5, 13, 0.1) 0%, rgba(10, 5, 13, 0.18) 30%, rgba(11, 5, 13, 0.82) 100%);
    pointer-events: none;
}

.project-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;

    background: rgba(14, 10, 18, 0.92);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.project-content {
    position: relative;
    background: #07050d;
    padding: 34px 28px 24px;
}

.project-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.project-content h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.project-arrow span {
    font-size: 1.35rem;
}

.project-card:hover {
    border-color: rgba(162, 0, 255, 0.35);
    box-shadow: 0 0 18px rgba(123, 0, 255, 0.12);
}

.project-card:hover .project-arrow span {
    transform: translateX(4px);
}

.project-content p {
    margin: 0 0 26px;
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 95%;
}

/* ===== FOOTER ===== */
.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== TECH ICONS ===== */
.project-techs {
    display: flex;
    align-items: center;
}

.tech-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1f1a24;
    border: 4px solid #120b19;

    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    font-size: 1.45rem;

    position: relative;
    transition: transform 0.25s ease;
}

.project-techs i {
    font-size: 1.45rem;
}

/* deixa eles bem juntinhos / sobrepostos */
.tech-icon + .tech-icon {
    margin-left: -10px;
}

.tech-icon:hover {
    transform: translateY(-3px);
    z-index: 5;
}

/* ===== BUTTON ===== */
.btn-ver-mais {
    background: transparent;
    border: none;
    padding: 0;

    color: #6200ff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;

    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.btn-ver-mais:hover {
    color: #b067f9;
    transform: translateX(2px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 220px;
    }

    .project-content {
        padding: 30px 22px 22px;
    }

    .project-content h3 {
        font-size: 1.6rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .project-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.85);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 999;
}

/* ===== TABS ===== */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(168, 56, 248, 0.5);
    color: #d8cbe1;
    border: 1px solid rgba(110, 56, 248, 0.15);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s ease;
    margin-bottom: 20px;
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(168, 56, 248, 0.5);
    box-shadow: 0 0 12px rgba(110, 56, 248, 0.15);
}

.tab-btn.active {
    background: rgba(98, 56, 248, 0.12);
    color: #c238f8;
    border-color: rgba(117, 56, 248, 0.5);
    box-shadow: 0 0 14px rgba(133, 56, 248, 0.18);
}

.modal-tab-content {
    margin-top: 10px;
}

.project-section {
    margin-top: 22px;
}

.project-section h3 {
    font-size: 0.95rem;
    color: #8838f8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.tab-list {
    padding-left: 18px;
    margin: 0;
}

.tab-list li {
    margin-bottom: 10px;
    color: #a794b8;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== MODAL BOX ===== */
.modal-content {
    background: #020617;
    padding: 30px;
    border-radius: 16px;
    min-height: 70vh;
    max-width: 1300px;
    width: 85%;
    position: relative;
    border: 1px solid rgba(156, 59, 246, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    animation: modalFade 0.3s ease;
    overflow: hidden;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== CLOSE BUTTON ===== */
.close {
    position: absolute;
    top: 15px;
    right: 20px;

    font-size: 24px;
    color: #fff;

    cursor: pointer;
}

/* ===== MODAL BODY ===== */
.modal-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    height: 100%;
    grid-template-columns: 1.3fr 1fr;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.project-meta span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(110, 56, 248, 0.1);
    color: #8538f8;
    border: 1px solid rgba(152, 56, 248, 0.3);
}

/* ===== FEATURES ===== */
.project-features {
    margin-top: 20px;
}

.project-features ul {
    padding-left: 18px;
}

.project-features li {
    margin-bottom: 6px;
    color: #a594b8;
    font-size: 0.85rem;
}


/* ===== CAROUSEL ===== */
.carousel {
    flex: 1;
    display: flex;
    flex-direction: column; 
    gap: 20px;
}

.carousel-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.carousel-main img {
    width: 500px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;

    border: 1px solid rgba(162, 59, 246, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.carousel-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.carousel-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;

    border-radius: 6px;
    cursor: pointer;

    opacity: 0.5;
    border: 2px solid transparent;

    transition: 0.3s;
}

.carousel-thumbs img.active {
    opacity: 1;
    border-color: #7238f8;
}

.carousel-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

#carousel-techs {
    margin-top: 15px;
    margin-left: 65px;
}



/* ===== MODAL INFO ===== */
.modal-info {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.modal-info h2 {
    color: #fff;
    margin-bottom: 15px;
}

.modal-info p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
}

.btn-video {
    display: inline-block;
    margin-top: 20px;
    margin-left: 65px;
    padding: 12px 18px;
    width: 170px;

    background: linear-gradient(135deg, #cb38f8, #440fd6);
    color: white;

    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;

    transition: 0.3s;
}

.btn-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


/* ===== TECH TAGS ===== */

.tech-title {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #38bdf8;
    letter-spacing: 1px;
}

.techs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px 10px;
    border-radius: 8px;

    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(56,189,248,0.2);

    font-size: 0.8rem;
    color: #e2e8f0;

    transition: 0.3s;
}

/* --- SEÇÃO HARDSKILLS --- */
    .hardskills-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 70px;
        margin-top: 60px;
        align-items: center;
        width: 100%;

    }

    @media (max-width: 1000px) {
    .hardskills-wrapper {
        flex-direction: column;
    }

}

    .conteudo-hardskills {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hardskill-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin-top: 40px;
      
    } 

    .hardskill-content.hidden {
        opacity: 0;
        transform: translateY(20px);
    }

    .hardskill-content:not(.hidden) {
        opacity: 1;
        transform: translateY(0);
        transition: 0.4s ease;
    }

    .categorias {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        max-width: 60%;
        margin: 10px 0;
        padding-bottom: 20px;
    }

    .categoria-item {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;

        height: auto; 
        max-width: 100%;

        padding: 10px 18px;

        font-size: 16px;
        border-radius: 8px;
        line-height: 1.2; 

        cursor: pointer;
        transition: all 0.3s ease;

        white-space: normal;
        background: rgba(47, 10, 133, 0.301);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(218, 59, 246, 0.2);
    }

    .categoria-item::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #b53bf6, #e538f8);
        transition: 0.3s;
        transform: translateX(-50%);
        display: none;
    }

    .categoria-item:hover {
        background: rgba(227, 59, 246, 0.15);
        transform: translateY(-2px);
    }


   .categoria-item.active {
        background: linear-gradient(90deg, #8f3bf6, #bb38f8);
        box-shadow: 
            0 0 10px rgba(206, 59, 246, 0.5),
            0 0 25px rgba(168, 56, 248, 0.2);
    }

    .categoria-item.active::after {
        width: 100%;
    }

    .categoria-item.active {
        background: linear-gradient(90deg, #b53bf6, #e538f8);
        color: white;
        border-radius: 5px;
    }

    .hidden {
        display: none;
    }

   .logo-item {
    width: 100%;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    flex: 0 1 160px; /* ⭐ controla largura */
    max-width: 200px;
     background: linear-gradient(
        145deg,
        rgba(23, 15, 42, 0.95),
        rgba(13, 2, 23, 0.9)
    );

    border: 1px solid rgba(156, 59, 246, 0.2);

    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: all 0.4s ease;

    overflow: hidden;
}

.logo-item::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at top left,
        rgba(94, 56, 248, 0.25),
        transparent 60%
    );

    opacity: 0;
    transition: 0.4s;
}


.logo-item:hover::before {
    opacity: 1;
}

.logo-item::after {
    content: "";
    position: absolute;
    inset: -1px;

    border-radius: 16px;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(149, 56, 248, 0.5),
        transparent
    );

    opacity: 0;
    transition: 0.4s;
}

.logo-item:hover::after {
    opacity: 1;
    filter: blur(8px);
}

/*

.icon-blue{
    font-size: 3rem;

    color: #38bdf8;

    text-shadow:
        0 0 8px rgba(56,189,248,0.6),
        0 0 20px rgba(59,130,246,0.3);

    transition: 0.3s;
}

.icon-blue:hover {
    transform: scale(1.15);
}
    */

.logo-item p {
    margin-top: 12px;
    font-size: 14px;
    color: #cbd5f5;
    letter-spacing: 0.5px;
}

/* --- LINHAS VERTICAIS (Esquerda e Direita) --- */
.logo-item span.border-v::before,
.logo-item span.border-v::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #9acdff, #2b5ce2);
  transition: height 0.8s ease;
}

.logo-item span.border-v::before { left: 0; bottom: 0; }
.logo-item span.border-v::after { right: 0; top: 0; }

/* --- ATIVAÇÃO DAS LINHAS NO HOVER --- */
.logo-item:hover::before,
.logo-item:hover::after {
  width: 100%;
}

.logo-item:hover span.border-v::before,
.logo-item:hover span.border-v::after {
  height: 100%;
}

/* 
.icon-blue:hover {
  animation: gradienteMove 2s linear infinite;
  transform: scale(1.1);
}
  */

.logo-item span {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
}

@keyframes gradienteMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Sections */
section{
  padding: 56px 0;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom: 22px;
}

h2{
  margin:0;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing:-0.03em;
}

.section-sub{
  margin: 2px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
  font-weight: 500;
  padding: 20px 0;
}

.grid{
  display:flex;
  gap: 36px;
}

.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  padding: 18px;
  position:relative;
  overflow:hidden;
  transform-style: preserve-3d;
  perspective: 900px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.grid-diferenciais {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.card_diferenciais {
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  padding: 18px;
  position:relative;
  overflow:hidden;
  transform-style: preserve-3d;
  perspective: 900px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  width: 350px;
}

.card:hover.card_diferenciais:hover{
  box-shadow: 0 26px 65px rgba(16, 24, 40, 0.16);
  border-color: rgba(30,144,255,0.25);
}

.card .badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-weight:700;
  font-size:12px;
  margin-bottom: 10px;
}

.card h3 .card_diferenciais h3{
  margin: 6px 0 8px;
  letter-spacing:-0.02em;
  font-size: 18px;
  color: var(--text-main) !important;
}

.card p .card_diferenciais p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-muted) !important;
}

/* Sobre */

.title-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;

    position: relative;
    z-index: 1;
}

.title-text h1::before {
    content: "ABOUT ME"; /* mesmo texto */
    
    position: absolute;
    left: 0;
    top: 0;

    color: #d000ff;

    filter: blur(18px);
    opacity: 0.9;

    z-index: -1;
    transform: scale(0.9);
}

.title-text span {
    color: #b74cf0;
}


 #sobre {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    align-items: center;
}

.sobre-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 0;
}

.sobre-left,
.sobre-right {
    margin: 0;
}

.sobre-left {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 80px;
}

.sobre-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #8538f8, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sobre-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.sobre-topicos {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.topico {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.topico img {
    width: 85px;
    filter: drop-shadow(0 0 10px rgba(170, 0, 255, 0.5));
}

.topico h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.topico p {
    margin: 5px 0 0;
    color: #a894b8;
    font-size: 0.95rem;
}

.btn-outline-container {
  display: flex;
  gap: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    border: 1px solid rgba(157, 0, 255, 0.5);
    color: #b538f8;
    text-decoration: none;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.btn-outline:hover {
    background: rgba(98, 0, 255, 0.1);
    box-shadow: 0 0 20px rgba(174, 0, 255, 0.4);
}

.sobre-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
     margin-top: 80px;
}

.sobre-right img {
    width: 400px;
    border-radius: 15px;
    box-shadow: 
        0 0 30px rgba(162, 0, 255, 0.3),
        0 0 80px rgba(0,170,255,0.1);
    transition: 0.4s;
}

.sobre-right img:hover {
    transform: scale(1.03);
}

.section-header {
    text-align: left;
}

.header-line {
    margin-left: 0;
}

.sobre-text {
    flex: 1;
}

.sobre-highlight {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #a53bf6, #ab38f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--light-text-2);
}

.header-line {
    width: 80px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #3ba8f6, #22c55e);
    border-radius: 5px;
    animation: lineGrow 1.2s ease forwards;
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.sobre-text {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    color: #8b38f8;

    background: rgba(0, 170, 255, 0.08);
    border: 1px solid rgba(200, 0, 255, 0.3);

    backdrop-filter: blur(10px);

    transition: all 0.3s ease;

    /* glow base */
    box-shadow: 0 0 10px rgba(149, 0, 255, 0.3);
    position: relative;
}

/* HOVER NEON FORTE */
.icon:hover {
    transform: translateY(-6px) scale(1.05);

    color: #ffffff;

    box-shadow:
        0 0 15px rgba(179, 0, 255, 0.6),
        0 0 30px rgba(170, 0, 255, 0.5),
        0 0 60px rgba(132, 0, 255, 0.3);

    border-color: rgba(174, 0, 255, 0.8);
}

.icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(162, 0, 255, 0.2);
    filter: blur(15px);
    opacity: 0;
    transition: 0.3s;
}

.icon:hover::before {
    opacity: 1;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--dark-bg-2);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
    flex: 1;
    margin: 0 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px #8b25eb1d;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobre-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 300px;
}

.image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #94a3b8;
}

/* localização */
.location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.location i {
    color: #9e38f8;
    filter: drop-shadow(0 0 6px rgba(144, 0, 255, 0.6));
}

/* divisor */
.divider {
    opacity: 0.5;
}

/* status */
.status {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* bolinha animada */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c522bd;

    box-shadow: 
        0 0 8px #c52297,
        0 0 15px #c52266;

    animation: pulse 1.5s infinite;
}

/* animação */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark-bg-2), var(--dark-bg-3));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tech-overlay::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 0, 0, 0.1) 10px,
        rgba(255, 0, 0, 0.1) 20px
    );
    animation: move-bg 20s linear infinite;
}

@keyframes move-bg {
    0% {
        transform: translate(-10%, -10%);
    }
    100% {
        transform: translate(10%, 10%);
    }
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted) !important;
}

.nav-controls {
  display: flex;
  gap: 15px;
}

/* Ajuste no card para melhorar a visibilidade */
.logo-item {
  width: auto;
  display: flex;
  flex-direction: column; /* Para o ícone ficar em cima do texto */
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  opacity: 0.6;
  transition: all 0.4s ease;
  cursor: pointer;
  background: transparent;
}

.logo-item i {
  font-size: 3.5rem;
  /* Criamos um gradiente maior (200%) para podermos "movimentá-lo" */
  background: linear-gradient(
        90deg, 
        #228bf4, 
        #8A2BE2, 
        #d02be2, 
        #00BFFF, 
        #1E90FF
    );
  background-size: 200% auto; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: all 0.4s ease;
  margin-bottom: 10px;
}

.logo-item::before,
.logo-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1E90FF, #8A2BE2);
  transition: width 0.8s ease; /* Ajustei para 0.8s para ser mais fluido no carrossel */
}

.logo-item::before { top: 0; left: 0; }
.logo-item::after { bottom: 0; right: 0; }

/* --- LINHAS VERTICAIS (Esquerda e Direita) --- */
.logo-item span.border-v::before,
.logo-item span.border-v::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #1E90FF, #8A2BE2);
  transition: height 0.8s ease;
}

.logo-item span.border-v::before { left: 0; bottom: 0; }
.logo-item span.border-v::after { right: 0; top: 0; }

/* --- ATIVAÇÃO DAS LINHAS NO HOVER --- */
.logo-item:hover::before,
.logo-item:hover::after {
  width: 100%;
}

.logo-item:hover span.border-v::before,
.logo-item:hover span.border-v::after {
  height: 100%;
}

/* Quando passa o mouse no CARD ou no ÍCONE */
.logo-item:hover i {
  /* Ativa a animação que definimos abaixo */
  animation: gradienteMove 2s linear infinite;
  transform: scale(1.1); /* Opcional: leve aumento para dar destaque */
}

.logo-item:hover {
  opacity: 1;
}

.logo-item p {
  margin-top: 10px;
  font-weight: 500;
  color: var(--text-muted) !important;
}

.logo-item span {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
}


/* Força o movimento linear sem paradas */
.logoSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}


/* A animação que faz o degradê "mexer" */
@keyframes gradienteMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Estilização básica dos botões de navegação */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.carousel-wrapper {
  position: relative;
  padding: 0 70px; /* Cria um respiro nas laterais para as setas não ficarem em cima do conteúdo */
}

.swiper-nav-btns {
  position: relative;
  display: flex;
  gap: 40px;
  width: 80px;
  height: 40px;
}

.swiper-button-next, 
.swiper-button-prev {
  position: absolute !important;
  top: 50% !important; /* Centraliza verticalmente */
  transform: translateY(-50%) !important;
  width: 45px !important;
  height: 45px !important;
  z-index: 10;
  background: rgba(30, 144, 255, 0.15); /* Fundo levemente azulado */
  backdrop-filter: blur(5px);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 50%; /* Deixa as setas redondas, fica mais moderno nas laterais */
  color: #1e90ff !important;
  transition: all 0.3s ease;
}

.swiper-button-prev {
  left: 0 !important;
}

.swiper-button-next {
  right: 0 !important;
}

/* Efeito de hover */
.swiper-button-next:hover, 
.swiper-button-prev:hover {
  background: #1e90ff;
  color: #fff !important;
}

/* Remove o tamanho padrão do ícone do Swiper para caber no círculo */
.swiper-button-next:after, 
.swiper-button-prev:after {
  font-size: 18px !important;
}

/* Ajuste para Mobile: esconde as setas ou diminui o padding se a tela for pequena */
@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0 10px;
  }
  .swiper-button-next, 
  .swiper-button-prev {
    display: none; /* Em celulares, geralmente é melhor navegar apenas no touch */
  }
}

/* Bolinhas de Paginação (Lá embaixo) */
.swiper-pagination-bullet {
  background: #1e90ff !important;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px !important; /* Efeito de pílula na bolinha ativa */
  border-radius: 5px !important;
}

/* Portfolio mockups */
.mock{
  height: 160px;
  border-radius: 18px;
  border:1px solid var(--border);
  background: linear-gradient(135deg, rgba(30,144,255,0.18), rgba(123,47,247,0.14));
  position:relative;
  overflow:hidden;
  margin-bottom: 12px;
}
.mock:before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.40), transparent 46%);
  transform: rotate(18deg);
}
.mock:after{
  content:"";
  position:absolute;
  left:18px; top:18px;
  width: 62%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  box-shadow: 0 14px 0 rgba(255,255,255,0.22), 0 28px 0 rgba(255,255,255,0.14);
}

/* Depoimentos */
.slider{
  position:relative;
  overflow:hidden;
}
.slides{
  display:flex;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.slide{
  min-width: 100%;
  padding: 2px;
}

.quote{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.quote .stars{
  letter-spacing:2px;
  color: rgba(30,144,255,0.9);
  filter: drop-shadow(0 8px 18px rgba(30,144,255,0.18));
  font-weight:800;
}
.quote footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top: 8px;
  color: var(--muted);
  font-weight:600;
  font-size: 13px;
}

.slider-actions{
  margin-top: 12px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

/* CTA */
.cta{
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(30,144,255,0.95), rgba(123,47,247,0.90));
  box-shadow: 0 30px 85px rgba(30,144,255,0.25);
  padding: 26px;
  color:white;
  position:relative;
  overflow:hidden;
}
.cta:before{
  content:"";
  position:absolute;
  inset:-60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.32), transparent 46%);
  transform: rotate(18deg);
}
.cta-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.cta h3{
  margin:0;
  font-size: 22px;
  letter-spacing:-0.02em;
}
.cta p{
  margin:6px 0 0;
  opacity:0.92;
  max-width: 68ch;
  line-height:1.55;
  font-weight: 500;
  color: var(--text-muted) !important;
}
  
.cta .btn{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
}
.cta .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

/* Footer */
footer.site-footer{
  padding: 36px 0 52px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items:start;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  justify-content:flex-end;
}
.footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-weight:700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: 220ms ease;
}
.footer-links a:hover{
  color: var(--text);
  background: rgba(30,144,255,0.10);
}

/* Scroll animations */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
  border-radius: var(--radius);
  overflow:hidden;
}

.hero .reveal {
  transition-delay: 0.15s;
}

.contato {
  padding: 120px 0;
  color: var(--text);
}

.title-contact-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;

    position: relative;
    z-index: 1;
}

.title-contact-text h1::before {
    content: "CONTATO"; /* mesmo texto */
    
    position: absolute;
    left: 50%;
    top: 0;

    color: #d000ff;

    filter: blur(18px);
    opacity: 0.9;

    z-index: -1;
    transform: scale(0.9);
}

.title-contact-text span {
    color: #b74cf0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.contato-header {
  text-align: center;
  margin-bottom: 70px;
}

.contato-header h2 {
  font-size: 42px;
  font-weight: 700;
}

.contato-header p {
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.8;
  color: var(--muted);
}

.contato-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

/* Info Cards */

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 23px;
}

/* Link */

.info-item a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Linha animada no hover */

.info-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width 0.3s ease;
}

/* Hover Effects */

.info-item:hover a {
  color: var(--text-muted) !important;
  transform: translateX(4px);
}

.info-item:hover a::after {
  width: 100%;
}

/* Form */

.contato-form {
  padding: 40px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
}

.input-group {
  position: relative;
  margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--text);
  font-size: 15px;
}

.input-group label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 75, 240, 0.15);
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: var(--bg);
  padding: 0 6px;
  color: var(--blue);
}

/* Button */

.btn-enviar {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all .3s ease;
}

.btn-enviar:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
