/* =========================================================
   La Sellerie Vogueuse — Feuille de style
   Charte graphique :
     Bleu nuit  #05477C   (titres, texte fort)
     Turquoise  #358D97   (secondaire)
     Orange     #F07222   (accent, actions)
     Jaune      #F6B81E   (accent secondaire)
     Crème      #FAF3EA   (fond)
   Polices : Cooper BT (titres) / Agrandir (corps) — commerciales.
   Substituts libres : Bitter (titres) / Poppins (corps).
   ========================================================= */

:root {
  --bleu:     #05477C;
  --turquoise:#358D97;
  --orange:   #F07222;
  --jaune:    #F6B81E;
  --creme:    #FAF3EA;
  --blanc:    #ffffff;

  --texte:    #1d2a33;
  --texte-doux:#4a5a64;

  --font-titre: "Bitter", "Cooper BT", "Georgia", serif;
  --font-corps: "Poppins", "Agrandir", "Segoe UI", system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(5, 71, 124, 0.10);
  --shadow-soft: 0 4px 16px rgba(5, 71, 124, 0.08);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-corps);
  font-weight: 400;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }

h1, h2, h3 {
  font-family: var(--font-titre);
  color: var(--bleu);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--bleu); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #d9611a; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn-ghost:hover { background: var(--bleu); color: #fff; transform: translateY(-2px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(53, 141, 151, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text {
  font-family: var(--font-titre); font-weight: 700; color: var(--bleu);
  font-size: 1.25rem; letter-spacing: .2px;
}
.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; color: var(--bleu); font-weight: 500;
  padding: 10px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--turquoise); }
.site-nav a.nav-cta {
  background: var(--bleu); color: #fff; border-radius: 999px; padding: 10px 20px;
}
.site-nav a.nav-cta:hover { background: var(--turquoise); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--bleu); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--creme); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 70px 20px 110px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 600;
  color: var(--turquoise); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--texte-doux); max-width: 52ch; }
.signature-promesse {
  font-family: var(--font-titre); font-weight: 600; color: var(--orange);
  font-size: 1.1rem; margin: 18px 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
  width: 100%; max-width: 560px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(5,71,124,0.18);
  object-fit: cover; aspect-ratio: 4 / 3;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-waves svg { width: 100%; height: 90px; }
.hero-waves path { fill: var(--blanc); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; background: var(--blanc); }
.section-tint { background: var(--creme); }
.section-dark { background: var(--bleu); }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 600;
  color: var(--orange); margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--jaune); }
.section-dark h2 { color: #fff; }
.section-intro { font-size: 1.08rem; color: var(--texte-doux); max-width: 62ch; }
.section-dark .section-intro { color: #dfeaf1; }
.section-outro { margin-top: 28px; font-size: 1.05rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 22px; }
.two-col strong { color: var(--bleu); }

/* Groupes de cartes savoir-faire */
.sf-group-title {
  margin: 44px 0 4px; font-size: 1.05rem; color: var(--turquoise);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
}

/* Photos */
.photo-wide { margin: 40px 0 0; }
.photo-wide img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  object-fit: cover; max-height: 460px;
}
.histoire-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; margin-top: 22px; }
.histoire-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: 92px; }
.histoire-media figure { margin: 0; }
.histoire-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4; object-fit: cover;
}
.pull-quote {
  font-family: var(--font-titre); font-size: 1.3rem; color: var(--turquoise);
  border-left: 4px solid var(--jaune); padding-left: 18px; font-weight: 600;
}

/* ---------- Étapes (démarche) ---------- */
.steps {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.steps li {
  display: flex; align-items: center; gap: 14px;
  background: var(--blanc); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-soft); font-weight: 500; color: var(--bleu);
}
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--turquoise); color: #fff; font-family: var(--font-titre);
  font-weight: 700; display: grid; place-items: center; font-size: 1.1rem;
}

/* ---------- Cartes savoir-faire ---------- */
.cards {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px;
}
.card {
  background: var(--creme); border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid rgba(53,141,151,0.18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { color: var(--bleu); }
.card p { color: var(--texte-doux); margin: 0; font-size: .96rem; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--turquoise); }

/* ---------- Valeurs ---------- */
.values {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px;
}
.values li {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 24px 22px;
}
.values h3 { color: var(--jaune); }
.values p { color: #dfeaf1; margin: 0; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; margin-top: 30px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { margin-bottom: 20px; }
.ci-label {
  display: block; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: .72rem; color: var(--turquoise); font-weight: 600; margin-bottom: 4px;
}
.contact-list a { color: var(--bleu); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--orange); }
.contact-list address { font-style: normal; color: var(--texte); font-size: 1.05rem; }
.contact-note { color: var(--texte-doux); font-size: .96rem; border-top: 1px solid rgba(53,141,151,.25); padding-top: 16px; }

.contact-form {
  background: var(--creme); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(53,141,151,0.18);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--bleu); font-size: .95rem; }
.field label span { color: var(--orange); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid rgba(5,71,124,0.2); background: #fff;
  font-family: var(--font-corps); font-size: 1rem; color: var(--texte);
}
.field input:focus, .field textarea:focus { border-color: var(--turquoise); outline: none; }
.field textarea { resize: vertical; }
.field-consent { display: flex; align-items: flex-start; gap: 10px; }
.field-consent input { width: auto; margin-top: 5px; }
.field-consent label { margin: 0; font-weight: 400; color: var(--texte-doux); font-size: .9rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: var(--turquoise); }
.form-status.err { color: var(--orange); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bleu); color: #cfe0ec; padding: 44px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-family: var(--font-titre); color: #fff; font-weight: 700; margin: 0; font-size: 1.15rem; }
.footer-tagline { margin: 0; font-size: .88rem; color: var(--jaune); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #cfe0ec; text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { width: 100%; text-align: center; margin: 24px 0 0; font-size: .82rem; color: #9fbdd3; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; }

/* ---------- Bouton haut ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; text-decoration: none;
  display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #d9611a; }

/* ---------- Pages internes (mentions légales) ---------- */
.page-header { background: var(--bleu); color: #fff; padding: 60px 0 50px; }
.page-header h1 { color: #fff; margin: 0; }
.page-header .eyebrow { color: var(--jaune); }
.legal-content { padding: 60px 0 80px; background: var(--blanc); }
.legal-content h2 { margin-top: 2.2em; font-size: 1.4rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content a { color: var(--orange); }
.legal-meta { background: var(--creme); border-radius: var(--radius); padding: 24px 26px; border: 1px solid rgba(53,141,151,0.18); }
.legal-meta dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.legal-meta dt { font-weight: 600; color: var(--bleu); }
.legal-meta dd { margin: 0; color: var(--texte); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--creme); border-bottom: 1px solid rgba(53,141,151,0.2);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; }
  .site-nav a { display: block; padding: 14px 10px; border-bottom: 1px solid rgba(53,141,151,0.12); }
  .site-nav a.nav-cta { text-align: center; margin-top: 10px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 50px 20px 100px; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-visual img { width: 100%; max-width: 100%; aspect-ratio: 16 / 10; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .two-col { grid-template-columns: 1fr; gap: 10px; }
  .histoire-layout { grid-template-columns: 1fr; gap: 24px; }
  .histoire-media { position: static; top: auto; }
  .photo-wide img { max-height: 300px; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-meta dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-meta dd { margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .brand-text { font-size: 1.05rem; }
}
