@font-face {
  font-family: "Orbitron";
  src: url("./font/Orbitron-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  background: url("img/bgpicpin.jpg") center / cover no-repeat fixed;
  color: white;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-top: -2px;
  text-decoration: none
}

.logo-img {
  display: block;
  height: 60px;
  width: auto;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 5rem;
}

.nav-links a {
  color: #ffff;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: #ffff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  text-align: center;
  min-height: 100vh; 
  overflow: hidden;
  padding: 7rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;

}

.hero h1 {
  font-family: "Lato", sans-serif;
  text-align: right;
  font-size: 5.3rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: auto;
  background: #ffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero img {
  height: 200px;
  width: 500px;
  margin-top: -2rem;
  margin-bottom: 1.5rem;
  margin-left: 7rem;
}

.hero h2 {
  font-family: "Lekton", sans-serif;
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero h3 {
  font-family: "Lekton", sans-serif;
  font-size: 1.5rem;
  font-weight: 150;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0.9;
  line-height: auto;
}
.hero-logo { opacity: 0; transform: scale(0.92); transition: opacity .3s, transform .3s; }


.heros {
  position: relative;
  text-align: center;
  padding: 7rem 5rem;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;

}

.heros h1 {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-size: 5.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  line-height: auto;
  background: #ffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heros h2 {
  font-family: "Lekton", sans-serif;
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.heros h3 {
  font-family: "Lekton", sans-serif;
  font-size: 1.5rem;
  font-weight: 150;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0.9;
  line-height: auto;
}



@media (max-width: 900px) {
  .tagline {
    position: static;
    margin: 2rem auto 0;
    pointer-events: auto;
    text-align: center;
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 2rem;
  border: none;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, #00c3ff, #7b2ff7);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #ffff;
  border: 2px solid #ffff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px #7b2ff7;
  background: white;
  color: #300c69;
  border: none;
}


.why-choose {
  padding: 9rem 2rem;
  text-align: center;
  color: #ffff;
}

.why-choose h2 {
  font-family: "Lato", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  background: white;
  background-clip: text;
}

.why-choose h3 {
  font-family: "Lekton", sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0 auto 3rem;
  opacity: 0.9;
  max-width: 800px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff32;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid #ffffff74;
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.services-section {
  position: relative;
  background: #20125aa7;
  border-radius: 80px;
  padding: 28rem 2rem 10rem;
  color: #fff;
  overflow: hidden;
}

.tagline {
  position: absolute;
  left: 50%;
  top: clamp(2rem, 8vw, 10rem);
  transform: translateX(-50%);
  max-width: 900px;
  z-index: 2;
  pointer-events: none;
  text-align: center;
}

.tagline p {
  font-family: "Lekton", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 900px) {
  .tagline {
    position: static;
    margin: 0 auto 2rem;
    pointer-events: auto;
    text-align: center;
  }
}

.what-we-do {
  pointer-events: none;
  padding: 0;
  text-align: center;
  margin: 0 auto;
}

.what-we-do h2 {
  font-family: "Lato", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  color:#fff;                 
  background:none;            
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  position: relative;
  z-index: 3; 

  
}

.what-we-do h3 {
  font-family: "Lekton", sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0 auto 3rem;
  opacity: 0.9;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
  z-index: 2;

}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-placeholder {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  background: linear-gradient(45deg, rgba(0, 191, 255, 0.2), rgba(138, 43, 226, 0.2));
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.service-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}


.bubble-layer {
    position: fixed;
    /* detached from document flow */
    inset: 0;
    /* full viewport */
    width: 100vw;
    height: 100dvh;
    /* handle mobile browser UI changes */
    pointer-events: none;
    z-index: -1;
    overflow: clip;
    /* no scrollbars from children (better than hidden) */
    contain: layout paint;
    /* isolate layout/paint so effects don't escape */
    margin: 0;
}

.bubble {
    position: absolute;
    display: block;
    /* prevents any inline ghost space */
    width: min(52vmax, 600px);
    /* responsive cap */
    height: auto;
    filter: blur(60px);
    opacity: 0.9;
    will-change: transform, opacity;
    user-select: none;
}


.b1 {
  width: 500px;
  top: -300px;
  left: -350px;
}

.b2 {
  top: 400px;
  right: -350px;
  opacity: 1;
}

.b3 {
  top: 35%;
  left: -400px;
  opacity: 5;
}

.b4 {
  left: 27%;
  width: 700px;
  top: -200px
}

.b5 {
  top: 55%;
  right: -400px;
  opacity: 5;
}

.b6 {
  width: 400px;
  left: 290px;
  top: 72%;
  opacity: .9;
}

.footer {
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: white
}

.footer-logo {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.1em;
  font-size: 1.8rem;
  font-weight: bold;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  font-weight: bold;
}

.social-links a:hover {
  background: #ffff;
  transform: translateY(-2px);
  color: #2d2342;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffff;
}

#container3D {
  position: fixed;
  inset: 0;          /* full viewport */
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 1;        /* will fade out after hero */
  transition: opacity 0.4s ease;

}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;              
  transition: opacity .2s ease;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  width: min(650px, 92vw);
  max-height: 80vh;
  overflow: auto;
  border-radius: 16px;
  background: #111827;         
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  padding: 1.25rem 1.25rem 1.5rem;
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1f2937;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 1rem;
  line-height: 36px;
}
.modal__close:hover { background: #374151; }

#legal-title {
  margin: 0 2rem 0.75rem 0;
  font-size: 1.25rem;
  letter-spacing: .2px;
}
.modal__content p { margin: .75rem 0; line-height: 1.5; }
.modal__content a { color: #93c5fd; text-decoration: underline; }
.modal__content a:hover { text-decoration: none; }

main,
header,
.hero,
nav {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/*portoflio*/
.projects-section {
  padding: 2rem 0;
}

.section-title {
  font-family: "Lato", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: auto;
  margin-bottom: 3rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  background: white;
  background-clip: text;
  text-align: center;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Project Card */
.project-card {
  background-color: var(--color-surface);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
}



.project-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.project-content {
  padding: 2rem;
}

.project-title {
  font-family: 'lato', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.5;
  margin-bottom: 1.2rem;
  color: var(--color-text);
}

.project-location {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-section {
  padding: 1rem;
  background-color: rgba(0, 217, 255, 0.05);
  border-left: 3px solid var(--color-primary);
  border-radius: 0.5rem;
}

.detail-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.detail-text {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Carousel Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 217, 255, 0.2);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 10;
}

.carousel-button:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button-prev {
  left: -4rem;
}

.carousel-button-next {
  right: -4rem;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.carousel-dot:hover {
  background-color: var(--color-text-muted);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .project-image {
    height: 250px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .carousel-button-prev {
    left: 0.5rem;
  }

  .carousel-button-next {
    right: 0.5rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.875rem;
  }
}

.content-section {
  padding: 5rem 2rem;
}

.content-container {
  max-width: 72rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}



.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.content-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-text {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.75;
  text-wrap: pretty;

}

:root{
  --font-display: "Orbitron", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body{
  font-family: var(--font-display) !important;
}

nav,
.nav-links a,
.logo,
.tagline,
.tagline.section,         
#tagline,                 
.services-section .tagline,
.services-section .tagline p,
.section-subtitle,
.hero-subtitle,
.portfolio-section, .portfolio-section h1, .portfolio-section p,
h1, h2, h3, h4, h5, h6,
.hero h2, .hero h3,
.heros h1, .heros h2, .heros h3,
.why-choose h2, .why-choose h3,
.what-we-do h2, .what-we-do h3,
.feature-card h3, .service-card h3,
.section-title, .footer-section h3, .footer-section h4, .footer-logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
/* FIX 1 — Hero image mobile */
@media (max-width: 768px) {
  .hero img {
    width: 90% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .hero {
    padding: 4rem 1.5rem !important;
  }
}
/* FIX 2 — Service images mobile */
@media (max-width: 768px) {
  .service-placeholder {
    height: 150px !important;
  }

  .service-placeholder img {
    object-fit: cover !important;
  }
}


/* FINAL FOOTER FIX — compactar o footer no mobile */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem 1rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-section {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-section p,
  .footer-section ul,
  .footer-section h3,
  .footer-section h4 {
    margin-bottom: 0.8rem !important;
  }

  .contact-info p {
    margin-bottom: 0.25rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    padding-top: 0.8rem !important;
  }
}

/* FIX 4 — Garantir que o modal não apareça no mobile */
.modal:not(.is-open) {
  opacity: 0 !important;
  pointer-events: none !important;
}


/* BOTÃO DO MENU NO MOBILE */
.mobile-menu-btn {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* NAV MOBILE */
@media (max-width: 768px) {

  .mobile-menu-btn {
    display: block;
  }

  /* Importante: esconde o menu inicialmente */
  .nav-links {
    display: none !important; 
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    width: 200px;
    border-radius: 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }

  /* Quando abrir, aparece */
  .nav-links.active {
    display: flex !important;
  }
}

/* FIX DEFINITIVO DO MENU MOBILE */
@media (max-width: 768px) {

  /* fundo do menu: SÓLIDO, LIMPO, SEM BLUR */
  .nav-links {
    background: #120a25 !important; 
    backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,0.15);
    right: 1rem; /* desloca um pouco pra não colar na borda */
  }

  /* LINKS CLICÁVEIS */
  .nav-links a {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 2000 !important;
    display: block;
  }

  /* GARANTIR QUE NADA ESTÁ COBRINDO OS LINKS */
  .nav-links {
    pointer-events: auto !important;
    z-index: 3000 !important;
  }

  /* E remover QUALQUER coisa que possa travar clique */
  nav {
    z-index: 4000 !important;
  }
}