:root{
  --blue:#0b2a59;
  --blue-2:#123d7a;
  --cyan:#00ADEF;
  --bg:#f4f8fc;
  --white:#ffffff;
  --text:#18324b;
  --muted:#5d7186;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

.container{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
}

.mt-24{
  margin-top:24px;
}

/* HEADER */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(90deg,var(--blue),var(--blue-2));
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.topbar-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:10px;
  background:#fff;
}

.brand-text{
  color:#fff;
}

.brand-text strong{
  display:block;
  font-size:24px;
  letter-spacing:1px;
}

.brand-text span{
  display:block;
  font-size:13px;
  opacity:.9;
}

.nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  margin-left:28px;
}

.nav a{
  color:#fff;
  font-weight:700;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  margin-right:10px;
  transition:.25s ease;
  font-size:15px;
}

.nav a:last-child{
  margin-right:0;
}

.nav a:hover{
  background:#f59e0b;
  color:var(--blue);
}

.nav a[aria-label="Português"],
.nav a[aria-label="English"]{
  font-size:24px;
  line-height:1;
  padding:10px 12px;
}

.menu-toggle{
  display:none;
  margin-left:auto;
  font-size:30px;
  line-height:1;
  border:none;
  background:none;
  color:#fff;
  cursor:pointer;
  padding:8px 10px;
}

/* HERO */
.hero{
  position:relative;
}

.hero-slider{
  position:relative;
  min-height:78vh;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .7s ease, visibility .7s ease;
}

.slide.active{
  opacity:1;
  visibility:visible;
}

.slide img{
  width:100%;
  height:78vh;
  object-fit:cover;
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(11,42,89,.88) 0%, rgba(11,42,89,.55) 48%, rgba(11,42,89,.18) 100%);
}

.slide-content{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  color:#fff;
}

.eyebrow{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:12px;
  font-weight:700;
  margin-bottom:16px;
}

.slide-content h1{
  margin:0 0 18px;
  max-width:760px;
  font-size:clamp(38px,5vw,68px);
  line-height:1.02;
}

.slide-content p{
  margin:0 0 26px;
  max-width:680px;
  font-size:clamp(18px,2vw,22px);
  color:#e8eef8;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:14px;
  font-weight:700;
  transition:.25s ease;
}

.btn.primary{
  background:#f59e0b;
  color:#fff;
}

.btn.primary:hover{
  opacity:.95;
}

.btn.secondary{
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
}

.btn.secondary:hover{
  background:#fff;
  color:var(--blue);
}

.whatsapp-alt{
  background:#fff;
  color:var(--blue);
  border:1px solid var(--blue);
}

/* SLIDER CONTROLS */
.slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:30px;
  cursor:pointer;
  z-index:20;
  transition:.25s ease;
}

.slider-arrow:hover{
  background:rgba(255,255,255,.28);
}

.slider-arrow.prev{
  left:24px;
}

.slider-arrow.next{
  right:24px;
}

.slider-dots{
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:20;
}

.slider-dots button{
  width:14px;
  height:14px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  margin-right:10px;
}

.slider-dots button:last-child{
  margin-right:0;
}

.slider-dots button.active{
  background:#f59e0b;
}

/* SECTIONS */
.section{
  padding:90px 0;
}

.section-label{
  color:var(--blue-2);
  text-transform:uppercase;
  letter-spacing:1.4px;
  font-size:12px;
  font-weight:700;
  margin-bottom:12px;
}

.section-label.light{
  color:#dbe7f6;
}

.about h2,
.services h2,
.portfolio h2,
.cta h2,
.differentials h2{
  margin:0 0 18px;
  color:var(--blue);
  font-size:clamp(34px,4vw,52px);
  line-height:1.08;
}

.cta h2,
.cta p{
  color:#fff;
}

.about p,
.cta p{
  color:var(--muted);
  font-size:16px;
  margin:0 0 14px;
}

.cta p{
  color:rgba(255,255,255,.92);
}

/* ABOUT */
.two-col{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
  align-items:start;
}

.about-highlights{
  margin-top:24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.highlight-box{
  background:#fff;
  border-left:5px solid var(--cyan);
  border-radius:16px;
  padding:18px;
  box-shadow:0 14px 32px rgba(11,42,89,.08);
  min-height:140px;
}

.highlight-box strong{
  display:block;
  color:#020251;
  margin-bottom:6px;
  font-size:16px;
}

.highlight-box span{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.about-visual{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
}

.about-building-img{
  width:100%;
  height:420px;
  object-fit:cover;
}

.about-visual-caption{
  padding:18px 20px 22px;
  background:linear-gradient(180deg,#fff,#f5f8fc);
}

.about-visual-caption strong{
  display:block;
  color:#020251;
  font-size:18px;
  margin-bottom:6px;
}

.about-visual-caption span{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:26px;
}

.card{
  background:#fff;
  border-radius:22px;
  padding:28px;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
  transition:.3s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(11,42,89,.18);
}

.card h3{
  margin:0 0 10px;
  color:var(--blue);
  font-size:24px;
}

.card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.service-link{
  display:block;
  color:inherit;
  border:2px solid transparent;
}

.service-link:hover{
  border-color:rgba(11,42,89,.08);
}

/* DIFFERENTIALS */
.differentials-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:26px;
}

.diff-card{
  background:#4aa8d3;
  color:#fff;
  border-radius:22px;
  padding:26px;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
  min-height:280px;
}

.diff-number{
  font-size:34px;
  font-weight:800;
  color:#020251;
  background:#fff;
  display:inline-block;
  padding:6px 14px;
  border-radius:12px;
  margin-bottom:16px;
}

.diff-card h3{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

.diff-card p{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:#fff;
}

/* PORTFOLIO */
.portfolio-intro{
  max-width:820px;
  margin:0 0 24px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:26px;
}

.portfolio-item{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
  transition:.3s ease;
  scroll-margin-top:110px;
}

.portfolio-item:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(11,42,89,.18);
}

.portfolio-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  background:#e8f0fb;
}

.portfolio-item span{
  display:block;
  padding:18px 20px 22px;
  color:var(--blue);
  font-weight:700;
  font-size:20px;
}

/* TEAM */
.team-section{
  background:linear-gradient(135deg,#303244,#3c3d52);
  color:#fff;
}

.team-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:center;
}

.team-title{
  color:#fff;
  margin:0 0 24px;
  font-size:clamp(34px,4vw,56px);
  line-height:1.05;
}

.team-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.team-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:18px;
}

.team-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:14px;
  font-size:26px;
  flex-shrink:0;
}

.team-item strong{
  display:block;
  font-size:20px;
  color:#fff;
  margin-bottom:6px;
}

.team-item span{
  display:block;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.6;
}

.team-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}

.team-image-stack{
  position:relative;
  width:100%;
  max-width:460px;
  min-height:420px;
}

.team-photo{
  position:absolute;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
  object-fit:cover;
}

.team-photo-1{
  width:62%;
  height:250px;
  top:0;
  right:30px;
}

.team-photo-2{
  width:55%;
  height:220px;
  bottom:0;
  right:0;
}

/* FORM */
.cta{
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
}

.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.form-box{
  background:#fff;
  border-radius:20px;
  padding:26px;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
}

.form-box label{
  display:block;
  margin-bottom:6px;
  font-weight:700;
  color:var(--blue);
  font-size:14px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.form-grid-gap{
  margin-top:16px;
}

.form-box input,
.form-box select,
.form-box textarea{
  width:100%;
  padding:14px;
  border:1px solid #d4dce6;
  border-radius:10px;
  font-size:14px;
  font-family:Arial, Helvetica, sans-serif;
  background:#fff;
}

.form-box textarea{
  resize:vertical;
}

.form-area{
  margin-top:16px;
}

.form-actions{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.form-btn{
  border:none;
  cursor:pointer;
}

/* CONTACT */
.contact-title{
  color:var(--blue);
  margin-bottom:20px;
}

.contact-link{
  color:var(--blue);
  font-weight:700;
}

.map-box{
  margin-top:32px;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(11,42,89,.12);
}

/* FOOTER */
.footer{
  background:#081c3a;
  color:#d6e2f1;
  padding:28px 0 40px;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer-grid > div{
  margin-bottom:20px;
}

.footer-services-list{
  margin-top:10px;
}

.footer-services-list div{
  display:block;
  margin-bottom:8px;
  color:#d6e2f1;
  font-size:15px;
  font-weight:600;
}

.footer-services-list div span{
  display:inline-block;
  width:22px;
  margin-right:8px;
}

.footer-social{
  display:inline-block;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  margin-top:6px;
}

.instagram{
  background:#E1306C;
}

.facebook{
  background:#1877F2;
}

.whatsapp-social{
  background:#25D366;
}

.footer-copy{
  margin-top:20px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.2);
  padding-top:18px;
  color:#d6e2f1;
}

/* CHATBOT */
.chatbot-widget{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:2000;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

.chatbot-toggle{
  width:72px;
  height:72px;
  border:none;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-size:32px;
  cursor:pointer;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
}

.chatbot-box{
  display:none;
  width:360px;
  max-width:calc(100vw - 30px);
  background:#fff;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(11,42,89,.18);
  overflow:hidden;
  margin-bottom:12px;
}

.chatbot-box.active{
  display:block;
}

.chatbot-header{
  background:linear-gradient(90deg,var(--blue),var(--blue-2));
  color:#fff;
  font-weight:700;
  padding:14px 16px;
}

.chatbot-body{
  padding:16px;
}

.chatbot-body p{
  margin:0 0 12px;
  color:var(--text);
}

.chatbot-option{
  width:100%;
  text-align:left;
  border:none;
  background:#f4f7fb;
  color:var(--blue);
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:10px;
  font-weight:700;
  cursor:pointer;
}

.chatbot-option:hover{
  background:#e9f1fb;
}

.chatbot-response{
  margin-top:10px;
  padding:12px;
  background:#f9fbff;
  border-radius:10px;
  color:var(--text);
  font-size:14px;
  line-height:1.6;
}

.chatbot-response a{
  color:var(--blue);
  font-weight:700;
}

/* RESPONSIVE */
@media (max-width:1024px){
  .two-col,
  .team-grid{
    grid-template-columns:1fr;
  }

  .cards,
  .portfolio-grid,
  .differentials-grid{
    grid-template-columns:1fr;
  }

  .cta-box{
    display:block;
  }

  .slide img{
    height:70vh;
  }

  .hero-slider{
    min-height:70vh;
  }
}

@media (max-width:768px){
  .topbar-inner{
    min-height:74px;
  }

  .brand-text span{
    display:none;
  }

  .logo{
    width:46px;
    height:46px;
  }

  .menu-toggle{
    display:block;
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    z-index:1101;
  }

  .nav{
    display:none;
    flex-direction:column;
    background:#fff;
    position:absolute;
    top:74px;
    right:0;
    width:250px;
    max-width:92vw;
    padding:16px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.14);
    z-index:1100;
    margin-left:0;
  }

  .nav.active{
    display:flex;
  }

  .nav a{
    color:var(--blue);
    background:#f4f7fb;
    padding:12px 14px;
    border-radius:10px;
    margin-right:0;
    margin-bottom:8px;
  }

  .nav a:last-child{
    margin-bottom:0;
  }

  .nav a:hover{
    background:#e9f1fb;
    color:var(--blue);
  }

  .slide img{
    height:76vh;
  }

  .hero-slider{
    min-height:76vh;
  }

  .slide-content{
    padding-right:20px;
  }

  .slide-content h1{
    font-size:34px;
  }

  .slide-content p{
    font-size:16px;
  }

  .slider-arrow{
    display:none;
  }

  .section{
    padding:64px 0;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .hero-actions,
  .form-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-grid{
    display:block;
  }

  .about-highlights,
  .team-list{
    grid-template-columns:1fr;
  }

  .about-building-img{
    height:300px;
  }

  .team-image-stack{
    min-height:340px;
  }

  .team-photo-1{
    width:70%;
    height:210px;
    right:20px;
  }

  .team-photo-2{
    width:62%;
    height:180px;
  }

  .chatbot-widget{
    right:14px;
    bottom:14px;
  }

  .chatbot-box{
    width:300px;
  }

  .chatbot-toggle{
    width:68px;
    height:68px;
    font-size:30px;
  }
}