@font-face {
  font-family: "IBM Plex Sans Medium";
  src: url("fonts/ibm-plex-sans-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
/* arda.website — mêmes couleurs que l'application : fond clair, panneaux blancs qui flottent,
   coins ronds, jade pour les boutons, dégradé irisé du logo en touches seulement. */
:root {
  --paper: #f3f3f6;
  --panel: #ffffff;
  --hollow: #ececf1;
  --line: #e3e3ea;
  --ink: #1b1b22;
  --muted: #5f5f6c;
  --teal: #0e7c7b;
  --lilac: #6a52d9;
  --jade: #2fd4c0;
  --jade-2: #25c2af;
  --on-jade: #062b2a;
  --jade-soft: #d5f6f2;
  --danger: #c2372d;
  --iris: linear-gradient(120deg, #2fd4c0 0%, #c7b5ff 42%, #ffb3d1 72%, #fff1a8 100%);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-panel: 22px;
  --r-card: 14px;
  --r-ctl: 12px;
  --float: 0 1px 2px rgba(22, 22, 40, .06), 0 6px 20px rgba(22, 22, 40, .08);
  --lift: 0 2px 6px rgba(22, 22, 40, .08), 0 16px 40px rgba(22, 22, 40, .12);
  --sym-dark: block;
  --sym-light: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121214;
    --panel: #1c1c20;
    --hollow: #26262c;
    --line: #2e2e35;
    --ink: #f1f1f4;
    --muted: #a3a3ae;
    --teal: #4fe0cf;
    --lilac: #b5a3ff;
    --jade-soft: #123b38;
    --float: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
    --lift: 0 2px 6px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45);
    --sym-dark: none;
    --sym-light: block;
    color-scheme: dark;
  }
  .mot { filter: invert(1); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-underline-offset: 3px; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 720; }
h3 { font-size: 19px; font-weight: 680; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Barre du haut : une pastille flottante, comme sur le mur */
.top {
  position: sticky; top: 12px; z-index: 10;
  margin: 12px auto 0; max-width: 1120px; padding: 0 16px;
}
@media (min-width: 720px) { .top { padding: 0 32px; } }
.top-in {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 16px; box-shadow: var(--float);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .sym { width: 30px; height: 30px; }
.brand .sym.d { display: var(--sym-dark); }
.brand .sym.l { display: var(--sym-light); }
.brand .mot { height: 15px; width: auto; }
.tagline {
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap;
  padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line); line-height: 18px;
}
.top nav { display: none; gap: 4px; }
.brand { min-width: 0; }
.cta-top { white-space: nowrap; flex: none; }
.cta-top .sm { display: none; }
@media (max-width: 440px) {
  .cta-top .lg { display: none; }
  .cta-top .sm { display: inline; }
  .tagline { font-size: 13px; padding-left: 8px; }
  .brand { gap: 7px; }
}
.top nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.top nav a:hover { background: var(--hollow); color: var(--ink); }
@media (min-width: 820px) { .top nav { display: flex; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px; min-height: 44px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--jade); color: var(--on-jade);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--jade-2); }
.btn:active { transform: translateY(1px); }
.btn.soft { background: var(--jade-soft); color: var(--ink); }
.btn.small { padding: 9px 16px; min-height: 38px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lilac); outline-offset: 2px;
}

/* Ouverture */
.hero { padding-top: 56px; padding-bottom: 40px; text-align: center; }
.hero h1 { max-width: 17ch; margin: 0 auto .35em; }
/* Le logo animé au-dessus du titre : le disque se déplie, l'étoile se lève, le reflet passe, le mot monte ;
   ensuite l'étoile scintille doucement et le reflet irisé glisse en continu. */
.hero-logo { display: flex; flex-direction: column; align-items: center; margin: 0 auto 30px; }
.hero-logo .arda-mark { width: clamp(120px, 24vw, 168px); height: auto; overflow: visible; }
.hero-tagline {
  margin: 14px 0 0; font-family: "IBM Plex Sans Medium", var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: arda-word .6s cubic-bezier(.2, .8, .3, 1) 1.45s both;
}
.arda-mark .a-word { fill: var(--ink); }
.arda-mark .a-disc, .arda-mark .a-star, .arda-mark .a-glow, .arda-mark .a-word path { transform-box: view-box; }
.arda-mark .a-disc { transform-origin: 50px 44px; animation: arda-unfold .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.arda-mark .a-star, .arda-mark .a-glow { transform-origin: 50px 18px; }
.arda-mark .a-star { animation: arda-rise .85s cubic-bezier(.2, .9, .25, 1.15) .35s both, arda-twinkle 5s cubic-bezier(.45, 0, .55, 1) 2.5s infinite; }
.arda-mark .a-glow { opacity: 0; animation: arda-flash .7s ease-out 1.05s both; }
.arda-mark .a-word path { animation: arda-word .45s cubic-bezier(.2, .8, .3, 1) both; }
.arda-mark .a-word path:nth-child(1) { animation-delay: 1s; }
.arda-mark .a-word path:nth-child(2) { animation-delay: 1.07s; }
.arda-mark .a-word path:nth-child(3) { animation-delay: 1.14s; }
.arda-mark .a-word path:nth-child(4) { animation-delay: 1.21s; }
@keyframes arda-unfold { from { transform: scale(.35, 0); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes arda-rise { from { transform: translateY(26px) scale(.15) rotate(-135deg); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(-2px) scale(1.18) rotate(8deg); } to { transform: none; opacity: 1; } }
@keyframes arda-flash { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: .85; } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes arda-word { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
/* Scintillement : un quart de tour toutes les quelques secondes, au repos le reste du temps */
@keyframes arda-twinkle { 0%, 70% { transform: rotate(0) scale(1); } 85% { transform: rotate(45deg) scale(.72); } 100% { transform: rotate(90deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .arda-mark *, .hero-tagline { animation: none !important; opacity: 1; }
  .arda-mark .a-glow { opacity: 0 !important; }
}
.iris {
  background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: saturate(1.15) brightness(.82);
}
@media (prefers-color-scheme: dark) { .iris { filter: none; } }
/* Le métier qui change dans le titre : une ligne à lui, hauteur fixe, le mot glisse vers le haut */
.metiers { display: block; height: 1.22em; overflow: hidden; padding-bottom: .04em; }
.metier { display: inline-block; white-space: nowrap; transition: transform .38s cubic-bezier(.3, .7, .2, 1), opacity .38s; }
.metier.out { transform: translateY(-70%); opacity: 0; }
.metier.below { transform: translateY(70%); opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .metier { transition: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 auto 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Sections */
section { padding: 72px 0 0; }
.head { max-width: 42em; margin-bottom: 30px; }
.head p { color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid.four { grid-template-columns: repeat(4, 1fr); } .grid.two-wide { grid-template-columns: 1.1fr 1fr; } }
@media (min-width: 680px) and (max-width: 979px) { .grid.four { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 22px; box-shadow: var(--float);
}
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin: 4px 0; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--jade-soft); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 14px;
}
.ico svg { width: 24px; height: 24px; }

.places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--hollow); font-size: 15px; font-weight: 600;
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--jade); }

.price { font-size: 46px; font-weight: 760; letter-spacing: -.02em; line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062b2a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Formulaire */
form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
input[type="email"], select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 16px var(--sans);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { border-radius: var(--r-ctl); padding: 12px 14px; font-size: 15px; display: none; }
.msg.ok { display: block; background: var(--jade-soft); color: var(--ink); }
.msg.err { display: block; background: #fdeceb; color: #7a1d16; }

/* Questions */
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 18px;
}
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 16px; padding-bottom: 6px; }

footer { padding: 72px 0 40px; color: var(--muted); font-size: 14px; }
.foot { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.foot a { color: var(--muted); }
.foot .me { margin-right: auto; }

/* Pages de texte (confidentialité, conditions, mentions) */
.doc { max-width: 760px; margin: 40px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px 22px; box-shadow: var(--float); }
@media (min-width: 720px) { .doc { padding: 44px 52px; } }
.doc h1 { font-size: clamp(30px, 4.6vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 1.6em; }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc .date { color: var(--muted); font-size: 14px; }
.todo { background: #fff4c2; color: #4a3a00; border-radius: 6px; padding: 1px 6px; font-weight: 600; }

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