/**
 * components.css — MY PRESTIGE
 *
 * Responsabilité : Tous les composants réutilisables
 * (boutons, cursor, loader, cards, modals, widget Wish, FAB, formulaires, boussole).
 *
 * Règle : aucune couleur en dur, tout via variables :root
 */

/* ═══════════════════════════════════════════════════════════
   CURSOR — Custom cursor desktop only
   ═══════════════════════════════════════════════════════════ */
.cr,
.cr-r {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  z-index: var(--z-cursor-ring);
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cr {
  width: 7px;
  height: 7px;
  background: var(--c);
  z-index: var(--z-cursor);
}

.cr-r {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 223, 160, 0.45);
  z-index: var(--z-cursor-ring);
  transition: width var(--t-fast), height var(--t-fast), opacity var(--t-fast);
  opacity: 0.45;
}

.cr-r.x {
  width: 52px;
  height: 52px;
  opacity: 0.18;
}

@media (hover: none) {
  .cr,
  .cr-r {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   LOADER — Écran de chargement avec barre de progression
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   BUTTONS — Primaire et secondary
   ═══════════════════════════════════════════════════════════ */

/* Primary button : bold gold background */
.btn-p {
  padding: 15px 44px;
  background: var(--c);
  color: var(--nd);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all var(--t-slow);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-p::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.16);
  transition: left var(--t-slow);
}

.btn-p:hover::after {
  left: 100%;
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(232, 223, 160, 0.22);
}

/* Ghost button : text with arrow */
.btn-g {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wd);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t-normal);
  background: none;
  border: none;
  cursor: pointer;
}

.btn-g:hover {
  color: var(--c);
}

.btn-g::after {
  content: '→';
  font-size: 13px;
  transition: transform var(--t-normal);
}

.btn-g:hover::after {
  transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════
   WISH WIDGET — Hero interactive "wish" box
   ═══════════════════════════════════════════════════════════ */
.wish-wrap {
  position: relative;
  margin-top: 48px;
  width: 100%;
  max-width: 520px;
}

.wish-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(248, 245, 238, 0.04);
  border: 1px solid rgba(232, 223, 160, 0.22);
  transition: border-color var(--t-normal);
}

.wish-box:focus-within {
  border-color: rgba(232, 223, 160, 0.55);
}

.wish-in {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--w);
  letter-spacing: 0.04em;
}

.wish-in::placeholder {
  color: rgba(248, 245, 238, 0.28);
  font-style: italic;
}

.wish-btn {
  background: var(--c);
  border: none;
  color: var(--nd);
  padding: 16px 22px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: all var(--t-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

.wish-btn:hover {
  background: var(--cl);
}

.wish-response {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(24, 40, 72, 0.95);
  border: 1px solid rgba(232, 223, 160, 0.2);
  padding: 18px 20px;
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--t-slow);
  pointer-events: none;
  text-align: left;
}

.wish-response.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wr-label {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 8px;
}

.wr-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--w);
  line-height: 1.7;
}

.wr-cta {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wr-cta::after {
  content: '→';
  transition: transform var(--t-normal);
}

.wr-cta:hover::after {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   MODAL — Service/destination detail modal
   ═══════════════════════════════════════════════════════════ */
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}

.modal-wrap.open {
  opacity: 1;
  visibility: visible;
}

.modal-bd {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, 0.9);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.modal-box {
  position: relative;
  background: var(--nm);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 1;
  transform: translateY(28px) scale(0.97);
  transition: transform var(--t-slow) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 223, 160, 0.15) transparent;
}

.modal-wrap.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-img-c {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.modal-img-c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-img-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(24, 40, 72, 0.5));
}

.modal-cc {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(10, 21, 32, 0.7);
  border: 1px solid rgba(232, 223, 160, 0.18);
  color: var(--c);
  font-size: 16px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-normal);
}

.modal-x:hover {
  background: var(--c);
  color: var(--nd);
}

.modal-lbl {
  font-size: 8px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 10px;
}

.modal-tit {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--wd);
  margin-bottom: 22px;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.modal-list li {
  font-size: 12px;
  color: var(--wd);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.modal-list li::before {
  content: '◆';
  color: var(--c);
  font-size: 6px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   FAB — Floating Action Button (fixed contact shortcut)
   ═══════════════════════════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-fixed);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--nd);
  box-shadow: 0 6px 28px rgba(232, 223, 160, 0.26);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--t-normal), -webkit-tap-highlight-color 0s;
  -webkit-tap-highlight-color: transparent;
}

.fab:hover,
.fab:active {
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   CARDS — Destinations
   ═══════════════════════════════════════════════════════════ */

/* Destination card */
.dc {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dc:hover img {
  transform: scale(1.07);
}

.dc-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 21, 32, 0.94) 0%, rgba(10, 21, 32, 0.28) 55%, rgba(10, 21, 32, 0.1) 100%);
  transition: background var(--t-slow);
}

.dc-ct {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px;
}

.dc-rg {
  font-size: 8px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 5px;
}

.dc-nm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.1;
}

.dc:first-child .dc-nm {
  font-size: 46px;
}

.dc-sb {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd);
  margin-top: 5px;
  transition: color var(--t-normal);
}

.dc:hover .dc-sb {
  color: var(--c);
}

.dc-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c);
  border: 1px solid rgba(232, 223, 160, 0.3);
  padding: 10px 18px;
  background: rgba(10, 21, 32, 0.6);
  opacity: 0;
  transition: opacity var(--t-fast);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.dc:hover .dc-more {
  opacity: 1;
}


/* À la Carte card */
.alac {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 38px;
  background: var(--nd);
  border: 1px solid rgba(232, 223, 160, 0.13);
  margin-bottom: 3px;
  gap: 18px;
  flex-wrap: wrap;
  transition: background var(--t-slow);
  cursor: pointer;
}

.alac:hover {
  background: var(--nl);
}

.alac-l {
  display: flex;
  align-items: center;
  gap: 18px;
}

.alac-ic {
  font-size: 20px;
  color: var(--c);
}

.alac-nm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
}

.alac-desc {
  font-size: 10px;
  color: var(--wd);
  margin-top: 2px;
}

.alac-r {
  text-align: right;
}

.alac-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--c);
  line-height: 1;
}

.alac-u {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wd);
}

/* ═══════════════════════════════════════════════════════════
   FORMULAIRES — Inputs, selects, textareas, honeypot
   ═══════════════════════════════════════════════════════════ */

/* Honeypot anti-spam */
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cfrm {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff input,
.ff textarea,
.ff select {
  width: 100%;
  background: var(--nl);
  border: none;
  border-bottom: 1px solid rgba(232, 223, 160, 0.12);
  color: var(--w);
  padding: 16px 13px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color var(--t-normal), background var(--t-normal);
  appearance: none;
  -webkit-appearance: none;
}

.ff input::placeholder,
.ff textarea::placeholder {
  color: rgba(248, 245, 238, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 8.5px;
  font-weight: 500;
}

.ff input:-ms-input-placeholder,
.ff textarea:-ms-input-placeholder {
  color: rgba(248, 245, 238, 0.85);
}

.ff select {
  color: rgba(248, 245, 238, 0.35);
}

.ff select.hv {
  color: var(--w);
}

.ff select option {
  background: var(--nm);
  color: var(--w);
}

.ff input:focus,
.ff textarea:focus,
.ff select:focus {
  border-color: var(--c);
  background: var(--nb);
}

.ff textarea {
  min-height: 90px;
  resize: none;
}

.ff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.fsub {
  margin-top: 5px;
  padding: 16px;
  background: var(--c);
  border: none;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--nd);
  transition: all var(--t-slow);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.fsub:hover {
  background: var(--cl);
  transform: translateY(-2px);
}

.fsub:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ferr {
  border-bottom-color: #B05050 !important;
}

.fmsg {
  padding: 12px 14px;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.fmsg.ok {
  background: rgba(232, 223, 160, 0.06);
  border-left: 2px solid var(--c);
  color: var(--cl);
}

.fmsg.ko {
  background: rgba(180, 60, 60, 0.06);
  border-left: 2px solid #B05050;
  color: #F0A0A0;
}

/* ═══════════════════════════════════════════════════════════
   BOUSSOLE — Services compass SVG + detail panel
   ═══════════════════════════════════════════════════════════ */

.sd {
  padding-right: 12px;
}

.sd-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s, transform 0.45s;
}

.sd-img.vi {
  opacity: 1;
  transform: scale(1);
}

.sd-cat {
  font-size: 8.5px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 9px;
  opacity: 0;
  transition: opacity 0.45s 0.06s;
}

.sd-cat.vi {
  opacity: 1;
}

.sd-nm {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s 0.12s, transform 0.45s 0.12s;
}

.sd-nm.vi {
  opacity: 1;
  transform: translateY(0);
}

.sd-dc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--wd);
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s 0.2s, transform 0.45s 0.2s;
}

.sd-dc.vi {
  opacity: 1;
  transform: translateY(0);
}

.sd-a {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  transition: opacity 0.45s 0.3s, gap var(--t-normal);
  background: none;
  border: none;
  cursor: pointer;
}

.sd-a.vi {
  opacity: 1;
}

.sd-a:hover {
  gap: 16px;
}

.sd-a::after {
  content: '→';
  font-size: 12px;
}

.sd-dots {
  margin-top: 32px;
  display: flex;
  gap: 7px;
}

.sdd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(232, 223, 160, 0.18);
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
}

.sdd.on {
  background: var(--c);
  width: 16px;
  border-radius: 3px;
}

/* Compass container */
.cp-con {
  position: relative;
  touch-action: none;
  user-select: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
}

.cp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* Aiguille centrée au milieu de l'image */
.cp-needle-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  z-index: 20;
  pointer-events: none;
  will-change: transform;
}

.cp-needle-point {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--nb) 0%, var(--nl) 100%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  left: -70px;
  top: -140px;
  box-shadow: 0 8px 24px rgba(54, 74, 159, .4), inset -2px 0 6px rgba(255, 255, 255, .1);
  filter: drop-shadow(2px 0 4px rgba(54, 74, 159, .3));
}

.cp-needle-tail {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(315deg, rgba(54, 74, 159, .5) 0%, rgba(54, 74, 159, .2) 100%);
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
  left: -40px;
  top: 15px;
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, .1);
}

.cp-needle-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  display: none;
}

#compassNeedle {
  transform-origin: 50 50;
  transform-box: view-box;
  will-change: transform;
}

.cp-lbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Compass label buttons (positioned absolutely on SVG) */
.cl {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: all;
  cursor: pointer;
  text-align: center;
  background: none;
  border: none;
  padding: 6px;
  transition: all 0.35s;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
  text-decoration: none;
  color: inherit;
}

.cl::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,223,160,.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.cl:hover::before,
.cl.on::before {
  opacity: 1;
}

.cl-ic {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--c);
  display: block;
  margin-bottom: 4px;
  transition: all 0.35s;
  opacity: 0.55;
  line-height: 1;
}

.cl-nm {
  font-size: 7.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wd);
  transition: all 0.35s;
  display: block;
  white-space: nowrap;
  line-height: 1;
}

.cl.on .cl-ic {
  opacity: 1;
  text-shadow: 0 0 9px rgba(232, 223, 160, 0.4);
  transform: scale(1.1);
}

.cl.on .cl-nm {
  color: var(--c);
  font-weight: 600;
}

.cl:hover .cl-ic {
  opacity: 0.9;
  transform: scale(1.08);
}

.cl:hover .cl-nm {
  color: rgba(248, 245, 238, 0.8);
}

/* Compass touch hint */
.cp-touch-hint {
  display: none;
}

.cph-icon {
  display: none;
}

/* Compass navigation arrows */
.cpnav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
}

.cnarr {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 223, 160, 0.18);
  background: transparent;
  color: var(--c);
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-normal);
  -webkit-tap-highlight-color: transparent;
}

.cnarr:hover,
.cnarr:active {
  background: var(--c);
  color: var(--nd);
}

.cndots {
  display: flex;
  gap: 7px;
}

.cnd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(232, 223, 160, 0.18);
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
}

.cnd.on {
  background: var(--c);
  width: 14px;
  border-radius: 3px;
}

/* Gallery dots */

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES — Helpers pour layout
   ═══════════════════════════════════════════════════════════ */

/* Inline flex nav logo */
.nav-logo {
  display: flex;
  align-items: center;
}

/* Text-align center */
.text-center {
  text-align: center;
}

/* Font-style normal (override serif italic) */
.fs-normal {
  font-style: normal;
}

/* Modal CTA align-self */
.modal-cta-start {
  align-self: flex-start;
}

/* Partner text styling */
.partner-note {
  font-size: 11px;
  color: var(--wd);
  margin-top: 20px;
  line-height: 1.85;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — Skip Link
   ═══════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--nd);
  color: var(--c);
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  z-index: var(--z-modal);
}

.skip-link:focus {
  top: 0;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════ */

.nl-rgpd input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--c);
}

@media (max-width: 768px) {
  .newsletter {
    padding: var(--space-xl);
  }

  .nl-form {
    flex-direction: column;
  }

  .nl-form .ff {
    min-width: unset;
  }

  .nl-form button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   BREVO FORM — Personnalisation complète du formulaire
   ═══════════════════════════════════════════════════════════ */

/* Fonts Brevo personnalisées */
@font-face {
  font-display: block;
  font-family: "Brevo-Font";
  src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff");
}

/* Conteneur principal */
#sib-container {
  background-color: rgba(18, 32, 63, 0.4) !important;
  border-color: rgba(232, 223, 160, 0.15) !important;
  backdrop-filter: blur(12px);
  border-radius: 16px !important;
  padding: 48px 40px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Titre Newsletter */
#sib-container .sib-form-block:first-of-type p {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  color: var(--c) !important;
  margin: 0 !important;
  letter-spacing: 0.05em;
}

/* Étiquettes des inputs */
#sib-container .sib-input label {
  font-family: "Raleway", sans-serif !important;
  color: rgba(248, 245, 238, 0.7) !important;
  font-size: 12px !important;
}

/* Inputs texte */
#sib-container input[type="text"],
#sib-container input[type="email"] {
  font-family: "Raleway", sans-serif !important;
  background-color: rgba(248, 245, 238, 0.08) !important;
  border: 1.5px solid rgba(232, 223, 160, 0.25) !important;
  border-radius: 10px !important;
  color: #1a1a1a !important;
  padding: 16px 18px !important;
  font-size: 15px !important;
  transition: all 0.28s ease;
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: none !important;
  font-weight: 500 !important;
}

#sib-container input[type="text"]::placeholder,
#sib-container input[type="email"]::placeholder {
  color: rgba(26, 26, 26, 0.5) !important;
  font-family: "Raleway", sans-serif !important;
  font-weight: 400 !important;
}

#sib-container input[type="text"]:focus,
#sib-container input[type="email"]:focus {
  background-color: rgba(248, 245, 238, 0.15) !important;
  border-color: var(--c) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(232, 223, 160, 0.15) !important;
  color: #1a1a1a !important;
}

#sib-container input[type="text"]:-webkit-autofill,
#sib-container input[type="email"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(248, 245, 238, 0.1) inset !important;
  -webkit-text-fill-color: #1a1a1a !important;
  color: #1a1a1a !important;
}

/* Bouton S'inscrire */
#sib-container .sib-form-block__button {
  font-family: "Raleway", sans-serif !important;
  background: linear-gradient(135deg, var(--c) 0%, #d4c074 100%) !important;
  color: var(--nd) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 4px 20px rgba(232, 223, 160, 0.15);
}

#sib-container .sib-form-block__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 223, 160, 0.25);
  background: linear-gradient(135deg, #d4c074 0%, var(--c) 100%) !important;
}

#sib-container .sib-form-block__button:active {
  transform: translateY(0);
}

/* Messages de succès */
#success-message {
  background-color: rgba(13, 206, 102, 0.1) !important;
  border-color: #13ce66 !important;
  border-radius: 8px !important;
  color: #13ce66 !important;
  font-family: "Raleway", sans-serif !important;
  padding: 16px !important;
}

#success-message svg {
  fill: #13ce66 !important;
}

/* Messages d'erreur */
#error-message {
  background-color: rgba(255, 73, 73, 0.1) !important;
  border-color: #ff4949 !important;
  border-radius: 8px !important;
  color: #ff4949 !important;
  font-family: "Raleway", sans-serif !important;
  padding: 16px !important;
}

#error-message svg {
  fill: #ff4949 !important;
}

/* Texte d'erreur des inputs */
#sib-container .entry__error {
  color: #ff6b6b !important;
  font-size: 12px !important;
  font-family: "Raleway", sans-serif !important;
  background-color: rgba(255, 107, 107, 0.08) !important;
}

/* Texte de spécification */
#sib-container .entry__specification {
  color: rgba(248, 245, 238, 0.55) !important;
  font-family: "Raleway", sans-serif !important;
  font-size: 11px !important;
}

/* Conteneurs d'input */
#sib-container .sib-input,
#sib-container .form__entry,
#sib-container .entry__field {
  width: 100% !important;
  max-width: none !important;
}

#sib-container .form__entry {
  margin-bottom: 12px !important;
}

#sib-container .entry__field {
  display: flex !important;
}

#sib-container .entry__field input {
  flex: 1 !important;
}

/* Lien */
#sib-container a {
  color: var(--c) !important;
  text-decoration: none;
  transition: color 0.28s ease;
}

#sib-container a:hover {
  color: #d4c074 !important;
  text-decoration: underline;
}

/* Responsive mobile */
@media (max-width: 768px) {
  #sib-container {
    padding: 24px 20px !important;
  }

  #sib-container .sib-form-block:first-of-type p {
    font-size: 24px !important;
  }

  #sib-container input[type="text"],
  #sib-container input[type="email"] {
    padding: 12px 14px !important;
    font-size: 13px !important;
  }

  #sib-container .sib-form-block__button {
    padding: 12px 24px !important;
    font-size: 12px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   BREVO NEWSLETTER POPUP — Pop-up avec boussole animée
   ═══════════════════════════════════════════════════════════ */

@keyframes compassSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes popupSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
}

.brevo-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.brevo-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.brevo-popup-inner {
  position: relative;
  background: linear-gradient(135deg, var(--c) 0%, #f5edbe 100%);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(232, 223, 160, 0.4),
              0 0 30px rgba(232, 223, 160, 0.2);
  animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brevo-popup.hide .brevo-popup-inner {
  animation: popupSlideOut 0.3s ease;
}

.brevo-popup-compass {
  margin: 0 auto 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brevo-compass-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: compassSpin 2s linear infinite;
}

.brevo-popup-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--nd);
  margin: 0 0 8px 0;
  letter-spacing: 0.03em;
}

.brevo-popup-message {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: rgba(10, 21, 32, 0.75);
  margin: 0;
  line-height: 1.5;
}

.brevo-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 50%;
  color: var(--nd);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.brevo-popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.brevo-popup-close:active {
  transform: scale(0.95);
}

/* Mode loading — boussole tourne */
.brevo-popup.loading .brevo-compass-icon {
  animation: compassSpin 2s linear infinite;
}

/* Mode succès — boussole s'arrête */
.brevo-popup.success .brevo-compass-icon {
  animation: none;
}

/* Mode erreur — boussole s'arrête */
.brevo-popup.error .brevo-compass-icon {
  animation: none;
}

/* Responsive */
@media (max-width: 768px) {
  .brevo-popup-inner {
    padding: 24px 28px;
    max-width: 85%;
  }

  .brevo-popup-compass {
    margin: 0 auto 16px;
    width: 60px;
    height: 60px;
  }

  .brevo-popup-title {
    font-size: 18px;
  }

  .brevo-popup-message {
    font-size: 13px;
  }
}
