/* Base do site Decron: cores, topo, hero, redes sociais e botão de WhatsApp. */
:root {
  color-scheme: dark;
  --bg: #08162B;
  --bg2: #0B1F3A;
  --panel: #0D2342;
  --line: rgba(60, 208, 210, .28);
  --ink: #fff;
  --muted: #9FB3C8;
  --acc: #3CD0D2;
  --grad: linear-gradient(135deg, #1C8499, #3CD0D2);
  --wpp: #25D366;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* fundo: malha 3D e sombras que protegem a leitura do texto */
#malha { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 25% 42%, rgba(8, 22, 43, .8), transparent 72%),
    linear-gradient(180deg, #08162B 0%, rgba(8, 22, 43, 0) 30%, rgba(8, 22, 43, 0) 80%, rgba(8, 22, 43, .9) 100%); }

/* topo */
.topo { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 76px; transition: background .3s, border-color .3s, backdrop-filter .3s;
  padding-inline: max(24px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid transparent; }
/* depois que a página rola, o menu ganha fundo e continua à vista */
body.rolou .topo { background: rgba(8, 22, 43, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(60, 208, 210, .18); }
.marca { display: block; line-height: 0; }
.marca svg.logo { height: 50px; width: auto; display: block; }
.menu { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
.menu a { white-space: nowrap; }
.menu a:hover, .menu a.ativo { color: var(--ink); }
.menu a { position: relative; padding: 4px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu a.ativo::after { transform: scaleX(1); }

/* botões com reflexo de luz especular e borda interna */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: var(--grad); color: #04121f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 8px 24px rgba(60, 208, 210, .2); transition: transform .2s, box-shadow .2s; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 65%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent); transform: skewX(-20deg); transition: left .55s ease; pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 32px rgba(60, 208, 210, .32); }
.btn:hover::after { left: 140%; }
.btn.ghost { background: rgba(8, 22, 43, .55); color: var(--ink); border: 1px solid rgba(60, 208, 210, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 28px rgba(60, 208, 210, .18); }
.topo .btn { padding: 10px 18px; }

/* hero: texto à esquerda, apresentação à direita */
.hero { position: relative; z-index: 4; min-height: 100vh; scroll-margin-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 40px; align-items: center; padding: 104px max(24px, calc((100vw - 1280px) / 2)) 28px; }
.copy { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
body.on .copy { opacity: 1; transform: none; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lema { margin-top: 20px; font-size: 20px; color: var(--muted); }
.cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* redes sociais na lateral: fixas, com transição para o ícone oficial ao passar o mouse */
.side-social { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 12; display: flex; flex-direction: column; gap: 20px; }
.side-social a { position: relative; width: 24px; height: 24px; opacity: .75; transition: opacity .2s, transform .25s; display: grid; place-items: center; }
.side-social a:hover { opacity: 1; transform: scale(1.24); }

.side-social .ss-def,
.side-social .ss-off { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s ease, transform .25s ease; }
.side-social .ss-def svg,
.side-social .ss-off svg { width: 24px; height: 24px; display: block; }
.side-social .ss-def svg { fill: var(--acc); }

/* Normal: ícone neutro visível, oficial oculto */
.side-social .ss-def { opacity: 1; transform: scale(1); }
.side-social .ss-off { opacity: 0; transform: scale(.8); pointer-events: none; }

/* Hover: transiciona suavemente para o ícone oficial da marca */
.side-social a:hover .ss-def { opacity: 0; transform: scale(.8); }
.side-social a:hover .ss-off { opacity: 1; transform: scale(1); }

.side-social a[aria-label="Instagram"]:hover .ss-off svg { filter: drop-shadow(0 4px 12px rgba(225, 48, 108, .55)); }
.side-social a[aria-label="Facebook"]:hover .ss-off svg { filter: drop-shadow(0 4px 12px rgba(24, 119, 242, .55)); }
.side-social a[aria-label="WhatsApp"]:hover .ss-off svg { filter: drop-shadow(0 4px 12px rgba(37, 211, 102, .55)); }
.side-social a[aria-label="YouTube"]:hover .ss-off svg { filter: drop-shadow(0 4px 12px rgba(255, 0, 0, .55)); }

.side-social a::after { content: attr(aria-label); position: absolute; left: 36px; top: 50%; transform: translate(-8px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; color: #fff; transition: opacity .25s, transform .25s, color .25s; }
.side-social a:hover::after { opacity: 1; transform: translate(0, -50%); }

.side-social a[aria-label="Instagram"]:hover::after { color: #ff5c98; }
.side-social a[aria-label="Facebook"]:hover::after { color: #6aa8ff; }
.side-social a[aria-label="WhatsApp"]:hover::after { color: #5ee593; }
.side-social a[aria-label="YouTube"]:hover::after { color: #ff6666; }

/* WhatsApp no canto */
.wpp-canto { position: fixed; right: 26px; bottom: 26px; z-index: 13; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.wpp-btn { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; pointer-events: auto;
  background: linear-gradient(180deg, #2FE07A, #1DA851); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .2s; }
.wpp-btn::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(37, 211, 102, .75);
  animation: wpp-pulso 2.4s ease-out infinite; pointer-events: none; }
.wpp-btn svg { width: 30px; height: 30px; fill: #fff; }
.wpp-btn:hover, .wpp-canto.aberto .wpp-btn { transform: scale(1.08); }
@keyframes wpp-pulso { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.wpp-menu { display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; pointer-events: none; }
.wpp-canto.aberto .wpp-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.wpp-menu a { display: flex; align-items: center; gap: 12px; min-width: 270px; padding: 12px 16px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.wpp-menu a:hover { border-color: var(--wpp); }
.wpp-menu svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--wpp); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wpp-menu b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.wpp-menu small { display: block; font-size: 12.5px; color: var(--muted); }


/* seções abaixo do hero: cobrem a malha com atmosfera de luz, grade técnica e feixe divisório */
.secao { position: relative; z-index: 4; overflow: hidden; scroll-margin-top: 76px; padding: 96px max(24px, calc((100vw - 1280px) / 2));
  background:
    radial-gradient(680px circle at 15% 18%, rgba(60, 208, 210, .09), transparent 65%),
    radial-gradient(560px circle at 88% 82%, rgba(28, 132, 153, .11), transparent 65%),
    var(--bg); }
.secao.alt {
  background:
    radial-gradient(720px circle at 82% 22%, rgba(60, 208, 210, .11), transparent 65%),
    radial-gradient(600px circle at 14% 78%, rgba(28, 132, 153, .12), transparent 65%),
    var(--bg2); }
.secao::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(60, 208, 210, .55) 50%, transparent 100%);
  box-shadow: 0 0 16px rgba(60, 208, 210, .35); }
.secao::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(60, 208, 210, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 208, 210, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 100%); }
.secao-cheia { min-height: 100vh; display: flex; align-items: center; }
.secao-miolo { position: relative; z-index: 1; width: 100%; }
.secao h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 22ch; }
.reserva { margin-top: 18px; color: var(--muted); font-size: 15px; border: 1px dashed rgba(159, 179, 200, .35); border-radius: 12px; padding: 14px 18px; max-width: 60ch; }

/* botão e painel do menu no celular (mesmo padrão do painel lateral da Warborn) */
.menu-btn { display: none; width: 44px; height: 44px; margin-left: 4px; border: 0; background: none; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
body.menu-aberto .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-aberto .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-aberto .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-veu { position: fixed; inset: 0; z-index: 28; background: rgba(2, 8, 18, .6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.menu-painel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 29; width: min(320px, 84vw); padding: 96px 28px 28px; display: flex; flex-direction: column; gap: 28px;
  background: var(--bg2); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.menu-painel nav { display: flex; flex-direction: column; gap: 4px; }
.menu-painel nav a { padding: 12px 4px; font-size: 20px; font-weight: 600; border-bottom: 1px solid rgba(60, 208, 210, .12); }
.menu-painel nav a.ativo { color: var(--acc); }
.menu-painel .btn { justify-content: center; margin-top: auto; }
body.menu-aberto .menu-veu { opacity: 1; pointer-events: auto; }
body.menu-aberto .menu-painel { transform: none; }

@media (max-width: 1340px) and (min-width: 861px) { .hero, .topo, .secao { padding-left: 72px; } }
@media (max-width: 1080px) { .menu { display: none; } .topo .btn { margin-left: auto; } .menu-btn { display: flex; } }
@media (max-width: 860px) {
  .menu { display: none; }
  .topo .btn { margin-left: auto; }
  .marca svg.logo { height: 44px; }
  .hero { grid-template-columns: 1fr; padding: 100px 24px 24px; }
  .secao { padding: 72px 24px; }
  .side-social { display: none; }
}
@media (max-width: 560px) { .wpp-canto { right: 16px; bottom: 16px; } .wpp-menu a { min-width: 240px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
