/* ============================================================
   WD CONSTRUTORA — Estilos
   Paleta: azul-marinho profundo + laranja/dourado (marca)
   ============================================================ */

:root {
  --navy-900: #061321;
  --navy-800: #0a1b2e;
  --navy-700: #0f2740;
  --navy-600: #163654;
  --gold-500: #f5a623;
  --gold-600: #e8951c;
  --gold-400: #ffb84d;
  --ink: #1a2333;
  --muted: #5b6676;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --whats: #25d366;
  --whats-dark: #1ebe5a;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(6, 19, 33, .08);
  --shadow-md: 0 18px 40px rgba(6, 19, 33, .14);
  --shadow-lg: 0 30px 70px rgba(6, 19, 33, .22);
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

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

.accent { color: var(--gold-500); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: 0 0 auto; }

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 26px rgba(245, 166, 35, .35); }
.btn-primary:hover { background: var(--gold-400); box-shadow: 0 14px 32px rgba(245, 166, 35, .45); }

.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn-whats:hover { background: var(--whats-dark); box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }

.btn-insta {
  background: linear-gradient(45deg, #feda75, #d62976 45%, #962fbf 75%, #4f5bd5);
  color: #fff;
}
.btn-insta:hover { filter: brightness(1.06); box-shadow: 0 14px 32px rgba(214, 41, 118, .38); }

.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(10, 27, 46, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(6, 19, 33, .28);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-text { white-space: nowrap; }
.brand-mark { height: 40px; width: auto; transition: height .35s var(--ease); }
.scrolled .brand-mark { height: 34px; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .92rem;
  color: #fff;
  line-height: 1.1;
  transition: color .35s;
}
.brand-text strong { color: var(--gold-500); }
.brand-text small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .18em; opacity: .8; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, .92);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--gold-400); }
.scrolled .nav-link:hover { background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 19, 33, .55) 0%, rgba(6, 19, 33, .35) 40%, rgba(6, 19, 33, .85) 100%),
    linear-gradient(90deg, rgba(6, 19, 33, .75) 0%, rgba(6, 19, 33, .1) 70%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 24px 100px; max-width: 780px; }
.hero .eyebrow { color: var(--gold-400); }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: rgba(255, 255, 255, .88); margin: 22px 0 34px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; z-index: 2;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Hero variante CENTRALIZADA (Opção 2 — estilo referência) ---------- */
.hero--centered .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&q=80&auto=format&fit=crop');
}
.hero--centered .hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 19, 33, .74) 0%, rgba(6, 19, 33, .42) 38%, rgba(6, 19, 33, .54) 62%, rgba(6, 19, 33, .92) 100%);
}
.hero--centered .hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero--centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero-actions { justify-content: center; }
.hero-logo {
  width: clamp(210px, 26vw, 300px);
  height: auto; display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, .5));
}

/* ---------- Hero variante ENTARDECER (Opção 3) ---------- */
.hero--dusk .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80&auto=format&fit=crop');
  filter: brightness(1.92) saturate(1.08);
}
.hero--dusk .hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 19, 33, .34) 0%, rgba(6, 19, 33, .16) 40%, rgba(6, 19, 33, .6) 100%),
    radial-gradient(120% 75% at 50% 18%, rgba(245, 166, 35, .1), transparent 62%);
}
.hero--dusk .hero-title,
.hero--dusk .hero-sub { text-shadow: 0 2px 20px rgba(6, 19, 33, .6); }

/* ============================================================
   FAIXA DE CONFIANÇA
   ============================================================ */
.trust-band { background: var(--navy-800); color: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 26px 24px;
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 10px; }
.trust-item svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--gold-500); }
.trust-item span { font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .9); line-height: 1.35; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-dark { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
#diferenciais::before {
  content: ""; position: absolute; right: -90px; top: -60px;
  width: 460px; height: 321px;
  background: url('../assets/wd-watermark.png') no-repeat center / contain;
  opacity: .05; pointer-events: none;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.01em; }
.section-lead { color: var(--muted); margin-top: 14px; }
.section-dark .section-lead { color: rgba(255, 255, 255, .7); }

/* ---------- Quem Somos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-badge {
  position: absolute; right: -18px; bottom: 34px;
  background: var(--gold-500); color: var(--navy-900);
  padding: 18px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-head); box-shadow: var(--shadow-md);
  line-height: 1.05; text-align: center;
}
.about-badge strong { display: block; font-size: 1.35rem; font-weight: 800; }
.about-badge span { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.about-text h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text p strong { color: var(--ink); }

.check-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Diferenciais (cards) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-500); background: rgba(245, 166, 35, .06); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(245, 166, 35, .14);
  margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; color: var(--gold-500); }
.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { color: rgba(255, 255, 255, .72); font-size: .94rem; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 34px 90px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-num {
  position: absolute; left: 30px; top: 32px;
  font-family: var(--font-head); font-weight: 900; font-size: 1.5rem;
  color: var(--gold-500);
  background: #fff; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ---------- Galeria / Obras ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-lg { grid-column: span 2; grid-row: span 2; }
.gallery-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(6, 19, 33, .78); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .12);
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 19, 33, .35) 100%);
  opacity: 0; transition: opacity .35s;
}
.gallery-item:hover::after { opacity: 1; }

.obras-cta { text-align: center; margin-top: 44px; }
.obras-cta p { color: rgba(255, 255, 255, .78); margin-bottom: 18px; }

/* ---------- Contato ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; max-width: 480px; }

.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-800); display: grid; place-items: center;
}
.ci-icon svg { width: 22px; height: 22px; color: var(--gold-500); }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--navy-800); margin-bottom: 2px; }
.contact-list span { color: var(--muted); font-size: .93rem; }

.contact-card {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .35), transparent 70%);
}
.contact-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; position: relative; }
.contact-card > p { color: rgba(255, 255, 255, .78); margin-bottom: 24px; font-size: .95rem; position: relative; }
.contact-card .btn { margin-bottom: 12px; position: relative; }
.contact-note { text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .55); margin-top: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { font-size: .92rem; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer-credits { color: var(--gold-500) !important; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  animation: floatPulse 2.6s infinite;
  transition: transform .25s var(--ease);
}
.whats-float:hover { transform: scale(1.1); }
@keyframes floatPulse {
  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); }
}

/* ============================================================
   QUIZ DE QUALIFICAÇÃO (pré-WhatsApp)
   ============================================================ */
.quiz-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 19, 33, .72);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.quiz-overlay.open { opacity: 1; visibility: visible; }
body.quiz-open { overflow: hidden; }

.quiz-card {
  background: #fff; width: 100%; max-width: 540px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: translateY(16px) scale(.98);
  transition: transform .35s var(--ease); max-height: 92vh; display: flex; flex-direction: column;
}
.quiz-overlay.open .quiz-card { transform: none; }

.quiz-head {
  background: var(--navy-800); color: #fff;
  padding: 20px 24px; position: relative;
}
.quiz-head h3 { color: #fff; font-size: 1.15rem; margin: 0; padding-right: 30px; }
.quiz-head p { color: rgba(255, 255, 255, .7); font-size: .86rem; margin-top: 4px; }
.quiz-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: none; color: #fff;
  font-size: 1.1rem; cursor: pointer; line-height: 1; transition: background .2s;
}
.quiz-close:hover { background: rgba(255, 255, 255, .25); }

.quiz-progress { height: 4px; background: rgba(255,255,255,.15); border-radius: 99px; margin-top: 16px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--gold-500); width: 0; transition: width .35s var(--ease); }

.quiz-body { padding: 26px 24px; overflow-y: auto; }
.quiz-step-label { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.quiz-question { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--navy-800); margin: 8px 0 20px; line-height: 1.25; }

.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  text-align: left; width: 100%;
  background: var(--bg-soft); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.quiz-option:hover { border-color: var(--gold-500); background: #fff; transform: translateY(-2px); }
.quiz-option.selected { border-color: var(--gold-500); background: rgba(245, 166, 35, .1); font-weight: 600; }

.quiz-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 24px 22px; }
.quiz-back { background: none; border: none; color: var(--muted); font-size: .92rem; cursor: pointer; padding: 8px 4px; }
.quiz-back:hover { color: var(--navy-800); }
.quiz-back[hidden] { visibility: hidden; }
.quiz-skip { color: var(--muted); font-size: .82rem; text-decoration: underline; cursor: pointer; background: none; border: none; }
.quiz-skip:hover { color: var(--gold-600); }

/* tela final */
.quiz-final { text-align: center; padding: 30px 24px 8px; }
.quiz-final-icon { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: rgba(37,211,102,.12); display: grid; place-items: center; }
.quiz-final-icon svg { width: 34px; height: 34px; color: var(--whats); }
.quiz-final h3 { color: var(--navy-800); font-size: 1.35rem; margin-bottom: 8px; }
.quiz-final p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

@media (max-width: 480px) {
  .quiz-question { font-size: 1.15rem; }
  .quiz-option { padding: 13px 14px; font-size: .95rem; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 380px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* Menu SEMPRE horizontal no topo — sem hambúrguer / sem gaveta lateral.
   Em telas menores: logo centralizada em cima e os links na horizontal logo abaixo. */
@media (max-width: 1024px) {
  /* Logo à esquerda + menu horizontal à direita (quebra em linha se faltar espaço) */
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; }
  .nav-link { padding: 7px 11px; font-size: 1rem; }
}

@media (max-width: 560px) {
  /* Celular: logo no canto superior esquerdo, menu horizontal logo abaixo */
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav { justify-content: flex-start; }
  .nav-link { padding: 6px 9px; font-size: .92rem; }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-lg { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-badge { right: 14px; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
}
