/* ALMA Paillette — classes de composants (le reste via utilitaires Tailwind). */

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: #FBF6EE;
  color: #3A2530;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: #27181F;
  text-wrap: balance;
}
::selection { background: #E2C684; color: #27181F; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #FBF6EE, 0 0 0 4px #C7A24B;
}

.container-px { margin-inline: auto; width: 100%; max-width: 80rem; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container-px { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container-px { padding-inline: 3rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px; padding: .75rem 1.5rem; font-size: .875rem; font-weight: 600;
  transition: all .3s ease; cursor: pointer; text-align: center;
}
.btn-gold { background: linear-gradient(120deg, #E2C684 0%, #C7A24B 100%); color: #27181F; box-shadow: 0 8px 32px -8px rgba(199,162,75,.45); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary { background: #27181F; color: #FFFCF7; box-shadow: 0 10px 40px -12px rgba(58,37,48,.18); }
.btn-primary:hover { background: #3A2530; transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(58,37,48,.2); background: rgba(255,255,255,.6); color: #27181F; backdrop-filter: blur(4px); }
.btn-outline:hover { border-color: #C7A24B; background: #fff; }
.btn-white { background: #fff; color: #27181F; box-shadow: 0 10px 40px -12px rgba(58,37,48,.18); }
.btn-white:hover { transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; color: #A8862F;
}
.text-festive {
  background: linear-gradient(120deg, #E1668F 0%, #C7A24B 45%, #7B4B97 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card {
  border-radius: 1.5rem; background: #fff;
  box-shadow: 0 2px 24px -8px rgba(58,37,48,.12);
  box-shadow: 0 2px 24px -8px rgba(58,37,48,.12), 0 0 0 1px rgba(58,37,48,.05);
  transition: all .3s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 10px 40px -12px rgba(58,37,48,.18); }

.shadow-soft { box-shadow: 0 10px 40px -12px rgba(58,37,48,.18); }
.shadow-card { box-shadow: 0 2px 24px -8px rgba(58,37,48,.12); }
.shadow-glow { box-shadow: 0 8px 32px -8px rgba(199,162,75,.45); }

.bg-festive-gradient { background: linear-gradient(120deg, #E1668F 0%, #C7A24B 45%, #7B4B97 100%); }
.bg-gold-gradient { background: linear-gradient(120deg, #E2C684 0%, #C7A24B 100%); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.animate-fade-up { animation: fadeUp .7s ease-out both; }
@keyframes sparkle { 0%,100% { opacity: .3; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.animate-sparkle { animation: sparkle 2.4s ease-in-out infinite; }

/* Flash toasts */
.flash-wrap { position: fixed; top: 5.5rem; right: 1rem; z-index: 60; display: flex; flex-direction: column; gap: .5rem; max-width: 22rem; }
.flash { border-radius: .9rem; padding: .8rem 1rem; font-size: .875rem; box-shadow: 0 10px 40px -12px rgba(58,37,48,.3); }
.flash-success { background: #E2C684; color: #27181F; }
.flash-error { background: #E1668F; color: #fff; }
.flash-info { background: #fff; color: #3A2530; border: 1px solid rgba(58,37,48,.1); }

/* lucide icons inherit currentColor + sizing via width/height classes */
[data-lucide] { display: inline-block; vertical-align: middle; }

/* Contenu éditorial rendu depuis Markdown (à-propos, pages légales) */
.prose-content p { margin: 0 0 1rem; }
.prose-content strong { color: #27181F; }
.prose-content h1, .prose-content h2, .prose-content h3 { margin: 1.5rem 0 .5rem; }
.prose-content ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.prose-content a { color: #A8862F; text-decoration: underline; }

/* Bandeau cookies RGPD */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 70;
  max-width: 40rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: #27181F; color: #FBF6EE; border-radius: 1rem; padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.4); font-size: .85rem;
}
