/* ==========================================================================
   PF CONSTRUCTION MASONRY — Folha de estilo
   (linguagem visual da família AMP Floors, layout remixado)
   --------------------------------------------------------------------------
   🎨 PARA TROCAR AS CORES: edite apenas as variáveis em :root abaixo.
      --primary       = cor de destaque (botões, ícones, detalhes)
      --ink / --dark  = grafite (textos e seções escuras)
   ========================================================================== */

:root {
  /* ---- Paleta (marca PF Masonry: Vermelho & Preto) ---- */
  --primary:        #d32027;   /* vermelho oficial da marca (botões/links) */
  --primary-600:    #b01b21;   /* vermelho hover (mais escuro) */
  --primary-700:    #941419;   /* vermelho profundo */
  --primary-soft:   #fdeceb;   /* vermelho bem claro (fundo de ícones) */
  --accent:         #d32027;   /* detalhes em fundo claro */
  --accent-light:   #f2888c;   /* detalhe/realce em fundo escuro */

  --ink:            #15171b;   /* preto grafite — texto e seções escuras */
  --ink-2:          #23262c;
  --ink-soft:       #43474e;
  --muted:          #6a6f76;   /* cinza — texto secundário */

  --bg:             #ffffff;
  --bg-alt:         #f6f6f7;   /* fundo de seções alternadas */
  --line:           #e7e8ea;   /* bordas */
  --white:          #ffffff;

  /* ---- Tipografia ---- */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", var(--font-body);

  /* ---- Medidas ---- */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(20, 23, 28, .08);
  --shadow-lg: 0 24px 60px rgba(20, 23, 28, .16);
  --header-h:  72px;
  --ease:      cubic-bezier(.16, .84, .44, 1);
}

/* ========================= Reset / Base ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--ink); }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* ========================= Tipografia auxiliar ========================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }

.section__head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.02em; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

.hl { color: var(--primary); }

/* ========================= Botões ========================= */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }

.btn--primary { --btn-bg: var(--primary); --btn-fg: #fff; box-shadow: 0 8px 22px rgba(211, 32, 39, .32); }
.btn--primary:hover { --btn-bg: var(--primary-600); box-shadow: 0 12px 28px rgba(211, 32, 39, .42); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: var(--ink-2); }

.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--wa { --btn-bg: #25d366; --btn-fg: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn--wa:hover { --btn-bg: #1fb457; box-shadow: 0 12px 28px rgba(37, 211, 102, .42); }

.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ========================= Cabeçalho ========================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; display: block; }
/* Logo do rodapé: lockup branco completo */
.footer__logo img { height: 76px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 3px; }
.nav__link {
  position: relative; padding: 8px 10px; font-weight: 500; font-size: .92rem; white-space: nowrap;
  color: var(--ink-soft); border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__cta { margin-left: 10px; color: #fff !important; }

/* Seletor de idioma EN / PT / ES */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; margin-left: 8px; border-radius: 999px; background: var(--bg-alt); }
.lang-switch button { padding: 5px 9px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .02em; color: var(--ink-soft); transition: background .2s, color .2s; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--primary); color: #fff; }

/* Botão hambúrguer */
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================= Hero (dividido) ========================= */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  padding: clamp(48px, 7vw, 88px) 0 96px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
.hero__subtitle { font-size: clamp(1.02rem, 2vw, 1.16rem); color: var(--muted); margin-top: 20px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.hero__trust li {
  position: relative; padding-left: 26px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23941419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero__media { position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
/* card flutuante sobre a foto */
.hero__card {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 14px 20px; display: flex; flex-direction: column; gap: 2px;
}
.hero__card-stars { color: var(--primary); letter-spacing: 2px; font-size: .95rem; }
.hero__card strong { font-family: var(--font-head); font-size: .92rem; }
.hero__card-sub { color: var(--muted); font-size: .8rem; }

/* ========================= Números (card escuro flutuante) ========================= */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats__card {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 38px clamp(22px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: rgba(255, 255, 255, .14); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; line-height: 1; display: flex; align-items: baseline; justify-content: center; font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--accent-light); }
.stat__label { margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ========================= Serviços (cards horizontais) ========================= */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-700);
  transition: background .3s, color .3s;
}
.svc-card:hover .svc-card__icon { background: var(--primary); color: #fff; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__title { font-size: 1.14rem; margin-bottom: 6px; }
.svc-card__text { color: var(--muted); font-size: .95rem; }

/* card de CTA no fim da grade */
.svc-card--cta { background: var(--primary); border-color: var(--primary); }
.svc-card--cta .svc-card__title, .svc-card--cta .svc-card__text { color: #fff; }
.svc-card--cta .svc-card__text { opacity: .88; }
.svc-card--cta:hover { box-shadow: 0 18px 40px rgba(211, 32, 39, .4); }
.svc-card--cta::before { display: none; }
.svc-card__link {
  display: inline-block; margin-top: 12px; color: #fff; font-weight: 700; font-size: .92rem;
  border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 2px; transition: border-color .2s;
}
.svc-card--cta:hover .svc-card__link { border-color: #fff; }

/* ========================= Instagram (trilho de reels) ========================= */
.rail-stage { display: flex; align-items: center; gap: 18px; }
.rail-nav {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.rail-nav:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.06); }
.rail-nav svg { width: 22px; height: 22px; }

.rail {
  display: flex; gap: 18px; overflow-x: auto; flex: 1;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 22px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.reel-card {
  position: relative; flex: 0 0 235px; aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border-radius: 16px; overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.reel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.reel-card img, .reel-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-card::after {
  content: ""; position: absolute; inset: 55% 0 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(21, 23, 27, .72));
}
.reel-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; z-index: 1;
  background: rgba(255, 255, 255, .92); color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.reel-card__play svg { width: 26px; height: 26px; margin-left: 2px; }
.reel-card:hover .reel-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--primary); color: #fff; }
/* etiqueta com o nome do trabalho, na base do card */
.reel-card__tag {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 1;
  text-align: center; color: #fff; font-size: .74rem; font-weight: 600;
  background: rgba(21, 23, 27, .55); border-radius: 999px; padding: 6px 10px;
  backdrop-filter: blur(4px);
}

/* selo do Instagram nos cards de foto (canto superior direito) */
.reel-card__ig {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.reel-card__ig svg { width: 18px; height: 18px; }

/* card final: seguir no Instagram */
.reel-card--follow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  text-align: center; padding: 20px;
}
.reel-card--follow::after { display: none; }
.reel-card--follow svg { color: var(--primary); }
.reel-card--follow strong { font-family: var(--font-head); font-size: 1.02rem; }

.reels__cta { text-align: center; margin-top: 26px; }

/* ========================= Sobre (texto à esquerda, fotos à direita) ========================= */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; padding-bottom: 30px; padding-left: 30px; }
.about__img-main { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.about__img-sub { position: absolute; left: 0; bottom: 0; width: 48%; border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge {
  position: absolute; right: -10px; top: 24px; background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.1;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; }
.about__badge span { font-size: .78rem; font-weight: 600; }

.about__content .section__title { text-align: left; }
.about__content p { color: var(--ink-soft); margin-top: 18px; }

.checklist { margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23941419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ========================= Processo (linha do tempo conectada) ========================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
/* linha tracejada conectando os passos */
.steps::before {
  content: ""; position: absolute; top: 26px; left: 7%; right: 7%;
  border-top: 2px dashed var(--line);
}
.step { position: relative; }
.step__dot {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(211, 32, 39, .32), 0 0 0 8px var(--bg-alt);
  margin-bottom: 18px;
  transition: transform .25s var(--ease);
}
.step:hover .step__dot { transform: scale(1.08); }
.step__title { font-size: 1.12rem; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: .95rem; max-width: 30ch; }

/* ========================= Galeria (mosaico) ========================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .92rem; color: var(--ink-soft); background: #fff;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 18px; }
.work {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3.1;
  border-radius: var(--radius); background: var(--line);
  transition: opacity .35s, transform .35s; text-align: left; padding: 0;
}
/* mesma proporção dos demais: as 2 linhas da grade fecham alinhadas */
.work--lg { grid-column: span 2; grid-row: span 2; aspect-ratio: 4 / 3.1; }
.work.is-hidden { display: none; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 23, 28, .82)); opacity: .85; transition: opacity .3s; }
.work:hover img { transform: scale(1.06); }
.work:hover::after { opacity: 1; }
.work__info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; transform: translateY(6px); transition: transform .3s var(--ease); }
.work:hover .work__info { transform: translateY(0); }
.work__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.work__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }

/* ========================= Faixa CTA (container arredondado) ========================= */
.cta-band {
  position: relative; padding: clamp(56px, 8vw, 88px) clamp(24px, 6vw, 72px);
  color: #fff; text-align: center; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 17, .86), rgba(8, 9, 11, .8)); }
.cta-band__content { position: relative; max-width: 720px; margin-inline: auto; }
.cta-band__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: #fff; letter-spacing: -.02em; }
.cta-band__text { color: rgba(255, 255, 255, .85); margin: 16px 0 30px; font-size: 1.08rem; }
.cta-band__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; }
.cta-band__tel { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; border-bottom: 2px solid rgba(255, 255, 255, .35); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.cta-band__tel:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* ========================= Depoimentos (card central em destaque) ========================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.testimonial { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.testimonial--featured {
  margin-top: -14px; /* margem (não transform) para não brigar com o reveal/hover */
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.6; }
.testimonial figcaption { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; font-family: var(--font-head); }
.testimonial figcaption span { color: var(--muted); font-size: .9rem; }

/* ========================= Contato (formulário à esquerda) ========================= */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; }
.contact__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-700); display: grid; place-items: center; }
.contact__ico svg { width: 22px; height: 22px; }
.contact__list strong { font-family: var(--font-head); font-size: 1.02rem; }
.contact__list p { color: var(--muted); font-size: .98rem; }
.contact__list a:hover { color: var(--primary-700); }

.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-alt); min-height: 220px; flex: 1; }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(.2); }

/* Formulário */
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #aab1bb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(211, 32, 39, .16); }
.field textarea { resize: vertical; min-height: 110px; }
.field.has-err input, .field.has-err textarea { border-color: var(--primary); }
.field__err { display: block; color: var(--primary); font-size: .78rem; font-weight: 600; min-height: 1em; padding-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Linha com os 2 botões alternativos (WhatsApp + e-mail) abaixo do "Send form" */
.form-alt { display: flex; gap: 12px; margin-top: 12px; }
.form-alt .btn { flex: 1; min-width: 0; }
/* em telas de celular os 2 botoes empilham (cabe texto + icone sem quebrar) */
@media (max-width: 600px) { .form-alt { flex-direction: column; } }

.form-status { margin-top: 14px; font-size: .94rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: #15803d; }
.form-status.is-err { color: #b91c1c; }
.form-note { margin-top: 12px; font-size: .82rem; color: var(--muted); }
[data-submit].is-loading { opacity: .7; pointer-events: none; }

/* ========================= Rodapé ========================= */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__desc { margin-top: 16px; font-size: .96rem; max-width: 300px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__addr { display: block; color: rgba(255, 255, 255, .72); font-size: .95rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent-light); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: rgba(255, 255, 255, .55); }

/* ========================= Botões flutuantes ========================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  transition: transform .25s var(--ease);
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 10px 30px rgba(37, 211, 102, .5), 0 0 0 0 rgba(37, 211, 102, .45); } 70% { box-shadow: 0 10px 30px rgba(37, 211, 102, .5), 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .5), 0 0 0 0 rgba(37, 211, 102, 0); } }
.lb-open .wa-float { opacity: 0; visibility: hidden; }

.to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ========================= Lightbox ========================= */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 17, .92); display: none; align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(4px); }
.lightbox.is-open { display: flex; }
.lightbox__fig { max-width: 92vw; max-height: 86vh; text-align: center; }
.lightbox__fig img { max-width: 92vw; max-height: 78vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__fig figcaption { color: #fff; margin-top: 14px; font-family: var(--font-head); font-weight: 600; }
.lightbox__close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2.4rem; line-height: 1; width: 44px; height: 44px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2rem; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ========================= Animações de entrada ========================= */
/* Só esconde para animar quando o JS está ativo (classe .js no <html>).
   Sem JS, o conteúdo aparece normalmente — nunca uma página em branco. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible, .reveal.is-visible { opacity: 1; transform: none; }
/* leve escalonamento entre itens irmãos */
.svc-grid .reveal:nth-child(2), .gallery .reveal:nth-child(2), .steps .reveal:nth-child(2), .testimonials .reveal:nth-child(2) { transition-delay: .08s; }
.svc-grid .reveal:nth-child(3), .gallery .reveal:nth-child(3), .steps .reveal:nth-child(3), .testimonials .reveal:nth-child(3) { transition-delay: .16s; }
.svc-grid .reveal:nth-child(4), .gallery .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.svc-grid .reveal:nth-child(5), .gallery .reveal:nth-child(5) { transition-delay: .32s; }
.svc-grid .reveal:nth-child(6), .gallery .reveal:nth-child(6) { transition-delay: .4s; }
.svc-grid .reveal:nth-child(7) { transition-delay: .48s; }
.svc-grid .reveal:nth-child(8) { transition-delay: .56s; }

/* ========================= Responsivo ========================= */
@media (max-width: 1260px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 14px 22px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .35s var(--ease), visibility 0s .35s;
    visibility: hidden; /* fora da ordem de tabulação enquanto fechado */
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; transition: transform .35s var(--ease); }
  .nav__link { color: var(--ink-soft); padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; order: 2; }
  .nav .lang-switch { align-self: flex-start; margin: 16px 0 0; order: 1; }
  .nav-toggle { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { max-width: 560px; }
  .hero__card { left: 12px; }

  .stats__card { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .stat:nth-child(2)::after { display: none; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 480px; order: 2; }
  .checklist { grid-template-columns: 1fr; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }

  .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonial--featured { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo img { height: 30px; }
  .section { padding: 64px 0; }
  .hero { padding-bottom: 80px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { margin-top: -40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .work--lg { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3.1; }
  .rail-nav { display: none; }
  .reel-card { flex-basis: 200px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; }
  .step__dot { margin-bottom: 0; }
  .step__title { grid-column: 2; margin-top: 4px; }
  .step__text { grid-column: 2; }
  .testimonials { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__actions { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 82px; }
}

/* Acessibilidade: respeitar quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wa-float { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
