/* yedirhub.com, page d'attente : creme editoriale, la photo de Ruben en piece maitresse.
   Palette tiree de la photo : fond camel (#d9a26d), costume creme, chapeau bleu nuit. */
:root {
  --creme: #f6efe6; --creme-2: #efe4d6; --encre: #14202a; --encre-2: #4a5560; --nuit: #1d2b4f;
  --camel: #d9a26d; --orange: #ff5913; --orange-light: #ff9327;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100dvh; background: var(--creme); color: var(--encre); font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
/* grain papier, fixe et sans clic */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 5; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.scene { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100dvh; }

/* ---------- le texte ---------- */
.texte { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(28px, 4vw, 56px) clamp(24px, 6vw, 96px); }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; width: max-content; }
.marque svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; }
.corps { max-width: 580px; }
.sourcil { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 32, 42, .06);
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-2); }
.sourcil i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 89, 19, .5); animation: pouls 2.4s var(--ease) infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(255, 89, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 89, 19, 0); } }
h1 { margin: 22px 0 0; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
h1 em { display: block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--nuit); }
.chapo { margin: 22px 0 0; max-width: 480px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--encre-2); }

/* ---------- le formulaire, en double cadre ---------- */
.coque { margin-top: 36px; padding: 6px; border-radius: 28px; background: rgba(20, 32, 42, .04); box-shadow: inset 0 0 0 1px rgba(20, 32, 42, .06); }
.coeur { padding: 18px; border-radius: 22px; background: #fffaf4; box-shadow: 0 1px 1px rgba(255, 255, 255, .9) inset, 0 24px 48px -28px rgba(20, 32, 42, .28); }
.form { display: grid; gap: 12px; }
.form[hidden] { display: none; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ span { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--encre-2); }
.champ textarea, .champ input { width: 100%; border: 1px solid rgba(20, 32, 42, .1); border-radius: 14px; background: var(--creme); color: var(--encre);
  font: inherit; font-size: 15px; line-height: 1.45; padding: 12px 14px; resize: none; outline: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.champ textarea { height: 76px; }
.champ ::placeholder { color: #9a9288; }
.champ textarea:focus, .champ input:focus { border-color: var(--orange-light); box-shadow: 0 0 0 4px rgba(255, 147, 39, .18); }
.ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.envoyer { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 6px 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--encre); color: #fff; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .5s var(--ease), background .5s var(--ease); }
.envoyer i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); transition: transform .5s var(--ease); }
.envoyer svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.envoyer:hover { background: #0b141b; }
.envoyer:hover i { transform: translate(2px, -1px) scale(1.05); }
.envoyer:active { transform: scale(.98); }
.merci { margin: 0; padding: 16px; border-radius: 14px; background: rgba(255, 147, 39, .14); color: #7a3a0c; font-weight: 600; }
.merci[hidden] { display: none; }

.pied { display: flex; gap: 20px; font-size: 12px; color: #8a8278; }

/* ---------- la photo ---------- */
.portrait { margin: 0; padding: clamp(12px, 1.6vw, 20px); padding-left: 0; }
.cadre { position: relative; height: 100%; min-height: 560px; border-radius: 32px; overflow: hidden; background: var(--camel);
  box-shadow: 0 0 0 1px rgba(20, 32, 42, .06), 0 40px 80px -40px rgba(20, 32, 42, .45); }
.cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(246, 239, 230, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; color: var(--encre-2); }
figcaption b { display: grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--nuit); color: #fff; font-weight: 700; }

/* ---------- entree : montee lente, flou qui se dissipe ---------- */
.marque, .corps > *, .pied, .cadre { animation: monte 1s var(--ease) both; }
.corps > :nth-child(1) { animation-delay: .08s; } .corps > :nth-child(2) { animation-delay: .16s; }
.corps > :nth-child(3) { animation-delay: .24s; } .corps > :nth-child(4) { animation-delay: .34s; }
.cadre { animation-name: apparait; animation-duration: 1.3s; }
@keyframes monte { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
@keyframes apparait { from { opacity: 0; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- tablette et mobile : la photo passe en haut ---------- */
@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; }
  .portrait { order: -1; padding: 12px 12px 0; }
  .cadre { min-height: 0; height: 58dvh; border-radius: 26px; }
  .texte { padding: 28px 20px 32px; gap: 36px; }
  .marque { display: none; }
  figcaption { left: 14px; bottom: 14px; }
}
@media (max-width: 520px) {
  .ligne { grid-template-columns: 1fr; }
  .envoyer { justify-content: space-between; width: 100%; }
  .cadre { height: 52dvh; }
}
