/* preceptio.fr — feuille unique.
   Charte : CHARTE-APPLI-ET-SITE.md (26/09/2026). Couleurs, polices et formes
   identiques à l'appli Emile. Un seul point de rupture : 900 px. Aucune ombre,
   sauf la lueur de la bulle de pensée. Aucun appel extérieur. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Parisienne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/parisienne-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Parisienne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/parisienne-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* §0 — les couleurs communes */
  --vert: #1f7f82;
  --papier: #fbf7f0;
  --encre: #1c1a17;
  --vert-voile: #e9f3f1;
  --jaune: #f4d35e;
  --ocre: #c9955b;
  --violet: #633c66;

  /* §3 — une couleur par rubrique : le trait, et le clair */
  --vert-clair: #d9f3f1;
  --ocre-texte: #a06a2c;
  --ocre-clair: #f8e3c6;
  --violet-clair: #f0e0f3;
  /* ⛔️ Pas de bordeaux sur le site (Alexandre, 26/09) : son clair se
     confond avec celui de Sophie. Il reste la couleur de « Vos données »
     dans l'appli, pas ici. */
  --gris: #7c8a91;
  --gris-texte: #627077;
  /* Sophie : le vieux rose, en réponse au vert d'Emile (choisi par
     Alexandre le 26/09 parmi six roses, la « C »). Il reste du côté opposé
     au vert sur le cercle des couleurs.
       trait #A86C7E  (filets, fonds pleins)
       texte #9B6072  (le trait assombri, pour se lire sur le papier)
       clair #FAE0E7  (fond des boutons et des étiquettes)
       voile #FBF0F3  (grands fonds) */
  --rose: #a86c7e;
  --rose-texte: #9b6072;
  --rose-clair: #fae0e7;
  --rose-voile: #fbf0f3;

  --bloc: #fdfaf4;
  --jaune-client: #fcf0c9;
  --brique: #b43c24;

  /* §5 — formes */
  --coin-bloc: 22px;
  --coin: 14px;
  --filet: 1px;

  --largeur: 1120px;
  --gouttiere: 16px;
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 450;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--vert);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}
p {
  margin: 0 0 1em;
}

.cadre {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.lien-evitement {
  position: absolute;
  left: -9999px;
}
.lien-evitement:focus {
  left: var(--gouttiere);
  top: 8px;
  z-index: 10;
  background: var(--papier);
  padding: 8px 14px;
  border: var(--filet) solid var(--vert);
  border-radius: 999px;
}

/* ———————————————————————— En-tête */

.entete {
  border-bottom: var(--filet) solid color-mix(in srgb, var(--vert) 25%, transparent);
  background: var(--papier);
}
.entete .cadre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.marque {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--encre);
  line-height: 1.1;
}
.marque-nom {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.marque-sous {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gris-texte);
}

.nav {
  display: none;
}
.nav a {
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--vert-clair);
}

/* ———————————————————————— Boutons (§5 : pilule, 44 px mini) */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: var(--filet) solid transparent;
  transition: background-color 0.15s ease;
}
/* Le jaune : UN seul bouton par page, l'action principale (§6.1). */
.bouton-principal {
  background: var(--jaune);
  color: var(--encre);
  border-color: color-mix(in srgb, var(--encre) 20%, var(--jaune));
}
.bouton-principal:hover {
  background: color-mix(in srgb, var(--jaune) 85%, var(--encre));
}
.bouton-vert {
  background: var(--vert);
  color: #fff;
}
.bouton-vert:hover {
  background: color-mix(in srgb, var(--vert) 85%, var(--encre));
}
.bouton-discret {
  background: var(--vert-clair);
  color: var(--vert);
  border-color: var(--vert);
}
.entete .bouton {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

/* ———————————————————————— La signature (§2) */

.signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.signature img {
  width: 92px;
  height: 92px;
}
.signature-mots {
  display: inline-grid;
}
.signature-emile {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  color: var(--vert);
  font-size: 4.2rem;
  line-height: 1;
  padding-right: 0.08em;
}
/* « VOTRE SECOND » : les lettres réparties de bord à bord sous le mot
   « Emile » (§2). La grille prend la largeur du mot, la ligne n'en ajoute
   aucune ; l'espace entre les deux mots est un peu plus large. */
.signature-second {
  display: flex;
  justify-content: space-between;
  width: 0;
  min-width: 100%;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--encre);
  margin-top: 2px;
}
.signature-second .espace {
  width: 0.5em;
}

/* ———————————————————————— Ouverture */

.ouverture {
  padding: 40px 0 56px;
}
.ouverture .cadre {
  display: grid;
  gap: 32px;
}
.surtitre {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 14px;
}
.ouverture h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  margin-bottom: 20px;
}
.ouverture h1 em {
  font-style: normal;
  color: var(--vert);
}
.chapo {
  font-size: 1.2rem;
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.ouverture-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--vert-voile);
  border: var(--filet) solid var(--vert);
  border-radius: var(--coin-bloc);
  padding: 28px 20px 0;
  overflow: hidden;
}
.ouverture-image .pose {
  width: min(320px, 80%);
}

/* ———————————————————————— Sections */

.section {
  padding: 56px 0;
}
.section + .section {
  border-top: var(--filet) solid color-mix(in srgb, var(--encre) 10%, transparent);
}
.section-tete {
  max-width: 42em;
  margin-bottom: 32px;
}
.section-tete h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin-bottom: 14px;
}
.section-tete p {
  font-size: 1.1rem;
}
.etiquette {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  border: var(--filet) solid currentColor;
}

/* Chaque rubrique porte sa couleur (§3) */
.rubrique-ocre .etiquette {
  color: var(--ocre-texte);
  background: var(--ocre-clair);
}
.rubrique-ocre .bloc {
  border-color: var(--ocre);
}
.rubrique-ocre .bloc-num {
  color: var(--ocre-texte);
}
.rubrique-vert .etiquette {
  color: var(--vert);
  background: var(--vert-clair);
}
.rubrique-vert .bloc {
  border-color: var(--vert);
}
.grille {
  display: grid;
  gap: 16px;
}

.bloc {
  background: var(--bloc);
  border: var(--filet) solid var(--vert);
  border-radius: var(--coin-bloc);
  padding: 24px 22px;
}
.bloc h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.bloc p:last-child {
  margin-bottom: 0;
}
.bloc-num {
  display: block;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 12px;
}
.bloc-violet {
  border-color: var(--violet);
}
.bloc-violet h3 {
  color: var(--violet);
}
/* ———————————————————————— Sophie, la deuxième salle */

.rubrique-rose .etiquette {
  color: var(--rose-texte);
  background: var(--rose-clair);
}
.rubrique-rose .bloc {
  border-color: var(--rose);
}
.rubrique-rose .bloc h3 {
  color: var(--rose-texte);
}
.bouton-rose {
  background: var(--rose-clair);
  color: var(--rose-texte);
  border-color: var(--rose);
}
.salle-sophie .surtitre {
  color: var(--rose-texte);
}
.salle-sophie .nav a:hover {
  background: var(--rose-clair);
}
.salle-sophie .nav a[aria-current="page"] {
  color: var(--rose-texte);
}
.salle-sophie :focus-visible {
  outline-color: var(--rose-texte);
}
.salle-sophie .entete {
  border-bottom-color: color-mix(in srgb, var(--rose) 45%, transparent);
}
.sophie-phrase {
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  font-weight: 700;
  color: var(--rose-texte);
  line-height: 1.25;
  margin: 0 0 18px;
}
.contact.contact-rose {
  background: var(--rose-voile);
  border-color: var(--rose);
}
.contact-rose a {
  color: var(--rose-texte);
}
.contact-rose .bouton-principal {
  color: var(--encre);
}
.porte-sophie {
  border-color: var(--rose);
  display: grid;
  gap: 16px;
  align-items: center;
}
.porte-sophie h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 8px;
}
.porte-sophie p {
  margin: 0;
}

/* ———————————————————————— Le frigo */

.frigo {
  display: grid;
  gap: 28px;
  align-items: center;
}
.frigo img {
  width: min(280px, 70%);
  margin: 0 auto;
}
.frigo h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin-bottom: 14px;
}
.frigo p {
  font-size: 1.1rem;
  max-width: 34em;
}

/* ———————————————————————— La démonstration (§4 : les bulles) */

.demo {
  display: grid;
  gap: 32px;
  align-items: start;
}
.telephone {
  background: var(--vert-voile);
  border: var(--filet) solid var(--vert);
  border-radius: 28px;
  padding: 18px 14px 22px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.fil-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.fil-tete img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--filet) solid var(--vert);
}
.fil-nom {
  background: var(--vert-clair);
  color: var(--vert);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.bulle {
  border-radius: var(--coin-bloc);
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.bulle p {
  margin: 0 0 0.5em;
}
.bulle p:last-of-type {
  margin-bottom: 0;
}
.bulle-client {
  background: var(--jaune-client);
  margin-left: auto;
  max-width: 82%;
  border: 1.5px solid color-mix(in srgb, var(--jaune) 70%, var(--encre));
}
.bulle-emile {
  background: var(--bloc);
  border: 1.5px solid var(--vert);
  width: 88%;
}
.bulle-heure {
  display: block;
  font-size: 0.75rem;
  color: var(--gris-texte);
  text-align: right;
  margin-top: 4px;
}
.bulle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  color: var(--vert);
  font-size: 0.8rem;
  font-weight: 600;
}
.bulle-actions span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bulle-actions svg {
  width: 15px;
  height: 15px;
}
/* La bulle de pensée : deux petits ronds puis un nuage, qui flotte.
   La seule ombre du site : une lueur verte très douce. */
.pensee {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 4px 0 14px 6px;
  animation: flotte 3.2s ease-in-out infinite;
}
.pensee i {
  display: block;
  border: 1.5px solid var(--vert);
  background: var(--bloc);
  border-radius: 50%;
  box-shadow: 0 0 10px color-mix(in srgb, var(--vert) 25%, transparent);
}
.pensee i:nth-child(1) {
  width: 8px;
  height: 8px;
}
.pensee i:nth-child(2) {
  width: 13px;
  height: 13px;
  margin-bottom: 6px;
}
.pensee i:nth-child(3) {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 6px 14px;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb; /* la voix du système, jamais pour autre chose (§3) */
  margin-bottom: 14px;
}
@keyframes flotte {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.demo-texte h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin-bottom: 14px;
}
.demo-texte p {
  font-size: 1.1rem;
}
.demo-texte .fort {
  font-weight: 700;
}

/* ———————————————————————— L'application */

.appli {
  display: grid;
  gap: 16px;
}

/* ———————————————————————— Tarif */

.tarif {
  background: var(--bloc);
  border: var(--filet) solid var(--vert);
  border-radius: var(--coin-bloc);
  padding: 28px 22px;
  display: grid;
  gap: 16px;
  align-items: center;
}
.tarif h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin-bottom: 10px;
}
.tarif p {
  margin: 0;
}
.tarif-montant {
  font-size: 1.2rem;
  font-weight: 600;
}
.tarif-chiffre {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 800;
  color: var(--vert);
  line-height: 1;
}
.tarif-mention {
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin-top: 6px;
}

/* ———————————————————————— Contact */

.contact {
  background: var(--vert-voile);
  border: var(--filet) solid var(--vert);
  border-radius: var(--coin-bloc);
  padding: 32px 22px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.contact h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin-bottom: 12px;
}
.contact p {
  font-size: 1.1rem;
  max-width: 34em;
}
.contact-adresse {
  font-weight: 700;
  word-break: break-word;
}

/* ———————————————————————— Pied de page */

.pied {
  padding: 40px 0 48px;
  font-size: 0.95rem;
  color: var(--gris-texte);
}
.pied .cadre {
  display: grid;
  gap: 18px;
}
.pied-marque {
  color: var(--encre);
  font-weight: 800;
  font-size: 1.1rem;
}
.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.pied a {
  color: var(--encre);
}
.pied p {
  margin: 0;
}

/* ———————————————————————— Pages de texte (mentions, confidentialité) */

.page-texte {
  max-width: 46rem;
  margin: 0 auto;
  padding: 40px var(--gouttiere) 64px;
}
.page-texte h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 10px;
}
.page-texte h2 {
  font-size: 1.35rem;
  margin: 2.2em 0 0.6em;
  color: var(--vert);
}
.page-texte .version {
  color: var(--gris-texte);
  margin-bottom: 2em;
}
.page-texte address {
  font-style: normal;
  margin-bottom: 1em;
}
.page-texte ul {
  padding-left: 1.25rem;
  margin: 0 0 1em;
}
.page-texte li {
  margin-bottom: 0.4em;
}
.tableau {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: var(--filet) solid var(--vert);
  border-radius: var(--coin);
  background: var(--bloc);
}
.tableau table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.95rem;
}
.tableau th,
.tableau td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: var(--filet) solid color-mix(in srgb, var(--vert) 25%, transparent);
}
.tableau tr:last-child td {
  border-bottom: 0;
}
.tableau th {
  background: var(--vert-clair);
  color: var(--vert);
}
.retour {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
}

/* ———————————————————————— Le seul point de rupture : 900 px */

@media (min-width: 900px) {
  :root {
    --gouttiere: 32px;
  }
  .nav {
    display: flex;
    gap: 4px;
  }
  .ouverture {
    padding: 72px 0 88px;
  }
  .ouverture .cadre {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
  }
  .signature img {
    width: 110px;
    height: 110px;
  }
  .signature-emile {
    font-size: 5rem;
  }
  .section {
    padding: 88px 0;
  }
  .grille-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grille-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .frigo {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
  }
  .demo {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .appli {
    grid-template-columns: repeat(3, 1fr);
  }
  .sophie-ouverture .cadre {
    grid-template-columns: minmax(0, 46rem);
  }
  .sophie-ouverture {
    padding-bottom: 56px;
  }
  .porte-sophie {
    grid-template-columns: 1.6fr auto;
    padding: 36px 48px;
  }
  .tarif {
    grid-template-columns: 1.4fr 1fr;
    padding: 40px 48px;
  }
  .tarif-prix {
    text-align: right;
  }
  .contact {
    grid-template-columns: 1.4fr 1fr;
    padding: 48px;
  }
  .contact .actions {
    justify-content: flex-end;
    margin-top: 0;
  }
  .pied .cadre {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

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

.section-suite {
  margin: 24px 0 0;
}

/* le bandeau porte la marque de la maison : l'arbre Préceptio et le nom du site (29/09) */
.marque.marque-preceptio{display:flex;flex-direction:row;align-items:center;gap:.55rem;text-decoration:none;color:#1C1A17}
.marque-preceptio img{height:40px;width:auto}
.marque-preceptio .marque-site{font:800 1.08rem/1 Manrope,system-ui,sans-serif;letter-spacing:-.01em;color:#1C1A17;white-space:nowrap}
@media (max-width:900px){.marque-preceptio img{height:34px}.marque-preceptio .marque-site{font-size:1rem}}

/* ——— la signature PRÉCEPTIO en Cinzel (30/09), comme le logo ——— */
@font-face{font-family:"Cinzel";font-display:swap;font-weight:400 900;src:url(/fonts/cinzel.woff2) format("woff2")}
.marque-preceptio{--arbre:30px}
.marque-preceptio img{height:var(--arbre)!important;width:auto}
.marque-preceptio .marque-site{font-family:"Cinzel",serif!important;font-weight:700!important;text-transform:uppercase;
  letter-spacing:.02em;font-size:calc(var(--arbre) / .7)!important;line-height:1!important;color:#1C1A17}
@media (max-width:900px){.marque-preceptio .marque-site{font-size:21px!important}}
