/* Victor Amilien · feuille de style commune (direction A « Lever de soleil ») */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2");
}

:root {
  --nuit: #14213D;
  --creme: #FFFBF5;
  --ciel: #D6EEFB;
  --peche: #FFB37A;
  --sunrise: linear-gradient(165deg, #D6EEFB 0%, #FBEFE6 55%, #FFD9BA 100%);
  --ring: linear-gradient(135deg, #C7E4F7, #F3DCCB 55%, #FFB37A);
  --ombre: 0 18px 40px -28px rgba(20, 33, 61, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: #FFD9BA; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--nuit);
  background: var(--sunrise); min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--nuit); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--nuit); outline-offset: 3px;
}
em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; }
strong { font-weight: 700; }

.page { max-width: 460px; margin: 0 auto; padding: 28px 20px 40px; }
.page.large { max-width: 720px; }

/* En-tête */
.entete { text-align: center; }
.logo { width: 40px; height: 40px; display: block; margin: 0 auto 18px; }
.photo {
  width: 164px; height: 164px; margin: 0 auto; border-radius: 50%;
  padding: 4px; background: var(--ring);
}
.photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid var(--creme); }
.photo.petite { width: 128px; height: 128px; }
.portrait { width: min(260px, 72vw); aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 30px; padding: 4px; background: var(--ring); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; border: 4px solid var(--creme); }
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.15; margin-top: 18px; letter-spacing: -0.01em; }
.desc { font-size: 16px; margin-top: 4px; }
.intro { margin-top: 18px; text-align: center; }

/* Boutons */
.actions { display: grid; gap: 12px; margin-top: 26px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--nuit); color: var(--creme); text-decoration: none;
  font: 500 17px/1.3 "DM Sans", system-ui, sans-serif; text-align: center; cursor: pointer; width: 100%;
}
.btn:hover { background: #1d2f55; }
.btn.principal { min-height: 62px; font-size: 18px; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(20, 33, 61, .55); }
.btn svg { width: 20px; height: 20px; flex: none; }
.reseaux { display: flex; justify-content: center; margin-top: 18px; }
.reseaux a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--nuit); border: 1.5px solid rgba(20, 33, 61, .25); }
.reseaux svg { width: 22px; height: 22px; }
.reseaux a.insta { width: auto; height: auto; min-height: 48px; padding: 10px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; }

/* Cartes */
.carte {
  background: var(--creme); border-radius: 26px; padding: 26px 22px;
  margin-top: 30px; box-shadow: var(--ombre);
}
.carte h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.carte p + p { margin-top: 10px; }
.carte .btn { margin-top: 18px; }
.formules { list-style: none; margin: 4px 0 16px; }
.formules li { padding: 14px 0; border-bottom: 1px solid rgba(20, 33, 61, .12); }
.formules li:first-child { padding-top: 4px; }
.formules p + p { margin-top: 4px; }
.formule { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 19px; }
.repere { margin-top: 16px; background: var(--ciel); border-radius: 16px; padding: 12px 16px; font-weight: 500; }

.lien-histoire { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; }
.histoire p + p { margin-top: 14px; }
.histoire .accroche { font-family: "Fraunces", Georgia, serif; font-size: 24px; font-weight: 600; }
.histoire .signature { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 22px; margin-top: 18px; }
.histoire .btn { margin-top: 22px; }

/* Pages de réservation */
.calendrier {
  background: var(--creme); border-radius: 26px; margin-top: 26px; box-shadow: var(--ombre);
  overflow: hidden; min-height: 520px;
}
.calendrier .chargement { padding: 40px 20px; text-align: center; }
.apres-calendrier { margin-top: 22px; text-align: center; }
.apres-calendrier a { font-weight: 700; }

/* Pages légales */
.legal { background: var(--creme); border-radius: 26px; padding: 28px 22px; margin-top: 24px; box-shadow: var(--ombre); }
.legal h1 { font-size: 30px; margin-top: 0; }
.legal .sous-titre { margin-top: 6px; font-weight: 500; }
.legal h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.3; margin: 30px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 22px; }
.legal li { margin-top: 4px; }
.legal li ul { margin-top: 4px; }
.legal hr { border: 0; border-top: 1px solid rgba(20, 33, 61, .15); margin: 24px 0; }
.legal blockquote { margin-top: 12px; padding: 12px 16px; background: var(--ciel); border-radius: 14px; }
.legal blockquote p { margin-top: 2px; }
.tableau { overflow-x: auto; margin-top: 12px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 300px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid rgba(20, 33, 61, .15); }
.legal th { font-weight: 700; background: rgba(214, 238, 251, .6); }
.retour { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.telecharger { margin-top: 18px; }

/* Formulaire */
.formulaire { display: grid; gap: 18px; margin-top: 22px; }
.champ label { display: block; font-weight: 700; margin-bottom: 6px; }
.champ .aide { font-size: 15px; margin-top: 4px; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid rgba(20, 33, 61, .35); background: #fff9f0; color: var(--nuit);
  font: 400 17px/1.4 "DM Sans", system-ui, sans-serif;
}
.champ textarea { min-height: 96px; resize: vertical; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message { padding: 14px 16px; border-radius: 14px; background: var(--ciel); font-weight: 500; }
.message.erreur { background: #FBEFE6; border: 1.5px solid var(--nuit); }

/* Pied de page */
.pied { margin-top: 36px; text-align: center; font-size: 15px; line-height: 2.1; }
.pied .sep { opacity: .5; margin: 0 6px; }
.pied nav a, .pied .sep { display: inline-block; }
.pied nav a { white-space: nowrap; }
