/* Votre Histoire en Image — feuille de style principale
   Direction validée : Piste Révélation (fusion Garrigue / Contretype, grammaire Apple/Pixel) */

:root {
  --paper: #FAF6F0;
  --panel: #EDE7DD;
  --ink: #241C1A;
  --ink-soft: #6E645D;
  --brick-wine: #9A3E2E;
  --brick-wine-deep: #7A2F22;
  --bronze: #6B5A2E;
  --bronze-light: #EADFC4;
  --wine-light: #F1DCD3;
  --border: #00000014;

  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --content-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable both-edges; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Barre du haut */
.topbar { background: var(--ink); color: var(--paper); font-size: 12.5px; }
.topbar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px; padding: 8px clamp(20px, 4vw, 56px);
}
.topbar-inner a, .topbar-inner span {
  display: flex; align-items: center; gap: 6px;
  color: var(--paper); text-decoration: none;
}
.topbar-inner a:hover { color: var(--bronze-light); }
.topbar-divider { width: 1px; height: 13px; background: #ffffff33; }

/* En-tête */
.site-header {
  border-bottom: 0.5px solid var(--border);
  position: relative;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand img { height: 58px; width: auto; }
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0;
}
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); font-size: 14px; }
.main-nav a { text-decoration: none; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }
.main-nav a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-cta:focus-visible {
  outline: 2px solid var(--brick-wine); outline-offset: 2px;
}
.main-nav .btn-cta {
  background: var(--bronze); color: var(--paper); padding: 9px 18px;
  border-radius: 999px; font-weight: 600; font-size: 13px; text-decoration: none;
  transition: background 0.15s ease;
}
.main-nav .btn-cta:hover { background: #574a26; color: var(--paper); }

/* Hero */
.hero { text-align: center; padding: clamp(48px, 7vw, 76px) 0 0; }
.hero .kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brick-wine); margin: 0 0 18px;
}
.hero .hero-title {
  font-weight: 700; font-size: clamp(26px, 4.4vw, 58px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 auto 18px; text-wrap: balance; max-width: 20ch;
}
.hero .lead { font-size: 17px; color: var(--ink-soft); margin: 0 auto 40px; }
.hero-stage {
  position: relative; height: clamp(320px, 46vw, 480px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 40%, var(--panel), #E3DBCC 100%);
}
.hero-stage img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-actions {
  display: flex; justify-content: center; align-items: center; gap: 22px;
  padding: 36px 0 60px; flex-wrap: wrap;
}
.btn-primary {
  background: var(--brick-wine); color: #FBEEE9; padding: 14px 28px;
  border-radius: 999px; font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.btn-primary:hover { background: var(--brick-wine-deep); }
.btn-secondary {
  color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* Bandeau de réassurance */
.trust-bar {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 24px;
  overflow: hidden;
  margin: 40px 0 0;
}
.trust-bar div {
  padding: 22px clamp(18px, 3vw, 32px); border-left: 1px solid #ffffff22;
  font-size: 13.5px;
}
.trust-bar div:nth-child(odd) { border-left: none; }
.trust-bar div:nth-child(n+3) { border-top: 1px solid #ffffff22; }
.trust-bar strong { display: block; margin-bottom: 4px; color: var(--bronze-light); }
.trust-detail.trust-detail { white-space: nowrap; }

@media (min-width: 1300px) {
  .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-bar div { padding: 24px clamp(14px, 2vw, 28px); border-top: none; }
  .trust-bar div:nth-child(odd) { border-left: 1px solid #ffffff22; }
  .trust-bar div:first-child { border-left: none; }
}

/* Sections génériques */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section-head { text-align: center; max-width: 46ch; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brick-wine); margin: 0 0 14px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; margin: 0 0 12px; text-wrap: balance; }
.nowrap-heading.nowrap-heading { white-space: nowrap; text-wrap: nowrap; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* Comment ça marche */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.steps-list { display: flex; flex-direction: column; gap: 26px; }
.steps-list li { list-style: none; display: flex; gap: 16px; }
.step-index {
  font-weight: 700; font-size: 20px; color: var(--brick-wine);
  min-width: 34px;
}
.step-body h3 { margin: 0 0 4px; font-size: 16px; }
.step-body p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.steps-media img {
  display: block; border-radius: 20px;
  width: 100%;
  height: auto; aspect-ratio: 3/2; object-fit: cover;
}

/* Grille de fonctionnalités */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.specs-4 { grid-template-columns: repeat(4, 1fr); }
.spec { border-radius: 20px; padding: 24px 20px; }
.spec:nth-child(odd) { background: var(--wine-light); }
.spec:nth-child(even) { background: var(--bronze-light); }
.spec-icon { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); margin-bottom: 14px; position: relative; }
.spec:nth-child(1) .spec-icon::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); }
.spec:nth-child(2) .spec-icon { border-radius: 6px; }
.spec:nth-child(2) .spec-icon::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.spec:nth-child(3) .spec-icon { border-radius: 50%; }
.spec:nth-child(3) .spec-icon::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); left: 4px; top: 4px; }
.spec:nth-child(3) .spec-icon::before { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); right: 2px; bottom: 2px; }
.spec:nth-child(4) .spec-icon { border-radius: 8px 8px 2px 2px; }
.spec:nth-child(5) .spec-icon::after {
  content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
  top: 6px; right: 6px; box-shadow: -10px 10px 0 var(--ink), -4px 16px 0 var(--ink);
}
.spec:nth-child(6) .spec-icon::after {
  content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.spec h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.spec p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Galerie / aperçu réel */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { border-radius: 18px; width: 100%; height: auto; display: block; }

/* Logos de confiance */
.logo-grid { display: grid; grid-template-columns: repeat(6, max-content); width: fit-content; margin: 0 auto; column-gap: 8px; row-gap: 28px; }
.logo-badge {
  width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid var(--border); background: #FFFFFF;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.logo-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.faq-head { text-align: left; }
.faq-head .kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brick-wine); margin: 0 0 14px;
}
.faq-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin: 0; line-height: 1.1; text-wrap: balance; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; font-size: 20px; font-weight: 400; color: var(--brick-wine);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }

/* Avis client */
.testimonial-spotlight { max-width: 680px; margin: 0 auto; text-align: center; padding: 0 20px; }
.testimonial-spotlight .quote-mark {
  font-size: 56px; line-height: 1; color: var(--brick-wine); font-weight: 700;
  display: block; margin-bottom: 4px; font-family: Georgia, serif;
}
.testimonial-spotlight p { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 0 0 18px; font-weight: 500; }
.testimonial-spotlight cite { font-style: normal; font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* Deux univers */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audience {
  display: block; text-decoration: none; color: var(--ink);
  border-radius: 24px; padding: 32px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.audience.private { background: var(--wine-light); }
.audience.corporate { background: var(--bronze-light); }
.audience small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.audience h3 { font-size: 21px; margin: 10px 0 6px; }
.audience p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; }
.audience span { font-weight: 600; font-size: 14px; }

/* Tarifs (teaser) */
.pricing-teaser {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--wine-light); border-radius: 28px; padding: clamp(36px, 5vw, 56px);
}
.pricing-copy .kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brick-wine); margin: 0 0 14px;
}
.pricing-copy h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.pricing-copy p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 24px; }
.pricing-stat { text-align: center; }
.pricing-amount { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; color: var(--brick-wine); line-height: 1; }
.pricing-label { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* CTA final */
.cta-final { background: var(--ink); color: var(--paper); text-align: center; border-radius: 28px; padding: clamp(48px, 7vw, 72px) clamp(24px, 5vw, 56px); }
.cta-final .kicker { color: var(--bronze-light); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; }
.cta-final h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; }
.cta-final p { color: #FAF6F0aa; max-width: 44ch; margin: 0 auto 28px; }
.cta-final .btn-primary { background: var(--bronze); color: var(--paper); }
.cta-final .btn-primary:hover { background: #574a26; }
.phonebook-cta {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--ink); color: var(--paper); border-radius: 28px; overflow: hidden;
}
.phonebook-cta-copy {
  padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center;
}
.phonebook-cta-copy .kicker {
  color: var(--bronze-light); font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; margin: 0 0 16px;
}
.phonebook-cta-copy h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; text-wrap: balance; }
.phonebook-cta-copy p { color: #FAF6F0aa; margin: 0 0 26px; font-size: 15px; }
.phonebook-cta-copy .btn-primary { background: var(--bronze); color: var(--paper); align-self: flex-start; }
.phonebook-cta-copy .btn-primary:hover { background: #574a26; }
.phonebook-cta-media { min-height: 280px; }
.phonebook-cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Formulaire de contact */
.contact-form { text-align: left; max-width: 640px; margin: 36px auto 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field-checkbox span {
  display: block; font-size: 13px; font-weight: 600; color: var(--bronze-light); margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%; background: #ffffff12; border: 1px solid #ffffff30; border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; color: var(--paper); font-family: var(--font-sans);
}
.contact-form input[type="date"] { color-scheme: dark; }
.contact-form input[type="date"]::-webkit-datetime-edit,
.contact-form input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.contact-form input[type="date"]::-webkit-datetime-edit-text,
.contact-form input[type="date"]::-webkit-datetime-edit-day-field,
.contact-form input[type="date"]::-webkit-datetime-edit-month-field,
.contact-form input[type="date"]::-webkit-datetime-edit-year-field {
  background: transparent; color: var(--paper);
}
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85); cursor: pointer;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.contact-form select option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #FAF6F088; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--bronze-light); outline-offset: 1px;
}
.field-checkbox {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 26px; cursor: pointer;
}
.field-checkbox input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.field-checkbox span { font-size: 13px; font-weight: 400; color: #FAF6F0cc; margin: 0; }
.contact-form .btn-primary { border: none; cursor: pointer; }

/* Formules tarifaires (page Tarifs) */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 24px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.plan-card.popular {
  border: 2px solid var(--brick-wine); transform: translateY(-16px);
  box-shadow: 0 16px 32px -14px rgba(36, 28, 26, 0.28);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brick-wine); color: #FBEEE9; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 10px; }
.plan-price { font-size: 42px; font-weight: 700; color: var(--brick-wine); line-height: 1; margin: 0 0 6px; }
.plan-note { font-size: 13px; color: var(--ink-soft); margin: 0 0 22px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; gap: 8px; font-size: 14px; color: var(--ink); align-items: flex-start; }
.plan-list li::before { content: '✓'; color: var(--bronze); font-weight: 700; flex-shrink: 0; }
.plan-list li.bonus::before { content: '★'; color: var(--brick-wine); }
.plan-cta { margin-top: auto; text-align: center; }
.delivery-note { text-align: center; font-size: 14px; color: var(--ink-soft); margin: 28px 0 0; }

/* Services sur mesure */
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addon-card { border-radius: 20px; padding: 22px 20px; }
.addon-card:nth-child(odd) { background: var(--wine-light); }
.addon-card:nth-child(even) { background: var(--bronze-light); }
.addon-price { display: block; font-size: 19px; font-weight: 700; color: var(--brick-wine); margin-bottom: 8px; }
.addon-card h3 { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 6px; }
.addon-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Fonds disponibles */
.backdrop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.backdrop-item { text-align: center; }
.backdrop-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 10px; }
.backdrop-item span { font-size: 13px; font-weight: 600; color: var(--ink); }

/* Pied de page */
.site-footer { border-top: 0.5px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 0.8fr; gap: 32px; margin-bottom: 32px; }
.footer-grid img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-grid p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.footer-grid strong { display: block; margin-bottom: 12px; font-size: 14px; }
.footer-grid a, .footer-grid span { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid .social-links { display: flex; gap: 10px; }
.footer-grid .social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin: 0; transition: background .15s ease;
}
.footer-grid .social-links a:hover { background: var(--bronze); color: var(--paper); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  border-top: 0.5px solid var(--border); padding-top: 20px; font-size: 12.5px; color: var(--ink-soft);
}
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--ink); }

/* Tablette */

/* Mobile */
