/* ===========================
   VARIÁVEIS E RESET
=========================== */
:root {
  --navy:         #051C75;  /* azul da marca — topbar, acentos, ícones */
  --navy-tint:    #0a0c1a;  /* escuro com toque de navy — faixas de separação */
  --orange:       #F24F13;
  --orange-hov:   #d44010;
  --white:        #ffffff;
  --black:        #000000;
  --dark:         #0d0d0d;  /* fundo principal neutro */
  --dark-2:       #111111;
  --dark-3:       #161616;
  --dark-section: #131313;  /* seções alternadas */
  --light:        #f4f4f4;  /* fundo claro — hero, sobre, avaliações */
  --light-2:      #eeeeee;
  --text-dark:    #111111;  /* texto em fundos claros */
  --text-muted:   #555555;
  --gray:         #888888;
  --gray-light:   #cccccc;
  --font-title: 'Barlow Condensed', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-hero:  'Montserrat', sans-serif;
  --max-w:      1200px;
  --radius:     6px;
  --section-py: 100px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Textos copiáveis: somente endereço, telefone e WhatsApp na seção de contato */
.copyable,
.copyable * {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  -webkit-touch-callout: none; /* bloqueia menu de "Salvar imagem" no iOS Safari */
  -webkit-user-drag: none;     /* bloqueia drag no WebKit */
  user-drag: none;
  pointer-events: none;        /* bloqueia long-press menu no Android (eventos passam pro elemento pai) */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   TIPOGRAFIA GLOBAL
=========================== */
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #030d3a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section-header { margin-bottom: 36px; }

/* ===========================
   BOTÕES
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
}
.btn--orange:hover {
  background: var(--orange-hov);
}

.header .btn--orange {
  background: #d44010;
}
.header .btn--orange:hover {
  background: #bf3808;
}

.btn--outline {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.18);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 0.95rem;
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: #041060;
}

.btn--dark {
  background: #2a2a2a;
  color: var(--white);
}
.btn--dark:hover {
  background: #1a1a1a;
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebe5d;
}

/* ===========================
   TOP BAR
=========================== */
.topbar {
  background: #030e52;
  padding: 9px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar__left {
  display: flex;
  gap: 28px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__left span,
.topbar__right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__endereco {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.topbar__endereco:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(242,79,19,0.7);
  filter: drop-shadow(0 0 3px rgba(242,79,19,0.5));
}

/* ===========================
   HEADER
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #020c38;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, transform 0.35s ease;
}

.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled {
  background: #010825;
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 96px;
  max-width: none;
  width: 100%;
  padding-left: 80px;
  padding-right: 80px;
  position: relative;
  transition: height 0.25s ease;
}

/* Header encolhe ao rolar */
.header--scrolled .header__inner {
  height: 76px;
}

.header--scrolled .logo__img-wrap {
  width: 180px;
  height: 54px;
  transition: width 0.25s ease, height 0.25s ease;
}

.logo__img-wrap {
  transition: width 0.25s ease, height 0.25s ease;
}

/* Logo na esquerda */
.logo {
  flex-shrink: 0;
}

.logo__img-wrap {
  width: 210px;
  height: 64px;
  margin-left: -10px;
}

.logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Nav — 4 colunas iguais a partir do centro da página.
   Cada item fica equidistante do centro, independente da largura do texto. */
.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% - 20px), -50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 740px;
  align-items: center;
}

.nav a {
  justify-self: center;
}

.nav-toggle {
  flex-shrink: 0;
}

.nav a {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--white);
}

/* Indicador de seção ativa */
.nav a {
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.28s ease, left 0.28s ease;
}

.nav a.active::after,
.nav a:hover::after {
  width: 100%;
  left: 0;
}

/* CTA do header */
.header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header__cta:hover {
  background: var(--orange-hov);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(242,79,19,0.35);
}

/* No mobile, o CTA aparece dentro do menu hambúrguer */
.nav__cta {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  background:
    /* Granulação de cinema — duas camadas de noise sobrepostas (fina + grossa)
       criam textura granular tipo filme/gravação analógica */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n1'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.08 0 0 0 0 0.2 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n1)' opacity='0.32'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.75 0 0 0 0 0.9 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n2)' opacity='0.18'/></svg>"),
    /* Camada vertical — BEM escuro no topo, transicionando pro tom atual mais embaixo */
    linear-gradient(180deg, #00040f 0%, rgba(0,4,15,0.6) 25%, rgba(0,4,15,0) 60%),
    /* Brilho radial sutil atrás do conteúdo, pra dar profundidade no lado claro */
    radial-gradient(ellipse 70% 90% at 22% 45%, rgba(20,45,135,0.22) 0%, rgba(5,15,70,0) 60%),
    /* Base: navy escuro à esquerda → navy quase preto à direita
       (onde a imagem aparece — assim a transição da foto pro fundo é imperceptível) */
    linear-gradient(95deg, #03124a 0%, #020c38 25%, #010825 45%, #030d3a 70%, #00040f 100%);
  overflow: hidden;
  height: 90vh;
  min-height: 640px;
  max-height: 1000px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: none;
  margin: 0;
  height: 100%;
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 56px 380px 80px;
  position: relative;
  z-index: 3;
}

/* Detalhe no rodapé do hero: linha gradiente preto → cinza → branco */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.85) 0%,
    rgba(40,40,40,0.7) 25%,
    rgba(140,140,140,0.85) 55%,
    rgba(220,220,220,0.95) 80%,
    rgba(255,255,255,1) 100%
  );
  z-index: 5;
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FF8C55;
  background: rgba(242,79,19,0.1);
  border: 1px solid rgba(255,120,60,0.55);
  border-radius: 2px;
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--font-hero);
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__sub {
  font-family: 'Inter', var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  max-width: none;
  white-space: nowrap;
}

.hero__highlight {
  color: var(--orange);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn--outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
}

.hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 140px;
}

.hero__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(242,79,19,0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero__stat-text strong {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.hero__stat-text span {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  /* Mask aplicado no container — afeta a imagem E o overlay juntos.
     Fade longo e suave do navy escuro até a imagem aparecer integralmente. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 50%, #000 95%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 50%, #000 95%);
}

/* Overlay navy "cinematic" sobre a imagem — escurece e dá uniformidade,
   além de vinhetagem topo e base pra integrar com o gradiente do hero
   e a transição angular pra serviços. */
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Tint navy uniforme — feel cinematográfico */
    linear-gradient(180deg, rgba(3,14,82,0.45) 0%, rgba(3,14,82,0.35) 100%),
    /* Vinheta superior */
    linear-gradient(180deg, rgba(3,14,82,0.55) 0%, rgba(3,14,82,0) 25%),
    /* Vinheta inferior */
    linear-gradient(180deg, rgba(3,14,82,0) 60%, rgba(3,14,82,0.7) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


/* ===========================
   PAGE BODY (sobe sobre hero)
=========================== */
.page-body {
  position: relative;
}

/* ===========================
   SERVIÇOS
=========================== */
.servicos {
  position: relative;
  background: #f1f1ef;
  padding: 36px 0 120px;
  /* Sobe sobre o hero pra que as diagonais "mordam" a parte de baixo do hero */
  margin-top: -120px;
  /* Topo trapezoidal via mask-image SVG — renderiza com anti-aliasing nativo
     (sem os serrilhados que o clip-path tem em diagonais).
     A primeira camada da máscara é um SVG do trapézio nos primeiros 120px;
     a segunda é preto sólido pra mostrar o resto da seção. */
  -webkit-mask:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'><polygon points='0,120 30,0 70,0 100,120' fill='black'/></svg>") top left / 100% 120px no-repeat,
    linear-gradient(black, black) left bottom / 100% calc(100% - 120px) no-repeat;
  mask:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'><polygon points='0,120 30,0 70,0 100,120' fill='black'/></svg>") top left / 100% 120px no-repeat,
    linear-gradient(black, black) left bottom / 100% calc(100% - 120px) no-repeat;
  z-index: 2;
}

/* Linha preto → cinza → branco acompanhando o perfil trapezoidal.
   Renderizada como SVG inline pra ter anti-aliasing nativo (sem serrilhados). */
.servicos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 122px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 122' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1' y1='0' y2='0'><stop offset='0%25' stop-color='%23000000'/><stop offset='22%25' stop-color='%232a2a2a'/><stop offset='52%25' stop-color='%238a8a8a'/><stop offset='78%25' stop-color='%23d8d8d8'/><stop offset='100%25' stop-color='%23ffffff'/></linearGradient></defs><polyline points='0,120 30,0 70,0 100,120' stroke='url(%23g)' stroke-width='3.5' fill='none' stroke-linejoin='round' vector-effect='non-scaling-stroke'/></svg>") no-repeat;
  background-size: 100% 100%;
  z-index: 5;
  pointer-events: none;
}

/* Anula a linha de detalhe do hero, já que o detalhe agora está na borda diagonal */
.hero::after {
  display: none;
}

.servicos > .container {
  max-width: 1280px;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
  z-index: 3;
}

.servicos__header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.servicos__header .section-label {
  margin-bottom: 0;
}

.servicos .section-title {
  color: #030d3a;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  margin: 0;
}

.servicos__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 72px;
}

.servico-card {
  background: #ffffff;
  border-radius: 2px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(5,28,117,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(5,28,117,0.12);
}

.servico-card__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.servico-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
}

/* Wrapper interno com overflow:hidden — permite zoom da foto sem cortar o ícone */
.servico-card__media-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
}

.servico-card__media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.18);
}

.servico-card:nth-child(1) .servico-card__media-img img { object-position: 95% 82%; }
.servico-card:nth-child(2) .servico-card__media-img img { object-position: center 55%; }
.servico-card:nth-child(3) .servico-card__media-img img { object-position: center center; }
.servico-card:nth-child(4) .servico-card__media-img img { object-position: center center; transform: scale(1.18) scaleX(-1); }

.servico-card__icon {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #020a36;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Borda fina de detalhe em volta da bolinha */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.85),
    0 0 0 2px rgba(2,10,54,0.18),
    0 4px 12px rgba(2,10,54,0.3),
    0 1px 2px rgba(0,0,0,0.08);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.servico-card__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.servico-card:hover .servico-card__icon {
  background: var(--orange);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9),
    0 0 0 2px rgba(242,79,19,0.25),
    0 6px 18px rgba(242,79,19,0.35),
    0 1px 2px rgba(0,0,0,0.06);
}

.servico-card__content {
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.servico-card__content h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0d0d0d;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.05;
}

.servico-card__content p {
  font-family: 'Inter', var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.servico-card__content p em {
  font-style: normal;
  color: var(--navy);
  font-weight: 600;
}

.servico-card__link {
  position: relative;
  font-family: 'Inter', var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  width: 100%;
  padding-top: 14px;
  /* compensa a largura da seta " →" pra que o texto "SAIBA MAIS" fique centralizado */
  padding-left: 16px;
  margin-top: 4px;
  transition: color 0.2s;
}

/* Linha sutil acima do "SAIBA MAIS" — gradiente fade nas pontas pra um detalhe sofisticado */
.servico-card__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0) 100%
  );
}

.servico-card__link:hover {
  color: var(--orange-hov);
}

.servicos__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  padding: 32px 0;
  border: 1px solid rgba(5,28,117,0.12);
  border-radius: 2px;
}

/* ===========================
   MODAL DE SERVIÇO
=========================== */
.servico-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.servico-modal--open {
  opacity: 1;
  visibility: visible;
}

.servico-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,14,82,0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.servico-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.servico-modal--open .servico-modal__dialog {
  transform: translateY(0);
}

.servico-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.06);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.servico-modal__close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.servico-modal__media {
  position: relative;
  background: #050505;
  overflow: hidden;
}

.servico-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.servico-modal__content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.servico-modal__content .section-label {
  margin-bottom: 8px;
}

.servico-modal__content h3 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #0d0d0d;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 18px;
}

.servico-modal__content p {
  font-family: 'Inter', var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  margin-bottom: 22px;
}

.servico-modal__topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
}

.servico-modal__topics li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', var(--font-body);
  font-size: 0.92rem;
  color: #333;
  line-height: 1.45;
}

.servico-modal__topics li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.servico-modal__content .btn {
  align-self: flex-start;
  margin-top: auto;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 28px;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.feature:last-child {
  border-right: none;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(242,79,19,0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.feature__text strong {
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0d0d0d;
  line-height: 1.1;
}

.feature__text p {
  font-family: 'Inter', var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: #666666;
  line-height: 1.45;
  margin: 0;
}

/* ===========================
   SOBRE
=========================== */
.sobre {
  background: #f5f5f5;
  padding: var(--section-py) 0;
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.sobre__visual {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sobre__fotos-antigas {
  display: flex;
  gap: 4px;
  height: 240px;
  width: 100%;
}

.sobre__photo {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.sobre__fotos-antigas .sobre__photo:nth-child(1) {
  width: 200px;
  flex-shrink: 0;
}

.sobre__fotos-antigas .sobre__photo:nth-child(1) img {
  display: block;
  width: 200px;
  height: 100%;
  object-fit: cover;
}

.sobre__fotos-antigas .sobre__photo:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.sobre__fotos-antigas .sobre__photo:nth-child(2) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre__photo--recente {
  flex: 1;
}

.sobre__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre__photo--placeholder {
  background: rgba(0,0,0,0.04);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.25);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 2;
}

.sobre__photo--video {
  overflow: hidden;
}

.sobre__photo--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.sobre__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 116px;
  height: 116px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(242,79,19,0.35);
}

.sobre__badge-year {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  color: var(--white);
}

.sobre__badge-text {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

.sobre__content .section-title {
  margin-bottom: 28px;
}

.sobre__content .section-title { color: #020a28; }

.sobre__content p {
  font-family: 'Inter', var(--font-body);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  font-size: 1.18rem;
}

.sobre__lista {
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sobre__lista li {
  font-family: 'Inter', var(--font-body);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dark);
  font-size: 1.15rem;
}

.sobre__lista li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===========================
   NÚMEROS
=========================== */
.numeros {
  background: var(--navy-tint);
  border-top: 1px solid rgba(5,28,117,0.4);
  border-bottom: 1px solid rgba(5,28,117,0.4);
  padding: 64px 0;
}

.numeros__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.numero-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.numero-item:last-child {
  border-right: none;
}

.numero-item__val {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  font-style: normal;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.numero-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ===========================
   AVALIAÇÕES
=========================== */
.avaliacoes {
  background: #F2F2F2;
  padding: 70px 0;
}

.avaliacoes__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.avaliacoes__rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avaliacoes__stars {
  color: #FBBF24;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.avaliacoes__score {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  font-style: normal;
  color: var(--text-dark);
  line-height: 1;
}

.avaliacoes__platform {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.avaliacoes__carousel {
  overflow: hidden;
  margin-bottom: 32px;
  margin-left: -24px;
  margin-right: -24px;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.avaliacoes__track {
  display: flex;
  user-select: none;
}

.avaliacoes__slide {
  width: 100%;
  flex-shrink: 0;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.avaliacoes__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.avaliacoes__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.avaliacoes__dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

.avaliacao-card {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.avaliacao-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(242,79,19,0.1);
}

.avaliacao-card__stars {
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.avaliacao-card__body {
  flex: 1;
}

.avaliacao-card__text {
  color: var(--text-muted);
  line-height: 1.45;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 16px;
}

.avaliacao-card__autor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.avaliacao-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.avaliacao-card__nome {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.avaliacao-card__data {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 2px;
}

.avaliacoes__cta {
  text-align: center;
  margin-top: 36px;
}

.avaliacoes .btn--outline {
  color: var(--text-dark);
  border: 1.5px solid rgba(255,255,255,0.7);
  background: #e4e4e4;
  position: relative;
  overflow: visible;
}

.avaliacoes .btn--outline:hover {
  border-color: transparent;
  background: #e4e4e4;
}

.avaliacoes .btn--outline::before,
.avaliacoes .btn--outline::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--orange);
  background: transparent;
  pointer-events: none;
  clip-path: polygon(50% 100%, 50% 100%, 50% 100%, 50% 100%);
}

.avaliacoes .btn--outline:hover::before {
  animation: border-draw-left 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.avaliacoes .btn--outline:hover::after {
  animation: border-draw-right 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes border-draw-left {
  0%   { clip-path: polygon(55% 100%, 0%  100%, 0%  95%, 55% 95%); }
  55%  { clip-path: polygon(55% 100%, 0%  100%, 0%  0%,  55% 100%); }
  100% { clip-path: polygon(50% 100%, 0%  100%, 0%  0%,  50% 0%  ); }
}

@keyframes border-draw-right {
  0%   { clip-path: polygon(45% 100%, 100% 100%, 100% 95%, 45% 95%); }
  55%  { clip-path: polygon(45% 100%, 100% 100%, 100% 0%,  45% 100%); }
  100% { clip-path: polygon(50% 100%, 100% 100%, 100% 0%,  50% 0%  ); }
}

.avaliacoes .section-title { color: #030d3a; }

/* ===========================
   CONTATO
=========================== */
.contato {
  background: var(--dark-section);
  padding: var(--section-py) 0;
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato__info .section-title {
  margin-bottom: 44px;
  color: rgba(255,255,255,0.92);
}

/* Desktop esconde o botão da seção contato — mobile mostra (override no @media abaixo) */
.contato__info .btn--lg {
  display: none;
}

.contato__lista {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.contato__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contato__item > div {
  padding-top: 0;
  margin-top: 0;
}

.contato__item-icon {
  width: 40px;
  height: 40px;
  background: rgba(5,28,117,0.35);
  border: 1px solid rgba(5,28,117,0.6);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contato__item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
  line-height: 1;
}

.contato__item span {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.contato__ref {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.contato__link {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.5;
  text-decoration: none;
  display: inline-block;
}

.contato__mapa {
  position: relative;
}

.contato__mapa iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: var(--radius);
  display: block;
}

.mapa-placeholder {
  width: 100%;
  height: 480px;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--black);
  padding: 16px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo-wrap {
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 100px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
}

.footer__logo-img:hover {
  filter: drop-shadow(0 0 10px rgba(5,28,117,0.9));
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.3;
}

.footer__endereco {
  margin-top: 20px;
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__endereco:hover {
  color: var(--white);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.footer__nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__col strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.footer__col a,
.footer__col span {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 6px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.15);
}

.footer__dev {
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__dev:hover {
  color: rgba(255,255,255,0.7);
}

/* ===========================
   WHATSAPP FLUTUANTE
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 1024px) {
  /* Hero tablet — mantém layout do desktop: foto à direita com mask, texto à esquerda */
  .hero {
    height: 65vh;
    min-height: 480px;
    max-height: none;
    position: relative;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    height: 100%;
    position: relative;
  }
  .hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 90%;
    height: 100%;
    order: 0;
  }
  .hero__content {
    position: relative;
    padding: 80px 40px 160px 40px;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Serviços */
  .servicos {
    padding: 80px 0 96px;
    margin-top: 0;
    -webkit-mask: none;
    mask: none;
  }
  .servicos::before {
    display: none;
  }
  .servicos > .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .servicos__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
  }

  .servicos__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    padding: 28px 0;
  }

  .feature:nth-child(2) {
    border-right: none;
  }

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

  .numero-item:nth-child(2) { border-right: none; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Tablet — header enxuto com hamburger */
  .header > .container,
  .topbar > .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header__inner {
    height: 64px;
    gap: 16px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Mobile menu — slide-in pela parte superior, navy full-width */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: auto;
    display: flex;
    background: #020c38;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    transform: translateY(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 199;
  }

  .nav--open {
    transform: translateY(0);
  }

  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 201; /* fica acima do nav */
  }

  /* CTA visível no header desktop esconde no mobile (vai pro menu) */
  .header__cta:not(.nav__cta) {
    display: none;
  }

  /* CTA dentro do menu mobile */
  .nav__cta {
    display: inline-flex;
    margin-top: 28px;
    justify-self: stretch;
    width: 100%;
    justify-content: center;
    height: 50px;
    padding: 0;
    font-size: 0.85rem;
  }

  /* Backdrop quando o menu abre */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 198;
  }

  .nav-backdrop--open {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  /* Topbar */
  .topbar { display: none; }

  /* Header */
  .header > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header__inner {
    height: 60px;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo__img-wrap {
    width: 130px;
    height: 40px;
  }

  /* Hero — mobile: mantém o mesmo padrão do desktop */
  .hero {
    height: 60vh;
    min-height: 440px;
    max-height: none;
    position: relative;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    height: 100%;
    position: relative;
  }

  .hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 95%;
    height: 100%;
    order: 0;
  }

  .hero__content {
    position: relative;
    padding: 60px 20px 80px 20px;
    text-align: left;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
    margin-bottom: 18px;
  }

  .hero__sub {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 0;
    white-space: normal;
  }

  .hero__eyebrow {
    margin-bottom: 20px;
  }

  /* Serviços — mobile */
  .servicos {
    padding: 64px 0 72px;
  }

  .servicos > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .servicos__header {
    margin-bottom: 40px;
  }

  .servicos__cards {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }

  .servicos__features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 24px;
  }

  .feature:last-child {
    border-bottom: none;
  }

  /* Modal — vira coluna em mobile, com altura dinâmica e content rolável */
  .servico-modal {
    padding: 12px;
  }
  .servico-modal__dialog {
    grid-template-columns: 1fr;
    /* duas linhas: media (auto) + content (pega o resto e rola) */
    grid-template-rows: auto 1fr;
    /* dvh = dynamic viewport height: respeita a barra do browser no iOS */
    max-height: 90dvh;
    width: 100%;
  }
  .servico-modal__media {
    height: 180px;
  }
  .servico-modal__content {
    padding: 24px 20px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* garante que o último elemento (botão) tenha espaço de respiro */
    overscroll-behavior: contain;
  }
  .servico-modal__content h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }
  .servico-modal__content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  .servico-modal__topics {
    margin-bottom: 22px;
  }
  .servico-modal__content .btn {
    margin-top: 0;
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }
  .servico-modal__close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  /* Sobre */
  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre__fotos-antigas {
    height: 180px;
  }

  .sobre__fotos-antigas .sobre__photo:nth-child(1) {
    width: 45%;
  }

  .sobre__fotos-antigas .sobre__photo:nth-child(1) img {
    width: 100%;
  }

  .sobre__fotos-antigas .sobre__photo:nth-child(2) img {
    object-position: 100% center;
  }

  .sobre__photo--recente {
    height: 200px;
    flex: none;
  }

  /* No mobile, mostra mais da parte superior do vídeo */
  .sobre__photo--video video {
    object-position: center 10%;
  }

  /* Números */
  .numeros__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numero-item:nth-child(2) { border-right: none; }
  .numero-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }

  /* Avaliações */
  .avaliacoes__header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  /* Mobile — aumento do título de Nossa História */
  .sobre__content .section-title {
    font-size: clamp(3.2rem, 9vw, 5rem);
  }

  /* Mobile — NOSSOS SERVIÇOS e AGENDE SEU SERVIÇO um pouco maiores */
  .servicos .section-title,
  .contato__info .section-title {
    font-size: clamp(3.6rem, 10vw, 5.6rem);
  }

  /* Mobile — AVALIAÇÕES maior ainda (título de uma palavra só) */
  .avaliacoes__header .section-title {
    font-size: clamp(4rem, 11vw, 6.2rem);
  }

  /* Mobile — mais espaço entre "O que dizem nossos clientes" e o título AVALIAÇÕES */
  .avaliacoes__header .section-label {
    margin-bottom: 10px;
  }

  .avaliacoes__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 2px;
  }

  .avaliacoes__rating .avaliacoes__stars {
    font-size: 0.95rem;
    letter-spacing: 2px;
    order: 2;
  }

  .avaliacoes__score {
    font-size: 1.6rem;
    line-height: 1;
    order: 1;
  }

  .avaliacoes__platform {
    order: 3;
    margin-top: 0;
  }

  .avaliacoes__carousel {
    overflow: hidden;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .avaliacoes__track {
    flex-direction: row;
  }

  .avaliacoes__slide {
    width: 100%;
    flex-shrink: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 8px;
  }

  /* Contato */
  .contato__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Botão "Entre em contato" da seção contato visível no mobile */
  .contato__info .btn--lg {
    display: inline-flex;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand { grid-column: auto; }

  .footer__nav {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.2rem, 8.5vw, 2.8rem);
  }

  .hero__visual {
    min-height: 220px;
  }

  .btn--lg {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .avaliacoes__slide {
    padding: 0 4px;
  }

  /* Modal — telas muito pequenas: foto menor, mais espaço pro conteúdo */
  .servico-modal {
    padding: 8px;
  }
  .servico-modal__dialog {
    max-height: 94dvh;
  }
  .servico-modal__media {
    height: 150px;
  }
  .servico-modal__content {
    padding: 20px 18px;
  }
  .servico-modal__content h3 {
    font-size: 1.35rem;
  }
}
