/* ── Evolux SEO Audit — audit.css ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --ea-yellow:       #F5C518;
  --ea-yellow-light: rgba(245,197,24,.1);
  --ea-yellow-glow:  rgba(245,197,24,.25);
  --ea-dark:         #0F0F0F;
  --ea-dark-2:       #1A1A1A;
  --ea-dark-3:       #242424;
  --ea-gray:         #6B6B6B;
  --ea-white:        #FAFAFA;
  --ea-radius:       16px;
  --ea-radius-sm:    10px;
  --ea-green:        #2e7d32;
  --ea-orange:       #f57c00;
  --ea-red:          #c62828;
}

#evolux-audit-wrap {
  font-family: 'DM Sans', sans-serif;
  background: var(--ea-dark);
  color: var(--ea-white);
  min-height: 60vh;
  padding: 0 0 60px;
  box-sizing: border-box;
}

#evolux-audit-wrap * { box-sizing: border-box; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.ea-hero { text-align:center; padding: 60px 24px 48px; }

.ea-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ea-gray);
  margin-bottom: 18px;
}

.ea-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0 0 16px;
}

.ea-hero-title em {
  font-style: normal;
  color: var(--ea-yellow);
}

.ea-hero-sub {
  font-size: 16px;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 300;
}

/* ── GRID ──────────────────────────────────────────────────────────────────── */
.ea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .ea-grid { grid-template-columns: 1fr; }
}

/* ── CARD ──────────────────────────────────────────────────────────────────── */
.ea-card {
  background: var(--ea-dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--ea-radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}

.ea-card:hover { border-color: rgba(245,197,24,.2); }

.ea-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ea-yellow);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ea-card-label::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ea-yellow);
}

.ea-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -.5px;
}

.ea-card > p {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* ── UPLOAD ────────────────────────────────────────────────────────────────── */
.ea-upload-zone {
  border: 1.5px dashed rgba(245,197,24,.3);
  border-radius: var(--ea-radius-sm);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  background: rgba(245,197,24,.03);
  margin-bottom: 20px;
  position: relative;
}

.ea-upload-zone:hover,
.ea-upload-zone.drag-over {
  border-color: var(--ea-yellow);
  background: rgba(245,197,24,.07);
}

.ea-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}

.ea-upload-icon {
  width: 48px; height: 48px;
  background: var(--ea-yellow-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
}

.ea-upload-zone h3 {
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700;
  margin: 0 0 6px;
}

.ea-upload-zone small { font-size: 12px; color: var(--ea-gray); }

/* File selected state */
.ea-file-selected {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: var(--ea-radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.ea-file-selected.show { display: flex; }
.ea-file-icon { font-size: 24px; }
.ea-file-info { flex: 1; min-width: 0; }
.ea-file-name { font-size: 13px; font-weight: 600; color: var(--ea-yellow); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ea-file-size { font-size: 11px; color: var(--ea-gray); }
.ea-remove-btn { background:none; border:none; color:var(--ea-gray); cursor:pointer; font-size:18px; padding:0; line-height:1; transition:color .2s; }
.ea-remove-btn:hover { color:#ff5555; }

/* ── FIELDS ────────────────────────────────────────────────────────────────── */
.ea-field { margin-bottom: 16px; }
.ea-field label { display:block; font-size:12px; font-weight:500; color:#888; margin-bottom:8px; }

.ea-field input,
.ea-field select {
  width: 100%;
  background: var(--ea-dark-3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ea-radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ea-white);
  outline: none;
  transition: border-color .2s;
}

.ea-field input:focus,
.ea-field select:focus { border-color: rgba(245,197,24,.5); }
.ea-field input::placeholder { color: #555; }
.ea-field select option { background: var(--ea-dark-3); }

/* ── CHECKLIST ─────────────────────────────────────────────────────────────── */
.ea-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.ea-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #aaa;
}

/* ── ERROR ─────────────────────────────────────────────────────────────────── */
.ea-error {
  background: rgba(198,40,40,.1);
  border: 1px solid rgba(198,40,40,.3);
  border-radius: var(--ea-radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #ff6b6b;
  margin-bottom: 16px;
}

/* ── SUBMIT ────────────────────────────────────────────────────────────────── */
.ea-btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--ea-yellow);
  color: var(--ea-dark);
  border: none;
  border-radius: var(--ea-radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ea-btn-submit:hover:not(:disabled) {
  background: #FFD740;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--ea-yellow-glow);
}

.ea-btn-submit:disabled { opacity: .4; cursor: not-allowed; }

.ea-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

/* ── VIDEO ─────────────────────────────────────────────────────────────────── */
.ea-video-wrap { margin-bottom: 24px; }

.ea-video-placeholder {
  background: var(--ea-dark-3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--ea-radius-sm);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color .3s;
  position: relative;
  overflow: hidden;
}

.ea-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,197,24,.05) 0%, transparent 70%);
  pointer-events: none;
}

.ea-video-placeholder:hover { border-color: rgba(245,197,24,.2); }

.ea-play-btn {
  width: 56px; height: 56px;
  background: var(--ea-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform .2s;
}

.ea-video-placeholder:hover .ea-play-btn { transform: scale(1.08); }
.ea-play-btn svg { margin-left: 3px; }
.ea-video-placeholder p { font-size: 13px; color: #555; position: relative; z-index: 1; margin: 0; }

.ea-video-wrap iframe { width:100%; aspect-ratio:16/9; border:none; border-radius: var(--ea-radius-sm); }

/* ── STEPS ─────────────────────────────────────────────────────────────────── */
.ea-steps { display:flex; flex-direction:column; gap:0; }

.ea-step { display:flex; gap:16px; padding-bottom:20px; }
.ea-step:last-child { padding-bottom:0; }

.ea-step-left { display:flex; flex-direction:column; align-items:center; }

.ea-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ea-yellow-light);
  border: 1.5px solid rgba(245,197,24,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ea-yellow);
  flex-shrink: 0;
}

.ea-step-line { width:1px; flex:1; background:rgba(255,255,255,.06); margin-top:6px; }

.ea-step-content { padding-top: 5px; }
.ea-step-content strong { display:block; font-size:14px; font-weight:600; margin-bottom:4px; }
.ea-step-content span { font-size:13px; color:#666; line-height:1.5; }

/* ── TAGS ──────────────────────────────────────────────────────────────────── */
.ea-tags-section { margin-top:28px; padding-top:24px; border-top:1px solid rgba(255,255,255,.06); }
.ea-tags-title { font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:#555; margin-bottom:14px; }
.ea-tags { display:flex; flex-wrap:wrap; gap:8px; }
.ea-tag { font-size:12px; background:var(--ea-dark-3); border:1px solid rgba(255,255,255,.07); border-radius:100px; padding:5px 12px; color:#aaa; }

/* ── LOADING ───────────────────────────────────────────────────────────────── */
#evolux-screen-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 20px;
}

.ea-loading-inner { text-align:center; }

.ea-spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(245,197,24,.15);
  border-top-color: var(--ea-yellow);
  border-radius: 50%;
  animation: ea-spin .8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes ea-spin { to { transform: rotate(360deg); } }

.ea-loading-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 8px;
}

.ea-loading-sub { font-size: 13px; color: #555; }

/* ── RESULT SCREEN ─────────────────────────────────────────────────────────── */
#evolux-screen-result {
  max-width: 100%;
  padding: 40px 32px 0;
}

/* ── RESULT HEADER ─────────────────────────────────────────────────────────── */
.ea-result-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.ea-result-greeting { font-size: 12px; color: var(--ea-yellow); margin-bottom: 4px; }

.ea-result-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  color: var(--ea-white);
}

/* ── PDF BUTTON ────────────────────────────────────────────────────────────── */
.ea-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ea-dark-2);
  border: 1px solid rgba(245,197,24,.3);
  color: var(--ea-yellow);
  padding: 10px 18px;
  border-radius: var(--ea-radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.ea-btn-pdf:hover {
  background: var(--ea-yellow);
  color: var(--ea-dark);
  border-color: var(--ea-yellow);
}

/* ── SUMMARY CARDS ─────────────────────────────────────────────────────────── */
.ea-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 600px) { .ea-summary { grid-template-columns: 1fr 1fr; } }

.ea-summary-card {
  background: var(--ea-dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--ea-radius-sm);
  padding: 18px;
  text-align: center;
}

.ea-summary-card.otimo { border-color: rgba(76,175,80,.25); }
.ea-summary-card.bom   { border-color: rgba(255,152,0,.25); }
.ea-summary-card.ruim  { border-color: rgba(239,83,80,.25); }

.ea-summary-num {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ea-white);
}

.ea-summary-card.otimo .ea-summary-num { color: #4caf50; }
.ea-summary-card.bom   .ea-summary-num { color: #ff9800; }
.ea-summary-card.ruim  .ea-summary-num { color: #ef5350; }
.ea-summary-label { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #555; margin-top: 2px; }

/* ── FILTERS ───────────────────────────────────────────────────────────────── */
.ea-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ea-filter {
  background: var(--ea-dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  color: #888;
  cursor: pointer;
  transition: all .2s;
}

.ea-filter:hover,
.ea-filter.active {
  background: var(--ea-yellow);
  border-color: var(--ea-yellow);
  color: var(--ea-dark);
  font-weight: 600;
}

.ea-search {
  margin-left: auto;
  background: var(--ea-dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ea-white);
  outline: none;
  width: 180px;
  transition: border-color .2s;
}

.ea-search:focus { border-color: rgba(245,197,24,.4); }
.ea-search::placeholder { color: #555; }

/* ── TABLE ─────────────────────────────────────────────────────────────────── */
.ea-table-wrap {
  overflow: hidden;
  border-radius: var(--ea-radius-sm);
  width: 100%;
  display: block;
}

.ea-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}

.ea-table colgroup col:nth-child(1)  { width: 40px; }
.ea-table colgroup col:nth-child(2)  { width: auto; }
.ea-table colgroup col:nth-child(3)  { width: 70px; }
.ea-table colgroup col:nth-child(4)  { width: 55px; }
.ea-table colgroup col:nth-child(5)  { width: 70px; }
.ea-table colgroup col:nth-child(6)  { width: 40px; }
.ea-table colgroup col:nth-child(7)  { width: 55px; }
.ea-table colgroup col:nth-child(8)  { width: 70px; }
.ea-table colgroup col:nth-child(9)  { width: 100px; }
.ea-table colgroup col:nth-child(10) { width: 22%; }

.ea-table thead { background: #1e1e1e; }

.ea-table th {
  padding: 11px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  white-space: nowrap;
}

.ea-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .2s;
}

.ea-table tbody tr:hover { background: rgba(255,255,255,.02); }
.ea-table tbody tr.status-otimo { background: rgba(76,175,80,.04); }
.ea-table tbody tr.status-bom   { background: rgba(255,152,0,.04); }
.ea-table tbody tr.status-ruim  { background: rgba(239,83,80,.06); }

.ea-table td { padding: 13px 12px; vertical-align: top; color: #ccc; }

.ea-table td a,
.ea-table td a:hover,
.ea-table td a:visited,
.ea-table td a:focus,
#evolux-audit-wrap a,
#evolux-audit-wrap a:hover,
#evolux-audit-wrap a:visited,
#evolux-audit-wrap a:focus,
.ea-footer a,
.ea-footer a:hover,
.ea-btn-cta,
.ea-btn-cta:hover,
.ea-btn-cta:visited { text-decoration: none !important; }

.ea-table td a { color: var(--ea-yellow); }
.ea-table td a:hover { opacity: .8; }

.ea-score-num { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; }
.ea-score-num.high { color: #4caf50; }
.ea-score-num.mid  { color: #ff9800; }
.ea-score-num.low  { color: #ef5350; }

.ea-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.ea-status-badge.otimo { background: rgba(76,175,80,.12); color: #4caf50; }
.ea-status-badge.bom   { background: rgba(255,152,0,.12);  color: #ff9800; }
.ea-status-badge.ruim  { background: rgba(239,83,80,.12);  color: #ef5350; }

.ea-problems { display:flex; flex-direction:column; gap:3px; }
.ea-problem  { font-size:11px; color:#666; line-height:1.6; }
.ea-problem::before { content:'• '; color:var(--ea-yellow); }

.ea-ai-rec {
  font-size: 11px;
  color: #888;
  font-style: italic;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.05);
  line-height: 1.5;
}

/* ── CTA BOX ───────────────────────────────────────────────────────────────── */
.ea-cta-box {
  margin: 48px 0 0;
  background: #111;
  border: 1px solid rgba(245,197,24,.1);
  border-radius: var(--ea-radius);
  padding: 40px;
  text-align: center;
}

.ea-cta-box p {
  color: #666;
  font-size: 13px;
  margin: 0 0 8px;
}

.ea-cta-box h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ea-white);
  letter-spacing: -.5px;
  margin: 0 0 24px;
}

.ea-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--ea-radius-sm);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all .2s;
}

.ea-btn-cta:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
  text-decoration: none !important;
  color: #fff;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.ea-footer {
  margin-top: 40px;
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ea-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ea-footer-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ea-white);
  line-height: 1;
}

.ea-footer-logo-text span { color: var(--ea-yellow); }

.ea-footer-logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: #555;
  display: block;
  margin-top: 2px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .5px;
}

.ea-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ea-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  background: var(--ea-dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  color: #888;
  text-decoration: none !important;
  transition: all .2s;
  overflow: hidden;
}

.ea-footer-social a svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: block;
  flex-shrink: 0;
}

.ea-footer-social a:hover {
  background: var(--ea-yellow);
  border-color: var(--ea-yellow);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ea-footer-social a:hover svg { stroke: var(--ea-dark) !important; fill: var(--ea-dark) !important; }

.ea-footer-copy { font-size: 11px; color: #444; }
.ea-footer-copy a { color: var(--ea-yellow); text-decoration: none !important; }


/* ── LGPD CONSENT ──────────────────────────────────────────────────────────── */
.ea-consent-box {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ea-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

.ea-consent-check { display: none; }

.ea-consent-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: var(--ea-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  margin-top: 1px;
}

.ea-consent-check:checked + .ea-consent-custom {
  background: var(--ea-yellow);
  border-color: var(--ea-yellow);
}

.ea-consent-check:checked + .ea-consent-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #0F0F0F;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.ea-consent-label a {
  color: var(--ea-yellow) !important;
  text-decoration: none !important;
}

.ea-consent-label a:hover { opacity: .8; }

.ea-consent-label strong { color: #fff; font-weight: 600; }

.ea-xml-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(245,197,24,.05);
  border: 1px solid rgba(245,197,24,.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.ea-xml-info svg { flex-shrink: 0; margin-top: 1px; }
.ea-xml-info strong { color: #F5C518; font-weight: 500; }
