/* ============================================================
   Veradya — site vitrine (premier jet)
   Nuit / ivoire / laiton · registre « cabinet privé »
   Typo : display Didot/Bodoni (pile système) · corps Georgia ·
   repères Helvetica petites capitales. Aucune dépendance externe.
   ============================================================ */

:root {
  --nuit: #0c1422;
  --nuit-2: #101a2e;
  --nuit-carte: #16233c;
  --ivoire: #f4efe6;
  --ivoire-sourd: #c2bcae;
  --laiton: #c9a96a;
  --laiton-sombre: #a8894e;
  --encre: #1a2233;
  --display: "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --corps: Georgia, "Times New Roman", serif;
  --utilitaire: Helvetica, Arial, sans-serif;
  --lecture: 46rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--nuit);
  color: var(--ivoire);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--laiton); color: var(--nuit); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }

/* ---------- Repères typographiques ---------- */
.eyebrow {
  font-family: var(--utilitaire);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--laiton);
  margin-bottom: 1.4rem;
}
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.22; margin-bottom: 1.6rem; }
h2 em, h1 em { font-style: italic; color: var(--laiton); }
.lede { color: var(--ivoire-sourd); max-width: var(--lecture); }
.lede + .lede { margin-top: 1.1rem; }
.lede em { color: var(--ivoire); font-style: italic; }

/* ---------- En-tête ---------- */
.entete {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 5vw, 4rem);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--nuit) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 106, 0.14);
}
.marque { display: flex; align-items: center; gap: 0.7rem; }
.logo { width: 56px; height: auto; }
.marque-nom {
  font-family: var(--utilitaire); font-size: 0.82rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--ivoire);
  transform: translateY(5px);
}
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2rem); }
.nav a {
  font-family: var(--utilitaire); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--ivoire-sourd);
  transition: color 0.25s;
}
.nav a:hover { color: var(--laiton); }
.nav-cta {
  color: var(--nuit) !important; background: var(--laiton);
  padding: 0.5rem 1rem; border-radius: 3px;
}
.nav-cta:hover { background: var(--ivoire); }

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 4rem clamp(1.2rem, 5vw, 4rem) 6rem;
}
.these {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.12;
  max-width: 17ch;
}
.filet-signature {
  width: 0; height: 1px; background: var(--laiton); opacity: 0;
  margin: 2.4rem auto 2.2rem;
  animation: deployer 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s forwards;
}
@keyframes deployer { to { width: min(300px, 60vw); opacity: 1; } }
.hero-marque {
  display: flex; justify-content: center;
  margin-bottom: 2.4rem;
}
.hero-marque img { width: clamp(150px, 21vw, 210px); height: auto; }
.hero-sous { max-width: 42rem; color: var(--ivoire-sourd); }
.hero-sous strong { color: var(--ivoire); font-weight: 400; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.8rem; flex-wrap: wrap; justify-content: center; }

/* Entrée orchestrée du hero */
.apparait { opacity: 0; transform: translateY(14px); animation: poser 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.a1 { animation-delay: 0.15s; } .a2 { animation-delay: 0.0s; }
.a3 { animation-delay: 1.0s; } .a4 { animation-delay: 1.25s; }
@keyframes poser { to { opacity: 1; transform: none; } }

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--utilitaire); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 0.95rem 1.9rem; border-radius: 3px; transition: all 0.25s;
  display: inline-block; border: 1px solid transparent;
}
.btn-plein { background: var(--laiton); color: var(--nuit); border-color: var(--laiton); }
.btn-plein:hover { background: var(--ivoire); border-color: var(--ivoire); }
.btn-ligne { border-color: rgba(201, 169, 106, 0.5); color: var(--ivoire); }
.btn-ligne:hover { border-color: var(--laiton); color: var(--laiton); }

/* ---------- Sections ---------- */
.section {
  padding: clamp(5rem, 11vw, 8.5rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 62rem; margin: 0 auto;
}
.section + .section { border-top: 1px solid rgba(201, 169, 106, 0.1); }

/* ---------- Paires assistant / bras droit ---------- */
.paires { margin-top: 3rem; }
.paire {
  padding: 1.9rem 0;
  border-top: 1px solid rgba(201, 169, 106, 0.18);
}
.paire:last-child { border-bottom: 1px solid rgba(201, 169, 106, 0.18); }
.paire dt {
  font-style: italic; color: var(--ivoire-sourd);
  font-size: 1rem; margin-bottom: 0.55rem;
}
.paire dt::before { content: "— "; color: var(--laiton-sombre); }
.paire dd { max-width: var(--lecture); }

/* ---------- Les quatre couches (réutilise .paires) ---------- */
.couches .paire dt {
  font-family: var(--display); font-style: normal;
  font-size: 1.3rem; color: var(--laiton); margin-bottom: 0.5rem;
}
.couches .paire dt::before { content: none; }

/* ---------- Exergues (citations display) ---------- */
.exergue { margin: 3.4rem auto 0; max-width: 42rem; text-align: center; }
.exergue::before {
  content: ""; display: block; width: 56px; height: 1px;
  background: var(--laiton); margin: 0 auto 1.8rem;
}
.exergue p {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.55; color: var(--ivoire);
}
.exergue-courte { margin-top: 2.8rem; }

/* ---------- Deux modes ---------- */
.modes-grille {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.6rem; margin-top: 2.8rem;
}
.mode {
  border: 1px solid rgba(201, 169, 106, 0.22); border-radius: 2px;
  background: var(--nuit-2); padding: 2.1rem 2.2rem;
}
.mode h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--laiton); }
.mode-cible {
  font-family: var(--utilitaire); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ivoire-sourd);
  margin: 0.35rem 0 1.1rem;
}
.mode p { color: var(--ivoire-sourd); font-size: 0.98rem; }
.mode strong { color: var(--ivoire); font-weight: 400; }
.lede-note { margin-top: 2.2rem; font-style: italic; font-size: 0.98rem; }
.lede-note em { color: var(--laiton); }
.mode-perso { margin-top: 1.6rem; }
.mode-premium { border-color: rgba(201, 169, 106, 0.55); }
.btn-carte { margin-top: 1.4rem; }
.contact-alt { margin-top: 2.2rem; font-size: 0.95rem; color: var(--ivoire-sourd); }
.contact-alt a { color: var(--laiton); text-decoration-color: rgba(201, 169, 106, 0.4); }

/* ---------- Liste confidentialité ---------- */
.liste-confidentialite { list-style: none; margin-top: 2.6rem; max-width: 48rem; }
.liste-confidentialite li {
  padding: 1.05rem 0 1.05rem 1.6rem; position: relative;
  border-bottom: 1px solid rgba(201, 169, 106, 0.12); color: var(--ivoire-sourd);
}
.liste-confidentialite li::before {
  content: ""; position: absolute; left: 0; top: 1.75rem;
  width: 0.55rem; height: 1px; background: var(--laiton);
}
.liste-confidentialite strong { color: var(--ivoire); font-weight: 400; }

/* ---------- La fiche de poste (signature) ---------- */
.piece { text-align: left; }
.fiche {
  position: relative;
  background: var(--ivoire);
  color: var(--encre);
  max-width: 34rem;
  margin: 3.4rem auto 0;
  padding: 2.6rem 2.8rem 3rem;
  border-radius: 2px;
  transform: rotate(-0.6deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(0, 0, 0, 0.35);
}
.fiche-entete {
  display: flex; flex-direction: column; gap: 0.2rem;
  border-bottom: 1px solid rgba(26, 34, 51, 0.25);
  padding-bottom: 1.1rem; margin-bottom: 1.5rem;
}
.fiche-marque {
  font-family: var(--utilitaire); font-size: 0.66rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--laiton-sombre);
}
.fiche-titre { font-family: var(--display); font-size: 1.7rem; line-height: 1.15; }
.fiche-role {
  font-family: var(--utilitaire); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(26, 34, 51, 0.6);
}
.fiche-corps h3 {
  font-family: var(--utilitaire); font-size: 0.7rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--laiton-sombre);
  margin: 1.35rem 0 0.4rem;
}
.fiche-corps p { font-size: 0.96rem; line-height: 1.65; color: rgba(26, 34, 51, 0.88); }
.fiche-corps p:last-of-type { padding-right: 6.5rem; } /* le texte contourne le tampon */
.tampon {
  position: absolute; right: -1.1rem; bottom: -1.3rem;
  width: 128px; height: 128px; border-radius: 50%;
  border: 2px solid var(--laiton-sombre);
  display: flex; align-items: center; justify-content: center;
  text-align: center; transform: rotate(8deg);
  background: radial-gradient(circle, rgba(244, 239, 230, 0.94) 62%, rgba(201, 169, 106, 0.16));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.tampon span {
  font-family: var(--utilitaire); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--laiton-sombre); line-height: 1.5;
}
/* Le tampon s'appose quand la fiche apparaît */
.reveal.visible .tampon { animation: apposer 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.55s backwards; }
@keyframes apposer {
  from { opacity: 0; transform: rotate(8deg) scale(1.35); }
  to { opacity: 1; transform: rotate(8deg) scale(1); }
}

/* ---------- Cycle RH ---------- */
.cycle { list-style: none; margin-top: 3rem; position: relative; padding-left: 3.4rem; }
.cycle::before {
  content: ""; position: absolute; left: 1.05rem; top: 0.6rem; bottom: 0.6rem;
  width: 1px; background: rgba(201, 169, 106, 0.3);
}
.cycle li { position: relative; padding-bottom: 2.6rem; max-width: var(--lecture); }
.cycle li:last-child { padding-bottom: 0; }
.cycle-n {
  position: absolute; left: -3.4rem; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1px solid var(--laiton);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1rem; color: var(--laiton);
  background: var(--nuit);
}
.cycle h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.45rem; }
.cycle p { color: var(--ivoire-sourd); }

/* ---------- Domaines ---------- */
.liste-domaines {
  list-style: none; margin-top: 2.6rem;
  columns: 2; column-gap: 3.4rem;
}
.liste-domaines li {
  break-inside: avoid;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(201, 169, 106, 0.12);
  position: relative; color: var(--ivoire-sourd);
}
.liste-domaines li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 0.55rem; height: 1px; background: var(--laiton);
}
.liste-domaines em { color: var(--ivoire); }

/* ---------- Communauté ---------- */
.communaute { text-align: center; }
.communaute .lede { margin-left: auto; margin-right: auto; }

/* ---------- App + mockup téléphone ---------- */
.app {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.tel {
  background: var(--nuit-carte);
  border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 34px;
  padding: 0.85rem;
  max-width: 320px; margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.tel-ecran {
  background: var(--nuit-2); border-radius: 26px;
  padding: 1.1rem 0.95rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.tel-entete {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0 0.2rem 0.7rem;
  border-bottom: 1px solid rgba(201, 169, 106, 0.15);
  margin-bottom: 0.3rem;
}
.tel-nom { font-family: var(--display); font-size: 1.15rem; }
.tel-etat { font-family: var(--utilitaire); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--laiton); }
.bulle {
  font-size: 0.83rem; line-height: 1.55;
  padding: 0.65rem 0.85rem; border-radius: 14px; max-width: 88%;
}
.bulle.agent { background: var(--nuit-carte); color: var(--ivoire); border-bottom-left-radius: 4px; align-self: flex-start; }
.bulle.moi { background: var(--laiton); color: var(--nuit); border-bottom-right-radius: 4px; align-self: flex-end; }
.gate {
  border: 1px solid rgba(201, 169, 106, 0.45); border-radius: 12px;
  padding: 0.7rem 0.85rem; display: flex; flex-direction: column; gap: 0.3rem;
  background: rgba(201, 169, 106, 0.06);
}
.gate-titre { font-family: var(--utilitaire); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laiton); }
.gate-texte { font-size: 0.82rem; }
.gate-boutons { display: flex; gap: 0.5rem; margin-top: 0.35rem; }
.gate-boutons b, .gate-boutons i {
  font-family: var(--utilitaire); font-style: normal; font-weight: 400;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.42rem 0.8rem; border-radius: 7px;
}
.gate-boutons b { background: var(--laiton); color: var(--nuit); }
.gate-boutons i { border: 1px solid rgba(244, 239, 230, 0.3); color: var(--ivoire-sourd); }

/* ---------- Fondatrice ---------- */
.fondatrice-corps {
  display: grid; grid-template-columns: 240px 1fr;
  gap: clamp(1.8rem, 5vw, 3.4rem); margin-top: 2.8rem; align-items: start;
}
.portrait {
  aspect-ratio: 4 / 5; border: 1px solid rgba(201, 169, 106, 0.35);
  border-radius: 2px; background: var(--nuit-2);
  display: flex; align-items: center; justify-content: center;
}
.portrait-attente {
  font-family: var(--utilitaire); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ivoire-sourd); text-align: center; line-height: 2;
}
.fondatrice-texte p + p { margin-top: 1.1rem; }
.fondatrice-texte { color: var(--ivoire-sourd); }
.fondatrice-texte em { color: var(--ivoire); }

/* Jetons à compléter (premier jet) — repérables, discrets */
.a-completer {
  background: transparent; color: var(--laiton);
  border: 1px dashed rgba(201, 169, 106, 0.5); border-radius: 3px;
  padding: 0 0.35rem; font-size: 0.92em;
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .lede { margin-left: auto; margin-right: auto; }
.formulaire {
  max-width: 34rem; margin: 2.8rem auto 0;
  display: flex; flex-direction: column; gap: 1.1rem; text-align: left;
}
.champ-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formulaire label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-family: var(--utilitaire); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivoire-sourd);
}
.formulaire input, .formulaire textarea {
  background: var(--nuit-2); border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 3px; padding: 0.85rem 1rem;
  color: var(--ivoire); font-family: var(--corps); font-size: 1rem;
  transition: border-color 0.25s; resize: vertical;
}
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--laiton); }
.formulaire button { margin-top: 0.4rem; align-self: center; }
.form-note { font-size: 0.8rem; color: var(--ivoire-sourd); text-align: center; font-style: italic; }

/* ---------- Pied ---------- */
.pied {
  border-top: 1px solid rgba(201, 169, 106, 0.14);
  padding: 2.2rem clamp(1.2rem, 5vw, 4rem);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--utilitaire); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ivoire-sourd);
}

/* ---------- Révélations au défilement ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .filet-signature { width: min(300px, 60vw); opacity: 1; animation: none; }
  .reveal.visible .tampon { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .modes-grille { grid-template-columns: 1fr; }
  .fondatrice-corps { grid-template-columns: 1fr; }
  .portrait { max-width: 240px; }
  .liste-domaines { columns: 1; }
}
@media (max-width: 560px) {
  .nav a:not(.nav-cta) { display: none; }
  .champ-ligne { grid-template-columns: 1fr; }
  .fiche { padding: 2rem 1.5rem 2.6rem; transform: none; }
  .tampon { right: 0.4rem; bottom: -1.1rem; width: 104px; height: 104px; }
}
