/* Reset */
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;  line-height:1.6;
  /*não -- font-family: 'Inter', system-ui, sans-serif;
  ok -- font-family: 'Roboto', Arial, sans-serif;
  ok -- font-family: 'Poppins', sans-serif;
  font-family: 'Montserrat', sans-serif;*/
  background:#fafaf7;
  color:#fafaf7;
  overflow-x: hidden;
}

.fade-element {
  opacity: 0;
  transform: translateY(20px); /* deslocamento inicial */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-element.visible {
  opacity: 1;
  transform: translateY(0); /* posição final */
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

/* ===== INTRO SCREEN ===== */

#intro-screen {
  position: fixed;
  inset: 0;

  background: #161d26;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  transition:
    opacity 1s ease,
    visibility 1s ease;
}

#intro-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.intro-content {
  text-align: center;
  animation: introFade 1.5s ease;
}

.intro-logo {
  width: clamp(200px, 38vw, 300px);
}

.intro-text {
  color: #fafaf7;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes introFade {

  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* Header / Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Navegação superior */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000000;

  background: transparent;

  transition: 0.3s;
}
.logo {
  height:32px;
  opacity: 0.8;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
nav ul li a {
  text-decoration: none;
  color: #fafaf7;
  font-weight: 400;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #bfa14a;
}
.cta-btn {
  background: transparent;
  border: 1.5px solid #bfa14a;
  padding: 10px 20px;
  color: #bfa14a;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #bfa14a;
  color: #fafaf7 !important; /* opcional: cor do texto ao passar o mouse */
}

/* Estado quando rola */
.nav.scrolled {
  background: #0b2545;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Links escuros quando fundo branco */
.nav.scrolled .nav-menu a {
  color: #fafaf7;
}

/* Botão ajustado */
.nav.scrolled .cta-btn {
  border-color: #bfa14a;
  color: #bfa14a;
}
.hero {
  position: relative;
  z-index: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px; /* controla só entre botão e ícone */
}

@media (max-width: 768px) {

  .nav {
    padding: 12px 15px;
    gap: 10px;
  }

  .logo {
    height: 32px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .cta-btn {
    padding: 6px 12px;
    font-size: 1rem;
  }

}

@media (max-width: 768px) {

  .cta-btn {
    padding: 8px 14px;
    font-size: 1rem;
  }

}

@media (max-width: 768px) {

  .nav-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

}

/* ===== MENU MOBILE ===== */

.menu-toggle {

  display: none;

  background: none;
  border: none;

  color: #fafaf7;

  font-size: 2rem;

  cursor: pointer;

  z-index: 3000;
}

/* WhatsApp */

.whatsapp-icon img {

  width: 32px;
  height: 32px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

  /* HERO */

  .hero {
    height: 100vh;
  }

  /* NAVBAR */

  .nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 999999999;
  }

  /* LOGO */

  .logo {
    height: 32px;
  }

  /* BOTÃO MENU */

  .menu-toggle {
    display: block;
  }

  /* ESCONDE MENU */
  .nav {
    align-items: center;
  }
  .nav-menu,
  .nav-actions {
    display: none;
  }

  /* MENU ABERTO */

  .nav.mobile-open {
    background: #0b2545;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999;

    display: block;
  }

  /* LOGO FIXO NO TOPO ESQUERDO */
  .nav.mobile-open .logo {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 3001;
  }

  /* BOTÃO HAMBURGUER / X FIXO NO TOPO DIREITO */
  .nav.mobile-open .menu-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 3001;
  }

  /* mostra elementos */
  .nav.mobile-open .nav-menu,
  .nav.mobile-open .nav-actions {
    display: flex;
    padding-right: 20px;
    gap: 14px;
  }

  /* DROPDOWN */

  .nav.mobile-open .nav-menu {
    display: flex;
    width: 100%;
    margin-top: 90px; /* espaço abaixo do topo */
    justify-content: flex-end;
  }

  .nav.mobile-open .nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding-right: 20px;
  }

  .nav.mobile-open .nav-menu ul li a {
    font-size: 1rem;
  }

  /* AÇÕES */

  .nav.mobile-open .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    padding-right: 20px;
    margin-top: 20px;
  }

  /* BOTÃO */

  .cta-btn {

    padding: 8px 14px;
    font-size: 1rem;
  }

  /* TEXTO HERO */

  .hero-text {

    padding: 0 20px;
    text-align: center;
  }

  .hero-text h1 {

    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-text h2 {

    font-size: 1rem;
    line-height: 1.5;
  }

/* ======= Carrossel =======*/

  /* BOTÕES CARROSSEL */

  .prev,
  .next {
    font-size: 1.5rem;
    padding: 10px;
  }

}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-text h1 {
  line-height: 1.2;
  margin: 0;
  margin-bottom: 15px;
}
.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left:0;
  opacity:0;
  transition: opacity 1s ease;
}
.slide.active {
  opacity:1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*filter: brightness(0.6) contrast(1.1);*/
}
.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2); /* escurece */
}
.hero-text {
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero-text h1 {
  font-size: 2rem;
  color: #fafaf7;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {

  .hero-text {
    padding: 0 10px; /* reduz as bordas laterais */
    width: 100%;
  }

}

@media (max-width: 768px) {

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;

    max-width: 100%;
    margin: 0 auto;

    text-align: center;
  }

}

/* ===== BOTÕES CARROSSEL MODERNOS ===== */

.prev,
.next {

  position: absolute;

  bottom: 30px;
  top: auto;

  transform: none;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.05);

  border: 1.5px solid #fafaf7;

  border-radius: 14px;

  color: #fafaf7;

  font-size: 1.4rem;

  cursor: pointer;

  z-index: 20;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

/* posição */
.prev {
  right: 95px;
}

.next {
  right: 30px;
}

/* hover */
.prev:hover,
.next:hover {

  background: rgba(255,255,255,0.15);

  transform: translateY(-2px);

  border-color: #fafaf7;
}

@media (max-width: 768px) {

  .prev,
  .next {

    width: 44px;
    height: 44px;

    bottom: 20px;

    font-size: 1.1rem;

    border-radius: 12px;
  }

  .prev {
    right: 75px;
  }

  .next {
    right: 20px;
  }
}

.whatsapp-icon {
  display: none;
}

.whatsapp-icon img {
  width: 28px;
  height: 28px;
  transition: 0.3s;
}

.whatsapp-icon img:hover {
  transform: scale(1.15);
}

/* Espaçamento no header */
.nav {
  gap: 20px;
}

/* ======= SERVIÇOS =======*/

.services h2 {
  font-size: 2.5rem;
  text-align: left;
  margin-bottom: 20px;
  color: #071426
}

.services {
  padding: 40px 40px;
}

.services-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.services-left {
  flex: 1;
}

.services-right {
  flex: 1;
}

.services-right img {
  width: 100%;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}

/* ITEM */
.service-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  cursor: pointer;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-header h3 {
  font-size: 18px;
  margin: 0;
  color: #071426;
}

.toggle {
  font-size: 22px;
  font-weight: bold;
  color: #071426;
}

/* DESCRIÇÃO */
.service-description {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  margin-top: 0;
  color: #071426;
}

.service-item.active .service-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.service-item.active .toggle {
  color: #bfa14a;
}

.service-item:hover h3 {
  color: #0b2545;
}

@media (max-width: 768px) {

  .services {
    padding: 30px 20px;
  }

  .services h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 20px;
  }

  .services-wrapper {
    flex-direction: column-reverse; /* column ou column-reverse */
    gap: 25px;
    align-items: stretch;
  }

  .services-left,
  .services-right {
    flex: unset;
    width: 100%;
  }

  .services-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  /* títulos menores */
  .service-header h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .toggle {
    font-size: 20px;
  }

  /* descrição mais confortável */
  .service-description {
    font-size: 14px;
    line-height: 1.5;
  }

  /* reduz espaçamento entre itens */
  .service-item {
    padding: 12px 0;
  }
}

/* =========================
   BIG NUMBERS
========================= */

.big-numbers {
  padding: 20px 40px;
  background: #fafaf7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* HEADER */

.big-numbers-header {
  margin-bottom: 20px;
}

.big-numbers-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b2545;
  margin: 0;
}

/* GRID */

.big-numbers-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */

.big-number-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  min-height: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform .3s ease,
    box-shadow .3s ease;
  text-align: center;
}

.big-number-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

/* TAG */

.card-tag {
  background: #f1f1f1;

  border-radius: 999px;

  padding: 8px 16px;

  text-align: center;

  font-size: 0.9rem;
  font-weight: 600;

  color: #071426;

  margin-bottom: 20px;
}

/* NUMBER */

.card-number {
  font-size: 2.6rem;
  font-weight: 800;

  color: #BFA14A;

  line-height: 1;

  margin-bottom: 16px;
}

/* DESCRIPTION */

.big-number-card p {
  margin: 0;

  color: #071426;

  font-size: 1rem;

  line-height: 1.5;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .big-numbers-track {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .big-numbers {
    padding: 60px 20px;
  }

  .big-numbers-header h2 {
    font-size: 2rem;
  }

  .big-numbers-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    padding-bottom: 10px;
  }

  .big-numbers-track::-webkit-scrollbar {
    display: none;
  }

  .big-number-card {

    min-width: 85%;

    flex: 0 0 auto;

    scroll-snap-align: start;

    min-height: 170px;
  }

  .card-number {
    font-size: 2.2rem;
  }

}

/* ======= TECNOLOGIAS =======*/

.technologies {
  padding: 20px 20px;
  background: #fafaf7;
  text-align: center;
}

.technologies h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  margin-left: 20px;
  color: #071426;
}

.technologies p {
  display: none;
}

.technologies-container svg,
.carousel-track svg,
.tech-icon {
  width: 60px;
  height: auto;
  fill: #b3b3b3;
  transition: transform 0.3s, fill 0.3s;
}

.technologies-container svg:hover,
.carousel-track svg:hover,
.tech-icon:hover {
  fill:gray;               /* cor ao passar o mouse */
  transform: scale(1.1);
}

.carousel {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );

  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );

}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
  gap: 40px;
}

.carousel-track img {
  width: 80px;
  opacity: 0.8;
  transition: 0.3s;
}

.carousel-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Animação */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0,0,0,0);

  white-space: nowrap;
  border: 0;
}

/* ======= Cases ======= */

.cases {
  padding: 40px 20px;
  background: #fafaf7;
  text-align: left;
}

.cases h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  margin-left: 20px;
  color: #071426;
}

.cases-subtitle {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #666;
  max-width: 900px;
  line-height: 1.6;
}

.cases-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.case {
  display: flex;
  flex-direction: column;

  background: #fafaf7;
  border-radius: 12px;
  overflow: hidden;

  width: 320px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  color: #333;

  transition: 0.3s;
}

.case:hover {
  transform: translateY(-5px);
}

.case-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-text {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.cases .section-title p {
  padding: 10px 20px;
  color: #071426;
  margin-bottom: 20px;
}

.case-text p {
  margin-bottom: 18px;
}

.case h3 {
  margin-bottom: 12px;
  color: #071426;
  line-height: 1.3;
}

.case p {
  color: #071426;
  line-height: 1.6;
}

/* ===== BOTÃO ===== */

.read-more-btn {
  margin-top: auto;
  align-self: flex-end;
  background: #072f6b;
  color: #fafaf7;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  margin-right: -6px;
  margin-bottom: -4px;
}

.read-more-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== MODAL ===== */

.case-modal {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.65);

  display: none;

  justify-content: center;
  align-items: center;

  padding: 30px;

  z-index: 9999;
}

.case-modal.active {
  display: flex;
}

.modal-content {
  background: white;

  width: 100%;
  max-width: 900px;

  max-height: 90vh;
  overflow-y: auto;

  border-radius: 20px;

  padding: 50px;

  position: relative;

  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;

  top: 18px;
  right: 22px;

  border: none;
  background: none;

  font-size: 32px;
  cursor: pointer;

  color: #071426;
}

.close-modal:hover {
  color: #071426;
}

/* ===== CONTEÚDO DO MODAL ===== */

.modal-content h1 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: #072f6b;
}

.modal-content h2 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #072f6b;
}

.modal-content p,
.modal-content li {
  line-height: 1.8;
  color: #071426;
}

.modal-content ul {
  padding-left: 20px;
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.results-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 2px;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: #16a34a;
  color: #fafaf7;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 768px) {

  .modal-content {
    padding: 28px 22px;
  }

  .modal-content h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .modal-content h2 {
    font-size: 1.15rem;
    line-height: 1.4;

    margin-top: 28px;
    margin-bottom: 12px;
  }

  .modal-content p,
  .modal-content li {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .close-modal {
    top: 14px;
    right: 16px;
    font-size: 28px;
  }

}

.services,
.technologies,
.cases,
.contact,
.faq,
.big-numbers {
  background: #fafaf7 !important;
}

/* ======= About ======= */

.about {
  padding: 40px 40px;
  background: #0b2545;
  color: #fafaf7;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;

  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.about-text {
  flex: 1.3;
  min-width: 0;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: #fafaf7;
}

/* ===== IMAGENS ===== */

.about-images {
  display: flex;
  gap: 10px;
  align-items: center;
}

.about-images img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

@media (max-width: 900px) {
  
  .about-images {
    justify-content: center;
    gap: 8px;
    padding: 0;
    box-sizing: border-box;
  }

  .about-images img {
    width: min(180px, calc((100vw - 40px - (var(--img-count, 3) - 1) * 8px) / var(--img-count, 3)));
    height: min(180px, calc((100vw - 40px - (var(--img-count, 3) - 1) * 8px) / var(--img-count, 3)));
    flex-shrink: 0;
  }
}

.about-images img:hover {
  transform: scale(1.05);
}

/* Responsivo: em telas pequenas, coloca imagem em cima do texto */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-image, .about-text {
    max-width: 100%;
  }
}

/* ======= Contato =======*/

.contact {
  padding: 40px 10%;
  color: #071426;
  position: relative;
  z-index: 0;
}

.contact label {
  display: none;
}

.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-form,
.contact-info {
  font-family: inherit;
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  display: none;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

/* ===== CONTACT INFO ===== */

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 20px;
}

.contact-info h3 {
  margin-top: 30px;
  margin-bottom: 8px;
  color: #071426;
}

.contact-info p {
  margin: 0;
  line-height: 1.5;
  color: #071426;
}

.contact-info a {
  color: inherit;          /* remove azul do link */
  text-decoration: none;   /* remove sublinhado */
}

.contact-info a:hover {
  text-decoration: underline; /* opcional: só no hover */
}

.company-contact {
  font-style: normal; /* remove itálico do <address> */
}

.contact-info p + p {
  margin-top: 4px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  padding: 12px;
  border: none;
  border-radius: 6px;
}

.phone-group {
  display: flex;
  gap: 10px;
}

.phone-group select {
  font-family: inherit;
  color: #666; /* mesma cor dos placeholders */
}

.contact-form button {
  font-family: inherit;
  background: #072f6b;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}
.contact-highlight {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #072f6b;
}

/* ===== TELEFONE RESPONSIVO ===== */

.phone-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.phone-group select {
  width: 38%;
  min-width: 110px;
  flex-shrink: 0;
}

.phone-group input {
  flex: 1;
  min-width: 0;
}

/* ===== SOCIAL ICONS ===== */

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 25px;
}

.social-btn {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.social-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* WHATSAPP */

.social-btn.whatsapp {
  background: #25D366;
}

/* ===== CONTACT BACKGROUND IMAGE ===== */

.contact::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("images/erick_office.png") center center / cover no-repeat;
  opacity: 0.25; /* transparência forte */
  pointer-events: none;
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {

  .contact::after {
    width: 100%;
    opacity: 0.04;
  }
}

/* ======= FAQ =======*/

.faq {
  padding: 40px 20px;
  background: #fafaf7;
}

.faq-header {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.faq-header h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #071426;
}

.faq-header p {
  color: #666;
  line-height: 1.7;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;

  border-radius: 14px;

  margin-bottom: 18px;

  overflow: hidden;

  transition: 0.3s;
}

.faq-question {
  width: 100%;

  padding: 24px;

  border: none;
  background: none;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;

  font-size: 1.05rem;
  font-weight: 600;

  color: #072f6b;

  text-align: left;
}

.faq-question:hover {
  background: rgba(7,47,107,0.03);
}

.faq-icon {
  font-size: 1.5rem;
  margin-left: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.3s ease,
    padding 0.3s ease;

  padding: 0 24px;
}

.faq-answer p {
  color: #555;
  line-height: 1.8;
  padding-bottom: 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

@media (max-width: 768px) {

  .faq {
    padding: 60px 20px;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 20px;
  }

}

/* ======= Footer =======*/

footer {
  background: #0b2545;
  color: #fafaf7;
  padding: 40px 20px 20px;
}

.footer-logo {
  width: 160px; /* ajuste como quiser */
  margin-bottom: 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #bfa14a;
}

.footer-col:first-child {
  flex: 2; /* ocupa mais espaço */
}

.footer-col {
  flex: 1;
}

/* Parte de baixo */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* ================= AJUSTES v2 (paleta preservada) ================= */
html{scroll-behavior:smooth}
section[id]{scroll-margin-top:72px}
:focus-visible{outline:2px solid #bfa14a;outline-offset:3px}
.intro-text{margin-top:18px;font-size:.72rem}
.nav.scrolled{background:rgba(11,37,69,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

/* Hero / carrossel */
.slide::after{background:linear-gradient(to top,rgba(7,20,38,.6),rgba(7,20,38,.25))}
.slide.active img{animation:kenburns 9s ease-out both}
@keyframes kenburns{from{transform:scale(1.08)}to{transform:scale(1)}}
.hero-text{width:min(92%,980px)}
.hero-text h1,.hero-text h2{font-size:clamp(2.1rem,5.2vw,3.5rem);line-height:1.12;font-weight:700;color:#fafaf7;text-shadow:0 2px 24px rgba(7,20,38,.7);margin:0 0 .45em}
.hero-text p{font-size:clamp(1.1rem,2.1vw,1.65rem);line-height:1.5;color:#fafaf7;max-width:46ch;margin:0 auto;text-shadow:0 2px 16px rgba(7,20,38,.7)}
.slide.active .hero-text>*{animation:heroIn .9s cubic-bezier(.2,.7,.2,1) both}
.slide.active .hero-text>:nth-child(1){animation-delay:.3s}
.slide.active .hero-text>:nth-child(2){animation-delay:.55s}
@keyframes heroIn{from{opacity:0;translate:0 28px}}
.hero-dots{position:absolute;left:50%;bottom:44px;translate:-50% 0;display:flex;gap:10px;z-index:20}
.hero-dots button{width:34px;height:4px;padding:0;border:0;border-radius:4px;background:rgba(250,250,247,.35);cursor:pointer;transition:background .3s}
.hero-dots button.on{background:#bfa14a}
@media(max-width:768px){.hero-dots{bottom:38px}.hero-dots button{width:24px}}

/* Proporções */
.services,.cases,.faq{max-width:1280px;margin-inline:auto;padding-block:clamp(28px,7vw,50 px);padding-inline:clamp(20px,4vw,40px)}
.services h2,.cases h2,.technologies h2{margin-left:0}
.cases .section-title p{padding:10px 0;max-width:none;}
.services-right img{aspect-ratio:4/3;object-fit:cover;box-shadow:0 20px 50px rgba(7,20,38,.15)}
.cases-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:28px}
.case{width:auto;transition:transform .3s ease,box-shadow .3s ease}
.case:hover{box-shadow:0 14px 32px rgba(7,20,38,.16)}
.technologies{padding-block:clamp(48px,6vw,50px)}
.carousel-track{gap:0}
.tech-item{margin-right:48px;flex:0 0 auto}
.case-modal{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.case-modal.active{animation:ovl .25s ease}
@keyframes ovl{from{opacity:0}}

/* Rodapé */
footer{padding:clamp(48px,6vw,72px) clamp(20px,4vw,40px) 24px}
.footer-container{display:grid;grid-template-columns:1.3fr 1fr 1.5fr;gap:clamp(32px,5vw,72px);max-width:1280px;margin:0 auto}
.footer-col,.footer-col:first-child{flex:none;min-width:0}
.footer-logo{width:clamp(120px,14vw,150px);margin-bottom:16px}
.footer-col h4{font-size:1rem;color:#bfa14a;margin-bottom:18px}
.footer-col p{font-size:.95rem;line-height:1.6}
.footer-col a{color:#ccc;text-decoration:none;transition:color .3s}
.footer-col a:hover{color:#bfa14a}
.footer-bottom{max-width:1280px;margin:40px auto 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 32px;font-size:.875rem}
.footer-legal{display:flex;gap:24px;flex-wrap:wrap}
.footer-legal a{color:#aaa;text-decoration:none;transition:color .3s}
.footer-legal a:hover{color:#bfa14a}
@media(max-width:820px){.footer-container{grid-template-columns:1fr 1fr}.footer-col:first-child{grid-column:1/-1}}
@media(max-width:520px){.footer-container{grid-template-columns:1fr}.footer-bottom{flex-direction:column;align-items:flex-start}}

/* Entrada e saída (scroll) */
.js [data-reveal]:not(.is-in){opacity:0}
[data-reveal="up"]{--x:0px;--y:28px}
[data-reveal="left"]{--x:-44px;--y:0px}
[data-reveal="right"]{--x:44px;--y:0px}
[data-reveal="zoom"]{--x:0px;--y:12px;--s:.92}
[data-reveal].is-in{animation:rvIn .8s cubic-bezier(.2,.7,.2,1) var(--d,0s) backwards}
[data-reveal].is-out{animation:rvOut .45s ease forwards}
[data-reveal].is-out.below{--oy:24px}
@keyframes rvIn{from{opacity:0;translate:var(--x,0) var(--y,28px);scale:var(--s,1)}}
@keyframes rvOut{to{opacity:0;translate:0 var(--oy,-24px)}}

/* Páginas legais */
.legal-header{background:#0b2545;padding:14px clamp(20px,4vw,40px);display:flex;justify-content:space-between;align-items:center}
.legal-header img{height:32px;opacity:.8}
.legal-header a.back{color:#bfa14a;text-decoration:none;font-weight:600;font-size:.95rem}
.legal{max-width:760px;margin:0 auto;padding:clamp(40px,6vw,80px) 20px;color:#071426}
.legal h1{color:#072f6b;font-size:clamp(2rem,4vw,2.6rem);margin-bottom:8px}
.legal .updated{color:#666;margin-bottom:36px}
.legal h2{color:#072f6b;font-size:1.3rem;margin:36px 0 10px}
.legal p,.legal li{line-height:1.8;color:#071426}
.legal ul{padding-left:22px}
.legal a{color:#072f6b}

/* Formulário de contato */
.contact .consent{display:flex;align-items:flex-start;gap:10px}
.contact .consent label{display:block;font-size:.9rem;line-height:1.5}
.contact-form .consent input{width:18px;height:18px;padding:0;margin-top:3px;flex-shrink:0;accent-color:#0b2545}
.contact-form button:disabled{opacity:.5;cursor:not-allowed}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js [data-reveal]{opacity:1!important}
  [data-reveal],.hero-text>*,.slide img,.case-modal.active{animation:none!important}
  .carousel-track{animation:none}
}

@media (min-width: 769px) {
  .nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .about { padding: 40px 20px; }
  .about-container { padding: 0; overflow: visible; }
  .about-images { justify-content: center; gap: 0; }
  .about-images img {
    width: 26vw; height: 26vw;
    max-width: 150px; max-height: 150px;
    margin-inline: -2vw;
  }
.about-images img:nth-child(1) {
  order: 2;
  width: 32vw; height: 32vw;
  max-width: 180px; max-height: 180px;
  position: relative; z-index: 1;
}
.about-images img:nth-child(2) { order: 1; }
.about-images img:nth-child(3) { order: 3; }
}

.cases-more { display: none; }

@media (max-width: 768px) {
  .cases-container:not(.expanded) .case:nth-child(n+3) { display: none; }
  .cases-more {
    display: block;
    margin: 24px auto 0;
    padding: 10px 28px;
    background: #072f6b;
    color: #fafaf7;
    border: none;
    border-radius: 999px;
    font-size: .95rem;
    cursor: pointer;
  }
}

.prev, .next { display: none; }

.wa-float{
  position:fixed;right:24px;bottom:24px;z-index:9000;
  width:56px;height:56px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:transform .3s ease;
}
.wa-float:hover{transform:scale(1.08)}
.wa-float img{width:30px;height:30px;object-fit:contain}
@media(max-width:768px){.wa-float{right:20px;bottom:20px;width:52px;height:52px}}

.scroll-down{display:none}

@media (max-width:768px){
  .hero-dots{display:none}
  .scroll-down{
    display:flex;align-items:center;justify-content:center;
    position:absolute;left:50%;bottom:24px;margin-left:-22px;z-index:20;
    width:44px;height:44px;color:#fafaf7;
    animation:bounceDown 1.8s ease-in-out infinite;
  }
  .scroll-down svg{width:28px;height:28px}
}

@keyframes bounceDown{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(8px)}
}

@media (prefers-reduced-motion:reduce){.scroll-down{animation:none}}

@media (max-width: 768px) {
  .big-numbers-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow: visible;
  }
  .big-number-card {
    min-width: 0;
    min-height: 0;
    padding: 16px 12px;
  }
  .card-tag { font-size: .8rem; padding: 6px 10px; margin-bottom: 14px; }
  .card-number { font-size: 1.6rem; margin-bottom: 10px; }
  .big-number-card p { font-size: .85rem; }
}

/* Serviços em linha do tempo */
.services-layout{--nw:56px;--nf:2rem;--gap:56px;display:grid;gap:32px}
.services-intro h2{margin-bottom:12px}
.services-intro p{color:#071426;max-width:46ch;line-height:1.7}

.timeline{list-style:none;display:grid;gap:var(--gap)}
.tl-item{position:relative;display:grid;grid-template-columns:var(--nw) 1fr;gap:16px}
.tl-item:not(:last-child)::before{
  content:"";position:absolute;width:2px;background:#d9d9d4;
  left:calc(var(--nw)/2 - 1px);
  top:calc(var(--nf) + .5rem);
  bottom:calc(var(--nf)*-0.2 - var(--gap) + .5rem);
}
.tl-num{font-family:'Poppins',sans-serif;font-weight:800;font-size:var(--nf);line-height:1;color:#bfa14a;text-align:center}
.tl-body h3{font-size:1.15rem;line-height:1.3;color:#071426;margin-bottom:8px}
.tl-body p{color:#071426;line-height:1.6;font-size:.95rem}
.tl-body img{display:block;width:100%;max-width:380px;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-top:16px}

@media (min-width:900px){
  .services-layout{
    --nw:72px;--nf:2.6rem;--gap:80px;
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
    gap:64px;align-items:start;
  }
  .services-intro{position:sticky;top:110px}
  .tl-body h3{font-size:1.3rem}
  .tl-body p{font-size:1rem}
}

@media (min-width: 769px) {
  .hero-text h1, .hero-text h2 { font-size: 2.8rem; }
  .hero-text p { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .nav.mobile-open {
    background: rgba(11, 37, 69, .6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

@media (min-width: 900px) {
  .services-intro { padding-left: 60px; }
}

@media (min-width: 900px) {
  .services-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 32px;
  }
}

.tl-num{display:flex;justify-content:center;align-items:flex-start}
.tl-num svg{
  width:var(--nf);height:var(--nf);
  fill:none;stroke:#bfa14a;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}

.hero-dots, .prev, .next { display: none; }

.contact::after {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
}

.contact-form input, .contact-form select, .contact-form textarea {
  font-size: .95rem;
  border: 1px solid #e3e3dc;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #bfa14a;
  box-shadow: 0 0 0 3px rgba(191, 161, 74, .25);
}

/* links reais nos cases */
a.read-more-btn{text-decoration:none}
.legal .results-list{padding-left:0}

@media (max-width: 768px) {
  .timeline:not(.expanded) .tl-item:nth-child(n+3) { display: none; }
  .timeline:not(.expanded) .tl-item:nth-child(2)::before { display: none; }
}

/* seletor e sugestão de idioma */
.lang-switch{color:#fafaf7;text-decoration:none;font-weight:600;font-size:.85rem;border:1px solid rgba(250,250,247,.5);border-radius:6px;padding:6px 10px;transition:.3s}
.lang-switch:hover{color:#bfa14a;border-color:#bfa14a}
.lang-banner{position:fixed;left:50%;bottom:20px;translate:-50% 0;z-index:9500;background:#0b2545;color:#fafaf7;border:1px solid #bfa14a;border-radius:999px;padding:10px 12px 10px 20px;display:flex;gap:12px;align-items:center;font-size:.9rem;box-shadow:0 8px 24px rgba(7,20,38,.3);max-width:calc(100% - 32px)}
.lang-banner a{color:#bfa14a;text-decoration:none;font-weight:600}
.lang-banner button{background:none;border:0;color:#fafaf7;font-size:1.3rem;cursor:pointer;line-height:1}
