/* ==========================================================================
   Deh Artes Estúdio — estilos compartilhados
   Estética mangá/HQ P&B sobre fundo escuro, acento neon ciano.
   Os layouts usam estilos inline (spec finalizada do design); aqui ficam só
   base, animações, responsivo, reveal/glow e os estados :hover.
   ========================================================================== */

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }
/* âncoras (#contato, #avaliacoes, #matricula) não ficam sob o header fixo */
section[id]{ scroll-margin-top:90px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

/* WhatsApp flutuante (injetado por JS em todas as páginas) */
.deh-wa-float{
  position:fixed; right:18px; bottom:18px; z-index:80;
  width:56px; height:56px; display:grid; place-items:center;
  background:#25d366; color:#fff; border:3px solid #0b0b0d; border-radius:50%;
  box-shadow:4px 4px 0 rgba(0,0,0,.45); transition:transform .15s ease;
}
.deh-wa-float:hover{ transform:scale(1.07); color:#fff; }
.deh-wa-float svg{ width:30px; height:30px; }
body{ background:#0b0b0d; }
a{ color:#33bdf5; text-decoration:none; }
a:hover{ color:#7ad6ff; }
img{ max-width:100%; }

/* Tema (custom properties na raiz do site) ------------------------------- */
.deh-root{ --neon:#33bdf5; --neon2:#1f6dff; }

/* Animações -------------------------------------------------------------- */
@keyframes dehFloat  { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@keyframes dehPulse  { 0%,100%{ opacity:.55; } 50%{ opacity:1; } }
@keyframes dehMarquee{ 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

/* Responsivo (copiado do design) ---------------------------------------- */
.deh-burger{ display:none; }
@media (max-width:900px){
  .deh-grid3{ grid-template-columns:repeat(2,1fr) !important; }
  .deh-galgrid{ grid-template-columns:repeat(3,1fr) !important; }
}
@media (max-width:820px){
  .deh-navlinks{ display:none !important; }
  .deh-burger{ display:flex !important; align-items:center; }
  .deh-grid4{ grid-template-columns:repeat(2,1fr) !important; }
  .deh-hero{ grid-template-columns:1fr !important; gap:28px !important; }
}
@media (max-width:760px){
  .deh-footer4{ grid-template-columns:repeat(2,1fr) !important; }
  .deh-enroll{ grid-template-columns:1fr !important; }
  .deh-gallery{ grid-template-columns:1fr !important; grid-template-rows:none !important; grid-auto-rows:190px !important; }
  .deh-gallery > *{ grid-row:auto !important; }
}
@media (max-width:700px){
  .deh-courserow{ grid-template-columns:1fr !important; }
  .deh-cr-media{ border-right:none !important; border-bottom:2px solid #26262c !important; min-height:150px !important; }
  .deh-cr-price{ border-left:none !important; border-top:2px solid #26262c !important; }
}
@media (max-width:620px){
  .deh-grid3{ grid-template-columns:1fr !important; }
  .deh-galgrid{ grid-template-columns:repeat(2,1fr) !important; grid-auto-rows:150px !important; }
  .deh-galgrid > *{ grid-column:auto !important; grid-row:auto !important; }
}
@media (max-width:480px){
  .deh-footer4{ grid-template-columns:1fr !important; }
  .deh-grid4{ grid-template-columns:1fr !important; }
}
@media (min-width:821px){ .deh-mobilemenu{ display:none !important; } }
/* Em telas estreitas o CTA do topo quebraria em 2 linhas ao lado do "☰ Menu";
   ele já aparece dentro do painel do menu, então some do header. */
@media (max-width:560px){ .deh-navcta{ display:none !important; } }

/* Scroll reveal + glow do hero ------------------------------------------ */
.deh-reveal{
  opacity:0; transform:translateY(26px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change:opacity, transform;
}
.deh-reveal.deh-in{ opacity:1; transform:none; }
.deh-glow{
  position:absolute; left:50%; top:38%; width:520px; height:520px; margin:-260px 0 0 -260px;
  border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--neon) 60%, transparent) 0%, transparent 62%);
  filter:blur(34px); opacity:0; transition:opacity .5s ease; pointer-events:none; z-index:0;
}
@media (prefers-reduced-motion:reduce){
  .deh-reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  [style*="dehFloat"]{ animation:none !important; }
  .deh-marquee{ animation:none !important; }
}

/* ==========================================================================
   Estados :hover (convertidos dos atributos style-hover do design)
   Transições ~.2s conforme spec.
   ========================================================================== */
.deh-navcta, .deh-heropri, .deh-shadowcta, .deh-bigcta, .deh-card, .deh-courserow-h,
.deh-artcard, .deh-galtile, .deh-social, .deh-tab, .deh-step, .deh-enrollbtn,
.deh-underline, .deh-flink{
  transition:box-shadow .2s ease, transform .2s ease, background .2s ease,
             border-color .2s ease, color .2s ease;
}

/* Botão neon da nav */
.deh-navcta:hover{ background:#7ad6ff; box-shadow:5px 5px 0 #f4f0e6; }
/* CTA primário do hero */
.deh-heropri:hover{ box-shadow:8px 8px 0 #f4f0e6; transform:translate(-1px,-1px); }
/* Botões neon com sombra 3→5 (matricular no card de preço) */
.deh-shadowcta:hover{ box-shadow:5px 5px 0 #f4f0e6; }
/* CTA grande (botão escuro) */
.deh-bigcta:hover{ box-shadow:9px 9px 0 #f4f0e6; transform:translate(-1px,-1px); }
/* Card de curso (página de mangá) */
.deh-card:hover{ box-shadow:11px 11px 0 var(--neon); transform:translate(-2px,-2px); }
/* Linha de curso (Cursos) */
.deh-courserow-h:hover{ border-color:var(--neon); }
/* Card de artista */
.deh-artcard:hover{ border-color:var(--neon); }
/* Tile da galeria */
.deh-galtile:hover{ border-color:var(--neon); }
/* Ícone social (footer) */
.deh-social:hover{ background:var(--neon); color:#0b0b0d; border-color:var(--neon); }
/* Tab inativa (galeria) */
.deh-tab:hover{ border-color:var(--neon); color:#f4f0e6; }
/* Passo do método */
.deh-step:hover{ background:#16161a; }
/* Botão do formulário de matrícula */
.deh-enrollbtn:hover{ background:#7ad6ff; }
/* Links sublinhados (border-bottom vira neon) */
.deh-underline:hover{ border-color:var(--neon); }
/* Links do footer (cor vira neon) */
.deh-flink:hover{ color:var(--neon); }

/* Estados controlados por JS ------------------------------------------- */
/* Tab de filtro da galeria: base = inativa (inline); ativa = preenchida */
.deh-tab.is-active{
  background:var(--neon); color:#0b0b0d; border-color:#0b0b0d;
  box-shadow:3px 3px 0 #f4f0e6; font-weight:800;
}
.deh-tab.is-active:hover{ color:#0b0b0d; border-color:#0b0b0d; }
/* FAQ acordeão */
.deh-faq-a{ display:none; }
.deh-faq-item.is-open .deh-faq-a{ display:block; }

/* Linha de curso clicável (abre o modal de detalhe) + dica "Ver detalhes" */
.deh-courserow[role="button"]{ cursor:pointer; }
.deh-detail-hint{
  display:inline-flex; align-items:center; margin-top:14px;
  font-family:'Barlow Semi Condensed'; font-weight:800; letter-spacing:1px;
  text-transform:uppercase; font-size:12.5px; color:var(--neon);
  border-bottom:2px solid #26262c; transition:border-color .2s ease;
}
.deh-courserow[role="button"]:hover .deh-detail-hint{ border-color:var(--neon); }

/* ==========================================================================
   Modal de detalhe do curso
   ========================================================================== */
.deh-modal[hidden]{ display:none; }
.deh-modal{ position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; }
.deh-modal-backdrop{
  position:absolute; inset:0; background:rgba(6,6,8,.8); backdrop-filter:blur(3px);
  opacity:0; transition:opacity .2s ease;
}
.deh-modal.is-open .deh-modal-backdrop{ opacity:1; }
.deh-modal-panel{
  position:relative; display:flex; flex-direction:column;
  width:100%; max-width:640px; max-height:88vh; overflow:hidden;
  background:#101013; border:3px solid #f4f0e6; box-shadow:12px 12px 0 rgba(0,0,0,.6);
  opacity:0; transform:translateY(14px) scale(.98);
  transition:opacity .22s ease, transform .22s cubic-bezier(.2,.7,.2,1);
}
.deh-modal.is-open .deh-modal-panel{ opacity:1; transform:none; }
.deh-modal-close{
  position:absolute; top:10px; right:12px; z-index:3;
  width:40px; height:40px; display:grid; place-items:center;
  background:#0b0b0d; color:#f4f0e6; border:2px solid #34343c;
  font-size:24px; line-height:1; cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.deh-modal-close:hover{ background:var(--neon); color:#0b0b0d; border-color:var(--neon); }
.deh-modal-body{
  overflow:auto; padding:34px 34px 28px;
  background-image:radial-gradient(circle, rgba(255,255,255,.045) 1.2px, transparent 1.5px);
  background-size:13px 13px;
}
.deh-modal-head{ display:flex; gap:16px; align-items:flex-start; padding-right:44px; margin-bottom:16px; }
.deh-modal-num{ font-family:'Anton'; font-size:52px; line-height:.8; color:var(--neon); }
.deh-modal-kicker{
  font-family:'Barlow Semi Condensed'; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; font-size:12px; color:var(--neon); margin-bottom:5px;
}
.deh-modal-title{ font-family:'Anton'; font-size:clamp(26px,4vw,36px); text-transform:uppercase; line-height:1; margin:0; }
.deh-modal-long p{ color:#c7c7cf; font-size:15.5px; line-height:1.6; margin:0 0 12px; }
.deh-modal-subtitle{
  font-family:'Barlow Semi Condensed'; font-weight:800; letter-spacing:1px;
  text-transform:uppercase; font-size:13px; color:#f4f0e6; margin:18px 0 12px;
}
.deh-modal-learn{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.deh-modal-learn li{ position:relative; padding-left:24px; color:#b7b7bf; font-size:14.5px; line-height:1.45; }
.deh-modal-learn li::before{ content:'▸'; position:absolute; left:2px; top:0; color:var(--neon); font-size:14px; }
.deh-modal-meta{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin:22px 0 0; border:2px solid #26262c; }
.deh-modal-meta > div{ padding:12px 14px; background:#141416; display:flex; flex-direction:column; gap:4px; }
.deh-modal-meta .lbl{
  font-family:'Barlow Semi Condensed'; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; font-size:10.5px; color:#8a8a92;
}
.deh-modal-meta .val{ font-size:13px; color:#f4f0e6; line-height:1.3; }
.deh-modal-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:24px; }
.deh-modal-cta{
  font-family:'Barlow Semi Condensed'; font-weight:800; letter-spacing:1px; text-transform:uppercase;
  font-size:14px; background:var(--neon); color:#0b0b0d; padding:13px 20px;
  border:2px solid #0b0b0d; box-shadow:4px 4px 0 #f4f0e6;
  transition:box-shadow .2s ease, transform .2s ease;
}
.deh-modal-cta:hover{ box-shadow:6px 6px 0 #f4f0e6; transform:translate(-1px,-1px); color:#0b0b0d; }
.deh-modal-ghost{
  font-family:'Barlow Semi Condensed'; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  font-size:14px; background:none; color:#c7c7cf; padding:13px 18px; border:2px solid #34343c; cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.deh-modal-ghost:hover{ border-color:var(--neon); color:#f4f0e6; }
@media (max-width:560px){
  .deh-modal-meta{ grid-template-columns:1fr; }
  .deh-modal-body{ padding:26px 20px 22px; }
  .deh-modal-num{ font-size:40px; }
  .deh-modal-head{ gap:12px; }
}
@media (prefers-reduced-motion:reduce){
  .deh-modal-panel, .deh-modal-backdrop{ transition:none !important; }
}

/* ==========================================================================
   Moldura temática de vídeo (comic panel + neon)
   Estrutura: .deh-videoframe > .deh-vf-media > video
   O glow e as 4 cantoneiras neon são injetados por JS (site.js).
   ========================================================================== */
.deh-videoframe{ position:relative; display:block; }
.deh-vf-glow{
  position:absolute; inset:-14px; z-index:0; pointer-events:none;
  background:radial-gradient(58% 55% at 50% 50%, color-mix(in srgb, var(--neon) 45%, transparent), transparent 72%);
  filter:blur(26px); opacity:.55; animation:dehPulse 4.5s ease-in-out infinite;
}
.deh-vf-media{
  position:relative; z-index:1; overflow:hidden; background:#111;
  border:4px solid #f4f0e6; box-shadow:10px 10px 0 rgba(0,0,0,.55);
}
.deh-vf-media video, .deh-vf-media img{ display:block; width:100%; height:100%; object-fit:cover; }
.deh-vf-media iframe{ display:block; width:100%; height:100%; border:0; }
/* fallback temático atrás dos vídeos de grade (caso o autoplay não role no device) */
.deh-videoframe.is-flat .deh-vf-media{ background:repeating-linear-gradient(-45deg, #17171a 0 12px, #131316 12px 24px); }
/* mapa em dark mode (sem API key): inverte e corrige o matiz p/ combinar com o site */
.deh-map-dark{ filter:invert(.92) hue-rotate(180deg) brightness(1.05) contrast(.9); }
/* halftone sutil sobre o vídeo, reforçando a pegada mangá/HQ */
.deh-vf-media .deh-vf-dots{
  position:absolute; inset:0; z-index:2; pointer-events:none; mix-blend-mode:soft-light;
  background-image:radial-gradient(circle, rgba(255,255,255,.14) 1.1px, transparent 1.4px);
  background-size:11px 11px;
}
/* cantoneiras neon (marcas de registro de quadrinho) */
.deh-vf-corner{ position:absolute; width:20px; height:20px; z-index:4; border:3px solid var(--neon); pointer-events:none; }
.deh-vf-corner.tl{ top:-4px; left:-4px; border-right:0; border-bottom:0; }
.deh-vf-corner.tr{ top:-4px; right:-4px; border-left:0; border-bottom:0; }
.deh-vf-corner.bl{ bottom:-4px; left:-4px; border-right:0; border-top:0; }
.deh-vf-corner.br{ bottom:-4px; right:-4px; border-left:0; border-top:0; }
@media (prefers-reduced-motion:reduce){ .deh-vf-glow{ animation:none !important; } }

/* Botão de áudio temático (liga/desliga som do vídeo) */
.deh-audio-btn{
  position:absolute; z-index:6; bottom:14px; right:14px; width:42px; height:42px;
  display:grid; place-items:center; padding:0; cursor:pointer;
  background:#0b0b0d; color:var(--neon); border:2px solid #f4f0e6;
  box-shadow:3px 3px 0 rgba(0,0,0,.5);
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.deh-audio-btn:hover{ background:var(--neon); color:#0b0b0d; box-shadow:4px 4px 0 rgba(0,0,0,.5); }
.deh-audio-btn svg{ display:block; }
.deh-audio-btn .ico-on{ display:none; }
.deh-audio-btn.is-on .ico-on{ display:block; }
.deh-audio-btn.is-on .ico-off{ display:none; }

/* Barra de controle do vídeo (play/pause + som + volume) */
.deh-vctrl{
  position:absolute; left:0; right:0; bottom:0; z-index:6;
  display:flex; align-items:center; gap:10px; padding:12px 14px;
  background:linear-gradient(transparent, rgba(0,0,0,.9));
}
.deh-vctrl button{
  flex:none; width:38px; height:38px; display:grid; place-items:center; padding:0; cursor:pointer;
  background:#0b0b0d; color:var(--neon); border:2px solid #f4f0e6; box-shadow:2px 2px 0 rgba(0,0,0,.5);
  transition:background .15s ease, color .15s ease;
}
.deh-vctrl button:hover{ background:var(--neon); color:#0b0b0d; }
.deh-vctrl button svg{ display:block; }
.deh-vctrl button .ico-b{ display:none; }
.deh-vctrl button.alt .ico-a{ display:none; }
.deh-vctrl button.alt .ico-b{ display:block; }

/* Selo de nota do Google (hero) */
.deh-ratingchip{
  display:inline-flex; align-items:center; gap:9px; padding:8px 14px;
  border:2px solid #26262c; background:#101013; text-decoration:none;
  transition:border-color .2s ease;
}
.deh-ratingchip:hover{ border-color:var(--neon); }

/* ==========================================================================
   Avaliações do Google (marquee horizontal, pausa no hover)
   ========================================================================== */
.deh-reviews-mask{ position:relative; overflow:hidden; }
.deh-reviews-mask::before, .deh-reviews-mask::after{
  content:''; position:absolute; top:0; bottom:0; width:70px; z-index:2; pointer-events:none;
}
.deh-reviews-mask::before{ left:0;  background:linear-gradient(90deg, #0b0b0d, rgba(11,11,13,0)); }
.deh-reviews-mask::after{  right:0; background:linear-gradient(270deg, #0b0b0d, rgba(11,11,13,0)); }
.deh-reviews-track{ display:flex; gap:18px; width:max-content; animation:dehMarquee 90s linear infinite; }
.deh-review{
  flex:0 0 330px; box-sizing:border-box; margin:0; background:#101013; border:2px solid #26262c;
  padding:22px 22px 18px; display:flex; flex-direction:column; gap:12px; transition:border-color .2s ease;
}
.deh-review:hover{ border-color:var(--neon); }
.deh-review-stars{ color:#ffc043; font-size:15px; letter-spacing:3px; }
.deh-review blockquote{
  margin:0; color:#c7c7cf; font-size:15px; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden;
}
.deh-review figcaption{ display:flex; flex-direction:column; gap:2px; margin-top:auto; }
.deh-review .name{
  font-family:'Barlow Semi Condensed'; font-weight:800; text-transform:uppercase;
  letter-spacing:.5px; font-size:13px; color:#f4f0e6;
}
.deh-review .src{ font-size:12px; color:#8a8a92; }
@media (prefers-reduced-motion:reduce){
  .deh-reviews-track{ animation:none !important; }
  .deh-reviews-mask{ overflow-x:auto; }
}

/* Acessibilidade: foco visível para navegação por teclado */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline:2px solid var(--neon); outline-offset:2px;
}
