/* Casa do Diesel — estilos do site
   Cores da identidade: azul-marinho #01004D, azul #0062ED, base escura dos posts aprovados. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --noite: #05071c;
  --noite-2: #0a0d2b;
  --marinho: #01004d;
  --azul: #0062ed;
  --azul-vivo: #2a5bff;
  --azul-claro: #8fb2ff;
  --linha: rgba(143, 178, 255, .28);
  --texto: #e9ecf7;
  --texto-2: #a9b0cc;
  --claro: #f2f3f7;
  --chumbo: #1e1e2a;
  --raio: 14px;
  --sombra: 0 24px 60px -24px rgba(0, 0, 0, .6);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--noite); color: var(--texto);
  font: 400 17px/1.6 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.azul { color: var(--azul-vivo); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--marinho); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--azul-vivo); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--azul-claro);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--azul-vivo); border-radius: 2px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; border: 2px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s; cursor: pointer; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-vivo); }
.btn-linha { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-linha:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-branco { background: #fff; color: var(--marinho); }
.btn-branco:hover { background: var(--claro); }

/* Pílula de CTA dos posts: círculo branco com ícone + texto em itálico */
.pill {
  display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 6px 30px 6px 6px;
  border-radius: 999px; background: linear-gradient(90deg, var(--azul), var(--azul-vivo));
  color: #fff; font-style: italic; font-size: 18px; font-weight: 500;
  box-shadow: 0 14px 40px -12px rgba(42, 91, 255, .7); transition: transform .2s, box-shadow .2s;
}
.pill strong { font-weight: 900; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(42, 91, 255, .9); }
.pill-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--azul); }
.pill-ico svg { width: 26px; height: 26px; }
.text-link { font-weight: 800; color: var(--azul-claro); }
.text-link:hover { color: #fff; }

/* Topo fixo */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.topbar.scrolled { background: rgba(5, 7, 28, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linha); }
.nav { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand img { width: 150px; height: auto; }
.navlinks { display: flex; align-items: center; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.navlinks a { opacity: .85; transition: opacity .2s, color .2s; }
.navlinks a:hover { opacity: 1; color: var(--azul-claro); }
.nav-tel { font-weight: 800; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,7,28,.92) 0%, rgba(5,7,28,.72) 38%, rgba(5,7,28,.15) 70%),
    linear-gradient(180deg, rgba(5,7,28,.55) 0%, transparent 25%, transparent 70%, var(--noite) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--marinho), var(--azul-vivo), var(--marinho)); }
.hud { position: absolute; left: 0; width: 100%; height: 90px; color: var(--linha); pointer-events: none; }
.hud-top { top: 70px; }
.hero-content { position: relative; max-width: var(--max); }
.hud-dash { display: block; width: 56px; height: 4px; background: #fff; border-radius: 2px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); margin-bottom: 26px; }
.lead { max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--texto); font-weight: 400; }
.especialidade {
  display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 34px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2);
}
.especialidade strong { color: #fff; font-style: italic; font-weight: 900; }
.barra { flex: none; width: 7px; height: 26px; background: var(--azul-vivo); transform: skewX(-18deg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Reinauguração: card estilo ingresso */
.evento { padding: 10px 0 30px; }
.ingresso { display: grid; grid-template-columns: 230px 1fr; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); position: relative; }
.ingresso::before, .ingresso::after {
  content: ""; position: absolute; left: 230px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--noite);
}
.ingresso::before { top: -13px; }
.ingresso::after { bottom: -13px; }
.ingresso-data { display: grid; place-content: center; text-align: center; padding: 28px; background: linear-gradient(140deg, var(--azul-vivo), #1530b8 70%, var(--marinho)); }
.dia { font-size: 84px; line-height: .9; font-weight: 900; }
.mes { font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ingresso-info { background: #fff; color: var(--marinho); padding: 30px 36px; border-left: 2px dashed #c9cfe2; }
.ingresso-info .rotulo { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #6b7290; }
.ingresso-info h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.ingresso-info p { color: #2b2f4a; margin-bottom: 12px; }
.ingresso-info .text-link { color: var(--azul); }
.ingresso-info .text-link:hover { color: var(--marinho); }

/* Seções */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2, .sobre h2, .chegar h2 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 20px; }
.section-head p { color: var(--texto-2); font-size: 18px; }

/* Serviços */
.servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servico {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--raio);
  background: linear-gradient(180deg, var(--noite-2), #070a24); border: 1px solid var(--linha);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  transition: transform .3s, border-color .3s, background .3s;
}
.servico:hover { transform: translateY(-4px); border-color: var(--azul-vivo); background: linear-gradient(180deg, #0d1240, #070a24); }
.servico::before { content: ""; position: absolute; left: 30px; top: 0; width: 46px; height: 4px; background: var(--azul-vivo); }
.num { display: inline-grid; place-items: center; width: 44px; height: 30px; margin-bottom: 22px; background: var(--azul); font-weight: 900; font-size: 14px; transform: skewX(-12deg); }
.servico h3 { font-size: 23px; margin-bottom: 14px; }
.servico p { color: var(--texto-2); }
.servico p strong { color: var(--texto); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; }
.tags li { padding: 5px 12px 5px 22px; border: 1px solid var(--linha); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.tags li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 4px; height: 12px; margin-top: -6px; background: var(--azul-vivo); transform: skewX(-18deg); }
.servico-link { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--azul-claro); }
.servico-link:hover { color: #fff; }
.servico-cta { justify-content: space-between; gap: 24px; background: linear-gradient(140deg, var(--azul), #1530b8 60%, var(--marinho)); border-color: transparent; }
.servico-cta:hover { background: linear-gradient(140deg, var(--azul-vivo), #1530b8 60%, var(--marinho)); }
.servico-cta::before { background: #fff; }
.servico-cta h3 { font-size: 26px; line-height: 1.12; }
.servico-cta h3 span { color: #cfdcff; }
.servico-cta .btn { align-self: flex-start; }

/* Faixa rolando */
.faixa { overflow: hidden; background: var(--azul); transform: skewY(-1.5deg); margin: 10px 0; }
.faixa-trilho { display: flex; align-items: center; gap: 34px; width: max-content; padding: 18px 0; animation: rolar 34s linear infinite; }
.faixa span { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.faixa b { font-style: italic; font-weight: 900; }
.faixa i { width: 8px; height: 22px; background: var(--marinho); transform: skewX(-18deg); }
@keyframes rolar { to { transform: translateX(-50%); } }

/* A oficina */
.sobre-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sobre-foto { position: relative; }
.sobre-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
.sobre-foto::after { content: ""; position: absolute; right: -18px; bottom: 40px; width: 14px; height: 120px; background: var(--azul-vivo); transform: skewX(-14deg); }
.sobre-texto > p { color: var(--texto-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: "›"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--azul); color: #fff; font-weight: 900; font-size: 18px; line-height: 1;
}
.tels { display: flex; flex-wrap: wrap; gap: 14px; }
.tels a { display: grid; padding: 14px 22px; border: 1px solid var(--linha); border-radius: 12px; font-size: 22px; font-weight: 900; font-style: italic; transition: border-color .2s, background .2s; }
.tels a:hover { border-color: var(--azul-vivo); background: rgba(42, 91, 255, .1); }
.tels span { font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--azul-claro); }

/* Como chegar (fundo claro, como os posts tipo B) */
.chegar { background: var(--claro); color: var(--chumbo); }
.chegar .eyebrow { color: var(--azul); }
.chegar h2 { color: var(--marinho); }
.chegar .azul { color: var(--azul); }
.chegar-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
address { font-style: normal; font-size: 20px; line-height: 1.55; margin-bottom: 16px; }
address strong { color: var(--marinho); font-weight: 800; }
.ref { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--azul); }
.ref svg { width: 22px; height: 22px; }
.chegar-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chegar .btn-linha { border-color: var(--marinho); color: var(--marinho); }
.chegar .btn-linha:hover { background: var(--marinho); color: #fff; }
.mapa { position: relative; aspect-ratio: 4 / 3; border-radius: var(--raio); overflow: hidden; background: var(--marinho); box-shadow: 0 30px 60px -30px rgba(1, 0, 77, .55); }
.mapa iframe { width: 100%; height: 100%; border: 0; }
.mapa-capa {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; text-align: center; color: #fff;
  background:
    linear-gradient(rgba(1,0,77,.86), rgba(1,0,77,.86)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(143,178,255,.14) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(143,178,255,.14) 46px 47px);
}
.mapa-capa svg { width: 46px; height: 46px; color: var(--azul-vivo); }
.mapa-capa p { margin: 0; color: #c8d0ee; font-size: 15px; max-width: 26em; }

/* Dúvidas */
.duvidas-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linha); color: var(--azul-claro); font-weight: 600; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--azul); color: #fff; border-color: var(--azul); }
.faq details p { color: var(--texto-2); padding: 0 50px 18px 0; }

/* Chamada final */
.final { padding: 0 0 clamp(80px, 10vw, 120px); }
.final-box {
  text-align: center; padding: clamp(50px, 7vw, 80px) 30px; border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 0%, var(--azul-vivo) 0%, #1530b8 40%, var(--marinho) 100%);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.final-box h2 { font-size: clamp(32px, 5vw, 62px); margin-bottom: 12px; }
.final-box h2 span { display: block; color: #cfdcff; }
.final-box > p { color: #dfe6ff; font-size: 18px; margin-bottom: 30px; }
.final-tels { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.final-tels a { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; font-style: italic; }
.final-tels a:hover { color: #cfdcff; }
.etq { padding: 3px 12px; border: 2px solid #fff; border-radius: 6px; font-size: 12px; font-style: italic; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; transform: skewX(-10deg); }

/* Rodapé */
.footer { position: relative; padding: 90px 0 28px; border-top: 1px solid rgba(143,178,255,.12); background: #03041a; }
.hud-bottom { top: 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer .brand img { width: 190px; margin-bottom: 18px; }
.footer p, .footer span { color: var(--texto-2); font-size: 15px; }
.footer h4 { font-size: 13px; letter-spacing: .2em; color: var(--azul-claro); margin-bottom: 16px; }
.footer nav, .footer-cols > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 15px; }
.footer a:hover { color: var(--azul-claro); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(143,178,255,.12); }
.copyright, .copyright a { font-size: 13px !important; color: #7a819f !important; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* Páginas internas (privacidade, 404) */
.pagina { padding: 150px 0 100px; }
.pagina .container { max-width: 820px; }
.pagina h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 24px; }
.pagina h2 { font-size: 22px; margin: 40px 0 12px; }
.pagina p, .pagina li { color: var(--texto-2); }
.pagina a:not(.btn) { color: var(--azul-claro); text-decoration: underline; }

/* Efeitos ao rolar */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js .reveal-img { opacity: 0; transform: scale(.96); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in, .js .reveal-img.in { opacity: 1; transform: none; }

/* Celular e tablet */
@media (max-width: 1000px) {
  .servicos { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav { height: 68px; gap: 12px; }
  .brand img { width: 124px; }
  .topbar .btn-sm { margin-left: auto; }
  .menu-toggle {
    display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--linha); border-radius: 10px; background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navlinks {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px;
    background: var(--noite); border-bottom: 1px solid var(--linha); box-shadow: 0 30px 40px -20px rgba(0,0,0,.7);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .navlinks.open { transform: none; opacity: 1; visibility: visible; }
  .navlinks a { padding: 14px 0; border-bottom: 1px solid rgba(143,178,255,.12); font-size: 17px; }
  .menu-toggle { order: 3; }
  .hero { align-items: flex-end; padding: 120px 0 70px; }
  .hero::before { background: linear-gradient(180deg, rgba(5,7,28,.5) 0%, rgba(5,7,28,.15) 30%, rgba(5,7,28,.85) 62%, var(--noite) 100%); }
  .hero-bg img { object-position: 50% 30%; }
  .hud-top { top: 62px; height: 60px; }
  .especialidade { font-size: 12px; letter-spacing: .08em; }
  .ingresso { grid-template-columns: 1fr; }
  .ingresso::before, .ingresso::after { display: none; }
  .ingresso-data { grid-auto-flow: column; align-items: baseline; gap: 12px; padding: 20px; }
  .dia { font-size: 56px; }
  .ingresso-info { border-left: 0; border-top: 2px dashed #c9cfe2; padding: 24px; }
  .sobre-grid, .chegar-grid, .duvidas-grid { grid-template-columns: 1fr; }
  .sobre-foto::after { display: none; }
  .sobre-foto img { aspect-ratio: 4 / 3; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 600px) {
  .servicos { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions .pill { width: 100%; justify-content: center; }
  .pill { justify-content: flex-start !important; }
  .tels a { flex: 1 1 100%; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa-trilho { animation: none; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; transition: none; }
}
