/* Aumana Studio — feuille de style unique, mobile d'abord */
:root {
  --papier: #F3EFE6;
  --papier-fonce: #E8E2D5;
  --encre: #16181F;
  --cuivre: #A8461F;
  --gris: #5E5A52;
  --fond: var(--papier);
  --surface: var(--papier-fonce);
  --texte: var(--encre);
  --texte-doux: var(--gris);
  --trait: rgba(22, 24, 31, .14);
  --titres: "Fraunces", Georgia, serif;
  --corps: "DM Sans", system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}

/* Mode sombre : encre en fond, cuivre clair */
@media (prefers-color-scheme: dark) {
  :root {
    --cuivre: #E07A4B;
    --fond: var(--encre);
    --surface: #1F222B;
    --texte: var(--papier);
    --texte-doux: #B7B1A5;
    --trait: rgba(243, 239, 230, .16);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1.0625rem/1.6 var(--corps);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--titres); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 7vw, 4.2rem); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--cuivre); }
:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--texte); color: var(--fond); padding: .5em 1em; z-index: 10; }
.skip:focus { top: 16px; }

/* Gabarit commun : 16 px de marge sur mobile */
.entete, main > section, .pied {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.marque { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font-family: var(--titres); font-size: 1.2rem; font-weight: 600; }
.marque:hover { color: inherit; }
.logo { width: 36px; height: 36px; color: var(--texte); flex: none; }
.lien-contact { font-weight: 500; text-decoration: none; padding: .4em .2em; }
.lien-contact:hover { text-decoration: underline; }

/* Accroche */
.accroche { padding-block: 56px 72px; }
.accroche h1 { max-width: 14ch; }
.chapeau { font-size: 1.2rem; color: var(--texte-doux); max-width: 36em; margin-bottom: 1.6em; }
.bouton {
  display: inline-block;
  background: var(--cuivre);
  color: var(--papier);
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}
.bouton:hover { color: var(--papier); filter: brightness(1.08); }
@media (prefers-color-scheme: dark) {
  .bouton, .bouton:hover { color: var(--encre); }
}

/* Blocs */
.bloc { padding-block: 56px; border-top: 1px solid var(--trait); }

/* Trois temps */
.temps { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 32px; }
.temps li { position: relative; padding-top: 64px; }
.temps li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 23px;
  border-top: 1px solid var(--trait);
}
.num {
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fond); border: 1.5px solid var(--texte);
  font-family: var(--titres); font-size: 1.25rem;
}
.temps li:nth-child(2) .num { background: var(--cuivre); border-color: var(--cuivre); color: var(--papier); }
.temps p { color: var(--texte-doux); }

/* Produits */
.cartes { display: grid; gap: 16px; margin-top: 1.5em; }
.carte { background: var(--surface); border-radius: 16px; padding: 28px 24px; }
.carte h3 { font-size: 1.8rem; }
.carte-vide { background: transparent; border: 1.5px dashed var(--trait); }
.carte-vide h3 { font-size: 1.3rem; }
.carte-vide p:not(.statut) { color: var(--texte-doux); }
.statut {
  display: inline-block; font-size: .85rem; font-weight: 500;
  color: var(--cuivre); letter-spacing: .02em; margin-bottom: .8em;
}
.lien { font-weight: 500; }

/* Studio */
.studio p { font-size: 1.15rem; max-width: 36em; }
.studio p + p { color: var(--texte-doux); }

/* Pied */
.pied {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  padding-block: 32px 40px; border-top: 1px solid var(--trait);
  font-size: .95rem; color: var(--texte-doux);
}
.pied p { margin: 0; }

/* Page secondaire (mentions légales) */
.page { padding-block: 40px 64px; max-width: 760px; }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }
.todo { color: var(--cuivre); font-weight: 500; }

/* Écrans larges */
@media (min-width: 760px) {
  .entete, main > section, .pied { padding-inline: 40px; }
  .accroche { padding-block: 96px 120px; }
  .temps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .bloc { padding-block: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Contact */
.contact .intro { color: var(--texte-doux); max-width: 36em; }
.formulaire { display: grid; gap: 18px; max-width: 640px; margin-top: 1.5em; }
.sujets { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sujets legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.sujets label { position: relative; }
.sujets input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sujets span {
  display: inline-block; padding: .5em 1em; border-radius: 999px;
  border: 1.5px solid var(--trait); font-weight: 500; font-size: .95rem;
}
.sujets input:checked + span { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.sujets input:focus-visible + span { outline: 3px solid var(--cuivre); outline-offset: 2px; }
.champs { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; font-weight: 500; }
.champ input, .champ textarea {
  font: inherit; font-weight: 400; color: var(--texte); background: var(--surface);
  border: 1.5px solid transparent; border-radius: 12px; padding: .75em .9em; width: 100%;
}
.champ textarea { resize: vertical; min-height: 8em; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--cuivre); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { border: 0; cursor: pointer; font: inherit; font-weight: 500; justify-self: start; }
.formulaire .bouton:disabled { opacity: .6; cursor: progress; }
.etat { margin: 0; min-height: 1.6em; font-weight: 500; }
.envoye .etat { color: var(--cuivre); }
.note { margin: 0; font-size: .9rem; color: var(--texte-doux); }
@media (min-width: 760px) { .champs { grid-template-columns: 1fr 1fr; } }

/* Site conseil : ajouts propres à aumana-consulting.com */
.logo { stroke-linejoin: round; }
.dispo {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .95rem; font-weight: 500; color: var(--texte-doux);
  border: 1.5px solid var(--trait); border-radius: 999px; padding: .35em .9em; margin-bottom: 1.4em;
}
.pastille { width: .55em; height: .55em; border-radius: 50%; background: var(--cuivre); flex: none; }
.accroche h1 { max-width: 16ch; }
.carte-forte { background: var(--texte); color: var(--fond); }
.carte-forte .statut { color: #E07A4B; }
@media (prefers-color-scheme: dark) { .carte-forte .statut { color: #A8461F; } }
.preuve p, .parcours .jalons { font-size: 1.15rem; max-width: 36em; }
.jalons { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: .6em; }
.jalons li { padding-left: 1.4em; position: relative; color: var(--texte-doux); }
.jalons li::before { content: ""; position: absolute; left: 0; top: .65em; width: .5em; height: .5em; border-radius: 50%; background: var(--cuivre); }
.jalons strong { color: var(--texte); font-weight: 500; }
.etat a { color: var(--cuivre); }

/* Mention « fait par des agents IA », en bas de page */
.credit { flex-basis: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--trait); font-size: .9rem; }
.credit a { color: var(--cuivre); }
.etincelle { color: var(--cuivre); }
