/* ============================================================
   SELF-SHAO · Pop-up Guides Gratuits + Page Guides
   À placer dans : /assets/popup-guides.css
   ============================================================ */

/* ===== POPUP OVERLAY ===== */
.sshao-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sshao-popup-overlay.is-open {
  display: flex;
  animation: sshao-fadein 0.3s ease-out;
}
@keyframes sshao-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sshao-slideup {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.sshao-popup {
  background: #fafaf7;
  border-radius: 8px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: sshao-slideup 0.4s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  font-family: 'DM Sans', 'Helvetica', 'Arial', sans-serif;
  color: #1a1a1a;
}

.sshao-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3dfd5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 20px;
  font-weight: 300;
  transition: all 0.2s;
  z-index: 2;
}
.sshao-popup-close:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.sshao-popup-header {
  background: #0a0a0a;
  color: #fff;
  padding: 28px 32px;
  border-radius: 8px 8px 0 0;
}
.sshao-popup-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 8px;
  font-weight: 600;
}
.sshao-popup-title {
  font-family: 'Bebas Neue', 'Helvetica', sans-serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 900;
}
.sshao-popup-title .sshao-accent { color: #C9A84C; }
.sshao-popup-sub {
  font-size: 14px;
  color: #cfcfcf;
  line-height: 1.5;
  max-width: 540px;
  margin: 0;
}

/* ===== STEP 1 : Choix du guide ===== */
.sshao-step { padding: 28px 32px 32px; }
.sshao-step.is-hidden { display: none; }

.sshao-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.sshao-card {
  background: #fff;
  border: 1px solid #e3dfd5;
  border-left: 3px solid #C9A84C;
  border-radius: 4px;
  padding: 18px 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
}
.sshao-card:hover {
  border-color: #1a1a1a;
  border-left-color: #CC2222;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.sshao-card-icon {
  font-size: 22px;
  margin-bottom: 8px;
  font-family: 'Bebas Neue', sans-serif;
  color: #C9A84C;
  font-weight: 900;
  letter-spacing: 1px;
}
.sshao-card-title {
  font-family: 'Bebas Neue', 'Helvetica', sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.sshao-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  flex: 1;
}
.sshao-card-cta {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 600;
}

.sshao-popup-foot {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.sshao-popup-foot strong { color: #1a1a1a; font-weight: 700; }

/* ===== STEP 2 : Email form ===== */
.sshao-form-back {
  background: none;
  border: none;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
  font-family: inherit;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sshao-form-back:hover { color: #C9A84C; }
.sshao-form-summary {
  background: #fff;
  border-left: 3px solid #C9A84C;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
}
.sshao-form-summary strong {
  display: block;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 2px;
  font-weight: 700;
}
.sshao-field { margin-bottom: 14px; }
.sshao-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  font-weight: 600;
  margin-bottom: 6px;
}
.sshao-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c4;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sshao-input:focus {
  outline: none;
  border-color: #C9A84C;
}
.sshao-checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  font-size: 12.5px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}
.sshao-checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}
.sshao-checkbox-row a { color: #C9A84C; text-decoration: underline; }

.sshao-submit {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.sshao-submit:hover { background: #C9A84C; color: #1a1a1a; }
.sshao-submit:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0.6;
}
.sshao-rgpd-note {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

/* ===== STEP 3 : Success / Error ===== */
.sshao-result {
  text-align: center;
  padding: 30px 20px;
}
.sshao-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #3DBD74;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
}
.sshao-result-icon.is-error { background: #CC2222; }
.sshao-result-title {
  font-family: 'Bebas Neue', 'Helvetica', sans-serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}
.sshao-result-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.sshao-result-btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.sshao-result-btn:hover { background: #C9A84C; color: #1a1a1a; }
.sshao-error-msg {
  background: #fbeaea;
  border: 1px solid #f0c6c6;
  color: #a01818;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .sshao-popup-header { padding: 22px 20px; }
  .sshao-popup-title { font-size: 24px; }
  .sshao-step { padding: 20px; }
  .sshao-cards { grid-template-columns: 1fr; gap: 10px; }
  .sshao-card { padding: 14px 14px 12px; }
}

/* ============================================================
   PAGE /guides-gratuits : grille de cartes (THÈME SOMBRE)
   ============================================================ */
.sshao-guides-page {
  background: #0a0a0a;
  padding: 60px 20px 80px;
  font-family: 'DM Sans', 'Helvetica', 'Arial', sans-serif;
  color: #e8e4dc;
  min-height: 100vh;
  position: relative;
}
.sshao-guides-page::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.sshao-guides-page::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(204,34,34,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.sshao-guides-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sshao-guides-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 18px rgba(201,168,76,0.25));
}
.sshao-guides-header {
  text-align: center;
  margin-bottom: 50px;
}
.sshao-guides-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 700;
  margin-bottom: 14px;
}
.sshao-guides-title {
  font-family: 'Bebas Neue', 'Helvetica', sans-serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 22px;
  color: #ffffff;
}
.sshao-guides-title .sshao-accent { color: #C9A84C; }
.sshao-guides-lead {
  font-size: 16px;
  color: #b8b4ac;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}
.sshao-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.sshao-guide-card {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sshao-guide-card:hover {
  transform: translateY(-3px);
  border-color: #C9A84C;
  box-shadow: 0 10px 30px rgba(201,168,76,0.12);
}
.sshao-guide-card-cover {
  background: #000;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  border-bottom: 3px solid #C9A84C;
}
.sshao-guide-card-cover-eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 700;
  margin-bottom: 12px;
}
.sshao-guide-card-cover-title {
  font-family: 'Bebas Neue', 'Helvetica', sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  margin: 0;
}
.sshao-guide-card-cover-title .sshao-accent { color: #C9A84C; }
.sshao-guide-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #141414;
}
.sshao-guide-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #cfcabd;
  margin-bottom: 20px;
  flex: 1;
}
.sshao-guide-card-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a8580;
  margin-bottom: 14px;
}
.sshao-guide-card-btn {
  display: inline-block;
  background: #C9A84C;
  color: #0a0a0a;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.sshao-guide-card-btn:hover { background: #fff; color: #0a0a0a; }

@media (max-width: 768px) {
  .sshao-guides-page { padding: 40px 16px 60px; }
  .sshao-guides-title { font-size: 38px; }
  .sshao-guides-grid { grid-template-columns: 1fr; gap: 18px; }
  .sshao-guides-logo { width: 80px; height: 80px; margin-bottom: 18px; }
}
