/* Elyon marketing site styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font-body); color: var(--fg-default); background: white; }

/* ==== App switcher ==== */
.app-switch {
  position: fixed; bottom: 16px; right: 16px; z-index: 100;
  background: var(--elyon-navy-900); color: white; border-radius: 999px;
  padding: 6px; display: inline-flex; gap: 4px; box-shadow: var(--shadow-lg);
}
.app-switch button {
  background: transparent; border: none; color: white; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font-family: var(--font-display);
  font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.app-switch button.active { background: var(--elyon-orange-600); }

/* ==== Nav ==== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--elyon-navy-900);
  border-bottom: 4px solid var(--elyon-orange-600);
}
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 38px; display: block; border-radius: 4px; }

.nav__links { display: flex; gap: 28px; flex: 1; }
.nav__links a { color: white; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; transition: opacity 150ms; }
.nav__links a:hover { opacity: 1; color: var(--elyon-orange-500); }
.nav__cta { background: var(--elyon-orange-600); color: white; border: none; padding: 12px 22px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: 0.04em; transition: all 200ms; }
.nav__cta:hover { background: var(--elyon-orange-700); box-shadow: 0 8px 20px rgba(242,101,34,0.35); }
.nav__cta--mobile { display: none !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 200ms; }
.nav__backdrop { position: fixed; inset: 0; z-index: 49; }
.nav__cliente-btn {
  background: rgba(255,255,255,0.1); color: white; border: 1.5px solid rgba(255,255,255,0.25);
  padding: 9px 18px; border-radius: 8px; font-family: var(--font-display); font-weight: 700;
  font-size: 12px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 200ms; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.nav__cliente-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

/* ==== WhatsApp CTA tweaks ==== */
.nav__cta, .btn-primary, .btn-light { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

/* ==== Hero ==== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }

/* Carousel */
.hero__carousel { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; z-index: 1; }
.hero__slide.prev  { opacity: 0; z-index: 1; }
.hero__slide.active { opacity: 1; z-index: 2; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }

/* Ken Burns — 4 variations */
@keyframes kb0 { from { transform: scale(1)    translate(0,0);       } to { transform: scale(1.09) translate(-1.5%,-1%);  } }
@keyframes kb1 { from { transform: scale(1.07) translate(1.2%,0.5%); } to { transform: scale(1)    translate(-1%,-0.5%);  } }
@keyframes kb2 { from { transform: scale(1)    translate(-1%,0.5%);  } to { transform: scale(1.08) translate(1.5%,-0.5%); } }
@keyframes kb3 { from { transform: scale(1.06) translate(0,-1%);     } to { transform: scale(1)    translate(0.5%,1%);    } }
.hero__slide:nth-child(1).active img { animation: kb0 9s ease-out forwards; }
.hero__slide:nth-child(2).active img { animation: kb1 9s ease-out forwards; }
.hero__slide:nth-child(3).active img { animation: kb2 9s ease-out forwards; }
.hero__slide:nth-child(4).active img { animation: kb3 9s ease-out forwards; }

.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,35,64,0.85) 0%, rgba(15,35,64,0.55) 60%, rgba(15,35,64,0.2) 100%); z-index: 3; }
.hero__content { position: relative; z-index: 4; max-width: 1200px; margin: 0 auto; padding: 80px 32px; width: 100%; color: white; }

/* Carousel nav pills */
.hero__nav { display: flex; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero__nav-btn { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); color: white; padding: 8px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; transition: all 200ms; }
.hero__nav-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.hero__nav-btn.active { background: var(--elyon-orange-600); border-color: var(--elyon-orange-600); box-shadow: 0 4px 14px rgba(242,101,34,0.4); }
.hero__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--elyon-orange-500); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--elyon-orange-600); }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px 0; max-width: 720px; }
.hero__title em { font-style: normal; color: var(--elyon-orange-500); }
.hero__sub { font-size: 18px; line-height: 1.5; max-width: 560px; opacity: 0.95; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 14px; }
.btn-primary, .btn-outline { font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 14px 26px; border-radius: 8px; cursor: pointer; transition: all 200ms; letter-spacing: 0.04em; border: 1.5px solid transparent; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary { background: var(--elyon-orange-600); color: white; }
.btn-primary:hover { background: var(--elyon-orange-700); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242,101,34,0.4); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: var(--elyon-navy-900); }

.hero__stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero__stat .v { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--elyon-orange-500); }
.hero__stat .l { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; margin-top: 6px; }

/* ==== Sections ==== */
.section { padding: 96px 32px; }
.section__inner { max-width: 1200px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--elyon-orange-600); margin-bottom: 12px; }
.section__title { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--elyon-navy-900); margin: 0 0 12px 0; line-height: 1.1; letter-spacing: -0.01em; }
.section__sub { font-size: 17px; color: var(--fg-muted); max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit-card { background: white; border: 1px solid var(--border-default); border-radius: 12px; padding: 28px 22px; transition: all 200ms; }
.benefit-card:hover { border-color: var(--elyon-orange-600); box-shadow: 0 14px 32px rgba(15,35,64,0.10); transform: translateY(-2px); }
.benefit-card__num { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: var(--elyon-orange-600); line-height: 1; }
.benefit-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--elyon-navy-900); margin: 16px 0 0 0; line-height: 1.3; }

/* Contact Drawer */
.drawer-tab {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 200; background: var(--elyon-orange-600); color: white;
  border: none; padding: 18px 10px; writing-mode: vertical-rl;
  cursor: pointer; font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 0 8px 8px 0; box-shadow: 4px 0 20px rgba(242,101,34,0.4);
  transition: background 200ms, box-shadow 200ms; white-space: nowrap;
}
.drawer-tab:hover { background: var(--elyon-orange-700); box-shadow: 6px 0 24px rgba(242,101,34,0.55); }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 300; backdrop-filter: blur(2px); }

.drawer-panel {
  position: fixed; top: 0; left: 0; bottom: 0; width: 460px;
  background: var(--elyon-navy-900); z-index: 400;
  transform: translateX(-100%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; box-shadow: 8px 0 48px rgba(0,0,0,0.5);
}
.drawer-panel.open { transform: translateX(0); }

.drawer-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 200ms;
}
.drawer-close:hover { background: rgba(255,255,255,0.2); }

.drawer-panel__inner { padding: 60px 32px 40px; }
.drawer-eyebrow {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: white; text-align: center; line-height: 1.4;
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 2px solid var(--elyon-orange-600);
}
.drawer-eyebrow::before { content: ''; display: block; width: 40px; height: 3px; background: var(--elyon-orange-600); margin: 0 auto 12px; border-radius: 2px; }

.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.drawer-field { display: flex; flex-direction: column; gap: 6px; }
.drawer-field label {
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin: 0; padding-left: 14px;
}
.drawer-field input,
.drawer-field select {
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 12px 14px; color: white; font-size: 14px;
  font-family: var(--font-body); outline: none; width: 100%;
  transition: border-color 200ms, background 200ms;
}
.drawer-field input::placeholder { color: rgba(255,255,255,0.3); }
.drawer-field input:focus,
.drawer-field select:focus { border-color: var(--elyon-orange-500); background: rgba(255,255,255,0.11); }
.drawer-field select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.drawer-field select option { background: #0f2340; color: white; }

.drawer-submit {
  width: 100%; margin-top: 24px;
  background: var(--elyon-orange-600); color: white; border: none;
  padding: 16px; border-radius: 10px; font-family: var(--font-display);
  font-weight: 800; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 200ms; box-shadow: 0 8px 24px rgba(242,101,34,0.3);
}
.drawer-submit:hover { background: var(--elyon-orange-700); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(242,101,34,0.45); }

.drawer-success { text-align: center; padding: 40px 0; color: white; }
.drawer-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 16px 0 8px; }
.drawer-success p { color: rgba(255,255,255,0.7); font-size: 14px; }
.services-section { background: var(--elyon-navy-900); color: white; padding: 96px 32px; }
.services-head { margin-bottom: 48px; }
.services-head .section__eyebrow { color: var(--elyon-orange-500); }
.services-title { font-family: var(--font-display); font-weight: 800; font-size: 48px; color: white; margin: 8px 0 0 0; line-height: 1.1; letter-spacing: -0.02em; }
.services-title em { font-style: normal; color: var(--elyon-orange-500); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; transition: border-color 200ms, background 200ms; }
.service-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.16); }
.service-card__icon { width: 52px; height: 52px; background: rgba(255,255,255,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.service-card__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: white; margin: 0; }
.service-card__desc { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.65; margin: 0; flex: 1; }
.service-card__cta { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--elyon-orange-500); }
.services-btn-wrap { display: flex; justify-content: center; margin-top: 40px; }
.services-btn { font-size: 15px; padding: 16px 36px; border-radius: 10px; box-shadow: 0 10px 28px rgba(242,101,34,0.35); }

/* Differentials (navy block) */
.diffs-section { background: var(--elyon-navy-900); color: white; padding: 96px 32px; }

/* Differentials cards */
.diffs-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* Process */
.process-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.proc-step { background: white; border: 1px solid var(--border-default); border-radius: 12px; padding: 24px 18px; position: relative; transition: all 200ms; }
.proc-step:hover { border-color: var(--elyon-orange-600); box-shadow: var(--shadow-md); }
.proc-step__num { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--elyon-orange-600); line-height: 1; }
.proc-step__t { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--elyon-navy-900); margin-top: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.04em; }

/* CTA section */
.cta-section { padding: 64px 32px; }
.cta-pill { max-width: 1100px; margin: 0 auto; background: var(--elyon-orange-600); border-radius: 24px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: 0 24px 60px rgba(242,101,34,0.25); position: relative; overflow: hidden; }
.cta-pill::before { content: ''; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); }
.cta-pill h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: white; margin: 0; line-height: 1.15; }
.cta-pill p { color: rgba(255,255,255,0.95); margin: 8px 0 0 0; font-size: 15px; }
.cta-pill .btn-light { background: white; color: var(--elyon-orange-700); padding: 16px 28px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; border: none; cursor: pointer; font-size: 14px; letter-spacing: 0.04em; flex-shrink: 0; }
.cta-pill .btn-light:hover { background: var(--elyon-navy-900); color: white; }

/* Footer */
.site-footer { background: var(--elyon-navy-900); color: white; padding: 56px 32px 24px 32px; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer img.logo { height: 56px; margin-bottom: 16px; }
.site-footer p { font-size: 13px; opacity: 0.8; line-height: 1.5; }
.site-footer h5 { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--elyon-orange-500); margin: 0 0 16px 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: white; text-decoration: none; font-size: 13px; opacity: 0.85; }
.site-footer ul a:hover { opacity: 1; color: var(--elyon-orange-500); }
.site-footer__bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; opacity: 0.7; }

/* ==== Dashboard ==== */
.dash {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh; background: var(--elyon-navy-50);
}
.dash__rail { background: var(--elyon-navy-900); padding: 24px 16px; color: white; }
.dash__rail-logo { background: white; border-radius: 8px; padding: 8px; text-align: center; margin-bottom: 28px; }
.dash__rail-logo img { height: 40px; }
.dash__rail-section { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin: 16px 12px 8px 12px; font-weight: 700; }
.dash__rail-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: white; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; }
.dash__rail-link:hover { background: rgba(255,255,255,0.06); }
.dash__rail-link.active { background: var(--elyon-orange-600); }
.dash__rail-link svg { width: 18px; height: 18px; }

.dash__main { padding: 28px 36px; }
.dash__topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.dash__topbar h1 { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--elyon-navy-900); margin: 0; }
.dash__topbar small { color: var(--fg-muted); font-size: 13px; }
.dash__user { display: flex; align-items: center; gap: 12px; background: white; padding: 6px 6px 6px 14px; border-radius: 999px; box-shadow: var(--shadow-xs); }
.dash__user-avatar { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, var(--elyon-orange-500), var(--elyon-orange-700)); color: white; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.dash__user-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--elyon-navy-900); }

.dash__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.dash-kpi { background: white; border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-xs); }
.dash-kpi__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); font-weight: 600; }
.dash-kpi__val { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--elyon-navy-900); margin-top: 6px; line-height: 1; }
.dash-kpi__val span { font-size: 13px; font-weight: 500; color: var(--fg-muted); margin-left: 4px; }
.dash-kpi__trend { font-size: 12px; margin-top: 8px; color: var(--elyon-green-600); font-weight: 600; }
.dash-kpi__trend.warn { color: var(--elyon-orange-700); }

.dash__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 16px; }
.dash-card { background: white; border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-xs); }
.dash-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--elyon-navy-900); margin: 0 0 4px 0; }
.dash-card .sub { font-size: 12px; color: var(--fg-muted); margin-bottom: 18px; }

/* Live system panel */
.livesys { background: linear-gradient(180deg, #FAFBFC 0%, #F1F4F8 100%); border-radius: 12px; padding: 16px; position: relative; min-height: 280px; }
.livesys img { width: 100%; border-radius: 8px; }

/* Chart */
.chart { display: flex; align-items: stretch; gap: 4px; height: 200px; padding: 16px 0 0 0; }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.chart__bar-wrap { display: flex; gap: 2px; align-items: flex-end; flex: 1; width: 100%; justify-content: center; min-height: 0; }
.chart__bar { width: 8px; border-radius: 2px 2px 0 0; }
.chart__bar.gen { background: var(--elyon-orange-600); }
.chart__bar.cons { background: var(--elyon-navy-300); }
.chart__lbl { font-size: 10px; color: var(--fg-muted); font-family: var(--font-mono); text-transform: uppercase; }
.chart__legend { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-default); font-size: 12px; color: var(--fg-muted); }
.chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart__legend .dot { width: 10px; height: 10px; border-radius: 2px; }
.chart__legend .dot.gen { background: var(--elyon-orange-600); }
.chart__legend .dot.cons { background: var(--elyon-navy-300); }

.event-list { display: flex; flex-direction: column; gap: 10px; }
.event { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border-default); }
.event:last-child { border-bottom: none; }
.event__chip { width: 8px; height: 8px; border-radius: 999px; margin-top: 6px; flex-shrink: 0; }
.event__chip.green { background: var(--elyon-green-500); }
.event__chip.orange { background: var(--elyon-orange-600); }
.event__chip.gray { background: var(--elyon-gray-300); }
.event__t { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--elyon-navy-900); }
.event__d { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__title { font-size: 48px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diffs-cards { grid-template-columns: repeat(3, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dash__kpis { grid-template-columns: repeat(2,1fr); }
  .dash__row { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav__inner { padding: 12px 20px; gap: 0; }
  .nav__hamburger { display: flex; }
  .nav__cta--desktop { display: none; }
  .nav__links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--elyon-navy-900);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0 16px; z-index: 50;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; font-size: 14px; opacity: 1; }
  .nav__cta--mobile { display: flex !important; margin: 12px 20px 0; border-radius: 8px; justify-content: center; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero__content { padding: 100px 20px 60px; }
  .hero__title { font-size: 36px; max-width: 100%; }
  .hero__sub { font-size: 15px; max-width: 100%; }
  .hero__eyebrow { font-size: 11px; }
  .hero__nav { flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .hero__nav-btn { padding: 7px 14px; font-size: 11px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(15,35,64,0.75) 0%, rgba(15,35,64,0.6) 100%); }

  /* Sections */
  .section { padding: 60px 20px; }
  .section__title { font-size: 30px; }
  .section__sub { font-size: 15px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .benefit-card { padding: 20px 16px; }
  .benefit-card__num { font-size: 28px; }
  .benefit-card__title { font-size: 14px; }

  /* Services */
  .services-section { padding: 60px 20px; }
  .services-title { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 20px; }

  /* Differentials */
  .diffs-section { padding: 60px 20px; }
  .diffs-cards { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* CTA */
  .cta-section { padding: 40px 20px; }
  .cta-pill { flex-direction: column; padding: 36px 28px; text-align: center; border-radius: 16px; }
  .cta-pill h2 { font-size: 24px; }
  .cta-pill .btn-light { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { padding: 48px 20px 20px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Drawer */
  .drawer-panel { width: 100%; }
  .drawer-tab { padding: 14px 8px; font-size: 10px; }
  .drawer-row { grid-template-columns: 1fr; gap: 12px; }
  .drawer-panel__inner { padding: 52px 20px 32px; }

  /* Dashboard */
  .dash { grid-template-columns: 1fr; }
  .dash__rail { display: none; }
  .dash__main { padding: 20px 16px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dash__topbar h1 { font-size: 20px; }
  .dash__row { grid-template-columns: 1fr; }
  .dash__user-name { display: none; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .diffs-cards { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Área do Cliente + Painel Admin (≤ 640px)
   Overrides inline React styles via !important
   ============================================================ */
@media (max-width: 640px) {
  /* Portal "Área do Cliente" */
  .elyon-portal-card {
    padding: 28px 20px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
  }

  /* Painel Admin — Topbar */
  .elyon-admin-topbar {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .elyon-admin-topbar-brand img {
    height: 30px !important;
  }
  .elyon-admin-topbar-brand > div > div:first-child {
    font-size: 14px !important;
  }
  .elyon-admin-topbar-brand > div > div:last-child {
    font-size: 11px !important;
  }
  .elyon-admin-topbar-actions {
    width: 100% !important;
    gap: 6px !important;
  }
  .elyon-admin-topbar-actions button {
    padding: 9px 12px !important;
    font-size: 11px !important;
    flex: 1 1 auto !important;
  }

  /* Painel Admin — Content */
  .elyon-admin-content {
    padding: 16px !important;
  }

  /* Cards de cliente */
  .elyon-cliente-card {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  /* Card de proposta + grid */
  .elyon-proposta-card {
    padding: 16px !important;
  }
  .elyon-proposta-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .elyon-import-modal {
    padding: 24px 20px !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }
}
