/* ==========================================================================
   CONSTRUTORA PILAR — Folha de estilo
   --------------------------------------------------------------------------
   🎨 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 AMP Floors: Azul-marinho & Cinza) ---- */
  --primary:        #0b3d70;   /* navy interativo (botões/links) */
  --primary-600:    #07315a;   /* navy hover (mais escuro) */
  --primary-700:    #002850;   /* navy oficial da marca */
  --primary-soft:   #eaf1fa;   /* azul bem claro (fundo de ícones) */
  --accent:         #2f74c0;   /* azul-aço — detalhes em fundo claro */
  --accent-light:   #7fb3e6;   /* detalhe/realce em fundo escuro */

  --ink:            #0e2742;   /* navy profundo — texto e seções escuras */
  --ink-2:          #143257;
  --ink-soft:       #3a4a60;
  --muted:          #66728a;   /* cinza azulado — texto secundário */

  --bg:             #ffffff;
  --bg-alt:         #f4f6f9;   /* fundo de seções alternadas */
  --line:           #e4e8ee;   /* 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;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { 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(--accent);
  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); }

/* ========================= 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;
}
.eyebrow--light { color: var(--accent-light); }

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

.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(--accent-light); }

/* ========================= 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;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

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

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: #fff; }

.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: transparent;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 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__full { height: 34px; width: auto; display: block; flex-shrink: 0; }
.logo__full--dark { display: none; }
.site-header.is-scrolled .logo__full--light { display: none; }
.site-header.is-scrolled .logo__full--dark { display: block; }
/* Logo do rodapé: lockup branco completo */
.footer__logo img { height: 56px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 12px; font-weight: 500; font-size: .95rem; white-space: nowrap;
  color: rgba(255, 255, 255, .9); border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; 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); }
.site-header.is-scrolled .nav__link { color: var(--ink-soft); }
.site-header.is-scrolled .nav__link:hover, .site-header.is-scrolled .nav__link.is-active { color: var(--ink); }
.nav__cta { margin-left: 10px; color: #fff !important; }

/* Seletor de idioma PT / EN / ES */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; margin-left: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.lang-switch button { padding: 5px 9px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .02em; color: #fff; opacity: .85; transition: background .2s, color .2s, opacity .2s; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { background: #fff; color: var(--primary-700); opacity: 1; }
.site-header.is-scrolled .lang-switch { background: var(--bg-alt); }
.site-header.is-scrolled .lang-switch button { color: var(--ink-soft); }
.site-header.is-scrolled .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: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.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 ========================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: #fff; overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 18, 38, .9) 0%, rgba(4, 18, 38, .66) 42%, rgba(4, 16, 34, .34) 100%),
    linear-gradient(180deg, rgba(3, 14, 30, .55) 0%, transparent 22%, transparent 64%, rgba(3, 12, 26, .72) 100%);
}
.hero__content { max-width: 760px; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; color: #fff; }
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .9); margin-top: 22px; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { margin-top: 28px; font-size: .92rem; color: rgba(255, 255, 255, .75); letter-spacing: .01em; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; display: flex; justify-content: center; }
.hero__scroll span { width: 4px; height: 8px; background: #fff; border-radius: 2px; margin-top: 7px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ========================= Números / Stats ========================= */
.stats { background: var(--ink); color: #fff; padding: 46px 0; }
.stats__grid { 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(2.1rem, 4vw, 3rem); color: #fff; line-height: 1; display: flex; align-items: baseline; justify-content: center; }
.stat__suffix { color: var(--accent-light); }
.stat__label { margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ========================= Cards de serviço ========================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-700); margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.card:hover .card__icon { background: var(--primary); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: .98rem; }

/* ========================= Sobre ========================= */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about__media { position: relative; padding-bottom: 30px; padding-right: 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; right: 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; left: -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; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.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='%23002850' 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 / Steps ========================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.section--alt .step { background: #fff; }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--accent); opacity: .95; line-height: 1; margin-bottom: 14px; }
.step__title { font-size: 1.15rem; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: .96rem; }

/* ========================= Galeria de obras ========================= */
.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); gap: 18px; }
.work {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.2; overflow: hidden;
  border-radius: var(--radius); background: var(--line);
  transition: opacity .35s, transform .35s; text-align: left;
}
.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.08); }
.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 com imagem ========================= */
.cta-band { position: relative; padding: 96px 0; color: #fff; text-align: center; overflow: hidden; }
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 38, .86), rgba(2, 12, 28, .8)); }
.cta-band__content { max-width: 720px; margin-inline: auto; }
.cta-band__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; letter-spacing: -.02em; }
.cta-band__text { color: rgba(255, 255, 255, .85); margin: 16px 0 30px; font-size: 1.1rem; }

/* ========================= Depoimentos ========================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1.06rem; 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 ========================= */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.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__social { display: flex; gap: 12px; margin: 28px 0; }
.contact__social a { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .25s var(--ease); }
.contact__social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }
.contact__social svg { width: 20px; height: 20px; }

.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-alt); min-height: 220px; }
.contact__map iframe { display: block; width: 100%; 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: 18px; }
.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(11, 61, 112, .16); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.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(--primary); }
.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); } }

.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. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* leve escalonamento entre itens irmãos */
.cards .reveal:nth-child(2), .gallery .reveal:nth-child(2), .steps .reveal:nth-child(2), .testimonials .reveal:nth-child(2), .stats .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .gallery .reveal:nth-child(3), .steps .reveal:nth-child(3), .testimonials .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .gallery .reveal:nth-child(4), .steps .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5), .gallery .reveal:nth-child(5) { transition-delay: .32s; }
.cards .reveal:nth-child(6), .gallery .reveal:nth-child(6) { transition-delay: .4s; }

/* ========================= Responsivo ========================= */
@media (max-width: 1024px) {
  .cards, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1200px) {
  .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);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .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; background: var(--bg-alt); }
  .nav .lang-switch button { color: var(--ink-soft); }
  .nav .lang-switch button.is-active { background: var(--primary); color: #fff; }
  .nav-toggle { display: flex; }

  .stats__grid { 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; margin-inline: auto; order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo__full { height: 31px; }
  .section { padding: 64px 0; }
  .cards, .testimonials, .gallery, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats__grid { gap: 26px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 92vh; }
  .hero__actions .btn { flex: 1 1 auto; }
  .contact__form { padding: 24px; }
  .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; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
