/* ═══════════════════════════════════════════════════════════════
   THG.ADS - styles.css  (nav, hero e todas as seções)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════ NAV ═══════════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 400; padding: 26px 0; transition: all .3s var(--ease); }
.nav.stuck { background: rgba(8,8,8,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-brand-text { font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.nav-brand-text span { color: var(--dim); font-weight: 300; margin: 0 3px; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: #fff; border-radius: 2px; transition: all .3s; }

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: flex; }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: #060606;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(to right, rgba(6,6,6,.96) 0%, rgba(6,6,6,.78) 45%, rgba(6,6,6,.4) 100%),
    linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 40%);
}
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 660px; padding: 150px 0 110px; animation: heroUp .9s var(--ease) both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.hero-lockup img { width: auto; display: block; }
.hero-lockup .logo-thg { height: 136px; filter: brightness(0) invert(1); }

.hero-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.hero h1 { font-size: clamp(33px, 4.6vw, 60px); font-weight: 900; letter-spacing: -.026em; line-height: 1.07; margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px;
  background: #fff; color: #000; border: none; border-radius: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; font-family: inherit; animation: heroGlow 2.6s ease-in-out infinite; transition: transform .2s, background .2s;
}
.btn-hero:hover { transform: scale(1.03); background: #f0f0f0; }
@keyframes heroGlow { 0%,100% { box-shadow: 0 0 0 rgba(255,255,255,0); } 50% { box-shadow: 0 0 26px rgba(255,255,255,.5); } }

.hero-proof { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); margin-top: 26px; }
.hero-proof strong { color: #fff; font-weight: 700; }
.hero-proof .dotp { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

@media (max-width: 560px) {
  .hero-content { padding: 120px 0 80px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
}

/* ═══════════════ PROVA SOCIAL (157 clientes) ═══════════════ */
.prova { padding: 46px 0; background: var(--bg-elev); border-block: 1px solid var(--border); }
@media (max-width: 560px) { .prova { padding: 24px 0; } }

.clientes-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clientes-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 26s linear infinite; }
.clientes-marquee:hover .clientes-track { animation-play-state: paused; }
.clientes-track img {
  height: 46px; width: auto; opacity: .8;
  filter: grayscale(1) brightness(1.7);
  transition: opacity .25s var(--ease), filter .25s var(--ease), transform .25s var(--ease);
}
.clientes-track img:hover { opacity: 1; filter: grayscale(1) brightness(2.4); transform: scale(1.08); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════ DIAGNÓSTICO INTERATIVO ═══════════════ */
.configurator {
  background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--r-xl);
  padding: 40px 36px; max-width: 880px; margin: 44px auto 0;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.configurator__progress { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 32px; }
.configurator__dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border2); color: var(--muted);
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.configurator__dot.is-active { background: #fff; color: #000; border-color: #fff; transform: scale(1.12); }
.configurator__dot.is-done { background: #fff; color: #000; border-color: #fff; }
.configurator__bar { width: 34px; height: 2px; background: var(--border2); border-radius: 2px; transition: background .2s var(--ease); }
.configurator__bar.is-done { background: #fff; }

.configurator__question { text-align: center; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 24px; }

.configurator__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.configurator__grid--3 { grid-template-columns: repeat(3, 1fr); }

.configurator__option {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--bg); border: 1px solid var(--border2); border-radius: var(--r);
  padding: 24px 14px; font-family: inherit; font-weight: 600; font-size: .88rem; color: #fff;
  cursor: pointer; transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.configurator__option:hover, .configurator__option:focus-visible {
  transform: translateY(-4px); border-color: #fff; background: var(--bg2); outline: none;
}
.configurator__icon { display: flex; color: #fff; }
.configurator__icon svg { width: 26px; height: 26px; }

.configurator__back { display: block; margin: 22px auto 0; background: none; border: none; color: var(--muted);
  font-family: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; }
.configurator__back:hover { color: #fff; }

.configurator__result { text-align: center; max-width: 420px; margin-inline: auto; }
.configurator__result h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.configurator__result-desc { color: var(--muted); margin-bottom: 26px; font-size: 14px; line-height: 1.65; }
.configurator__form { text-align: left; }
.configurator__restart { display: block; margin: 16px auto 0; background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.configurator__restart:hover { color: #fff; }

@media (max-width: 700px) {
  .configurator { padding: 28px 20px; margin-top: 32px; }
  .configurator__grid, .configurator__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .configurator__grid, .configurator__grid--3 { grid-template-columns: 1fr; }
}

/* ═══════════════ QUEM SOMOS ═══════════════ */
.equipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.equipe-grid-solo { grid-template-columns: minmax(0, 460px); justify-content: center; }
.equipe-card {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border2); background: var(--bg-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.equipe-card:hover { transform: translateY(-5px); border-color: var(--border2); box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.equipe-photo { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.equipe-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(1) contrast(1.05); transition: transform .5s var(--ease), filter .4s var(--ease);
}
.equipe-card:hover .equipe-photo img { transform: scale(1.04); filter: grayscale(0.4) contrast(1.05); }
.equipe-body { padding: 30px; }
.equipe-logo { width: auto; margin-bottom: 16px; }
.equipe-logo-thg { height: 132px; filter: brightness(0) invert(1); opacity: .9; }
.equipe-body h4 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.equipe-meta { display: block; font-size: 12px; color: var(--muted); letter-spacing: .01em; margin-bottom: 16px; }
.equipe-body p { font-size: 14px; color: var(--muted); line-height: 1.75; }

@media (max-width: 700px) {
  .equipe-grid { grid-template-columns: 1fr; }
  .equipe-body { padding: 24px; }
}

/* ═══════════════ SOLUÇÕES (ABAS) ═══════════════ */
.solucoes-tabs {
  display: flex; gap: 34px; overflow-x: auto; border-bottom: 1px solid var(--border);
  margin-bottom: 48px; scrollbar-width: none;
}
.solucoes-tabs::-webkit-scrollbar { display: none; }
.solucoes-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-bottom: 16px; color: var(--muted); white-space: nowrap; flex-shrink: 0;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color .25s var(--ease);
}
.solucoes-tab svg { width: 24px; height: 24px; transition: transform .3s var(--ease), color .25s var(--ease); }
.solucoes-tab span { font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.solucoes-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px;
  background: #fff; transform: scaleX(0); transition: transform .3s var(--ease);
}
.solucoes-tab:hover { color: #ccc; }
.solucoes-tab:hover svg { transform: translateY(-2px); }
.solucoes-tab.active { color: #fff; }
.solucoes-tab.active svg { color: #fff; }
.solucoes-tab.active::after { transform: scaleX(1); }

.solucoes-panel { display: none; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.solucoes-panel.active { display: grid; animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.solucoes-text h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.solucoes-text > p { color: var(--muted); margin-bottom: 26px; max-width: 480px; line-height: 1.7; }

@media (max-width: 900px) {
  .solucoes-panel { grid-template-columns: 1fr; text-align: center; }
  .solucoes-text > p { margin-inline: auto; }
  .check-list li { text-align: left; }
}

/* ═══════════════ IA E TECNOLOGIA ═══════════════ */
.ia-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 640px; margin: 0 auto; }
.ia-text h2 { font-size: clamp(27px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 18px; }
.ia-text > p { color: var(--muted); margin-bottom: 26px; max-width: 460px; margin-inline: auto; line-height: 1.7; }
.ia-text .check-list { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; margin-bottom: 8px; }
.ia-text .check-list li { justify-content: flex-start; }
.ia-text .btn { margin-top: 4px; }

/* ═══════════════ GOOGLE / PRESENÇA NO TOPO ═══════════════ */
.google-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.google-text h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.14; margin-bottom: 18px; }
.google-text > p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; max-width: 480px; }
.google-text .destaque { color: #fff; font-weight: 600; }
.google-visual {
  border: 1px solid var(--border2); border-radius: var(--r); overflow: hidden; background: var(--bg-card);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 30px;
}
.google-visual svg { width: 100%; height: auto; max-width: 320px; color: var(--muted); }
@media (max-width: 900px) { .google-inner { grid-template-columns: 1fr; gap: 34px; } }

/* ═══════════════ DIFERENCIAIS ═══════════════ */
.dif-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.dif-list { display: flex; flex-direction: column; gap: 12px; }
.dif-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--rs);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.dif-item.reveal { transform: translateX(-32px); }
.dif-item:hover { transform: translateX(6px); border-color: var(--border2); background: #161616; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.dif-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  transition: all .35s var(--ease);
}
.dif-item:hover .dif-num { background: #fff; color: #000; border-color: #fff; transform: scale(1.1); }
.dif-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.dif-body p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.dif-cta {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 40px 34px; position: sticky; top: 100px;
}
.dif-cta h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0 12px; }
.dif-cta p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 26px; }
@media (max-width: 900px) { .dif-grid { grid-template-columns: 1fr; gap: 40px; } .dif-cta { position: static; } }

/* ═══════════════ DEPOIMENTOS (marquee de prints) ═══════════════ */
.fb-wrap { overflow: hidden; margin-top: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fb-track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.fb-wrap:hover .fb-track { animation-play-state: paused; }
.fb-card { width: 300px; flex-shrink: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg-card); }
.fb-card img { width: 100%; height: auto; display: block; }

/* ═══════════════ VAGAS / ESCASSEZ (dots dinâmicos) ═══════════════ */
.escassez { background: var(--bg-elev); position: relative; overflow: hidden; }
.escassez::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(220,38,38,.1), transparent 60%);
  pointer-events: none;
}
.escassez-box {
  max-width: 720px; margin-inline: auto; text-align: center; position: relative;
  padding: 48px 40px; background: var(--bg-card); border: 1px solid var(--border2); border-radius: var(--r-xl);
}
.escassez-logo { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: .85; margin: 0 auto 20px; }
.escassez-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--pill);
  background: var(--red); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 22px; animation: badge-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.5); } 50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); } }
.escassez-box h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; }
.escassez-box > p { max-width: 520px; margin: 0 auto 34px; color: var(--muted); line-height: 1.7; }

.vagas-progresso { margin-bottom: 34px; }
.vagas-dots { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.vaga-dot {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border2); background: var(--bg-elev); font-size: .8rem; font-weight: 700; color: var(--muted);
  transition: all .3s var(--ease);
}
.vaga-dot:hover { transform: scale(1.15) translateY(-3px); }
.vaga-dot.preenchida { border-color: #fff; background: #fff; color: #000; animation: dot-in .4s var(--ease) backwards; }
.vaga-dot.disponivel { border-color: var(--red); color: #fff; animation: dot-glow 1.8s ease-in-out infinite; }
@keyframes dot-in { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes dot-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.45); } 50% { box-shadow: 0 0 0 6px rgba(220,38,38,0); } }
.vagas-legenda { font-size: .9rem; color: var(--muted); }
.vagas-legenda strong { color: #fff; }
.escassez-box .btn { width: 100%; max-width: 340px; }
.escassez-nota { margin-top: 16px; font-size: .82rem; color: var(--dim); }
@media (max-width: 560px) { .escassez-box { padding: 36px 22px; } .vaga-dot { width: 34px; height: 34px; } }

/* ═══════════════ FAQ ═══════════════ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rs); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; color: #fff; font-size: 14.5px; font-weight: 600;
  text-align: left; cursor: pointer; font-family: inherit; }
.faq-ico { flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; transition: all .25s; }
.faq-ico::after { content: '+'; }
.faq.open .faq-ico { background: #fff; border-color: #fff; }
.faq.open .faq-ico::after { content: '−'; color: #000; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-ai { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq.open .faq-a { max-height: 300px; }

/* ═══════════════ CONTATO ═══════════════ */
#contato { background: var(--bg2); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ct-left h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
.ct-left > p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.ct-items { display: flex; flex-direction: column; gap: 12px; }
.ct-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.ct-item::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; flex-shrink: 0; }

.form-card {
  position: relative; text-align: center; overflow: hidden;
  background:
    radial-gradient(380px 200px at 50% -12%, rgba(255,255,255,.08), transparent 70%),
    linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%);
  border: 1px solid var(--border2); border-radius: var(--r-xl);
  padding: 44px 36px; box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.form-lockup { display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 24px 34px; border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.08), transparent 70%), var(--bg);
  border: 1px solid var(--border2);
  box-shadow: 0 16px 36px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.form-lockup img { width: auto; }
.form-lockup .logo-thg { height: 170px; filter: brightness(0) invert(1); }
.form-card h3, .modal-box h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.modal-subtitle { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.fg { margin-bottom: 14px; text-align: left; }
.fg label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.fg input, .fg select { width: 100%; padding: 13px 16px; background: var(--bg); border: 1px solid var(--border2);
  border-radius: var(--rs); color: #fff; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; }
.fg input:focus, .fg select:focus { border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.fg input::placeholder { color: var(--dim); }
.fg select option { background: var(--bg2); }
.form-btn { width: 100%; padding: 15px; font-size: 15px; font-weight: 800; letter-spacing: .01em; border-radius: var(--rs); background: #fff; color: #000;
  border: none; cursor: pointer; font-family: inherit; transition: transform .2s, background .2s, box-shadow .2s; margin-top: 8px; }
.form-btn:hover { background: #f0f0f0; transform: scale(1.015); box-shadow: 0 14px 34px rgba(255,255,255,.15); }
.form-cta-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form-card { padding: 32px 22px; } .logo-badge { padding: 18px 26px; } .form-lockup .logo-thg { height: 120px; } }

/* ═══════════════ MODAL SOLICITAR DIAGNÓSTICO ═══════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.78); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}
.modal-box {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  text-align: center;
  background:
    radial-gradient(420px 220px at 50% -10%, rgba(255,255,255,.09), transparent 70%),
    linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%);
  border: 1px solid var(--border2); border-radius: var(--r-xl);
  padding: 44px 36px 36px;
  box-shadow: 0 40px 90px rgba(0,0,0,.6);
  transform: translateY(24px) scale(.97); transition: transform .3s var(--ease);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border2); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .2s var(--ease);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: #fff; color: #000; border-color: #fff; }
.modal-box .form-lockup { margin-bottom: 20px; }
.modal-box .logo-thg { height: 68px; }
.modal-box .logo-badge { padding: 16px 22px; }
@media (max-width: 560px) { .modal-box { padding: 34px 22px 26px; } }

/* ═══════════════ FOOTER ═══════════════ */
footer { border-top: 1px solid var(--border); padding: 30px 0; background: var(--bg); }
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-brand img { width: auto; }
.f-brand .logo-thg { height: 96px; filter: brightness(0) invert(1); }
.f-copy { font-size: 12px; color: var(--dim); }
.f-links { display: flex; gap: 20px; }
.f-links a { font-size: 12px; color: var(--dim); transition: color .2s; }
.f-links a:hover { color: var(--muted); }
@media (max-width: 640px) { footer .container { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ═══════════════ WHATSAPP FLUTUANTE ═══════════════ */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float svg { width: 30px; height: 30px; color: #fff; }
