:root {
  --azul: #1d5fd0;
  --azul-claro: #5b9dff;
  --escuro: #0b1220;
  --escuro-2: #121c30;
  --texto: #1b2333;
  --texto-suave: #556070;
  --fundo: #f5f7fa;
  --branco: #fff;
  --whats: #1fa855;
  --whats-hover: #178c46;
  --raio: 14px;
  --gutter: 16px;
  --topo-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.1rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--sm { min-height: 40px; padding: .4rem 1rem; font-size: .95rem; }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: var(--whats-hover); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--claro { background: #fff; color: var(--escuro); }
.btn--claro:hover { background: #e6ecf5; }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.96); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding-top: env(safe-area-inset-top);
}
.topo__in { display: flex; align-items: center; gap: 1rem; height: var(--topo-h); }
.marca { display: flex; flex-direction: column; line-height: 1; color: #fff; text-decoration: none; margin-right: auto; }
.marca__nome { font-weight: 900; font-size: 1.5rem; letter-spacing: .25em; }
.marca__sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azul-claro); margin-top: 4px; }
.menu { display: flex; gap: 1.5rem; }
.menu a { color: #dfe6f2; text-decoration: none; font-weight: 600; }
.menu a:hover { color: #fff; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .topo__cta { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 12px; margin-right: -12px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--escuro); border-top: 1px solid rgba(255,255,255,.08);
    padding: .5rem var(--gutter) 1rem;
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu a { padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(78vh, 640px); display: flex; align-items: flex-end; overflow: hidden; background: var(--escuro); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__sombra { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.35) 0%, rgba(11,18,32,.55) 40%, rgba(11,18,32,.95) 100%); }
.hero__txt { position: relative; padding-top: 4rem; padding-bottom: 2.5rem; }
.hero h1 { font-size: clamp(1.9rem, 7vw, 3.4rem); max-width: 16ch; }
.hero__lead { font-size: clamp(1rem, 3.5vw, 1.2rem); max-width: 46ch; color: #e3e9f3; margin: 0 0 1.5rem; }
.selo { display: inline-block; margin: 0 0 1rem; padding: .25rem .75rem; border-radius: 999px; background: var(--azul); font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 480px) {
  .acoes .btn { width: 100%; }
}
.acoes--col { flex-direction: column; align-items: stretch; max-width: 320px; }

/* Faixa */
.faixa { background: var(--azul); color: #fff; }
.faixa__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; text-align: center; }
.faixa strong { display: block; font-size: 1.15rem; }
.faixa span { font-size: .9rem; opacity: .9; }
@media (max-width: 560px) {
  .faixa__in { grid-template-columns: 1fr; gap: .5rem; text-align: left; }
  .faixa__in > div { display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; }
  .faixa strong { display: inline; font-size: 1.05rem; }
}

/* Seções */
.secao { padding: clamp(3rem, 8vw, 5rem) 0; }
.secao--escura { background: var(--escuro); color: #e3e9f3; }
.secao--escura h2 { color: #fff; }
.secao__lead { color: var(--texto-suave); max-width: 60ch; margin: 0 0 2rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.card { background: #fff; border-radius: var(--raio); padding: 1.25rem 1.25rem 1rem; border: 1px solid #e3e8ef; border-top: 4px solid var(--azul); }
.card p { margin: 0; color: var(--texto-suave); }

.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.sobre__img { border-radius: var(--raio); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sobre__txt p { margin: 0 0 1rem; }
.sobre__txt .btn { margin-top: .5rem; }
@media (max-width: 820px) { .sobre { grid-template-columns: 1fr; gap: 1.5rem; } }

.galeria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 900px) { .galeria { grid-template-columns: repeat(4, 1fr); } }
.galeria__item { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: zoom-in; background: #dde3ec; }
.galeria__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.galeria__item:hover img { transform: scale(1.04); }

.local { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.local address { font-style: normal; margin-bottom: 1rem; font-size: 1.05rem; }
.local__fone a { color: #fff; font-weight: 700; display: inline-block; padding: 12px 4px; margin: -12px -4px; }
.local__fone { margin: 0 0 1.5rem; }
.mapa { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--raio); overflow: hidden; background: var(--escuro-2); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) {
  .local { grid-template-columns: 1fr; gap: 1.5rem; }
  .acoes--col { max-width: none; }
}

.rodape { background: #070c16; color: #9aa6b8; font-size: .9rem; padding: 2rem 0 calc(6rem + env(safe-area-inset-bottom)); }
.rodape p { margin: .25rem 0; }
.rodape strong { color: #fff; }

/* Botão flutuante */
.flutuante {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whats); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.flutuante svg { width: 32px; height: 32px; }
.flutuante:hover { background: var(--whats-hover); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; margin: 0 auto; }
.lightbox form { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); margin: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lightbox__fechar { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 2rem; line-height: 1; cursor: pointer; }
