/* ══════════════════════════════════════════════════════════════════
   CHAVEIRO CONCÓRDIA — global.css
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ── 2. Variáveis ──────────────────────────────────────────────── */
:root {
  --red: #E31E24;
  --red-deep: #A50E12;
  --red-darker: #6E0A0D;
  --red-paper: #FFF3F1;
  --yellow: #FFDE00;
  --yellow-deep: #E3B800;
  --ink: #1B1712;
  --ink-soft: #4A423A;
  --paper: #FFFBF2;
  --white: #FFFFFF;
  --grey-line: #EDE6D6;
  --whatsapp: #178F49;
  --whatsapp-deep: #0F6B37;
  --header-bg: #C70D0D;

  --shadow-sm: 0 2px 10px rgba(27, 23, 18, .10);
  --shadow-md: 0 10px 30px rgba(27, 23, 18, .16);
  --shadow-lg: 0 20px 50px rgba(27, 23, 18, .30);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --transition-fast: .15s ease;
  --transition-base: .25s ease;
  --transition-slow: .5s ease;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --header-h: 84px;
  --mobile-bar-h: 64px;
  --section-pad-desktop: 88px;
  --section-pad-mobile: 56px;
}

/* ── 3. Tipografia base ────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-h); /* compensa o header position:fixed (não sticky) */
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { line-height: 1.6; }

.icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  vertical-align: middle;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── 4. Animações de entrada ───────────────────────────────────── */
@keyframes revealUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealLeft { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes revealRight{ from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes revealScale{ from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseDot   { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  animation-duration: .6s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}
.reveal.in       { animation-name: revealUp; }
.reveal-left.in  { animation-name: revealLeft; }
.reveal-right.in { animation-name: revealRight; }
.reveal-scale.in { animation-name: revealScale; }

.delay-1 { animation-delay: .05s; }
.delay-2 { animation-delay: .15s; }
.delay-3 { animation-delay: .25s; }
.delay-4 { animation-delay: .35s; }
.delay-5 { animation-delay: .45s; }

/* ── 5. Header / Nav / Hambúrguer / Drawer mobile ─────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--header-bg);
  transition: box-shadow var(--transition-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 64px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255,255,255,.94);
  transition: color var(--transition-fast);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--yellow); }
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-label { display: none; }
.header-actions .btn-whatsapp {
  border: 2px solid rgba(255,255,255,.35); /* aro claro p/ o verde não se perder no header escuro */
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-drawer-backdrop {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  z-index: 54;
  background: rgba(15, 10, 8, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.nav-drawer-backdrop.open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  z-index: 55;
  background: var(--white);
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-lg);
  padding: 8px 18px 22px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-drawer.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.nav-drawer ul a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  border-bottom: 1px solid var(--grey-line);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul a .icon { color: var(--red); width: 21px; height: 21px; flex-shrink: 0; }
.nav-drawer ul a:active,
.nav-drawer ul a.active { color: var(--red); background: var(--red-paper); }
.nav-drawer ul a.active .icon { color: var(--red); }

.nav-drawer-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-line);
  display: flex;
  gap: 10px;
}
.nav-drawer-cta .btn { flex: 1 1 0; color: inherit; padding: 15px 12px; font-size: .92rem; } /* nunca deixar o seletor de link do drawer vazar cor nos botões CTA */
.nav-drawer-cta .btn-call { color: var(--ink); }
.nav-drawer-cta .btn-whatsapp { color: var(--white); }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle, .nav-drawer, .nav-drawer-backdrop { display: none; }
  .header-actions .btn-label { display: inline; }
}

/* ── 6. Botões utilitários ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 22px;
  border-radius: 100px;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-call { background: var(--yellow); color: var(--ink); }
.btn-call:hover { background: var(--yellow-deep); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2b2521; }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }

/* ── 7. Hero carrossel ─────────────────────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--red-darker) 0%, var(--red-deep) 55%, var(--red) 100%);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 32%;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slides::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(12,3,3,.88) 0%, rgba(94,9,12,.86) 38%, rgba(163,14,18,.62) 68%, rgba(163,14,18,.42) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; width: 100%; }
.hero h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.35); max-width: 780px; }
.hero h1 mark { background: none; color: var(--yellow); }
.hero .subhead {
  margin-top: 18px;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  max-width: 560px;
  color: rgba(255,255,255,.94);
  line-height: 1.55;
}
.trust-strip { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip li {
  display: flex; align-items: center; gap: 10px;
  background: rgba(10,7,6,.42);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
}
.trust-strip .ico {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.trust-strip .ico .icon { width: 15px; height: 15px; color: var(--ink); }
.hero-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { flex: 1 1 auto; font-size: clamp(.86rem, 2.6vw, 1rem); padding: 16px 20px; }

.hero-dots {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background var(--transition-base), transform var(--transition-base);
}
.hero-dots button.active { background: var(--yellow); transform: scale(1.25); }

@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; padding: 17px 32px; } }
@media (min-width: 900px) { .hero-content { padding-top: 96px; padding-bottom: 70px; } .hero { min-height: 620px; } }

/* No mobile o hero fica só com o degradê (sem foto de fundo) — as fotos
   aparecem no carrossel próprio, entre o hero e "Nossos Serviços". */
@media (max-width: 899px) {
  .hero-slides, .hero-dots { display: none; }
}

.mobile-photo-carousel { display: block; position: relative; background: var(--ink); }
.mobile-photo-carousel-track { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.mobile-photo-carousel-track img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
}
.mobile-photo-carousel-track img.active { opacity: 1; }
.mobile-photo-carousel-dots {
  position: absolute; z-index: 1;
  left: 0; right: 0; bottom: 14px;
  display: flex; gap: 8px; justify-content: center;
}
.mobile-photo-carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background var(--transition-base), transform var(--transition-base);
}
.mobile-photo-carousel-dots button.active { background: var(--yellow); transform: scale(1.25); }

@media (min-width: 900px) {
  .mobile-photo-carousel { display: none; }
}

/* ── 8/9/10. Seções + componentes (Flexbox, sem grid) ──────────── */
.section { padding: var(--section-pad-mobile) 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-brand { background: var(--paper); color: var(--ink); border-top: 6px solid var(--red); position: relative; }

.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head p { margin-top: 12px; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.55; }
.section-dark .section-head p { color: rgba(255,255,255,.88); }

/* Na seção de fundo escuro (Sobre) os títulos precisam virar branco —
   o padrão global (h1..h4 = --ink) deixaria texto preto sobre fundo
   escuro, ilegível. A seção de Contato usa fundo claro, então os
   títulos continuam na cor padrão (ink). NUNCA usar texto preto sobre
   fundo vermelho nem branco sobre fundo amarelo. */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

/* Grades genéricas em flex-wrap */
.flex-row { display: flex; flex-wrap: wrap; gap: 22px; }
.flex-row > * { flex: 1 1 100%; }

/* ── Serviços — faixa escura full-bleed em destaque para os 2
   primeiros serviços + lista simples (sem cards) para os 2 padrão.
   Estrutura deliberadamente diferente entre os dois grupos, não
   apenas uma variação de cor. ──────────────────────────────────── */

.icon-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge .icon { width: 18px; height: 18px; }

/* ── Serviços — cards elevados para os 2 destaques + lista simples
   para os 2 padrão. Diferença de ESTRUTURA (card vs. lista), não de
   cor de fundo — tudo dentro do mesmo fundo claro da seção, com um
   único valor de espaçamento entre os dois grupos. ──────────────── */

.icon-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge .icon { width: 18px; height: 18px; }

/* Cards elevados (destaque) */
.services-featured-grid { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; }
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--red);
}
.feature-card-media {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.feature-card-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 260px; border-radius: var(--radius-sm); }
.feature-card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.feature-card-body h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.feature-card-body .desc { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.feature-card-body .list { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 4px; }
.feature-card-body .list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.feature-card-body .list .icon { color: var(--red); width: 1.1em; height: 1.1em; margin-top: 2px; flex-shrink: 0; }
.feature-card-body > .btn { align-self: flex-start; margin-top: auto; }

@media (min-width: 780px) {
  .services-featured-grid { flex-direction: row; margin-bottom: 44px; }
  .feature-card { flex: 1 1 0; }
}

/* No mobile os 4 cards de serviço (destaque + padrão) usam o MESMO
   layout de card. A partir do tablet (640px) os 2 padrão passam para
   uma lista simples, sem card, para diferenciar dos 2 destaques. */
.services-list { display: flex; flex-direction: column; gap: 24px; }
.list-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--red);
}
.list-item-media {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.list-item-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 260px; border-radius: var(--radius-sm); }
.list-item-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.list-item-body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.list-item-body .desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.list-item-body .list { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 4px; }
.list-item-body .list li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; }
.list-item-body .list .icon { color: var(--red); width: 1em; height: 1em; margin-top: 2px; flex-shrink: 0; }
.list-item-body > .btn { align-self: flex-start; margin-top: auto; }

@media (min-width: 780px) {
  /* Tablet+: volta a ser lista simples, sem card — diferencia dos 2 destaques */
  .services-list { gap: 0; }
  .list-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 26px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid var(--grey-line);
    padding: 26px 0;
  }
  .services-list .list-item:first-child { padding-top: 0; }
  .services-list .list-item:last-child { border-bottom: none; padding-bottom: 0; }
  .list-item-media { flex: 0 0 230px; background: none; padding: 0; }
  .list-item-media img { width: 100%; height: auto; max-height: none; border-radius: var(--radius-sm); }
  .list-item-body { flex: 1 1 auto; padding: 0; }
  .list-item-body > .btn { margin-top: 4px; }
}

/* Sobre */
.about-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.about-copy { flex: 1 1 100%; }
.about-copy h2 { margin-bottom: 34px; }
.about-copy p { color: rgba(255,255,255,.86); font-size: 1.02rem; margin-bottom: 16px; }
.about-copy p strong { color: var(--yellow); }
.about-side { flex: 1 1 100%; display: flex; }

.about-gallery { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.about-gallery button {
  flex: 1 1 calc(50% - 6px);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  padding: 0;
}
.about-gallery img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.about-gallery button:hover img { transform: scale(1.07); }
.about-gallery button .icon {
  position: absolute; right: 8px; bottom: 8px;
  width: 28px; height: 28px; padding: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
}
@media (min-width: 600px) {
  .about-gallery button { flex: 1 1 calc(25% - 9px); }
}
@media (min-width: 940px) {
  .about-copy { flex: 1 1 55%; }
  .about-side { flex: 1 1 calc(45% - 40px); }
}

.reviews-card {
  margin-top: 8px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border-top: 5px solid var(--red);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.reviews-badge {
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--grey-line);
}
.reviews-badge-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.reviews-google-logo { margin: 0 auto 14px; height: 32px; width: auto; display: block; }
.stars-lg { display: flex; justify-content: center; gap: 5px; color: var(--yellow); }
.stars-lg .icon { width: 22px; height: 22px; }

.reviews-slides { position: relative; min-height: 64px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.review-slide {
  display: none;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}
.review-slide.active { display: block; animation: revealUp .35s ease; }
.review-slide p { color: var(--ink); font-size: 1.02rem; line-height: 1.55; font-style: italic; }
.review-slide cite {
  display: block; margin-top: 8px;
  font-style: normal; font-weight: 700; font-size: .86rem;
  color: var(--red);
}
.reviews-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.reviews-dots button {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grey-line);
  transition: background var(--transition-base), transform var(--transition-base);
}
.reviews-dots button.active { background: var(--red); transform: scale(1.3); }

/* Contato */
.contact-row { display: flex; flex-wrap: wrap; gap: 26px; }
.map-card, .info-card { flex: 1 1 100%; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--grey-line); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

.info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--red-paper);
  display: flex; align-items: center; justify-content: center;
}
.info-list .ico .icon { color: var(--red); }
.info-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.info-list a, .info-list span { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.info-list a:hover { color: var(--red); }

@media (min-width: 980px) {
  .map-card { flex: 1 1 calc(58% - 13px); }
  .info-card { flex: 1 1 calc(42% - 13px); }
}

.section-cta { margin-top: 36px; display: flex; }
.section-cta--prompt { flex-wrap: wrap; align-items: center; gap: 14px; }
.section-cta--prompt .cta-lead { font-weight: 700; color: var(--white); font-size: 1.02rem; }

/* ── 11. Modal — painel lateral (SEM overlay/blur cobrindo a página) ── */
html.scroll-travado {
  overflow: hidden !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  visibility: hidden;
}
.modal-overlay.open { visibility: visible; }

.modal-caixa {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  padding: 34px 26px 26px;
  box-shadow: -20px 0 60px rgba(20,14,10,.25);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
}
.modal-caixa::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 100%);
}
.modal-overlay.open .modal-caixa { transform: translateX(0); }

@media (max-width: 640px) {
  .modal-overlay { align-items: flex-end; justify-content: stretch; }
  .modal-caixa {
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal-caixa { transform: translateY(0); }
}

.modal-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.modal-badge {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.modal-badge .icon { width: 25px; height: 25px; }
.modal-header-text { padding-right: 26px; }

@keyframes modalShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}
.modal-overlay.open .modal-caixa.shake { animation: modalShake .4s ease; }

.modal-fechar {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background var(--transition-fast);
}
.modal-fechar:hover { background: var(--red-paper); color: var(--red); }
.modal-fechar .icon { width: 22px; height: 22px; }

.modal-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.modal-sub { margin-top: 4px; color: var(--ink-soft); font-size: .9rem; }

#formOrcamento { margin-top: 18px; }
.campo { margin-bottom: .5rem; }
.campo label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; color: var(--ink-soft); }
.campo input, .campo textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-line);
  background: var(--paper);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.campo input:focus, .campo textarea:focus { border-color: var(--red); background: var(--white); outline: none; }
.campo textarea { resize: vertical; min-height: 60px; }
.campo.campo-invalido input,
.campo.campo-invalido textarea { border-color: var(--red-deep); background: var(--red-paper); }

.campo-erro-msg { display: none; color: var(--red-deep); font-size: .78rem; margin-top: 4px; }
.campo-erro-msg.visivel { display: block; }

.campo-rodape { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.campo-contador { font-size: .74rem; color: var(--ink-soft); white-space: nowrap; }
.campo-contador.limite { color: var(--red-deep); font-weight: 700; }

.campo-recaptcha { display: flex; flex-direction: column; margin: .25rem 0 .75rem; }

.btn-enviar-wa {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 20px;
  border-radius: 100px;
  background: var(--whatsapp); color: var(--white);
  margin-top: 6px;
  transition: background var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}
.btn-enviar-wa:hover:not(:disabled) { background: var(--whatsapp-deep); transform: translateY(-2px); }
.btn-enviar-wa:disabled { opacity: .5; cursor: not-allowed; }

.modal-status { margin-top: 12px; font-size: .88rem; text-align: center; display: none; }
.modal-status.visivel { display: block; }
.modal-status.ok { color: #146C34; }
.modal-status.erro { color: #A31212; }

/* ── 12. FAB + barra mobile ─────────────────────────────────────── */
.fab-topo, .fab-whatsapp {
  position: fixed;
  right: 26px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}
.fab-topo.show, .fab-whatsapp.show { opacity: 1; visibility: visible; transform: translateY(0); }
/* WhatsApp é a ação principal — maior e com mais destaque que o voltar ao topo */
.fab-whatsapp {
  width: 62px; height: 62px;
  bottom: 26px; background: var(--whatsapp); color: var(--white);
  animation: pulseDot 2.4s infinite;
}
.fab-topo {
  width: 44px; height: 44px;
  right: 35px;
  bottom: 102px; background: var(--yellow); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.fab-whatsapp .icon { width: 28px; height: 28px; }
.fab-topo .icon { width: 19px; height: 19px; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 58;
  display: flex;
  height: var(--mobile-bar-h);
  background: var(--white);
  border-top: 1px solid var(--grey-line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar-item {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: .72rem; font-weight: 700;
  color: var(--ink);
}
.mobile-bar-item .icon { width: 21px; height: 21px; }
.mobile-bar-wa { color: var(--whatsapp-deep); }
.mobile-bar-item + .mobile-bar-item { border-left: 1px solid var(--grey-line); }

@media (min-width: 1025px) {
  .fab-topo, .fab-whatsapp { display: flex; }
  .fab-whatsapp { opacity: 1; visibility: visible; transform: none; } /* sempre visível no desktop, sem depender de scroll */
  .mobile-bar { display: none; }
}
@media (max-width: 1024px) {
  .fab-topo, .fab-whatsapp { display: none !important; }
}

/* ── 13. Footer ─────────────────────────────────────────────────── */
.site-footer { background: #14110D; color: rgba(255,255,255,.82); padding-top: 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 34px; padding-bottom: 44px; }
.footer-brand { flex: 1 1 100%; }
.footer-brand > a { display: inline-block; transition: opacity var(--transition-fast); }
.footer-brand > a:hover { opacity: .8; }
.footer-logo { margin-bottom: 14px; }
.footer-tagline { max-width: 320px; color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.5; }
.footer-col { flex: 1 1 100%; }
.footer-col h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); margin-bottom: 14px; }
.footer-brand h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); margin-top: 14px; margin-bottom: 14px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a, .footer-contact span { font-size: .95rem; color: rgba(255,255,255,.78); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--yellow); width: 1.1em; height: 1.1em; }

.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.social-row a:hover { background: var(--red); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); }
.footer-bottom-inner { display: flex; justify-content: center; align-items: center; font-size: 9px; } /* .82 */
.footer-credit { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); }
.footer-credit svg { height: 9px; width: auto; color: rgba(255,255,255,.75); } /* 15 */
.footer-credit:hover { color: rgba(255,255,255,.8); }
/*.footer-credit:hover svg { color: var(--yellow); }*/

@media (min-width: 720px) {
  .footer-inner { flex-wrap: nowrap; align-items: flex-start; gap: 54px; }
  .footer-brand { flex: 1.3 1 0; }
  .footer-col { flex: 1 1 0; }
}
@media (max-width: 1024px) {
  .site-footer { padding-bottom: calc(var(--mobile-bar-h) + 8px); }
}

/* Lightbox da galeria "Sobre" */
.lightbox {
  position: fixed; inset: 0;
  z-index: 130;
  background: rgba(10,8,6,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 26px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(900px, 92vw); max-height: 84vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-fechar {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.lightbox-fechar .icon { width: 22px; height: 22px; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--transition-fast);
}
.lightbox-nav:hover { background: rgba(255,255,255,.24); }
.lightbox-nav .icon { width: 26px; height: 26px; }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-counter {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 100px;
}

@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ── 14. Páginas de confirmação e erro ──────────────────────────── */
.status-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.status-page .status-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.status-page .status-icon .icon { width: 42px; height: 42px; }
.status-page.status-ok .status-icon { background: #E8F8EE; color: #146C34; }
.status-page.status-error .status-icon { background: var(--red-paper); color: var(--red-deep); }
.status-page h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.status-page p { margin-top: 12px; color: var(--ink-soft); max-width: 460px; margin-left: auto; margin-right: auto; }
.status-page .btn { margin-top: 26px; }

/* ── 15. Media queries consolidadas ──────────────────────────────
   (breakpoints já aplicados inline nas seções acima seguem a mesma
   convenção — 640 / 780 / 900 / 940 / 980 / 1024 / 1025 — reunidos
   aqui apenas os ajustes finais de padding/espaçamento por tela) */
@media (min-width: 900px) {
  .section { padding: var(--section-pad-desktop) 0; }
}
@media (max-width: 899px) {
  .header-actions .btn.btn-sm { padding: 11px 13px; }
}
