/* =========================================================
   La Cure — feuille de style
   Palette tirée du logo : bleu marine, bleu rivière, vert feuille,
   blanc de linge.
   ========================================================= */

:root {
  --navy:   #2b4664;
  --navy-d: #1e3249;
  --river:  #7ba4c4;
  --river-l:#cfe0ec;
  --sage:   #8ba586;
  --sage-d: #5f7a5c;
  --linen:  #f5f7f6;
  --paper:  #ffffff;
  --ink:    #1d2b3a;
  --muted:  #5d6b79;
  --rule:   #dde4e6;

  --wrap: 1140px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-d); }

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

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

.wrap {
  width: min(var(--wrap), calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 12px; }

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img { width: 58px; height: 58px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-family: "Spectral", Georgia, serif;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: .01em;
}
.brand-baseline {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--navy); }
.nav-link.is-active { color: var(--navy); border-bottom-color: var(--sage); }

.nav-cta {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
}
.nav-cta:hover { background: var(--navy-d); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 9px 14px;
  font: inherit;
  font-size: .92rem;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  content: "";
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top: 6px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-d) 100%);
  color: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: .35em; }

.hero-place {
  font-size: .86rem;
  color: var(--river-l);
  letter-spacing: .06em;
  margin-bottom: 1.1em;
}

.hero-lede {
  font-size: 1.12rem;
  color: #e6eef5;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-medallion {
  display: flex;
  justify-content: center;
}
.hero-medallion img {
  width: 100%;
  max-width: 390px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.hero-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.hero-water svg { width: 100%; height: 90px; display: block; }

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary { background: var(--sage); color: #16261a; border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-d); color: #fff; border-color: var(--sage-d); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section-linen { background: var(--linen); }

.section-navy {
  background: var(--navy);
  color: #e6eef5;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-lede { color: var(--river-l); }

.section-title { margin-bottom: .3em; }

.section-lede {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 2.2em;
  max-width: 60ch;
}

.section-more { margin-top: 2em; }

.link-more {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--sage);
  padding-bottom: 2px;
}

.page-head {
  background: var(--linen);
  border-bottom: 1px solid var(--rule);
  padding: 58px 0 50px;
}
.page-lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 0;
}

/* ---------- Cartes linge ---------- */

.linen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.linen-card {
  background: var(--linen);
  border-top: 3px solid var(--river);
  padding: 26px 22px 20px;
}
.linen-card h3 { margin-bottom: .45em; }
.linen-card p { font-size: .96rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Circuit numéroté ---------- */

.circuit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 34px;
}

.circuit-step { position: relative; padding-top: 6px; }

.circuit-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--river);
  color: var(--river-l);
  font-family: "Spectral", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.circuit-step p { font-size: .97rem; margin-bottom: 0; }

/* ---------- Deux colonnes ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: start;
}

.benefits { list-style: none; margin: 0; padding: 0; }

.benefits li {
  position: relative;
  padding: 0 0 14px 30px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.benefits li:last-child { border-bottom: 0; }
.benefits li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- Zone desservie ---------- */

.area-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-list li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: .94rem;
  color: var(--navy);
}
.area-note { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* ---------- Prestations ---------- */

.prestation {
  border-top: 1px solid var(--rule);
  padding: 34px 0;
}
.prestation:first-of-type { border-top: 0; padding-top: 0; }
.prestation-body { max-width: 72ch; }

.prestation-soon {
  display: inline-block;
  background: var(--river-l);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1em;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.quote-item h3 { margin-bottom: .35em; }
.quote-item p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* ---------- Collecte ---------- */

.collect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.collect-card {
  background: var(--linen);
  border-left: 3px solid var(--sage);
  padding: 26px 24px;
}
.collect-card p { font-size: .97rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Bandeau d'appel ---------- */

.cta-band {
  background: var(--linen);
  border-top: 1px solid var(--rule);
  padding: 66px 0;
}
.cta-inner { text-align: center; }
.cta-inner p { margin-inline: auto; margin-bottom: 1.8em; color: var(--muted); }

/* ---------- Formulaire ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 56px;
  align-items: start;
}

.form { max-width: 620px; }

.field { margin-bottom: 20px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: .93rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.req { color: var(--sage-d); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font: inherit;
  font-size: .97rem;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--river);
  outline: 2px solid var(--river-l);
  outline-offset: 0;
}
.field textarea { resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-legal {
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 1.6em;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 26px;
  font-size: .97rem;
}
.alert-ok    { background: #eef5ec; border: 1px solid var(--sage); color: #2f4a2c; }
.alert-error { background: #fdf0ee; border: 1px solid #d9a69c; color: #7a3226; }

.contact-aside {
  background: var(--linen);
  border-top: 3px solid var(--river);
  padding: 28px 26px;
}
.contact-aside h2 { font-size: 1.1rem; margin-bottom: .4em; }
.contact-aside h2 + p { margin-bottom: 1.6em; }
.contact-aside p { font-size: .96rem; color: var(--muted); }
.aside-area { margin-bottom: 0; }

/* ---------- Mentions légales ---------- */

.legal { max-width: 74ch; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }

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

.site-footer {
  background: var(--navy);
  color: #cbd9e5;
  padding: 58px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 44px;
  padding-bottom: 38px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 14px;
}
.footer-baseline { color: #fff; font-family: "Spectral", Georgia, serif; margin-bottom: .5em; }
.footer-note { font-size: .9rem; margin-bottom: 0; }

.footer-title { font-size: 1.05rem; color: #fff; margin-bottom: .6em; }
.site-footer a { color: #e4eef6; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .95rem; }

.footer-cta {
  display: inline-block;
  margin-top: 6px;
  border-bottom: 2px solid var(--sage);
  text-decoration: none;
  padding-bottom: 2px;
  font-weight: 600;
}

.footer-area { font-size: .9rem; line-height: 1.8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 18px;
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .linen-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    padding: 8px 22px 20px;
  }
  .site-nav.is-open { display: flex; }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-link.is-active { border-bottom-color: var(--rule); color: var(--sage-d); }

  .nav-cta { margin-top: 16px; text-align: center; }

  .header-inner { position: relative; }

  .hero { padding: 48px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-medallion { order: -1; }
  .hero-medallion img { max-width: 240px; }
  .hero-water svg { height: 54px; }

  .section { padding: 54px 0; }
  .page-head { padding: 42px 0 36px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .linen-grid { grid-template-columns: 1fr; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.25rem; }
  .brand-baseline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ---------- Page Notre histoire ---------- */

.story { max-width: 74ch; }
.story h2 { font-size: 1.4rem; margin-top: 2.1em; }
.story h2:first-child { margin-top: 0; }
.story .benefits { margin-bottom: 1.6em; }

.story-figure { margin: 2.4em 0; }
.story-figure img { width: 100%; border-radius: var(--radius); display: block; }
.story-figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .7em; }
