/* =====================================================================
   Sey : feuille de style du site sey-ia.fr

   Concept : « le service de nuit ».
   Le bleu nuit porte les moments où Sey travaille pour le commerçant
   (accueil, appel à l'action, pied de page). L'ivoire porte la lecture.
   L'or n'apparaît que là où quelque chose s'est passé : l'heure d'un
   appel, la ligne du logo, le bouton principal, le focus clavier.

   Couleurs : nuit #0f1a2b, ivoire #f7f5f0, or #c9a86a,
              encre #18202e, ardoise #555d6c, sable #bab5a9
   Polices  : Cormorant Garamond (titres, voix de l'assistant),
              Jost (texte, interface, chiffres)
   ===================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italique.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Couleurs */
  --nuit: #0f1a2b;
  --nuit-haute: #16253c;
  --nuit-basse: #0a1220;
  --ivoire: #f7f5f0;
  --parchemin: #efebe2;
  --papier: #fdfcf9;
  --or: #c9a86a;
  --or-clair: #dbbf88;
  --or-fonce: #7a5f28;
  --encre: #18202e;
  --ardoise: #555d6c;
  --sable: #bab5a9;
  --lin: #e2dccf;
  --texte-nuit: #f2eee5;
  --texte-nuit-doux: #cdc7bb;
  --trait-nuit: rgba(201, 168, 106, 0.24);
  --erreur: #9a2b2b;

  /* Polices */
  --f-titre: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
  --f-texte: "Jost", "Futura", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  /* Échelle typographique */
  --fs-legende: 0.8125rem;
  --fs-petit: 0.9375rem;
  --fs-texte: 1.0625rem;
  --fs-chapeau: clamp(1.125rem, 1.04rem + 0.38vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.27rem + 0.45vw, 1.625rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.1vw, 3.125rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4vw, 4.75rem);

  /* Mise en page */
  --largeur: 72rem;
  --gouttiere: 1.25rem;
  --rayon: 3px;
  --bande-espace: clamp(4rem, 2.8rem + 4.5vw, 7rem);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* reflet doré, au lieu du bleu par défaut, quand on touche un lien sur téléphone */
  -webkit-tap-highlight-color: rgba(201, 168, 106, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: var(--fs-texte);
  font-weight: 400;
  line-height: 1.65;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bande peinte sous la barre système des téléphones à encoche */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--nuit);
  z-index: 40;
}

[hidden] {
  display: none !important;
}

/* « e-mail » ne se coupe pas en fin de ligne */
.insecable {
  white-space: nowrap;
}

#contenu:focus {
  outline: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-titre);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
}

h3,
h4 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--or);
  color: var(--nuit);
}

:focus-visible {
  outline: 2px solid var(--or-fonce);
  outline-offset: 3px;
}

.bande--nuit :focus-visible,
.entete :focus-visible,
.pied :focus-visible {
  outline-color: var(--or);
}

[id] {
  scroll-margin-top: 6.5rem;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 60;
  padding: 0.7rem 1rem;
  background: var(--or);
  color: var(--nuit);
  border-radius: var(--rayon);
  font-weight: 500;
  text-decoration: none;
}

.lien-evitement:focus {
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
}

/* ---------- Mise en page ---------- */

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}

.bande {
  padding-block: var(--bande-espace);
}

.bande--nuit {
  background: var(--nuit);
  color: var(--texte-nuit);
}

.bande--parchemin {
  background: var(--parchemin);
}

.pile > * + * {
  margin-top: 1.25rem;
}

.entete-section {
  display: grid;
  gap: 1.1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.deux-colonnes {
  display: grid;
  gap: clamp(2.5rem, 1.8rem + 3vw, 5rem);
}

@media (min-width: 900px) {
  .deux-colonnes {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .entete-colonne {
    position: sticky;
    top: 8rem;
  }
}

/* ---------- Textes courants ---------- */

.chapeau {
  max-width: 38rem;
  font-size: var(--fs-chapeau);
  line-height: 1.6;
}

.bande--nuit .chapeau {
  color: var(--texte-nuit-doux);
}

.intro {
  max-width: 40rem;
  color: var(--ardoise);
  font-size: var(--fs-chapeau);
  line-height: 1.6;
}

.bande--nuit .intro {
  color: var(--texte-nuit-doux);
}

.note {
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.bande--nuit .note {
  color: var(--sable);
}

.lien {
  color: var(--or-fonce);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(122, 95, 40, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.lien:hover {
  text-decoration-color: currentColor;
}

.bande--nuit .lien {
  color: var(--or);
  text-decoration-color: rgba(201, 168, 106, 0.45);
}

.bande--nuit .lien:hover {
  text-decoration-color: currentColor;
}

/* ---------- Boutons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.125rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--rayon);
  font-family: var(--f-texte);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bouton--or {
  background: var(--or);
  color: var(--nuit);
}

.bouton--or:hover {
  background: var(--or-clair);
}

.bouton--nuit {
  background: var(--nuit);
  color: var(--texte-nuit);
}

.bouton--nuit:hover {
  background: #1c2d48;
}

.bouton--contour {
  background: transparent;
  color: var(--texte-nuit);
  border-color: rgba(242, 238, 229, 0.32);
}

.bouton--contour:hover {
  border-color: var(--or);
}

.bouton--petit {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: var(--fs-petit);
}

.bouton[disabled] {
  opacity: 0.6;
  cursor: progress;
}

@media (max-width: 520px) {
  .actions .bouton {
    flex: 1 1 100%;
  }
}

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

.entete {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--nuit);
  color: var(--texte-nuit);
  border-bottom: 1px solid var(--trait-nuit);
}

.entete-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  padding-block: 0.3rem;
  color: var(--texte-nuit);
  line-height: 1;
  text-decoration: none;
}

.logo-mot {
  position: relative;
  margin-right: -0.36em;
  padding-bottom: 0.42rem;
  font-family: var(--f-titre);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  line-height: 0.8;
}

.logo-mot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.36em;
  bottom: 0;
  height: 1px;
  background: var(--or);
}

.logo-sous {
  margin-right: -0.24em;
  color: var(--sable);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-liste {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.4rem + 1.6vw, 2.25rem);
  list-style: none;
}

.nav-liste a:not(.bouton) {
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--sable);
  font-size: var(--fs-petit);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-liste a:not(.bouton):hover {
  color: var(--texte-nuit);
}

.nav-liste a[aria-current="page"]:not(.bouton) {
  color: var(--texte-nuit);
  box-shadow: inset 0 -1px 0 var(--or);
}

.nav-bouton {
  display: none;
}

@media (max-width: 959.98px) {
  .nav-bouton {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.95rem;
    background: transparent;
    color: var(--texte-nuit);
    border: 1px solid rgba(242, 238, 229, 0.28);
    border-radius: var(--rayon);
    font-family: var(--f-texte);
    font-size: var(--fs-petit);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
  }

  .nav-bouton-icone {
    width: 1rem;
    height: 7px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--nuit);
    border-bottom: 1px solid var(--trait-nuit);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.7);
  }

  .nav.est-ouvert {
    display: block;
  }

  .nav-liste {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.25rem 1.5rem;
    padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
  }

  .nav-liste a:not(.bouton) {
    display: block;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--trait-nuit);
    font-size: 1.0625rem;
  }

  .nav-liste a[aria-current="page"]:not(.bouton) {
    box-shadow: none;
    color: var(--or);
  }

  .nav-action {
    padding-top: 1.25rem;
  }

  .nav-action .bouton {
    width: 100%;
    min-height: 3.125rem;
    font-size: 1rem;
  }
}

/* ---------- Accroche de l'accueil ---------- */

.accroche {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4.5rem, 3rem + 6vw, 8.5rem);
  overflow: hidden;
}

.accroche-grille {
  display: grid;
  gap: clamp(3.5rem, 2rem + 4vw, 5rem);
  align-items: center;
}

@media (min-width: 980px) {
  .accroche-grille {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  }
}

.accroche-texte {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.reassurance {
  color: var(--sable);
  font-size: var(--fs-petit);
}

/* Le journal de la nuit : l'élément signature de la page */

.journal-cadre {
  display: grid;
  gap: 1.1rem;
  width: 100%;
  max-width: 30rem;
  justify-self: center;
}

@media (min-width: 980px) {
  .journal-cadre {
    justify-self: end;
  }
}

.journal {
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  background: var(--papier);
  color: var(--encre);
  border-radius: 4px;
  box-shadow:
    0 50px 80px -40px rgba(0, 0, 0, 0.8),
    0 20px 40px -24px rgba(0, 0, 0, 0.5);
  transform: rotate(-1deg);
}

.journal-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--lin);
}

.journal-titre {
  font-family: var(--f-titre);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.journal-commerce {
  color: var(--ardoise);
  font-size: var(--fs-legende);
  letter-spacing: 0.01em;
}

.journal-appels {
  list-style: none;
}

.journal-appel {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 0.9rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--lin);
}

.journal-heure {
  color: var(--or-fonce);
  font-size: var(--fs-petit);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  white-space: nowrap;
}

.journal-appel p {
  font-size: var(--fs-petit);
  line-height: 1.5;
}

.journal-appel .journal-suite {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  color: var(--ardoise);
  font-size: var(--fs-legende);
}

.journal-suite svg {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  color: var(--or-fonce);
}

.journal-bilan {
  padding-top: 1.05rem;
  font-family: var(--f-titre);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.3;
}

.journal-cadre figcaption {
  color: var(--sable);
  font-size: var(--fs-legende);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .journal-appel {
    animation: appel-arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .journal-appel:nth-child(1) {
    animation-delay: 0.35s;
  }

  .journal-appel:nth-child(2) {
    animation-delay: 0.8s;
  }

  .journal-appel:nth-child(3) {
    animation-delay: 1.25s;
  }

  .journal-appel .journal-heure {
    animation: heure-allumee 1.1s ease backwards;
    animation-delay: inherit;
  }

  @keyframes appel-arrive {
    from {
      transform: translateY(10px);
    }
  }

  @keyframes heure-allumee {
    from {
      color: var(--lin);
    }
  }
}

/* ---------- Moments de la journée ---------- */

.scenes {
  display: grid;
  list-style: none;
}

.scene {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--lin);
}

.scene:last-child {
  border-bottom: 1px solid var(--lin);
}

.scene-heure {
  color: var(--or-fonce);
  font-size: var(--fs-petit);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 2;
  white-space: nowrap;
}

.scene-texte {
  display: grid;
  gap: 0.45rem;
}

.scene-texte h3 {
  font-size: 1.5rem;
}

.scene-texte p {
  color: var(--ardoise);
}

/* ---------- Étapes (contenus réellement ordonnés) ---------- */

.etapes {
  display: grid;
  gap: 2.75rem;
  list-style: none;
}

@media (min-width: 820px) {
  .etapes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 1rem + 3vw, 4rem);
  }
}

@media (min-width: 640px) {
  .etapes.etapes--quatre {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem clamp(2rem, 1rem + 3vw, 3.5rem);
  }
}

@media (min-width: 1040px) {
  .etapes.etapes--quatre {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.etape {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.etape-numero {
  color: var(--or-fonce);
  font-family: var(--f-titre);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 0.85;
}

.etape-titre {
  font-size: 1.5rem;
}

.etape p {
  color: var(--ardoise);
}

/* ---------- Seya et Percy ---------- */

.voix-grille {
  display: grid;
  gap: 4rem;
}

@media (min-width: 820px) {
  .voix-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 2rem + 4vw, 6rem);
  }
}

.voix {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.voix-nom {
  font-family: var(--f-titre);
  font-size: clamp(3rem, 2.3rem + 2.6vw, 4.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.voix-type {
  color: var(--sable);
}

.voix-phrase {
  margin-top: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait-nuit);
  color: var(--texte-nuit);
  font-family: var(--f-titre);
  font-size: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5625rem);
  font-style: italic;
  line-height: 1.45;
}

.voix-phrase p {
  text-indent: -0.62em;
}

@media (max-width: 599.98px) {
  .voix-phrase p {
    text-indent: 0;
  }
}

.voix-note {
  max-width: 42rem;
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  color: var(--sable);
  font-size: var(--fs-petit);
}

/* ---------- Autres services ---------- */

.services {
  list-style: none;
  border-top: 1px solid var(--lin);
}

.service {
  display: grid;
  gap: 0.6rem 2.5rem;
  padding-block: clamp(1.6rem, 1.3rem + 1vw, 2.25rem);
  border-bottom: 1px solid var(--lin);
}

@media (min-width: 860px) {
  .service {
    grid-template-columns: minmax(0, 1fr) 14rem 12rem;
    align-items: baseline;
  }
}

.service-texte {
  display: grid;
  gap: 0.5rem;
}

.service-texte h3 {
  font-size: 1.625rem;
}

.service-texte p {
  max-width: 36rem;
  color: var(--ardoise);
}

.service-prix {
  font-family: var(--f-titre);
  font-size: 1.375rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1.3;
}

.service .lien {
  justify-self: start;
}

@media (min-width: 860px) {
  .service .lien {
    justify-self: end;
  }
}

/* ---------- Appel à l'action ---------- */

.appel-grille {
  display: grid;
  gap: 2.25rem;
  align-items: end;
}

@media (min-width: 900px) {
  .appel-grille {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.appel-texte {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
}

.appel-ligne {
  width: 3rem;
  height: 1px;
  background: var(--or);
}

.appel-texte h2 {
  max-width: 16em;
}

/* ---------- Titre des pages intérieures ---------- */

.titre-page {
  padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
}

.titre-page h1 {
  max-width: 15em;
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem);
}

.titre-page--court {
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

/* ---------- Listes ---------- */

.liste-deux {
  display: grid;
  gap: 2.5rem 3.5rem;
  list-style: none;
}

@media (min-width: 760px) {
  .liste-deux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.liste-deux li {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.liste-deux h3 {
  font-size: 1.4375rem;
}

.liste-deux p {
  color: var(--ardoise);
}

.liste-coches {
  display: grid;
  gap: 0.95rem;
  list-style: none;
}

.liste-coches li {
  position: relative;
  padding-left: 1.9rem;
}

.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.48em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 1.5px solid var(--or-fonce);
  border-bottom: 1.5px solid var(--or-fonce);
  transform: rotate(-45deg);
}

@media (min-width: 760px) {
  .liste-coches--deux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 3rem;
  }
}

.bande--nuit .liste-coches li::before {
  border-color: var(--or);
}

.liste-simple {
  display: grid;
  gap: 0.95rem;
  list-style: none;
}

.liste-simple li {
  position: relative;
  padding-left: 1.4rem;
}

.liste-simple li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 0.6rem;
  height: 1px;
  background: var(--or);
}

/* ---------- Modes de rappel ---------- */

.modes {
  display: grid;
  gap: 1.25rem;
  list-style: none;
}

@media (min-width: 640px) {
  .modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .modes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mode {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  background: var(--papier);
  border: 1px solid var(--lin);
  border-radius: 4px;
}

.mode h3 {
  font-size: 1.4375rem;
}

.mode p {
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.mode .mode-formule {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--or-fonce);
  font-size: var(--fs-legende);
  font-weight: 500;
}

/* ---------- Assistant mails et agenda ---------- */

.questions {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem);
  background: var(--nuit-haute);
  border: 1px solid var(--trait-nuit);
  border-radius: 4px;
}

.questions-titre {
  color: var(--sable);
  font-size: var(--fs-petit);
}

.questions ul {
  display: grid;
  gap: 1.1rem;
  list-style: none;
}

.questions li {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait-nuit);
  color: var(--texte-nuit);
  font-family: var(--f-titre);
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  font-style: italic;
  line-height: 1.35;
}

.questions li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* ---------- Questions fréquentes ---------- */

.faq {
  border-top: 1px solid var(--lin);
}

.faq details {
  border-bottom: 1px solid var(--lin);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.3rem;
  font-size: var(--fs-texte);
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.38rem;
  background:
    linear-gradient(var(--or-fonce), var(--or-fonce)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--or-fonce), var(--or-fonce)) center / 1.5px 100% no-repeat;
  transition: background-size 0.25s ease;
}

.faq details[open] summary::after {
  background-size: 100% 1.5px, 1.5px 0;
}

.faq summary:hover {
  color: var(--or-fonce);
}

.faq .reponse {
  max-width: 40rem;
  padding-bottom: 1.5rem;
  color: var(--ardoise);
}

/* ---------- Tarifs ---------- */

.offres {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .offres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.offre {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.25rem);
  background: var(--papier);
  border: 1px solid var(--lin);
  border-radius: 4px;
}

.offre--conseil {
  border-color: var(--or);
  box-shadow: inset 0 0 0 1px var(--or);
}

.offre-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.offre-tete h3 {
  font-size: 1.875rem;
  font-weight: 500;
}

.offre-badge {
  color: var(--or-fonce);
  font-size: var(--fs-legende);
  font-weight: 500;
}

.offre-prix {
  font-family: var(--f-titre);
  font-size: 3.5rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
  letter-spacing: -0.01em;
}

.offre-prix span {
  margin-left: 0.2rem;
  color: var(--ardoise);
  font-family: var(--f-texte);
  font-size: var(--fs-petit);
  font-weight: 400;
  letter-spacing: 0;
}

.offre .offre-pour {
  min-height: 3.3em;
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.offre-liste {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--lin);
  font-size: var(--fs-petit);
  list-style: none;
}

.offre-liste li {
  position: relative;
  padding-left: 1.6rem;
}

.offre-liste li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.5em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 1.5px solid var(--or-fonce);
  border-bottom: 1.5px solid var(--or-fonce);
  transform: rotate(-45deg);
}

.offre-action {
  margin-top: auto;
  padding-top: 0.75rem;
}

.offre-action .bouton {
  width: 100%;
}

.tarifs-notes {
  display: grid;
  gap: 0.5rem;
  max-width: 46rem;
  margin-top: 2.25rem;
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.listes-prix {
  display: grid;
  gap: 3rem;
}

@media (min-width: 860px) {
  .listes-prix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4.5rem;
  }
}

.liste-prix {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.liste-prix h3 {
  font-size: 1.875rem;
  font-weight: 500;
}

.liste-prix dl {
  display: grid;
  gap: 0.95rem;
}

.ligne-prix {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.ligne-prix dt {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}

/* Points de conduite, comme sur une carte de prix */
.ligne-prix dt::after {
  content: "";
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  height: 0.3em;
  background-image: radial-gradient(circle, var(--sable) 0.75px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 6px 3px;
}

.ligne-prix small {
  display: block;
  color: var(--ardoise);
  font-size: var(--fs-legende);
}

.ligne-prix dd {
  flex: none;
  font-family: var(--f-titre);
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.mention-tva {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--ardoise);
  font-size: var(--fs-legende);
}

/* ---------- Sites internet ---------- */

.formules-site {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .formules-site {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.formule {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  background: var(--papier);
  border: 1px solid var(--lin);
  border-radius: 4px;
}

.formule h3 {
  font-size: 1.5rem;
}

.formule-prix {
  font-family: var(--f-titre);
  font-size: 2.875rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.formule-prix span {
  color: var(--ardoise);
  font-family: var(--f-texte);
  font-size: var(--fs-petit);
  font-weight: 400;
}

.formule-detail {
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.preuve {
  margin-top: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--lin);
  font-family: var(--f-titre);
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  font-style: italic;
}

/* ---------- Sécurité ---------- */

.entete-section.entete-prix {
  max-width: none;
}

@media (min-width: 860px) {
  .entete-section.entete-prix {
    grid-template-columns: minmax(0, 46rem) auto;
    justify-content: space-between;
    align-items: end;
  }
}

.prix-encadre {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  align-self: end;
  padding: 1.25rem 1.6rem;
  border: 1px solid var(--or);
  border-radius: 4px;
}

.prix-montant {
  font-family: var(--f-titre);
  font-size: 3.25rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.prix-detail {
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

.sous-titre {
  margin-block: clamp(2.75rem, 2.2rem + 2vw, 4rem) 1.75rem;
  font-size: 1.75rem;
}

.prix-nuit {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--sable);
}

.prix-nuit .prix-montant {
  color: var(--texte-nuit);
}

.offre-speciale {
  padding: 1rem 1.25rem;
  border: 1px solid var(--trait-nuit);
  border-radius: 4px;
  color: var(--texte-nuit);
  font-size: var(--fs-petit);
}

.engagement {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}

.engagement-texte {
  font-family: var(--f-titre);
  font-size: clamp(1.4375rem, 1.25rem + 0.8vw, 1.875rem);
  line-height: 1.4;
}

/* ---------- Contact ---------- */

.contact-grille {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
  align-items: start;
}

@media (min-width: 980px) {
  .contact-grille {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.formulaire {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--papier);
  border: 1px solid var(--lin);
  border-radius: 4px;
}

.champs-duo {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .champs-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .champs-duo--demande {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

.champ {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.champ label {
  font-size: var(--fs-petit);
  font-weight: 500;
}

.facultatif {
  color: var(--ardoise);
  font-weight: 400;
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.95rem;
  background: #fff;
  color: var(--encre);
  border: 1px solid #cdc5b4;
  border-radius: var(--rayon);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.champ textarea {
  min-height: 8.5rem;
  line-height: 1.55;
  resize: vertical;
}

.champ select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a5f28' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 0.95rem center;
  background-repeat: no-repeat;
  background-size: 0.75rem;
  -webkit-appearance: none;
  appearance: none;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--or-fonce);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.35);
}

.champ [aria-invalid="true"] {
  border-color: var(--erreur);
}

.erreur-champ {
  color: var(--erreur);
  font-size: var(--fs-legende);
}

.formulaire-pied {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.formulaire-note {
  max-width: 34rem;
  color: var(--ardoise);
  font-size: var(--fs-legende);
}

.formulaire-note a {
  color: var(--or-fonce);
}

.formulaire-etat {
  padding: 1rem 1.2rem;
  border: 1px solid;
  border-radius: var(--rayon);
  font-size: var(--fs-petit);
}

.formulaire-etat--ok {
  background: #eef3ea;
  border-color: #c5d6bc;
  color: #23412a;
}

.formulaire-etat--erreur {
  background: #f8ecec;
  border-color: #e3c2c2;
  color: #7d2222;
}

.formulaire-etat--apercu {
  background: #f6efdd;
  border-color: #e3d2a6;
  color: #5a481d;
}

.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-suite {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.contact-suite h2 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}

.suite {
  display: grid;
  gap: 1.25rem;
  list-style: none;
}

.suite li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: baseline;
}

.suite-numero {
  color: var(--or-fonce);
  font-family: var(--f-titre);
  font-size: 2.125rem;
  line-height: 1;
}

/* ---------- Pages légales ---------- */

.texte-legal {
  max-width: 44rem;
}

.texte-legal h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.625rem, 1.45rem + 0.8vw, 2rem);
}

.texte-legal h2:first-child {
  margin-top: 0;
}

.texte-legal p,
.texte-legal ul {
  margin-top: 0.9rem;
}

.texte-legal ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
}

.texte-legal a {
  color: var(--or-fonce);
}

.a-completer {
  padding: 0.05em 0.35em;
  background: #f3e6c4;
  color: #4e3e14;
  border-radius: 2px;
  font-weight: 500;
}

.mise-a-jour {
  color: var(--ardoise);
  font-size: var(--fs-petit);
}

/* ---------- Page introuvable ---------- */

.introuvable {
  display: grid;
  align-items: center;
  min-height: 62vh;
}

/* ---------- Pied de page ---------- */

.pied {
  padding-block: clamp(3.5rem, 2.8rem + 2.5vw, 5rem) 2.25rem;
  background: var(--nuit-basse);
  color: var(--sable);
  font-size: var(--fs-petit);
}

.pied-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 2rem;
}

@media (min-width: 860px) {
  .pied-grille {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  }
}

.pied-marque {
  display: grid;
  grid-column: 1 / -1;
  gap: 1.25rem;
  align-content: start;
  justify-items: start;
  max-width: 22rem;
}

@media (min-width: 860px) {
  .pied-marque {
    grid-column: auto;
  }
}

.pied h2 {
  margin-bottom: 0.9rem;
  color: var(--texte-nuit);
  font-family: var(--f-texte);
  font-size: var(--fs-petit);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pied ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.pied a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.pied a:hover {
  color: var(--texte-nuit);
}

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait-nuit);
  font-size: var(--fs-legende);
}
