/* BERGUSINE — déclinaison de la nouvelle charte */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Nunito+Sans:wght@400;600;700&display=swap");

:root {
  --bleu-ciel: #A7C7E7;
  --vert-sauge: #B8D8BE;
  --creme: #FAF3E3;
  --bleu-vert: #7FA8A3;
  --texte: #2F3E46;
  --bleu-ciel-leger: #E4EEF8;
  --vert-sauge-leger: #E6F1E8;
  --bleu-vert-fonce: #5E8A85;
  /* Assombri pour respecter le contraste AA avec le texte crème. */
  --action: #426965;
  --surface: #FFFFFF;
  --bordure: rgba(47, 62, 70, .12);
  --ombre: 0 10px 28px rgba(47, 62, 70, .08);
  --police-titres: "Fraunces", Georgia, serif;
  --police-texte: "Nunito Sans", system-ui, sans-serif;
  --texte-courant: 1.0625rem;
  --texte-petit: 1rem;
  --interligne: 1.7;
  --rayon-bloc: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: var(--texte-courant);
  font-weight: 400;
  line-height: var(--interligne);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
section { padding-block: clamp(56px, 8vw, 88px); }
h1, h2, h3 {
  margin: 0 0 .6em;
  color: var(--texte);
  font-family: var(--police-titres);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { max-width: 12ch; font-size: clamp(2.45rem, 6.2vw, 4rem); }
h2 { max-width: 20ch; margin-bottom: .45em; font-size: clamp(2rem, 4.2vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { max-width: 68ch; margin: 0 0 1.1em; text-wrap: pretty; }
small, .legende { font-size: var(--texte-petit); }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--texte); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; border-radius: 8px; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-160%); padding: 10px 16px; border-radius: 10px;
  background: var(--surface); color: var(--texte); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--creme) 94%, transparent);
  border-bottom: 1px solid var(--bordure);
  backdrop-filter: blur(14px);
}
header .wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 16px; }
header a:first-child { display: inline-flex; align-items: center; }
header img { display: block; width: auto; height: 48px; border-radius: 0; }

.btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 11px 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--action); color: var(--creme); font: 700 1rem/1.25 var(--police-texte);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--texte); color: var(--creme); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.or { background: var(--bleu-ciel); color: var(--texte); }
.btn.or:hover { background: var(--vert-sauge); color: var(--texte); }
.btn.big { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }

.hero {
  padding-block: clamp(56px, 8vw, 88px);
  background: linear-gradient(135deg, var(--bleu-ciel-leger) 0%, var(--creme) 56%, var(--vert-sauge-leger) 100%);
}
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .wrap > div:first-child { padding-block: 8px; }
.kicker {
  display: inline-block; margin-bottom: 18px; padding: 6px 15px;
  border: 1px solid rgba(94, 138, 133, .2); border-radius: 999px;
  background: var(--surface); color: var(--action); font-size: 1rem; font-weight: 700;
}
.hero p.lead { max-width: 36em; margin: 20px 0 28px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.hero svg { display: block; width: 100%; height: auto; border: 1px solid rgba(47, 62, 70, .08); border-radius: var(--rayon-bloc); box-shadow: var(--ombre); }
.intro { max-width: 42em; margin-bottom: 36px; }
.cards { display: grid; gap: 20px; align-items: stretch; }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: clamp(24px, 3vw, 32px); border: 1px solid var(--bordure);
  border-radius: var(--rayon-bloc); background: var(--surface); box-shadow: var(--ombre);
}
.card .ico { display: grid; width: 64px; height: 64px; margin-bottom: 20px; place-items: center; border-radius: 18px; background: var(--bleu-ciel-leger); }
.card .ico svg { display: block; width: 38px; height: 38px; }
.card p { flex: 1; margin: 4px 0 22px; }
.prix { color: var(--action); font-family: var(--police-titres); font-size: 2.2rem; font-weight: 600; line-height: 1.2; }
.prix small { color: var(--texte); font-family: var(--police-texte); font-size: 1rem; font-weight: 600; }
.card.reco { border: 2px solid var(--bleu-vert); background: var(--vert-sauge-leger); }
.card.reco .ico { background: var(--surface) !important; }
.badge {
  position: absolute; top: 16px; right: 16px; max-width: calc(100% - 32px);
  padding: 5px 12px; border-radius: 999px; background: var(--vert-sauge);
  color: var(--texte); font-size: .9rem; font-weight: 700;
}
.etapes { background: linear-gradient(180deg, var(--vert-sauge-leger), var(--creme)); }
.steps { display: grid; max-width: 800px; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: flex; align-items: flex-start; gap: 20px; padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--bordure); border-radius: var(--rayon-bloc); background: var(--surface); box-shadow: var(--ombre);
}
.steps li > div { min-width: 0; }
.steps li p { margin-bottom: 0; }
.num {
  display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center;
  border-radius: 50%; background: var(--bleu-ciel-leger); color: var(--action);
  font-family: var(--police-titres); font-size: 1.5rem; font-weight: 600;
}
.steps h3 { margin-bottom: 4px; }
.jour { display: inline-block; margin-bottom: 6px; color: var(--action); font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.moi .wrap { display: grid; gap: 36px; align-items: center; }
.photo {
  display: grid; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; margin-inline: auto;
  overflow: hidden; place-items: center; padding: 24px; border: 1px solid var(--bordure);
  border-radius: var(--rayon-bloc); background: linear-gradient(145deg, var(--bleu-ciel-leger), var(--vert-sauge-leger));
  color: var(--texte); text-align: center; font-weight: 700;
}
.photo img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.photo .ph { max-width: 18ch; }
.moi p { margin-top: 12px; }
.contact-section { padding-top: 0; }
.contact {
  margin-inline: auto; padding: clamp(32px, 6vw, 60px) clamp(22px, 5vw, 48px);
  border: 1px solid rgba(47, 62, 70, .08); border-radius: 28px;
  background: var(--bleu-ciel-leger); color: var(--texte); text-align: center;
}
.contact h2 { max-width: none; color: var(--texte); }
.contact p { max-width: 34em; margin: 12px auto 26px; }
.contact .btn { max-width: 100%; overflow-wrap: anywhere; }
.contact .infos { margin-top: 24px; color: var(--texte); font-size: 1rem; }
footer { margin-top: 0; padding: 40px 0 28px; background: var(--texte); color: var(--creme); font-size: 1rem; }
footer .wrap { display: grid; gap: 16px; text-align: center; }
footer strong { color: var(--creme); font-family: var(--police-titres); font-size: 1.25rem; font-weight: 600; }
footer a { color: var(--bleu-ciel); }
footer a:hover { color: var(--creme); }
footer small { display: block; opacity: .88; font-size: 1rem; }

@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .moi .wrap { grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 80px); }
  footer .wrap { grid-template-columns: 1fr 1fr 1fr; gap: 18px; text-align: left; }
  footer small { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 32px, 1080px); }
  header .wrap { min-height: 70px; }
  header img { height: 40px; max-width: 58vw; }
  header .btn { min-height: 44px; padding: 9px 16px; font-size: .95rem; }
  .hero { padding-block: 48px 56px; }
  .hero svg { border-radius: 18px; }
  .steps li { gap: 14px; }
  .num { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.35rem; }
  .badge { top: 12px; right: 12px; padding-inline: 10px; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --creme: #20272A;
    --texte: #F4F1E8;
    --bleu-ciel-leger: #283743;
    --vert-sauge-leger: #293831;
    --bleu-vert: #8FB8B2;
    --bleu-vert-fonce: #A7C7E7;
    --action: #A7C7E7;
    --surface: #293235;
    --bordure: rgba(244, 241, 232, .16);
    --ombre: 0 10px 28px rgba(0, 0, 0, .18);
  }
  .hero { background: linear-gradient(135deg, #283743 0%, var(--creme) 56%, #293831 100%); }
  .kicker { border-color: var(--bordure); color: var(--bleu-ciel); }
  .btn { background: var(--bleu-ciel); color: #20272A; }
  .btn:hover { background: var(--vert-sauge); color: #20272A; }
  .btn.or { background: var(--vert-sauge); color: #20272A; }
  .btn.or:hover { background: var(--bleu-ciel); color: #20272A; }
  .card.reco { border-color: var(--bleu-vert); }
  .contact { background: #283743; }
  .contact .infos { color: var(--texte); }
  footer { background: #151B1D; }
  footer a { color: var(--bleu-ciel); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
@media (prefers-color-scheme: dark) {
  .badge { color: #20272A; }
}
