/* ===== Design tokens ===== */
:root {
  --night: #101522;
  --night-soft: #1a2133;
  --cream: #faf7f1;
  --cream-deep: #f2ecdf;
  --gold: #c6a15b;
  --gold-light: #e3c98f;
  --ink: #23283a;
  --ink-soft: #5a6072;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', 'Helvetica Neue', Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(16, 21, 34, 0.25);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ===== Layout helpers ===== */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

/* Alternance de graisse et d'italique dans les titres :
   la partie en <em> passe en italique fin */
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.section-intro {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 3rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--night);
  box-shadow: 0 12px 30px -12px rgba(198, 161, 91, 0.65);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-dark {
  background: var(--night);
  color: var(--cream);
}

/* ===== Bouton WhatsApp flottant ===== */
#whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #29d366, #1a9e4e);
  color: var(--white);
  box-shadow: 0 14px 34px -12px rgba(26, 158, 78, 0.7);
  transition: transform var(--transition), box-shadow var(--transition);
}

#whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(41, 211, 102, 0.55);
  animation: whatsapp-ring 2.6s ease-out infinite;
}

@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #whatsapp-float::after {
    animation: none;
  }
}

#whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 40px -12px rgba(26, 158, 78, 0.85);
}

/* Retour à la ligne forcé, actif uniquement à partir du desktop/tablette */
.break-desktop {
  display: none;
}

@media (min-width: 621px) {
  .break-desktop {
    display: initial;
  }
}

/* ===== Flèche retour en haut ===== */
#to-top {
  position: fixed;
  right: 1.65rem;
  bottom: 5.6rem;
  z-index: 45;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--gold-light);
  border: 1px solid rgba(198, 161, 91, 0.5);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

#to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#to-top:hover {
  background: var(--gold);
  color: var(--night);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
