:root {
    --petroleo: #030e23;
    --roxo: #46357b;
    --roxo-azulado: #2a2f4c;
    --cyan-claro: #add8e6;
    --glow-color: var(--cyan-claro);
    --verde: #70cd33;
    --amarelo:#fde496;
}

/* ==========================================================================
   6. BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 15px;
    background-color: var(--verde);
    color: #fff !important;
    border-radius: 10px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: none;
}

.whatsapp-float i {
    color: #fff !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #88e84a; /* Um verde mais claro no hover */
}

/* Ajuste para telas pequenas */
@media (max-width: 667px) {
    .whatsapp-float {
        bottom: 70px; /* Reduz a distância do fundo em mobile */
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 15px;
    }
}

/* ==========================================================================
   1. BASE & TIPOGRAFIA
   ========================================================================== */
html, body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--petroleo);
}
html {
    scroll-behavior: smooth; /* Garante a rolagem suave com JS */
}
body {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 3rem 3rem;
    transition: background-position 0.2s linear;
    padding-top: 70px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Seções com transições */
section {
    transition: all 0.3s ease;
}

/* Efeito de parallax sutil */
.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}
.h-screen {
    height: 95vh !important;
}
body.menu-no-scroll { 
    overflow: hidden; 
}
.HeaderPortfolio ~ main i {
    font-size: 13px;
}

/* Ícones da seção Quem Sou - mesmo tamanho dos ícones de Serviços */
#sou .service-card .mb-6 i {
    font-size: 40px !important;
    color: var(--cyan-claro);
}

/* ==========================================================================
   PRELOADER TECNOLÓGICO
   ========================================================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a15 0%, #050510 50%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader > img {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 60px;
    width: auto;
    z-index: 10001;
}

.stars {
    position: absolute;
    width: 300%;
    height: 300%;
    background-image: 
        radial-gradient(1px 1px at 15px 20px, #fff, transparent),
        radial-gradient(1px 1px at 35px 45px, rgba(173, 216, 230, 0.9), transparent),
        radial-gradient(2px 2px at 60px 15px, #fff, transparent),
        radial-gradient(1px 1px at 85px 70px, rgba(173, 216, 230, 0.7), transparent),
        radial-gradient(1px 1px at 110px 25px, #fff, transparent),
        radial-gradient(2px 2px at 140px 55px, rgba(173, 216, 230, 0.8), transparent),
        radial-gradient(1px 1px at 170px 80px, #fff, transparent),
        radial-gradient(1px 1px at 200px 10px, rgba(173, 216, 230, 0.6), transparent),
        radial-gradient(2px 2px at 230px 40px, #fff, transparent),
        radial-gradient(1px 1px at 260px 65px, rgba(173, 216, 230, 0.9), transparent),
        radial-gradient(1px 1px at 290px 30px, #fff, transparent),
        radial-gradient(1px 1px at 320px 75px, rgba(173, 216, 230, 0.5), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: starfield 3s linear infinite;
}

.loader-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: absolute;
    top: 50%;
    margin-left: -50px;
    left: 50%;
    animation: speeder 0.4s linear infinite;
}

.loader > span {
    height: 5px;
    width: 35px;
    background: var(--cyan-claro);
    position: absolute;
    top: -19px;
    left: 60px;
    border-radius: 2px 10px 1px 0;
}

.base span {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-right: 100px solid var(--cyan-claro);
    border-bottom: 6px solid transparent;
}

.base span:before {
    content: "";
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: var(--cyan-claro);
    position: absolute;
    right: -110px;
    top: -16px;
}

.base span:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-right: 55px solid var(--cyan-claro);
    border-bottom: 16px solid transparent;
    top: -16px;
    right: -98px;
}

.face {
    position: absolute;
    height: 12px;
    width: 20px;
    background: var(--cyan-claro);
    border-radius: 20px 20px 0 0;
    transform: rotate(-40deg);
    right: -125px;
    top: -15px;
}

.face:after {
    content: "";
    height: 12px;
    width: 12px;
    background: var(--cyan-claro);
    right: 4px;
    top: 7px;
    position: absolute;
    transform: rotate(40deg);
    transform-origin: 50% 50%;
    border-radius: 0 0 0 2px;
}

.loader > span > span:nth-child(1),
.loader > span > span:nth-child(2),
.loader > span > span:nth-child(3),
.loader > span > span:nth-child(4) {
    width: 30px;
    height: 1px;
    background: var(--cyan-claro);
    position: absolute;
    animation: fazer1 0.2s linear infinite;
}

.loader > span > span:nth-child(2) {
    top: 3px;
    animation: fazer2 0.4s linear infinite;
}

.loader > span > span:nth-child(3) {
    top: 1px;
    animation: fazer3 0.4s linear infinite;
    animation-delay: -1s;
}

.loader > span > span:nth-child(4) {
    top: 4px;
    animation: fazer4 1s linear infinite;
    animation-delay: -1s;
}

.longfazers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.longfazers span {
    position: absolute;
    height: 2px;
    width: 20%;
    background: var(--cyan-claro);
}

.longfazers span:nth-child(1) {
    top: 20%;
    animation: lf 0.6s linear infinite;
    animation-delay: -5s;
}

.longfazers span:nth-child(2) {
    top: 40%;
    animation: lf2 0.8s linear infinite;
    animation-delay: -1s;
}

.longfazers span:nth-child(3) {
    top: 60%;
    animation: lf3 0.6s linear infinite;
}

.longfazers span:nth-child(4) {
    top: 80%;
    animation: lf4 0.5s linear infinite;
    animation-delay: -3s;
}

.loader-text {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 600;
    color: var(--cyan-claro);
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(173, 216, 230, 0.1);
    border-radius: 2px;
    margin: 20px auto 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-claro), #87ceeb, var(--cyan-claro));
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

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

@keyframes fazer1 {
    0% { left: 0; }
    100% { left: -80px; opacity: 0; }
}

@keyframes fazer2 {
    0% { left: 0; }
    100% { left: -100px; opacity: 0; }
}

@keyframes fazer3 {
    0% { left: 0; }
    100% { left: -50px; opacity: 0; }
}

@keyframes fazer4 {
    0% { left: 0; }
    100% { left: -150px; opacity: 0; }
}

@keyframes speeder {
    0% { transform: translate(2px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -3px) rotate(-1deg); }
    20% { transform: translate(-2px, 0px) rotate(1deg); }
    30% { transform: translate(1px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 3px) rotate(-1deg); }
    60% { transform: translate(-1px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-2px, -1px) rotate(1deg); }
    90% { transform: translate(2px, 1px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes lf {
    0% { left: 200%; }
    100% { left: -200%; opacity: 0; }
}

@keyframes lf2 {
    0% { left: 200%; }
    100% { left: -200%; opacity: 0; }
}

@keyframes lf3 {
    0% { left: 200%; }
    100% { left: -100%; opacity: 0; }
}

@keyframes lf4 {
    0% { left: 200%; }
    100% { left: -100%; opacity: 0; }
}

.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 1), transparent);
    border-radius: 50%;
}

.shooting-star:nth-child(1) {
    top: 20%;
    left: 100%;
    animation: shoot1 3s linear infinite;
    animation-delay: 0s;
}

.shooting-star:nth-child(2) {
    top: 60%;
    left: 100%;
    animation: shoot2 4s linear infinite;
    animation-delay: 1.5s;
}

.shooting-star:nth-child(3) {
    top: 40%;
    left: 100%;
    animation: shoot3 3.5s linear infinite;
    animation-delay: 3s;
}

@keyframes starfield {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-150px, -100px); }
}

@keyframes shoot1 {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(-100vw) translateY(50px); opacity: 0; }
}

@keyframes shoot2 {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(-100vw) translateY(30px); opacity: 0; }
}

@keyframes shoot3 {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(-100vw) translateY(40px); opacity: 0; }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ==========================================================================
   2. UTILIDADES VISUAIS E ANIMAÇÕES
   ========================================================================== */

/* Efeito de brilho */
.text-glow {
    color: var(--cyan-claro);
    text-shadow: 0 0 8px #000000, 0 0 15px rgba(173, 216, 230, 0.5);
}

/* Animações de entrada melhoradas */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeitos de transição entre seções */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(173, 216, 230, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.section-transition.active::before {
    left: 100%;
}

/* Indicador de seção ativa */
.section-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(173, 216, 230, 0.3);
    border: 2px solid rgba(173, 216, 230, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-dot.active {
    background: var(--cyan-claro);
    border-color: var(--cyan-claro);
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.6);
}

.section-dot:hover {
    transform: scale(1.2);
    background: rgba(173, 216, 230, 0.6);
}

/* Efeito de ondulação ao navegar */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(173, 216, 230, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Seta de Scroll Interativa */
#scroll-down-arrow {
    animation: bounce 2.5s infinite ease-in-out;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* Canvas para o fundo dinâmico */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Album de Fotos (Hero) */
.AlbumFoto {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
}
.AlbumFoto .BoxAlbum {
    width: 140px;
    height: auto;
    opacity: 0.08;
    flex-grow: 1;
    margin: 1px;
}

/* ==========================================================================
   3. LAYOUTS: HEADER & NAVIGATION
   ========================================================================== */

/* Header Base com Transições */
.HeaderPortfolio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(14, 21, 34, 0.95);
    backdrop-filter: blur(10px);
    min-height: 70px;
    padding: 0 25px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(173, 216, 230, 0.1);
    transition: all 0.3s ease;
}

/* Header com efeito de scroll */
.HeaderPortfolio.scrolled {
    background-color: rgba(14, 21, 34, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(173, 216, 230, 0.2);
}
.HeaderPortfolio .site-logo { 
    display: block;
    z-index: 101;
}
.HeaderPortfolio .site-logo img{
    width: 210px;
}
.HeaderPortfolio .Navegacao { 
    display: flex; 
    align-items: center;
}

/* Nav Buttons Container */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LinkedIn Button */
.linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--cyan-claro) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    transform: scale(1.1);
    color: #ffffff !important;
}

.linkedin-btn i {
    font-size: 28px;
    border-right: 1px dashed var(--cyan-claro);
    padding: 0 20px 0 0;
    margin: 0px 20px 0 0;
}

/* Menu Overlay - Removido para dropdown */
.menu-overlay { 
    display: none;
}

/* Responsive LinkedIn Button */
@media (max-width: 480px) {
    .linkedin-btn {
        width: 36px;
        height: 36px;
    }
    
    .linkedin-btn i {
        font-size: 28px;
    border-right: 1px dashed var(--cyan-claro);
    padding: 0 20px 0 0;
    margin: 0px 20px 0 0;
    }
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    transition: transform 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--cyan-claro);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Dropdown Compacto */
ul.menuPortfolio { 
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: rgba(14, 21, 34, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(173, 216, 230, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 1rem 0;
    margin: 0.5rem 0 0 0;
    font-family: "Montserrat", sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 99;
}

.Navegacao.menu-aberto ul.menuPortfolio {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

ul.menuPortfolio li.menu-logo-item { 
    display: none;
}

ul.menuPortfolio li:not(.menu-logo-item) { 
    border-bottom: 1px solid rgba(173, 216, 230, 0.1);
}

ul.menuPortfolio li:not(.menu-logo-item):last-child {
    border-bottom: none;
}

ul.menuPortfolio li:not(.menu-logo-item) a { 
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul.menuPortfolio li:not(.menu-logo-item) a:hover {
    color: var(--cyan-claro) !important;
    background: rgba(173, 216, 230, 0.1);
    padding-left: 2rem;
}

.Navegacao nav { 
    display: block;
}

/* Footer Melhorado */
.FooterPortfolio { 
    background: #0a0c10; 
    border-top: 2px solid var(--roxo-azulado); 
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.FooterPortfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-claro), transparent);
}

/* Footer Grid Layout */
.FooterPortfolio .grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .FooterPortfolio .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .FooterPortfolio .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Section Titles */
.FooterPortfolio h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.FooterPortfolio h3 i {
    margin-right: 0.5rem;
    color: var(--cyan-claro);
}

/* Footer Links */
.FooterPortfolio a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.FooterPortfolio a:hover {
    color: var(--cyan-claro) !important;
    transform: translateX(4px);
}

/* Contact Items */
.FooterPortfolio .group {
    transition: all 0.3s ease;
}

.FooterPortfolio .group:hover {
    transform: translateY(-2px);
}

.FooterPortfolio .group:hover .w-8 {
    transform: scale(1.1);
}

/* Status Indicator */
.FooterPortfolio .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Technology Grid */
.FooterPortfolio .grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

/* CTA Button */
.FooterPortfolio .bg-cyan-600 {
    background-color: #0891b2;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.FooterPortfolio .bg-cyan-600:hover {
    background-color: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Footer Bottom Border */
.FooterPortfolio .border-t {
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .FooterPortfolio .flex-col {
        flex-direction: column;
        text-align: center;
    }
    
    .FooterPortfolio .space-y-4 > * + * {
        margin-top: 1rem;
    }
}

/* Legacy Footer Styles for Compatibility */
.FooterPortfolio .container-fluid { 
    max-width: 1200px; 
    margin: 0 auto; 
}
.FooterPortfolio .FooterCopy { 
    font-size: 12px; 
    line-height: 22px; 
    color: #718096; 
}
.FooterPortfolio .FooterCopy a { 
    color: #a0aec0 !important; 
    text-decoration: none; 
}
.FooterPortfolio .FooterCopy a:hover { 
    color: var(--cyan-claro) !important; 
    text-decoration: underline; 
}

/* Voltar ao Topo */
a#voltar-topo { 
    position: fixed;
    right: 15px;
    z-index: 50;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    bottom: 16px;
    background: var(--cyan-claro);
    color: var(--petroleo) !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    width: 50px;
    height: 50px;
    font-size: 26px;
    color: #fff !important;
}
a#voltar-topo.visible { 
    opacity: 1; 
    visibility: visible; 
}
a#voltar-topo:hover { 
    background: #c1e7f2; 
}

/* ==========================================================================
   4. COMPONENTES
   ========================================================================== */

/* Card de Serviço */
.service-card {
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--roxo-azulado);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan-claro);
    box-shadow: 0 0 20px rgba(173, 216, 230, 0.2);
}

/* Botão Tecnológico Interativo */
.btn-techno {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--cyan-claro);
    color: var(--cyan-claro) !important;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
    z-index: 1;
    text-decoration: none;
}
.btn-techno::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--cyan-claro);
    transition: left 0.4s ease-in-out;
    z-index: -1;
}
.btn-techno:hover {
    color: var(--petroleo) !important;
    text-shadow: none;
}
.btn-techno:hover::before {
    left: 0;
}

/* Formulário de Contato */
.floating-label-group { 
    position: relative; 
    margin-bottom: 25px; 
    width: 100%; 
}
.floating-label-group .form-control-float {
    width: 100%;
    height: 50px;
    padding: 14px 15px 0px 15px;
    border: 1px solid var(--roxo-azulado);
    border-radius: 5px;
    background-color: rgba(15, 23, 42, 0.9) !important;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.floating-label-group textarea.form-control-float { 
    height: 120px; 
    padding-top: 20px; 
    resize: vertical;
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}
.floating-label-group label { 
    position: absolute; 
    top: 15px; 
    left: 16px; 
    font-size: 15px; 
    color: #94a3b8; 
    font-weight: 400;
    pointer-events: none; 
    transition: all 0.2s ease-in-out; 
}
.floating-label-group .form-control-float:focus + label,
.floating-label-group .form-control-float:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan-claro);
    text-shadow: 0 0 4px rgba(173, 216, 230, 0.3);
}
.floating-label-group .form-control-float:focus { 
    outline: none; 
    border-color: var(--cyan-claro); 
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.3); 
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

/* Remove autocomplete styling */
.floating-label-group .form-control-float:-webkit-autofill,
.floating-label-group .form-control-float:-webkit-autofill:hover,
.floating-label-group .form-control-float:-webkit-autofill:focus,
.floating-label-group .form-control-float:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(15, 23, 42, 0.9) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

/* Remove browser default styling */
.floating-label-group input:-internal-autofill-selected {
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}
.LabelDuplo { 
    display: flex; 
    width: 100%; 
    gap: 15px; 
}
.LabelDuplo .floating-label-group { 
    flex-grow: 1; 
}

/* Checkbox */
.control { 
    display: block; 
    position: relative; 
    padding-left: 30px; 
    margin-bottom: 15px; 
    cursor: pointer; 
    font-size: 14px; 
}
.control .caption { 
    color: #a0aec0; 
}
.control input { 
    position: absolute; 
    z-index: -1; 
    opacity: 0; 
}
.control__indicator { 
    position: absolute; 
    top: 2px; 
    left: 0; 
    height: 20px; 
    width: 20px; 
    background: #2a2f4c; 
    border-radius: 4px; 
    transition: background-color 0.3s ease; 
}
.control:hover input ~ .control__indicator, .control input:focus ~ .control__indicator { 
    background: #3b4263; 
}
.control input:checked ~ .control__indicator { 
    background: var(--verde); 
}
.control__indicator:after { 
    font-family: 'bootstrap-icons'; 
    content: '\F272'; 
    position: absolute; 
    display: none; 
    font-size: 16px; 
    line-height: 1; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}
.control input:checked ~ .control__indicator:after { 
    display: block; 
    color: #fff; 
}

/* Botão de Envio */
input[type="submit"].btn-primary {
    background-color: var(--verde);
    border: 1px solid var(--verde);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}
input[type="submit"].btn-primary:hover {
    background-color: #88e84a;
    border-color: #88e84a;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. MEDIA QUERIES
   ========================================================================== */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .HeaderPortfolio {
        padding: 0 20px;
        min-height: 60px;
    }
    
    ul.menuPortfolio li:not(.menu-logo-item) a {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .HeaderPortfolio {
        padding: 0 15px;
    }
    
    ul.menuPortfolio li:not(.menu-logo-item) a {
        font-size: 1.1rem;
    }
}

/* Footer Media Query */
@media (min-width: 768px) {
    .FooterPortfolio .copyright { 
        text-align: left; 
    }
    .FooterPortfolio .footer-social-links { 
        justify-content: flex-end; 
    }
}