/* Page de liens Instagram de Jessica : trois spheres, trois couleurs */
:root {
  --nuit: #1a1226;
  --prune: #372a43;
  --prune-nuit: #241b2c;
  --violet: #6b60cd;
  --violet-fonce: #4a3fa3;
  --lilas: #c8bdf6;
  --emeraude: #1f8f5f;
  --jade: #3fae7f;
  --foret: #0b2e22;
  --or: #e2b04a;
  --or-pale: #f6e3b4;
  --creme: #faf6ee;
  --rose: #ecc9cc;
  --mauve: #a3778e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--creme);
  min-height: 100vh;
  background:
    radial-gradient(520px 380px at 90% 4%, rgba(107,96,205,.55), transparent 70%),
    radial-gradient(520px 420px at 6% 30%, rgba(31,143,95,.38), transparent 70%),
    radial-gradient(560px 460px at 95% 62%, rgba(163,119,142,.35), transparent 70%),
    linear-gradient(180deg, #1a1226 0%, #241b2c 55%, #1a1226 100%);
  background-attachment: fixed;
}
.page { max-width: 520px; margin: 0 auto; padding: 28px 18px 40px; }

/* En-tete */
.tete { text-align: center; margin-bottom: 26px; }
.photo {
  width: 148px; height: 148px; margin: 0 auto 14px; border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 200deg, var(--emeraude), var(--or), var(--violet), var(--mauve), var(--emeraude));
  box-shadow: 0 10px 34px rgba(0,0,0,.45);
}
.photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; display: block; border: 3px solid var(--nuit); }
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 30px; letter-spacing: .01em; }
.sous { margin-top: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--or-pale); }
.accroche { margin: 12px auto 0; max-width: 360px; font-size: 15px; line-height: 1.45; color: #e6dff0; }

/* Spheres */
.sphere {
  --c1: var(--violet); --c2: var(--violet-fonce); --accent: var(--lilas);
  position: relative;
  margin-bottom: 16px;
  padding: 16px 14px 14px;
  border-radius: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 34%, transparent), color-mix(in srgb, var(--c2) 52%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
}
.sphere h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 21px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff;
}
.pastille { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex: none; }
.num   { --c1: #1f8f5f; --c2: #0b2e22; --accent: #e2b04a; }
.ff    { --c1: #6b60cd; --c2: #372c6e; --accent: #c8bdf6; }
.compta{ --c1: #765a87; --c2: #241b2c; --accent: #ecc9cc; }
.consult{ --c1: #b8734e; --c2: #4a3858; --accent: #f6e3b4; }
.venir { --c1: #3b3350; --c2: #241b2c; --accent: #a3778e; }
.connect{ --c1: #a3778e; --c2: #372a43; --accent: #e2b04a; }

/* Liens */
.lien {
  display: block; text-decoration: none; color: #fff;
  padding: 13px 16px; margin-top: 9px; border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .15s, background .15s;
}
.lien:first-of-type { margin-top: 0; }
.lien:hover, .lien:active { transform: translateY(-2px); background: rgba(255,255,255,.22); }
.lien .t { display: block; font-weight: 600; font-size: 16px; }
.lien .d { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.78); }
.lien.grand { background: linear-gradient(90deg, var(--or), #cf9a4c); border: 0; color: #2a1c06; }
.lien.grand .d { color: rgba(42,28,6,.75); }

/* Rapports */
.rapports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 11px; }
.rapport {
  display: flex; flex-direction: column; text-decoration: none; color: #fff;
  border-radius: 14px; overflow: hidden;
  background: rgba(11,46,34,.7); border: 1px solid rgba(226,176,74,.5);
  transition: transform .15s;
}
.rapport:hover, .rapport:active { transform: translateY(-3px); }
.rapport img { width: 100%; aspect-ratio: 1200/840; object-fit: cover; display: block; }
.rapport .t { padding: 8px 8px 0; font-weight: 600; font-size: 13px; line-height: 1.2; }
.rapport .d { padding: 3px 8px 10px; font-size: 11.5px; line-height: 1.3; color: var(--or-pale); }

/* A venir */
.bientot { list-style: none; }
.bientot li {
  padding: 11px 14px; margin-top: 8px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.3);
  font-size: 15px; color: #e6dff0;
}
.bientot li:first-child { margin-top: 0; }
.bientot li::after { content: "bientôt"; float: right; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--or); padding-top: 2px; }

.pied { text-align: center; margin-top: 22px; font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 400px) {
  .rapport .t { font-size: 12px; }
  .rapport .d { font-size: 10.5px; }
}

/* A venir : categories */
.cat { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--or-pale); margin: 14px 0 8px; }
.cat:first-of-type { margin-top: 0; }

/* Magie */
.ciel { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.page { position: relative; z-index: 1; }
.etoile { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(246,227,180,.8); animation: scintille var(--d,4s) ease-in-out infinite; animation-delay: var(--w,0s); opacity: 0; }
@keyframes scintille { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: var(--o,.9); transform: scale(1); } }
.flotte { position: absolute; bottom: -40px; font-family: "Fraunces", Georgia, serif; color: var(--c, #e2b04a); opacity: 0; animation: monte var(--d,18s) linear infinite; animation-delay: var(--w,0s); text-shadow: 0 0 12px currentColor; }
@keyframes monte { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .5; } 85% { opacity: .35; } 100% { transform: translateY(-115vh) rotate(25deg); opacity: 0; } }
.photo { animation: respire 5s ease-in-out infinite; }
@keyframes respire { 0%,100% { box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 0 rgba(226,176,74,0); } 50% { box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 34px rgba(226,176,74,.55); } }
.photo { background-size: 100% 100%; }
.lien.grand { background-size: 200% 100%; background-image: linear-gradient(110deg, #e2b04a 0%, #f6e3b4 45%, #cf9a4c 60%, #e2b04a 100%); animation: luit 6s ease-in-out infinite; }
@keyframes luit { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.sphere { animation: apparait .7s ease both; }
.sphere:nth-of-type(2) { animation-delay: .1s; } .sphere:nth-of-type(3) { animation-delay: .2s; }
.sphere:nth-of-type(4) { animation-delay: .3s; } .sphere:nth-of-type(5) { animation-delay: .4s; }
@keyframes apparait { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pastille { animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .ciel, .sphere, .photo, .pastille, .lien.grand { animation: none !important; } .ciel { display: none; } }

/* Infolettre (formulaire Flodesk integre, petit, en bas) */
.infolettre { margin: 6px 0 10px; padding: 16px 14px; border-radius: 18px; text-align: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); }
.infolettre h2 { font-family: "Fraunces", Georgia, serif; font-size: 17px; margin-bottom: 4px; }
.infolettre p { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 10px; }

/* Formulaire Flodesk : habille pour suivre la page (titre et texte sont deja dans notre section) */
.infolettre [data-ff-el="root"],
.infolettre [class*="__container"],
.infolettre [class*="__form"],
.infolettre [class*="__content"] { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; min-height: 0 !important; }
.infolettre [class*="__title"],
.infolettre [class*="__subtitle"] { display: none !important; }
.infolettre [class*="__fields"] { display: flex !important; flex-direction: column; gap: 10px; }
.infolettre [class*="__field"] { margin: 0 !important; width: 100% !important; }
.infolettre [class*="__control"] {
  width: 100% !important; height: 46px !important; padding: 0 16px !important;
  background: rgba(255,255,255,.12) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.28) !important; border-radius: 14px !important;
  font-family: "Inter", system-ui, sans-serif !important; font-size: 15px !important;
}
.infolettre [class*="__control"]:focus { border-color: var(--or) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(226,176,74,.25) !important; }
.infolettre [class*="__label"], .infolettre [class*="__label"] * { color: rgba(255,255,255,.7) !important; font-family: "Inter", system-ui, sans-serif !important; font-size: 15px !important; }
.infolettre [class*="__button"] {
  display: block !important; width: 100% !important; margin: 12px 0 0 !important; height: 48px !important;
  border: 0 !important; border-radius: 999px !important; cursor: pointer;
  background: linear-gradient(90deg, #e2b04a, #cf9a4c) !important; color: #2a1c06 !important;
  font-family: "Inter", system-ui, sans-serif !important; font-weight: 600 !important; font-size: 16px !important;
}
.infolettre [class*="__button"] * { color: #2a1c06 !important; font-family: inherit !important; font-weight: 600 !important; font-size: 16px !important; }
.infolettre [class*="__button"]:hover { filter: brightness(1.08); }
