@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* ===== PALETA DA MARCA ===== */
  --bg-principal: #2d3123;
  --bg-secundary: #e5ddd2;
  --bg-header: #838b61;
  --bg-body: #f7f4ee;
  --fnt-btn-clr: #d4b537;
  --font-color: #4d6047;
  --cont-cdbg: #e5ddd2;
  --cont-fntbg: #e5ddd254;
  --fntbg-txt: #e5ddd29d;
  --font-txt: #FFFFFF;
  --font-hover: #ceccb2;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Cabinet Grotesk', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1)
}

/* ===== CONFIG GERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-body);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BOTÃO REUTILIZÁVEL ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  border-radius: 30px;
  font-family: "Josefin Sans", sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  box-shadow: none;
  transition: background-color .3s var(--ease-out),
    backdrop-filter .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}

header.scrolled {
  background-color: rgba(216, 228, 190, 0.123);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled nav ul li a {
  color: #040502;
}

header.scrolled:hover nav ul li a {
  color: var(--bg-header);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  padding: 0 25px;
  margin-bottom: 5px;
}

.navbar-logo img {
  height: 90px;
  display: block;
  margin-left: 35px;
}

nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #f5ebbe;
  font-size: 1.3rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 2.5px;
  transition: color .2s ease;
  padding: 0 12px;
  position: relative;
}

nav ul li a:focus-visible {
  outline: none
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--fnt-btn-clr);
  transition: width .3s ease-in-out;
}

nav ul li a:hover {
  cursor: pointer;
  color: var(--font-hover);
}

nav ul li a:hover::after {
  width: 70%;
}

nav ul li.has-dropdown {
  position: relative;
}

nav ul li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 180px;
  list-style: none;
  background-color: var(--cont-cdbg);
  border-radius: 10px;
  padding: .6rem;
  box-shadow: 0 16px 40px #0000002e;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease-out),
    transform .25s var(--ease-out),
    visibility .25s;
  z-index: 50;
  flex-direction: column
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  color: var(--bg-principal) !important;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: normal;
  padding: .55rem .8rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.dropdown-menu li a::after {
  content: none;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-header);
  color: #FFFFFF !important;
}

.btn-contato {
  background-color: var(--bg-principal);
  color: var(--cont-cdbg);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 22px;
  transition: background-color 0.2s ease;
}

.btn-contato:hover {
  background-color: var(--bg-header);
}

/* ====== MENU MOBILE — BOTÃO HAMBÚRGUER (fonte única de verdade) ====== */

header .btn-menu-mob {
  display: none; /* fica escondido no desktop; a media query liga no mobile */
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 30px;
  height: 20px;
  z-index: 100000; /* precisa ficar ACIMA do .menu-mobile (99999), senão o X
                       fica escondido atrás do painel quando o menu abre */
  cursor: pointer;
}

header .btn-menu-mob div {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background-color: #b9e054;
  transition: top .3s ease-in-out, transform .3s ease-in-out, background-color .3s ease-in-out;
}

header .btn-menu-mob .line-menumob-1 {
  top: 0;
}

header .btn-menu-mob .line-menumob-2 {
  top: 18px;
}

/* Estado ativo — forma o X */
header .btn-menu-mob .line-menumob-1.ativo1 {
  top: 9px;
  transform: rotate(45deg);
  background-color: #fff;
}

header .btn-menu-mob .line-menumob-2.ativo2 {
  top: 9px;
  transform: rotate(-45deg);
  background-color: #fff;
}

/* ===== Estilo MENU MOBILE (painel) ===== */

header .menu-mobile {
  position: fixed !important; /* Força o posicionamento fixo */
  top: 0;
  left: -100% !important;     /* Começa escondido à esquerda */
  width: 100% !important;     /* Largura total */
  height: 100vh !important;   /* Ocupa a altura INTEIRA da tela do celular */
  background-color: #2d3123 !important; /* Cor sólida para cobrir tudo */
  z-index: 99999 !important;  /* Fica na frente de absolutamente tudo */
  display: flex !important;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: .5s ease-in-out;
}

header .menu-mobile nav {
  display: block;   /* sobrescreve display:flex/height:98px herdados do nav desktop */
  height: auto;
  width: 100%;
  padding: 20px;
  margin-bottom: 0;
}

header .menu-mobile nav ul {
  display: flex;
  flex-direction: column; /* a regra genérica "nav ul { display:flex }" deixava
                              esses itens em linha horizontal, estourando a
                              largura da tela e sendo cortados pelo overflow:hidden
                              do .menu-mobile — por isso pareciam não aparecer */
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

header .menu-mobile nav ul li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
}

header .menu-mobile.abrir nav ul li {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


header .menu-mobile.abrir {
  left: 0 !important; /* Faz o menu entrar na tela */
}

header .menu-mobile.abrir nav ul li:nth-child(1) { transition-delay: .1s; }
header .menu-mobile.abrir nav ul li:nth-child(2) { transition-delay: .2s; }
header .menu-mobile.abrir nav ul li:nth-child(3) { transition-delay: .3s; }
header .menu-mobile.abrir nav ul li:nth-child(4) { transition-delay: .4s; }

header .menu-mobile nav a {
  font-size: 1.8rem !important; /* Texto grande para mobile */
  color: #ffffff !important;    /* Texto BRANCO para destacar */
  text-decoration: none;
  display: block;
  padding: 15px 0;
}

header .menu-mobile nav a:hover {
  background-color: #a89e8f;
  color: #0c0a08;
  box-shadow: 0 0 15px #FFFFFF90;
}


body.no-overflow {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 80vh;
  padding-top: 92px;
  padding-bottom: 3rem; 

  background-image: url('/src/assets/images/hero_cosmo_paisagismo.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 22%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

.hero_container {
  max-width: 55%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #403d33A6;
  z-index: 1;
}

.hero .hero_container {
  position: relative;
  z-index: 2;
  color: var(--cont-cdbg);
}

.hero_title {
  font-size: 3.8rem;
  font-family: var(--font-body);
}

.hero_title em {
  color: var(--fnt-btn-clr);
  font-weight: 600;
}

.hero_description {
  padding-top: 1rem;
  overflow-wrap: break-word;
  width: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--fntbg-txt);
  text-indent: .2rem;
}

.description {
  word-break: break-word;
}

.hero_portfolio {
  display: flex;
}

.hero_portfolio a {
  text-decoration: none;
  color: var(--cont-cdbg);
  font-size: 1.3rem;
  font-weight: 500;
  padding: .99rem 5.8rem;
  border: 3.2px solid var(--fnt-btn-clr);
  border-radius: 35px;
  margin-top: 2rem;
}

/* ===== FORM DE CONTATO ===== */
.form-contact {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 395px;
  background-color: var(--cont-cdbg);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  box-shadow: 0 20px 50px #00000059;
  flex-shrink: 0;
}

.form-contact h3 {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--bg-principal);
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.form-contact .form-subtitle {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: .85rem;
  color: var(--bg-principal);
  opacity: .75;
  margin-bottom: 1.1rem;
}

.form-contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-contact label {
  font-family: "Poppins", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bg-principal);
  margin-bottom: .35rem;
  display: block;
}

.form-contact .field {
  display: flex;
  flex-direction: column;
}

.form-contact input,
.form-contact textarea {
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  color: var(--bg-principal);
  background-color: #FFFFFF;
  border: 1.5px solid #d8c2a7;
  border-radius: 8px;
  padding: .7rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-contact textarea {
  resize: none;
  min-height: 90px;
  font-family: inherit;
}

.form-contact input:focus,
.form-contact textarea:focus {
  outline: none;
  border-color: var(--fnt-btn-clr);
  box-shadow: 0 0 0 3px rgba(212, 181, 55, 0.25);
}

.form-contact input::placeholder,
.form-contact textarea::placeholder {
  color: #a89e8f;
}

.field--consent {
  margin-top: -.3rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: .15rem;
  accent-color: var(--fnt-btn-clr);
  cursor: pointer;
}

.consent-label span {
  font-family: "Poppins", sans-serif;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--bg-principal);
  opacity: .7;
}

.form-contact .btn-submit {
  margin-top: .4rem;
  background-color: var(--fnt-btn-clr);
  color: var(--bg-principal);
  border: none;
  border-radius: 30px;
  padding: .85rem 1.5rem;
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}

.form-contact .btn-submit:hover {
  background-color: var(--bg-header);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ===== BARRA DE CLIENTES ===== */
.clients-bar {
  background-color: #0c0a08;
  padding: 2rem 1.42rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
}
 
.clients-bar-labels {
  flex-shrink: 0; /* "Clientes:" fica parado — não faz mais parte da faixa animada */
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cont-cdbg);
  white-space: nowrap;
}
 
.clients-bar_viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* fade suave nas duas bordas — os nomes "somem" antes de encostar no
     rótulo fixo, em vez de serem cortados de repente ou passarem por cima */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 64px,
    black calc(100% - 48px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 64px,
    black calc(100% - 48px),
    transparent 100%
  );
}
 
.clients-bar_track {
  display: flex;
  width: max-content;
  gap: 2rem;
  align-items: center;
  animation: marquee 39s linear infinite;
  white-space: nowrap;
}
 
.clients-bar_item {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cont-fntbg);
  text-transform: uppercase;
}
 
.clients-bar-sep {
  color: var(--fnt-btn-clr);
  font-size: .98rem;
}
 
@keyframes marquee {
  from {
    transform: translateX(0);
  }
 
  to {
    transform: translateX(-50%);
  }
}
 
@media (max-width: 560px) {
  .clients-bar {
    gap: 1.2rem;
  }
 
  .clients-bar-labels {
    font-size: .85rem;
  }
 
  .clients-bar_viewport {
    mask-image: linear-gradient(
      to right,
      transparent 0,
      black 32px,
      black calc(100% - 24px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black 32px,
      black calc(100% - 24px),
      transparent 100%
    );
  }
}

/* ===== SEÇÃO DE SERVIÇOS ===== */
.services {
  background-color: var(--bg-body);
  padding: 6.5rem 4rem;
}

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.eyebrow {
  font-family: "Josefin Sans", sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bg-header);
  margin-bottom: 1rem;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--bg-principal);
}

.heading-lg em {
  font-style: italic;
  color: var(--fnt-btn-clr);
}

.services__description {
  max-width: 360px;
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--bg-principal);
  opacity: .72;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card--highlight .service-card__flip {
  animation: serviceCardPulse 1.6s var(--ease-out);
}

@keyframes serviceCardPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 181, 55, 0.7);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 0 12px rgba(49, 46, 33, 0.068);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 181, 55, 0.034);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card--highlight .service-card__flip {
    animation: none;
  }
}

.service-card__flip {
  perspective: 1600px;
  min-height: 420px;
  cursor: pointer;
}

.service-card__flip:focus-visible {
  outline: 2px solid var(--fnt-btn-clr);
  outline-offset: 6px;
}

.service-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 780px;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease-out);
}

.service-card__flip:hover .service-card__inner,
.service-card__flip:focus-within .service-card__inner {
  transform: rotateY(180deg);
}

.service-card__flip.is-flipped .service-card__inner {
  transform: rotateY(180deg);
}

.service-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-principal);
}

.service-card__face--back {
  transform: rotateY(180deg);
}

.service-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top,
      #2d3123eb 0%,
      #2d312373 55%,
      #2d31230d 100%);
  z-index: 1;
}

.service-card__rule {
  display: block;
  width: 42px;
  height: 2px;
  background-color: var(--fnt-btn-clr);
  margin-bottom: 1rem;
}

.service-card__tag {
  font-family: "Josefin Sans", sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cont-cdbg);
  opacity: .85;
  margin-bottom: .6rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--cont-cdbg);
  margin-bottom: .7rem;
}

.service-card__desc {
  font-family: "Poppins", sans-serif;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--cont-cdbg);
  opacity: .85;
}

.service-card__title--back {
  margin-bottom: 0;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  align-self: flex-start;
  margin-top: 1.3rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg-principal);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.service-card__btn span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cont-cdbg);
  border: 1px solid rgba(45, 49, 35, 0.12);
  transition: background-color .2s ease, transform .25s var(--ease-out), color .2s ease;
}

.service-card__btn:hover span {
  background-color: var(--fnt-btn-clr);
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .service-card__inner {
    transition: none;
  }
}

.btn-lime {
  background-color: var(--fnt-btn-clr);
  color: var(--bg-principal);
}

.btn-lime:hover {
  background-color: var(--cont-cdbg);
  color: var(--bg-principal);
  transform: translateY(-2px);
}

/* ===== SOBRE NÓS ===== */
.about_history {
  background-color: var(--bg-principal);
  padding: 6.5rem 4rem;
}

.about-history-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.about-history-number {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-left: 2px solid var(--fnt-btn-clr);
  padding-left: 1.6rem;
  height: fit-content;
}

.about-hisoty-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--fnt-btn-clr);
}

.about-history_number-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cont-cdbg);
  opacity: .75;
}

.About-history-content p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--cont-cdbg);
  opacity: .8;
  margin-bottom: 1.4rem;
  max-width: 620px;
}

.About-history-content p:first-of-type {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--cont-cdbg);
  opacity: 1;
  margin-bottom: 1.8rem;
}

.about-history_highlight {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--fnt-btn-clr);
  opacity: 1;
  margin-bottom: 2rem;
}

.about-history-wrapper .btn-lime {
  margin-top: .5rem;
}

/* ===== DIFERENCIAIS ===== */
.differentials {
  position: relative;
  overflow: hidden;
  padding: 7rem 4rem;
}

.differentials__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-principal);
  z-index: 0;
}

.differentials__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.differentials__ghost {
  position: absolute;
  top: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px #e5ddd265;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.differentials__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.differentials__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.differentials .eyebrow {
  color: var(--fnt-btn-clr);
  text-align: center;
}

.differentials .heading-lg {
  color: var(--cont-cdbg);
}

.differentials__list {
  list-style: none;
}

.differentials__item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid #e5ddd229;
  transition: padding-left .3s var(--ease-out);
}

.differentials__item:last-child {
  border-bottom: 1px solid #e5ddd229;
}

.differentials__item:hover {
  padding-left: .6rem;
}

.differentials__index {
  flex-shrink: 0;
  width: 46px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--fnt-btn-clr);
}

.differentials__item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cont-cdbg);
  margin-bottom: .5rem;
}

.differentials__item p {
  font-family: "Poppins", sans-serif;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--cont-cdbg);
  opacity: .72;
  max-width: 520px;
}

.portfolio {
  background-color: var(--bg-body);
  padding: 6.5rem 0;
}

.portfolio__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.portfolio__category {
  margin-bottom: 3.5rem;
}

.portfolio__category:last-child {
  margin-bottom: 0;
}

.portfolio__category-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--bg-principal);
  margin-bottom: 1.4rem;
}

.portfolio__category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(45, 49, 35, 0.14);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.portfolio__grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .4s var(--ease-out);
}

.portfolio__grid img:hover {
  transform: scale(1.02);
}

.portfolio__empty {
  padding: 2.5rem;
  border: 1.5px dashed rgba(45, 49, 35, 0.25);
  border-radius: 8px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: .9rem;
  color: var(--bg-principal);
  opacity: .6;
}

.portfolio-swiper {
  --swiper-theme-color: var(--fnt-btn-clr);
  --swiper-navigation-size: 20px;
  padding-top: 2rem;
  padding-bottom: 2.6rem;
}

.swiper.portfolio-swiper {
  overflow-x: hidden;
  overflow-y: visible !important;
}

.portfolio-swiper .swiper-slide {
  height: auto;
  transform: scale(0.72) !important;
  opacity: .2 !important;
  filter: blur(6px);
  border-radius: 12px;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.5s ease,
    filter 0.5s ease,
    box-shadow 0.5s ease;
}

.portfolio-swiper .swiper-slide-active {
  transform: scale(.85) !important;
  opacity: 1 !important;
  z-index: 10;
  background-color: var(--cont-cdbg);
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  filter: blur(0px);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
    opacity 0.5s ease 0.15s,
    filter 0.5s ease 0.15s;
}

.portfolio-swiper .swiper-slide img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.portfolio-swiper .swiper-button-prev,
.portfolio-swiper .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin: 0;
  background-color: var(--cont-cdbg);
  border-radius: 50%;
  color: var(--bg-principal);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.portfolio-swiper .swiper-button-prev:hover,
.portfolio-swiper .swiper-button-next:hover {
  background-color: var(--fnt-btn-clr);
}

.portfolio-swiper .swiper-button-prev::after,
.portfolio-swiper .swiper-button-next::after {
  content: none;
}

.portfolio-swiper .swiper-button-prev::before,
.portfolio-swiper .swiper-button-next::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.portfolio-swiper .swiper-button-prev::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.portfolio-swiper .swiper-button-next::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

.portfolio-swiper .swiper-button-prev {
  left: 10px;
}

.portfolio-swiper .swiper-button-next {
  right: 10px;
}

.portfolio-swiper .swiper-pagination-bullet {
  background-color: var(--bg-principal);
  opacity: .25;
}

.portfolio-swiper .swiper-pagination-bullet-active {
  background-color: var(--fnt-btn-clr);
  opacity: 1;
}

@media (max-width: 900px) {
  .portfolio-swiper .swiper-slide img {
    height: 240px;
  }

  .portfolio-swiper .swiper-button-prev,
  .portfolio-swiper .swiper-button-next {
    display: none;
  }
}

.portfolio__category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio__see-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1.5px solid var(--fnt-btn-clr);
  border-radius: 30px;
  cursor: pointer;
  padding: 0.55rem 1.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--bg-principal);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.2s ease;
}

.portfolio__see-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--fnt-btn-clr);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  transition: transform 0.35s var(--ease-out);
}

.portfolio__see-more:hover,
.portfolio__see-more:focus-visible {
  color: var(--bg-principal);
  transform: translateY(-1px);
}

.portfolio__see-more:hover::before,
.portfolio__see-more:focus-visible::before {
  transform: scaleX(1);
}

.portfolio__see-more:focus-visible {
  outline: 2px solid var(--bg-header);
  outline-offset: 3px;
}

.portfolio__see-more-arrow {
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  transition: transform 0.35s var(--ease-out);
}

.portfolio__see-more:hover .portfolio__see-more-arrow {
  transform: translateY(3px) rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .portfolio__see-more,
  .portfolio__see-more::before,
  .portfolio__see-more-arrow {
    transition: none;
  }
}
/* Modal */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.portfolio-modal.is-open {
  display: block;
}

.portfolio-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  animation: portfolioModalFade 0.2s ease;
}

.portfolio-modal__content {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: 96%;
  margin: 2.5vh auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  max-height: 95vh;
  overflow-y: auto;
  animation: portfolioModalPop 0.25s ease;
}

.portfolio-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.portfolio-modal__title {
  margin: 0 0 1rem;
  padding-right: 2rem;
  text-align: center;
  font-size: 2.5rem;
  font-family: var(--font-display);
  color: #040502;
}

.portfolio-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 4px;
}

.portfolio-modal__grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  transition: transform 0.25s var(--ease-out), filter 0.25s ease;
}

.portfolio-modal__grid img:hover {
  transform: scale(1.03);
  filter: brightness(0.92);
}

/* Lightbox interno do modal */
.portfolio-modal__lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  background-color: rgba(12, 10, 8, 0.92);
}

.portfolio-modal__lightbox.is-open {
  display: flex;
}

.portfolio-modal__lightbox-img {
  max-width: 85%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
}

.portfolio-modal__lightbox-close,
.portfolio-modal__lightbox-prev,
.portfolio-modal__lightbox-next {
  position: absolute;
  background-color: var(--cont-cdbg);
  color: var(--bg-principal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.portfolio-modal__lightbox-close:hover,
.portfolio-modal__lightbox-prev:hover,
.portfolio-modal__lightbox-next:hover {
  background-color: var(--fnt-btn-clr);
}

.portfolio-modal__lightbox-close {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 1;
}

.portfolio-modal__lightbox-prev,
.portfolio-modal__lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.portfolio-modal__lightbox-prev {
  left: 12px;
}

.portfolio-modal__lightbox-next {
  right: 12px;
}

.portfolio-modal__lightbox-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cont-cdbg);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .portfolio-modal__grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .portfolio-modal__grid img {
    height: 520px;
  }

  .portfolio-modal__lightbox-prev,
  .portfolio-modal__lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float i {
  font-size: 1.9rem;
  color: #fff;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float i {
    font-size: 1.7rem;
  }
}


/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--bg-principal);
  padding: 4.5rem 4rem 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer__brand img {
  height: 52px;
  display: block;
  margin-bottom: 1.1rem;
}

.site-footer__brand p {
  font-family: "Poppins", sans-serif;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--cont-cdbg);
  opacity: .7;
  max-width: 280px;
}

.site-footer__col h4 {
  font-family: "Josefin Sans", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fnt-btn-clr);
  margin-bottom: 1.1rem;
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.site-footer__col a,
.site-footer__col li {
  font-family: "Poppins", sans-serif;
  font-size: .9rem;
  color: var(--cont-cdbg);
  opacity: .72;
  text-decoration: none;
  line-height: 1.5;
}

.site-footer__col a:hover {
  opacity: 1;
  color: var(--fnt-btn-clr);
}

.site-footer__social-icons {
  display: flex;
  gap: 1rem;
}

.site-footer__social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(229, 221, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cont-cdbg);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.site-footer__social-icons a:hover {
  background-color: var(--fnt-btn-clr);
  border-color: var(--fnt-btn-clr);
  color: var(--bg-principal);
}

.site-footer__social-icons i {
  font-size: 1rem;
  line-height: 1;
}

.site-footer__bottom {
  border-top: 1px solid rgba(229, 221, 210, 0.15);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer__bottom p {
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  color: var(--cont-cdbg);
  opacity: .55;
}

/* ===== CONFIG GERAL — RESPONSIVO ===== */

/* ===== RESPONSIVO - MENU MOBILE ===== */

@media (max-width: 768px) {

  header {
    background-color: rgba(45, 49, 35, 0.137);
  }

  .container {
    position: relative;
  }

  nav {
    height: 64px;
    padding: 0 16px;
  }

  .navbar-logo img {
    height: 42px;
    margin-left: 0;
  }

  header nav > ul,
  header nav .btn-contato {
    display: none;
  }


  header .btn-menu-mob {
    display: block;
  }

  header .menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(45, 49, 35, 0.95);
  }

  .menu-mobile.abrir {
    left: 0;
  }

  .hero .hero_container {
    margin-top: 4rem;
  }

  header .menu-mobile nav a {
    color: #f7f4ee;
    font-size: 1.4rem;
  }

  header .menu-mobile nav a:hover {
    background-color: transparent;
    color: var(--fnt-btn-clr);
  }
}

@media (max-width: 900px) {
  .hero_title {
    font-size: 2rem;
  }

  .hero_description {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .hero_title {
    font-size: 1.6rem;
  }
}

/* ===== RESPONSIVO — NOTEBOOKS ===== */
@media (max-width: 1280px) {
  .hero_title {
    font-size: 3rem;
  }

  .hero_container {
    max-width: 58%;
  }
}

@media (max-width: 1100px) {
  .hero_title {
    font-size: 2.5rem;
  }

  .hero_description {
    width: 100%;
  }
}

@media (max-width: 1150px) {
  nav ul li a {
    font-size: 1rem;
    padding: 0 8px;
  }

  .btn-contato {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
}

/* ===== RESPONSIVO  FORM ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.5rem;
    height: auto;
    min-height: 90vh;
    text-align: center;
  }

  .hero_container {
    max-width: 100%;
  }

  .hero_description {
    width: 100%;
    margin: 0 auto;
  }

  .hero_portfolio {
    justify-content: center;
  }

  .form-contact {
    margin-top: 2.5rem;
    max-width: 100%;
  }
}

/* ===== RESPONSIVO — SERVIÇOS ===== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .services {
    padding: 4.5rem 1.5rem;
  }

  .services__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .heading-lg {
    font-size: 2.2rem;
  }

  .services__description {
    max-width: 100%;
  }


  .service-card__flip {
    min-height: 520px;
  }

  .service-card__inner {
    min-height: 520px;
  }

  .service-card__overlay {
    padding: 1.4rem;
  }

  .service-card__title {
    font-size: 1.25rem;
  }
}

/* ===== RESPONSIVO — SOBRE NÓS ===== */
@media (max-width: 900px) {
  .about_history {
    padding: 4.5rem 1.5rem;
  }

  .about-history-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-hisoty-number {
    font-size: 4.5rem;
  }

  .About-history-content p:first-of-type {
    font-size: 1.3rem;
  }
}

/* ===== RESPONSIVO — DIFERENCIAIS ===== */
@media (max-width: 900px) {

  .differentials {
    padding: 4.5rem 1.5rem;
  }

  .differentials__ghost {
    font-size: 4.5rem;
    top: -0.4rem;
  }

  .differentials__item {
    gap: 1.2rem;
    padding: 1.5rem 0;
  }

  .differentials__index {
    width: 34px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .differentials__item {
    flex-direction: column;
    gap: .5rem;
  }

  .differentials__index {
    width: auto;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 3.5rem 1.5rem 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    text-align: center;
  }

  /* "Marca" tem logo + parágrafo longo; ao lado de "Navegação" (bem curta)
     ficava desequilibrado no grid de 2 colunas. Agora ela ocupa a linha
     inteira sozinha, e as outras 3 colunas dividem a linha de baixo. */
  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand img {
    margin: 0 auto 1.1rem;
  }

  .site-footer__brand p {
    max-width: 420px;
    margin: 0 auto;
  }

  .site-footer__col ul {
    align-items: center;
  }

  .site-footer__social-icons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 3rem 1.25rem 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__brand img {
    margin: 0 auto 1.1rem;
  }

  .site-footer__brand p {
    max-width: 320px;
    margin: 0 auto;
  }

  .site-footer__col ul {
    align-items: center;
  }

  .site-footer__social-icons {
    justify-content: center;
  }
}

/* ===== MODAL "VER SERVIÇO" ===== */

.service-modal {
  display: none; 
  position: fixed;
  inset: 0;
  z-index: 200000; 
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.service-modal.is-open {
  display: flex;
}

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.service-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-body);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.service-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background-color: var(--cont-cdbg);
  color: var(--bg-principal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease;
}

.service-modal__close:hover {
  background-color: var(--fnt-btn-clr);
}

.service-modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.service-modal__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.service-modal__gallery .service-modal__img:first-child {
  border-top-left-radius: 16px;
}

.service-modal__gallery .service-modal__img:last-child {
  border-top-right-radius: 16px;
}

.service-modal__body {
  padding: 2rem 2.2rem 2.2rem;
}

.service-modal__tag {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg-header);
  margin-bottom: .6rem;
}

.service-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--bg-principal);
  margin-bottom: 1rem;
}

.service-modal__desc {
  font-family: "Poppins", sans-serif;
  font-size: .98rem;
  line-height: 1.7;
  color: var(--bg-principal);
  opacity: .8;
  margin-bottom: 1.8rem;
}

.service-modal__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background-color: var(--fnt-btn-clr);
  color: var(--bg-principal);
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .9rem 1.7rem;
  border-radius: 30px;
  transition: background-color .2s ease, transform .2s ease;
}

.service-modal__btn:hover {
  background-color: var(--bg-header);
  color: #FFFFFF;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .service-modal {
    padding: 0;
  }

  .service-modal__dialog {
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .service-modal__gallery {
    grid-template-columns: 1fr;
  }

  .service-modal__img {
    height: 180px;
  }

  .service-modal__gallery .service-modal__img:first-child,
  .service-modal__gallery .service-modal__img:last-child {
    border-radius: 0;
  }

  .service-modal__body {
    padding: 1.6rem 1.4rem 2rem;
  }

  .service-modal__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 900px) {
  .portfolio {
    padding: 4.5rem 0;
  }

  .portfolio__grid img {
    height: 240px;
  }
}