/* ==========================================================================
   Maëlys – Voyante au Pays basque | Thème Cosy Sombre & Nuit Étoilée
   Palette : Fond nuit étoilée (#0B1118 / #0F1722), Vert basque nuit (#132B20),
   Rouge basque vibrant (#B8263D / #D1304B), Or céleste (#E6C280 / #F5D99B)
   Accessibilité : Contrastes WCAG AA/AAA, cibles tactiles >= 44px, focus-visible
   ========================================================================== */

:root {
  /* Palette Nuit & Ciel étoilé (contrastes élevés sur fond sombre) */
  --color-bg-dark: #0B1118;
  --color-bg-alt: #111A24;
  --color-surface: #162230;
  --color-surface-hover: #1E2D3F;
  --color-surface-border: rgba(230, 194, 128, 0.16);

  --color-basque-red: #D1304B;
  --color-basque-red-hover: #B8263D;
  --color-basque-green-dark: #0F2318;
  --color-basque-green-glow: #1A3E2C;

  --color-gold: #E6C280;
  --color-gold-bright: #FCEFD2;
  --color-gold-muted: rgba(230, 194, 128, 0.7);

  --color-text-main: #F4F6F8;
  --color-text-muted: #B3C0D0;
  --color-text-dim: #7E90A6;

  /* Typographie */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rayons & Ombres cosmiques */
  --max-width: 72rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-cosy: 0 16px 40px -12px rgba(0, 0, 0, 0.65), 0 0 25px rgba(230, 194, 128, 0.05);
  --shadow-glow: 0 0 35px rgba(209, 48, 75, 0.25);
  --target-size: 24px;
}

@media (pointer: coarse) {
  :root {
    --target-size: 44px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Arrière-plan sombre parsemé d'étoiles subtiles */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-main);
  background-color: var(--color-bg-dark);
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffff 100%, transparent),
    radial-gradient(1.5px 1.5px at 150px 80px, var(--color-gold) 100%, transparent),
    radial-gradient(1px 1px at 280px 140px, #ffffff 80%, transparent),
    radial-gradient(2px 2px at 450px 220px, var(--color-gold-bright) 100%, transparent),
    radial-gradient(1px 1px at 620px 70px, #ffffff 70%, transparent),
    radial-gradient(1.5px 1.5px at 780px 180px, var(--color-gold) 100%, transparent),
    radial-gradient(1px 1px at 940px 90px, #ffffff 90%, transparent),
    radial-gradient(circle at 80% 15%, rgba(209, 48, 75, 0.08), transparent 45%),
    radial-gradient(circle at 20% 45%, rgba(26, 62, 44, 0.2), transparent 55%);
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  background-size: 600px 600px, 750px 750px, 500px 500px, 900px 900px, 800px 800px, 650px 650px, 700px 700px, 100% 100%, 100% 100%;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  max-width: 100vw;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 48rem) {
  body {
    padding-bottom: 0;
  }
}

img,
svg {
  max-inline-size: 100%;
  block-size: auto;
}

/* Typographie céleste */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-block: 0 0.85rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  color: var(--color-gold-bright);
}

p,
li {
  text-wrap: pretty;
  margin-block: 0 1rem;
}

a {
  color: var(--color-gold);
  text-underline-offset: 0.25em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--color-gold-bright);
}

/* Cibles interactives */
:where(button, select, textarea, input, [role="button"], nav a, .btn-wa) {
  min-block-size: var(--target-size);
  min-inline-size: var(--target-size);
}

:where([role="button"], nav a) {
  display: inline-flex;
  align-items: center;
}

:where(a:any-link, button, summary):focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

/* Skip link */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.85rem 1.4rem;
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  min-width: 0;
}

/* Header sombre & verre fumé compact avec Menu Burger */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background-color: rgba(11, 17, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-surface-border);
  padding-top: max(0.6rem, env(safe-area-inset-top, 0.6rem));
  padding-bottom: 0.6rem;
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #FFFFFF;
  min-width: 0;
}

.brand-mark {
  inline-size: 2.3rem;
  block-size: 2.3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1E3046, #0A1017);
  border: 1px solid rgba(230, 194, 128, 0.45);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(230, 194, 128, 0.2);
  flex-shrink: 0;
  padding: 0.15rem;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Bouton Burger Mobile */
.burger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  background: rgba(22, 34, 48, 0.8);
  border: 1px solid rgba(230, 194, 128, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.burger-btn:hover {
  border-color: var(--color-gold);
  background: rgba(230, 194, 128, 0.12);
}

.burger-line {
  display: block;
  width: 1.2rem;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation responsive */
.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 34, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(230, 194, 128, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  z-index: 850;
}

.site-nav.is-open {
  display: block;
  animation: fadeInAction 0.2s ease-out;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-gold-bright);
  background-color: rgba(230, 194, 128, 0.1);
}

@media (min-width: 54rem) {
  .burger-btn {
    display: none;
  }

  .site-nav {
    display: block !important;
    position: static;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.35rem;
  }

  .site-nav a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0.3rem 0.2rem;
    width: auto;
  }

  .site-nav a:hover {
    background: transparent;
    text-decoration: underline;
  }
}

/* Bouton d'action WhatsApp chaleureux */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-basque-red) 0%, #A91D34 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(209, 48, 75, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-wa:hover {
  background: linear-gradient(135deg, #E03B56 0%, var(--color-basque-red) 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(209, 48, 75, 0.6), 0 0 18px rgba(230, 194, 128, 0.3);
  transform: translateY(-2px);
}

.btn-wa svg {
  inline-size: 1.4rem;
  block-size: 1.4rem;
  flex-shrink: 0;
  fill: currentColor;
}

/* Hero Section */
.hero {
  padding-block: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--color-surface-border);
  position: relative;
  container: hero / inline-size;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@container hero (inline-size > 48rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge-cosy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background-color: rgba(22, 34, 48, 0.8);
  border: 1px solid rgba(230, 194, 128, 0.3);
  color: var(--color-gold-bright);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.badge-sparkle {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  width: 100%;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 36rem) {
  .hero-actions {
    align-items: flex-start;
  }

  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

.wa-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  background-color: rgba(19, 43, 32, 0.55);
  border: 1px dashed rgba(230, 194, 128, 0.35);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.wa-coming-soon-badge strong {
  color: var(--color-gold-bright);
}

.wa-mini-icon {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  fill: #4ADE80;
  flex-shrink: 0;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* Cadre photo de Maëlys avec halo nocturne */
.portrait-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: var(--shadow-cosy), var(--shadow-glow);
  max-inline-size: 27rem;
  margin-inline: auto;
  width: 100%;
}

.portrait-photo-wrapper {
  aspect-ratio: 4 / 4.7;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0d151e;
  border: 1px solid rgba(230, 194, 128, 0.2);
}

.portrait-photo-wrapper img,
.portrait-photo-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portrait-card:hover .portrait-photo-wrapper img {
  transform: scale(1.03);
}

.portrait-caption {
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--color-gold-bright);
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Sections */
.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-block: 1px solid var(--color-surface-border);
}

.section-header {
  max-inline-size: 45rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.section-kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Story Section avec consultation humaine */
.story-container {
  container: story / inline-size;
}

.story-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@container story (inline-size > 44rem) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.story-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-cosy);
  aspect-ratio: 4 / 3.2;
}

.story-image-card img,
.story-image-card svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cartes des étapes */
.steps-container {
  container: steps / inline-size;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.75rem;
}

@container steps (inline-size > 46rem) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-cosy);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 194, 128, 0.4);
}

.step-number {
  inline-size: 2.8rem;
  block-size: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #A98342 100%);
  color: var(--color-bg-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 15px rgba(230, 194, 128, 0.3);
}

.step-card h3 {
  margin-bottom: 0.25rem;
  color: #FFFFFF;
}

.step-card p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Grille des approches avec images / illustrations */
.arts-container {
  container: arts / inline-size;
}

.arts-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
}

@container arts (inline-size > 40rem) {
  .arts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.art-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-cosy);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

.art-card:hover {
  border-color: rgba(230, 194, 128, 0.45);
}

.art-image-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: #0b1118;
}

.art-image-wrapper img,
.art-image-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-body {
  padding: 1.6rem 1.75rem;
}

.art-body h3 {
  margin-bottom: 0.5rem;
}

.art-body p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Bannière Cadre Éthique Cosy */
.ethics-banner {
  margin-top: 2.25rem;
  background: linear-gradient(135deg, rgba(19, 43, 32, 0.9) 0%, rgba(15, 23, 34, 0.9) 100%);
  border: 1px solid rgba(230, 194, 128, 0.3);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.15rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-cosy);
}

.ethics-banner h3 {
  color: var(--color-gold-bright);
  margin-bottom: 0.65rem;
}

.ethics-banner p {
  margin: 0;
  color: #E2E8F0;
  line-height: 1.7;
}

/* Accordéon FAQ natif sombre */
.accordion {
  max-inline-size: 48rem;
  margin-inline: auto;
}

.accordion details {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: clip;
  transition: border-color 0.2s ease;
}

.accordion details:hover {
  border-color: rgba(230, 194, 128, 0.35);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85ch;
  padding: 1.1rem 1.15rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  color: #FFFFFF;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary:hover {
  background-color: rgba(230, 194, 128, 0.04);
}

.accordion summary::before {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex-shrink: 0;
  background-color: var(--color-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 1.15rem 1.25rem clamp(1.15rem, 3vw, 2.75rem);
  color: var(--color-text-muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Barre fixe mobile sombre avec double CTA */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background-color: rgba(11, 17, 24, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-surface-border);
  padding-top: 0.65rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.bottom-bar .btn-wa {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  gap: 0.45rem;
}

.bottom-bar-secondary {
  flex: 0.9;
}

.bottom-bar-primary {
  flex: 1.3;
}

@media (min-width: 48rem) {
  .bottom-bar {
    display: none;
  }
}

/* Footer sombre & élégant */
.site-footer {
  background-color: #070B10;
  border-top: 1px solid var(--color-surface-border);
  color: var(--color-text-muted);
  padding-block: 3.5rem 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 44rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.site-footer h2 {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.site-footer p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-gold);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-dim);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
}

/* Pages juridiques en mode sombre */
.legal-page {
  padding-block: 3rem 5rem;
  max-inline-size: 50rem;
  margin-inline: auto;
}

.legal-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  box-shadow: var(--shadow-cosy);
}

.legal-card h2 {
  color: var(--color-gold-bright);
  margin-top: 2.25rem;
  font-size: 1.45rem;
}

.legal-card ul {
  padding-left: 1.4rem;
  color: var(--color-text-muted);
}


/* ==========================================================================
   Chat In-App avec Early Access
   ========================================================================== */

.btn-wa-secondary {
  background: transparent !important;
  border: 1px solid rgba(230, 194, 128, 0.4) !important;
  color: var(--color-gold-bright) !important;
  box-shadow: none !important;
}

.btn-wa-secondary:hover {
  background: rgba(230, 194, 128, 0.1) !important;
  border-color: var(--color-gold) !important;
}

.chat-btn-icon {
  font-size: 1.25rem;
}

.chat-dialog {
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-lg);
  padding: 0;
  background-color: var(--color-bg-dark);
  box-shadow: var(--shadow-cosy), 0 0 50px rgba(0, 0, 0, 0.9);
  max-inline-size: 32rem;
  inline-size: calc(100% - 1.25rem);
  color: var(--color-text-main);
  position: fixed;
  inset: 0;
  margin: auto;
  max-block-size: min(86vh, 86dvh);
  overflow: hidden;
}

.chat-dialog::backdrop {
  background: rgba(8, 13, 18, 0.85);
  backdrop-filter: blur(6px);
}

.chat-container {
  display: flex;
  flex-direction: column;
  block-size: min(36rem, 84dvh);
  max-block-size: 84dvh;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-surface-border);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1E3046, #0A1017);
  border: 1px solid rgba(230, 194, 128, 0.45);
  display: grid;
  place-items: center;
  padding: 0.15rem;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chat-header-name {
  font-weight: 700;
  font-size: 1rem;
  color: #FFF;
}

.chat-header-status {
  font-size: 0.8rem;
  color: var(--color-gold);
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.chat-close-btn:hover {
  color: #FFF;
}

/* Vue Auth */
.chat-auth-view {
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 100%;
}

.chat-auth-view[hidden],
.chat-conversation-view[hidden] {
  display: none !important;
}

.auth-icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.chat-auth-view h3 {
  margin-bottom: 0.5rem;
}

.chat-auth-view p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 22rem;
  margin-bottom: 1.5rem;
}

.auth-form {
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-input,
.chat-text-input {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #FFF;
  font-size: 1rem;
}

.auth-input:focus,
.chat-text-input:focus {
  outline: 2px solid var(--color-gold);
}

.auth-submit-btn {
  width: 100%;
  padding: 0.85rem !important;
}

.auth-error {
  color: var(--color-basque-red);
  font-size: 0.875rem;
  margin: 0;
}

/* Vue Conversation */
.chat-conversation-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-bubble {
  max-width: 82%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.chat-bubble-model {
  background-color: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-surface-border);
  align-self: flex-start;
  border-bottom-left-radius: 0.2rem;
}

.chat-bubble-user {
  background: linear-gradient(135deg, var(--color-basque-red) 0%, #A91D34 100%);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 0.2rem;
}

.chat-typing {
  color: var(--color-gold);
  border-color: rgba(230, 194, 128, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.typing-dot {
  inline-size: 0.4rem;
  block-size: 0.4rem;
  border-radius: 50%;
  background-color: var(--color-gold);
  opacity: 0.4;
  animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingPulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.chat-input-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0.75rem));
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-surface-border);
  min-width: 0;
}

.chat-text-input {
  flex: 1;
  min-width: 0;
}

.chat-send-btn {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  padding: 0 1.05rem;
  cursor: pointer;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* Carte Talisman SVG générée */
.chat-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.75rem 0 1rem;
  animation: cardFadeIn 0.8s ease-out forwards;
}

.chat-card-container svg {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(230, 194, 128, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-card-container svg:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(230, 194, 128, 0.28);
}

/* Tirage Tarot multi-cartes (3 cartes ou Croix) */
.chat-cards-spread {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  width: 100%;
  padding: 0.25rem 0.25rem 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.chat-cards-spread svg {
  flex: 0 0 225px;
  max-width: 225px;
  scroll-snap-align: center;
}

/* Carte Croquis IA Unique (Pollinations) */
.chat-ai-sketch-card {
  margin: 0.85rem auto 1rem;
  max-width: 290px;
  width: 100%;
}

.ai-sketch-inner {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(230, 194, 128, 0.45);
  background: radial-gradient(circle at 50% 30%, #17273A, #070B12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(230, 194, 128, 0.15);
  position: relative;
  width: 100%;
}

.ai-sketch-loading {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--color-gold);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sketch-pencil-icon {
  font-size: 1.8rem;
  animation: sketchBounce 1.4s ease-in-out infinite;
}

@keyframes sketchBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(8deg); }
}

.ai-sketch-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(230, 194, 128, 0.25);
  animation: fadeInSketch 0.6s ease-out;
}

@keyframes fadeInSketch {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.ai-sketch-fallback {
  width: 100%;
}

.ai-sketch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background-color: rgba(11, 17, 24, 0.95);
  font-size: 0.78rem;
  gap: 0.5rem;
}

.ai-sketch-badge {
  color: var(--color-gold-bright);
  font-style: italic;
  font-size: 0.76rem;
}

.ai-sketch-download-btn {
  color: #FFF;
  text-decoration: none;
  background: rgba(230, 194, 128, 0.15);
  border: 1px solid rgba(230, 194, 128, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.ai-sketch-download-btn:hover {
  background: var(--color-gold);
  color: #070C18;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Bulle d'erreur & Bouton Relancer */
.chat-bubble-error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  border-color: rgba(230, 194, 128, 0.35);
}

.chat-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(230, 194, 128, 0.14);
  color: var(--color-gold);
  border: 1px solid rgba(230, 194, 128, 0.45);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.chat-retry-btn:hover {
  background-color: rgba(230, 194, 128, 0.26);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.chat-retry-btn:active {
  transform: translateY(0);
}

/* Barre d'action permanente au-dessus de la saisie (Relance rapide) */
.chat-action-bar {
  display: flex;
  justify-content: center;
  padding: 0.45rem 1rem;
  background-color: rgba(11, 17, 24, 0.95);
  border-top: 1px dashed rgba(230, 194, 128, 0.25);
  animation: fadeInAction 0.3s ease-out;
}

.chat-action-bar[hidden] {
  display: none !important;
}

.chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(230, 194, 128, 0.16);
  color: var(--color-gold);
  border: 1px solid rgba(230, 194, 128, 0.5);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.chat-action-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 194, 128, 0.3);
}

@keyframes fadeInAction {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Boutons de suggestions / propositions du jour */
.chat-suggestions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
  animation: fadeInAction 0.4s ease-out;
}

.chat-suggestion-chip {
  background-color: rgba(230, 194, 128, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(230, 194, 128, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.chat-suggestion-chip:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 194, 128, 0.35);
}

.chat-suggestion-chip:active {
  transform: translateY(0);
}

/* ==========================================================================
   Section Horoscope en Direct & Sélecteur Zodiaque
   ========================================================================== */
.horoscope-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, rgba(25, 40, 54, 0.45) 0%, rgba(11, 17, 24, 0.95) 80%);
}

.zodiac-carousel-wrapper {
  overflow-x: auto;
  padding: 0.6rem 0 1.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
  -webkit-overflow-scrolling: touch;
}

.zodiac-nav {
  display: flex;
  gap: 0.65rem;
  min-width: max-content;
  padding: 0 0.25rem;
}

.zodiac-pill {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-surface-border);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.zodiac-pill:hover {
  border-color: rgba(230, 194, 128, 0.45);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.zodiac-pill.active {
  background-color: rgba(230, 194, 128, 0.16);
  color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(230, 194, 128, 0.22);
}

.horoscope-display-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: clamp(1.3rem, 4vw, 2.2rem) clamp(1.1rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-cosy);
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.4s ease-out;
}

.horoscope-transits-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(230, 194, 128, 0.08), rgba(60, 42, 91, 0.25));
  border: 1px solid rgba(230, 194, 128, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

.horoscope-transits-banner .transits-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.horoscope-transits-banner strong {
  color: var(--color-gold);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.horoscope-source-badge {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-gold);
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-style: italic;
}

.horoscope-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.horoscope-element-badge {
  background-color: rgba(230, 194, 128, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(230, 194, 128, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.horoscope-date-range {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.horoscope-sign-title {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  margin: 0 0 1.35rem;
  color: var(--color-text-main);
}

.horoscope-grid-details {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 48rem) {
  .horoscope-grid-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

.horoscope-detail-box {
  background-color: rgba(11, 17, 24, 0.65);
  border: 1px solid rgba(230, 194, 128, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.horoscope-detail-box .box-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.horoscope-detail-box p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

/* Nouveau Call To Action contextuel & incitatif */
.horoscope-cta-banner {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(230, 194, 128, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: stretch;
}

@media (min-width: 46rem) {
  .horoscope-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.horoscope-cta-text h4 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.horoscope-cta-text p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.horoscope-cta-btn {
  white-space: normal;
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  width: 100%;
  box-shadow: 0 4px 16px rgba(230, 194, 128, 0.3);
  transition: all 0.2s ease;
}

@media (min-width: 46rem) {
  .horoscope-cta-btn {
    white-space: nowrap;
    width: auto;
    padding: 0.85rem 1.65rem;
  }
}

.horoscope-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(230, 194, 128, 0.45);
}

.horoscope-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 46rem) {
  .horoscope-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

.horoscope-notif-btn {
  padding: 0.78rem 1.3rem !important;
  font-size: 0.92rem !important;
}

/* Bannière Installation PWA Mobile */
.pwa-install-banner {
  margin-top: 1.35rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, rgba(19, 43, 32, 0.75) 0%, rgba(22, 34, 48, 0.9) 100%);
  border: 1px solid rgba(230, 194, 128, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
}

@media (min-width: 44rem) {
  .pwa-install-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pwa-banner-info {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pwa-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.pwa-banner-info strong {
  display: block;
  color: var(--color-gold-bright);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.pwa-banner-info p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.pwa-install-btn {
  background-color: rgba(230, 194, 128, 0.18);
  color: var(--color-gold-bright);
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pwa-install-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
}

.pwa-banner-app-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  border: 1px solid rgba(230, 194, 128, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  object-fit: cover;
}

/* Modal Guide Installation Mobile Multi-OS */
.pwa-guide-dialog {
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-lg);
  padding: 0;
  background-color: var(--color-bg-dark);
  box-shadow: var(--shadow-cosy), 0 0 50px rgba(0, 0, 0, 0.95);
  max-inline-size: 28rem;
  inline-size: calc(100% - 1.5rem);
  color: var(--color-text-main);
  position: fixed;
  inset: 0;
  margin: auto;
  max-block-size: min(90vh, 90dvh);
  overflow: hidden;
}

.pwa-guide-dialog::backdrop {
  background: rgba(5, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pwa-guide-content {
  display: flex;
  flex-direction: column;
}

.pwa-guide-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-surface-border);
}

.pwa-guide-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 194, 128, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.pwa-guide-titles {
  flex: 1;
  min-width: 0;
}

.pwa-guide-title {
  margin: 0;
  font-size: 1.15rem;
  color: #FFF;
  font-family: var(--font-serif);
}

.pwa-guide-sub {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--color-gold);
}

.pwa-guide-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.pwa-guide-close:hover {
  color: #FFF;
}

.pwa-guide-body {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: 60vh;
}

.pwa-guide-intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-gold-bright);
}

.pwa-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.pwa-step-num {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border-radius: 50%;
  background: rgba(230, 194, 128, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-bright);
  font-weight: 700;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pwa-step-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

.pwa-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 0.25rem;
  color: #FFF;
}

.pwa-guide-perk {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  border-top: 1px dashed rgba(230, 194, 128, 0.2);
  padding-top: 0.85rem;
}

.pwa-guide-footer {
  padding: 0.85rem 1.25rem;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-surface-border);
  display: flex;
  justify-content: flex-end;
}

.pwa-guide-gotit-btn {
  width: 100%;
  padding-block: 0.75rem;
  font-size: 0.95rem;
}
