/* ============================================================
   Landing Page — /bouton-rdv-google/
   Feuille autonome : la page ne charge pas landing.css.
   Mobile first. Aucune dépendance, aucune police lourde.
   Seules exceptions : les classes .generator-* du partial
   generator-section.php, stylées en fin de fichier.
   ============================================================ */

:root {
  --space-10: 2.5rem;
  --sf-gray-500: #6B7280;
  --sf-gray-300: #D1D5DB;
  --sf-sage: #8BA888;
  --sf-sage-dark: #6B8B68;
  --sf-gold: #D4A853;
  --sf-linen: #FAFBF9;
  --sf-ink: #1a1f2c;
  --sf-muted: #6b7280;
  --sf-border: #e6e5df;
  --sf-radius: 14px;
  --sf-shadow: 0 6px 24px rgba(26, 31, 44, .07);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--sf-ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sf-sage-dark); }

.lp-wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-wrap--narrow { max-width: 640px; }

/* ---------- 1. Hero ---------- */

.lp-hero {
  background: linear-gradient(180deg, var(--sf-linen) 0%, #fff 100%);
  padding: 28px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--sf-border);
}

.lp-brand {
  display: inline-block;
  margin-bottom: 8px;
}

.lp-brand img { height: 30px; width: auto; }

.lp-brand-baseline {
  margin: 0 0 28px;
  font-size: .88rem;
  color: var(--sf-muted);
}

.lp-h1-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--sf-gold);
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .01em;
}

.lp-h1 {
  margin: 0 0 18px;
  font-size: 1.85rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lp-hl {
  color: var(--sf-sage-dark);
  white-space: nowrap;
}

.lp-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 28px;
  padding: 8px 15px;
  border: 1px solid var(--sf-border);
  border-radius: 999px;
  background: #fff;
  font-size: .92rem;
  color: var(--sf-muted);
  text-align: left;
}

.lp-sub-g { flex: 0 0 auto; }

/* La pastille « collaboration avec Google » vit dans le bloc « Qui est derrière »,
   aligné à gauche : on annule le centrage hérité du hero. */
#qui .lp-sub {
  margin: 0 0 20px;
  font-size: .88rem;
}

/* ---------- CTA (un seul style, répété) ---------- */

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--sf-sage-dark);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(107, 139, 104, .28);
  transition: background .18s ease, transform .18s ease;
}

.lp-cta:hover,
.lp-cta:focus-visible {
  background: #5c7a59;
  transform: translateY(-1px);
}

/* ---------- Chapô (réponse directe, lisible par les moteurs IA) ---------- */
/* Pas d'encadré ni de libellé : le texte doit se lire comme une introduction
   de page, pas comme un bloc de documentation. */

.lp-section--tldr { padding: 34px 0 6px; }

.lp-tldr p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3f4654;
}

.lp-tldr p:last-child { margin-bottom: 0; }

.lp-tldr strong {
  color: var(--sf-ink);
  font-weight: 600;
}

/* « en collaboration avec Google » : surligné pour être vu même en diagonale */
.lp-highlight {
  font-style: normal;
  font-weight: 700;
  color: var(--sf-ink);
  background: linear-gradient(180deg, transparent 58%, rgba(212, 168, 83, .38) 58%);
  padding: 0 2px;
}

/* ---------- FAQ ---------- */

.lp-faq { display: grid; gap: 10px; }

.lp-faq-item {
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.lp-faq-q {
  padding: 15px 18px;
  font-size: .96rem;
  font-weight: 600;
  color: var(--sf-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.lp-faq-q::-webkit-details-marker { display: none; }

.lp-faq-q::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--sf-muted);
  border-bottom: 2px solid var(--sf-muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.lp-faq-item[open] .lp-faq-q::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.lp-faq-a {
  margin: 0;
  padding: 0 18px 16px;
  font-size: .92rem;
  line-height: 1.6;
  color: #3f4654;
}

/* ---------- Capture mobile ---------- */

.lp-mobile-shot { display: flex; justify-content: center; }

.lp-mobile-shot .lp-step { max-width: 340px; }

.lp-text--center { text-align: center; }

.lp-inline-link { font-weight: 600; white-space: nowrap; }

/* ---------- CTA répétés dans le corps de page ---------- */

.lp-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  text-align: center;
}

.lp-cta-note {
  font-size: .84rem;
  color: var(--sf-muted);
  line-height: 1.5;
}

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

.lp-section { padding: 44px 0; }

.lp-section--tint {
  background: var(--sf-linen);
  border-top: 1px solid var(--sf-border);
  border-bottom: 1px solid var(--sf-border);
}

.lp-h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.lp-h2--center { text-align: center; }

.lp-text {
  margin: 0 0 14px;
  color: #3f4654;
}

.lp-text:last-child { margin-bottom: 0; }

/* ---------- 2. Comparaison avant / après ---------- */
/* Le contraste doit sauter aux yeux : la fiche « sans bouton » est atténuée
   et barrée de rouge, celle « avec » est nette et soulignée de vert. */

.lp-compare-shots {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.lp-shot {
  /* column-reverse : l'étiquette est écrite avant l'image dans le HTML
     (bon ordre pour les lecteurs d'écran) mais s'affiche en dessous. */
  display: flex;
  flex-direction: column-reverse;
  margin: 0;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sf-shadow);
}

.lp-shot img { width: 100%; }

/* Variante « avant » : volontairement terne */
.lp-shot--before {
  border-color: rgba(217, 48, 37, .3);
}

.lp-shot--before img {
  filter: grayscale(.55) opacity(.8);
}

/* Variante « après » : nette, mise en avant */
.lp-shot--after {
  border-color: rgba(30, 142, 62, .45);
  box-shadow: 0 8px 28px rgba(30, 142, 62, .16);
}

/* Étiquette placée SOUS la capture : posée dessus, elle masquait le nom
   du praticien sur mobile. L'ordre visuel est inversé par flex-direction. */

.lp-shot-tag {
  padding: 9px 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.lp-shot-tag--before { background: #d93025; }
.lp-shot-tag--after  { background: #1e8e3e; }

/* ---------- Statistique ---------- */

.lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 30px auto 0;
  max-width: 520px;
  text-align: center;
}

.lp-stat-figure {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--sf-sage-dark);
}

.lp-stat-text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #3f4654;
}

/* ---------- 3. Avant / après ---------- */

.lp-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
}

.lp-step {
  margin: 0;
  text-align: center;
}

.lp-step img {
  width: 100%;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow);
  background: #fff;
}

.lp-step figcaption {
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--sf-muted);
}

.lp-steps-link {
  margin: 22px 0 0;
  text-align: center;
  font-size: .92rem;
}

/* ---------- 4. Comparaison ---------- */

.lp-compare {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--sf-gold);
  border-radius: 0 10px 10px 0;
  background: #fff;
  font-size: .96rem;
  color: #3f4654;
}

.lp-section--tint .lp-compare { background: #fff; }

/* ---------- 6. Qui est derrière ---------- */

.lp-founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.lp-founder-photo {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--sf-shadow);
}

.lp-founder-id p { margin: 0; }

.lp-founder-name { font-weight: 600; }

.lp-founder-place {
  font-size: .92rem;
  color: var(--sf-muted);
}

.lp-founder-contact {
  margin-top: 6px !important;
  font-size: .94rem;
}

.lp-founder-contact a { text-decoration: none; font-weight: 500; }
.lp-founder-contact a:hover { text-decoration: underline; }
.lp-founder-contact span { color: var(--sf-border); margin: 0 6px; }

.lp-review {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: var(--sf-shadow);
}

.lp-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.lp-review-text {
  margin: 0 0 16px;
  font-size: .97rem;
  color: #3f4654;
}

.lp-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
}

.lp-review-author img { border-radius: 50%; }

.lp-review-name { font-weight: 600; }

.lp-review-src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--sf-muted);
  text-decoration: none;
  font-size: .85rem;
}

.lp-review-src:hover { text-decoration: underline; }

/* ---------- 7. Bloc d'activation ---------- */

.lp-activate {
  padding: 48px 0;
  background: var(--sf-linen);
  border-top: 1px solid var(--sf-border);
  scroll-margin-top: 12px;
}

.lp-activate-sub {
  margin: 0 0 26px;
  text-align: center;
  color: var(--sf-muted);
  font-size: .96rem;
}

/* ============================================================
   Générateur (partial generator-section.php)
   Restylé pour cette page : le partial est conçu pour landing.css,
   qui n'est pas chargé ici.
   ============================================================ */

.generator-embed-section .section-header,
.generator-results .section-header .section-description,
.generator-preview .section-header .section-badge {
  /* Le partial porte ses propres titres : on garde ceux de la page */
}

.generator-embed-section > .container > .section-header { display: none; }

.generator-embed-section .container,
.generator-results .container,
.generator-preview .container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.generator-search {
  max-width: 560px;
  margin: 0 auto;
}

.generator-search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 999px;
  box-shadow: var(--sf-shadow);
}

.generator-search-icon { flex: 0 0 auto; width: 20px; height: 20px; }

#placesAutocomplete { flex: 1 1 auto; min-width: 0; }

#placesAutocomplete input,
.generator-manual-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--sf-ink);
  padding: 10px 0;
}

.generator-search-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: .84rem;
  color: var(--sf-muted);
}

/* Résultats de recherche */

.generator-results { padding: 28px 0 0; }

.generator-results .section-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.generator-results .section-description {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--sf-muted);
  text-align: center;
}

.generator-results-grid {
  display: grid;
  gap: 12px;
}

/* Aperçu */

.generator-preview { padding: 26px 0 0; }

.generator-preview .section-header { text-align: center; margin-bottom: 18px; }

.generator-preview .section-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sf-sage);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.generator-preview .section-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.generator-preview .section-description {
  margin: 0;
  font-size: .9rem;
  color: var(--sf-muted);
}

.text-gradient { color: var(--sf-sage-dark); }

.generator-loading {
  display: none;
  padding: 36px 0;
  text-align: center;
  color: var(--sf-muted);
  font-size: .94rem;
}

.generator-loading-spinner,
.sf-prev-spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border: 3px solid var(--sf-border);
  border-top-color: var(--sf-sage);
  border-radius: 50%;
  animation: lp-spin .8s linear infinite;
}

@keyframes lp-spin { to { transform: rotate(360deg); } }

/* CTA du générateur : même bouton que le reste de la page */

.generator-cta {
  display: none;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 22px 20px;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: var(--sf-shadow);
  text-align: center;
}

.generator-cta-title {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 700;
}

.generator-cta-sub {
  margin: 0;
  font-size: .92rem;
  color: var(--sf-muted);
}

.generator-cta-action { width: 100%; }

.generator-cta .btn,
.generator-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--sf-sage-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(107, 139, 104, .28);
  transition: background .18s ease, transform .18s ease;
}

.generator-cta .btn:hover { background: #5c7a59; transform: translateY(-1px); }

.generator-cta .btn svg { width: 18px; height: 18px; }

.generator-cta-note {
  margin: 12px 0 0;
  font-size: .85rem;
  color: var(--sf-muted);
  line-height: 1.5;
}

.generator-cta-note svg { display: none; }

/* Cadre d'aperçu */

.generator-preview-frame {
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sf-shadow);
}

.sf-prev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sf-border);
  background: var(--sf-linen);
  font-size: .82rem;
  color: var(--sf-muted);
  font-weight: 600;
}

.sf-device-switch { display: flex; gap: 4px; }

.sf-device-switch button {
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .78rem;
  color: var(--sf-muted);
  cursor: pointer;
}

.sf-device-switch button.active {
  background: #fff;
  border-color: var(--sf-border);
  color: var(--sf-ink);
}

.sf-prev-wrap { position: relative; background: #fff; }

.sf-prev-wrap iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.sf-prev-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  color: var(--sf-muted);
  font-size: .9rem;
}

/* Le JS masque le voile via l'attribut `hidden` une fois l'iframe chargée.
   Sans cette règle, le `display: flex` ci-dessus l'emporte sur `hidden` et
   l'aperçu reste bloqué sur « Chargement de votre page… ». */
.sf-prev-loading[hidden] { display: none; }

/* Relancer une recherche */

.generator-restart-row {
  display: none;
  justify-content: center;
  margin-bottom: 18px;
}

.generator-restart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--sf-border);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: .86rem;
  color: var(--sf-muted);
  cursor: pointer;
}

.generator-restart:hover { border-color: var(--sf-sage); color: var(--sf-ink); }

/* Badges de réassurance du partial : hors sujet ici (une seule promesse) */

.generator-reassurance-badges { display: none !important; }

/* Message d'erreur / indisponibilité */

.generator-search-unavailable,
.generator-toast {
  font-size: .93rem;
}

.generator-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sf-ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

/* ---------- Écrans larges ---------- */

@media (min-width: 700px) {
  body { font-size: 18px; }

  .lp-hero { padding: 36px 0 56px; }
  .lp-h1 { font-size: 2.5rem; }
  .lp-section { padding: 60px 0; }
  .lp-h2 { font-size: 1.6rem; }
  .lp-lead { font-size: 1.3rem; }

  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .lp-founder-photo { width: 96px; height: 96px; }

  .lp-activate { padding: 64px 0; }

  .sf-prev-wrap iframe { height: 640px; }
}

/* Aperçu en mode « mobile » (bouton du partial) */

.generator-preview-frame.is-mobile .sf-prev-wrap {
  max-width: 390px;
  margin: 0 auto;
  border-left: 1px solid var(--sf-border);
  border-right: 1px solid var(--sf-border);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Bandeau de consentement cookies (partial consent-banner.php)
   Repris ici car la page ne charge pas landing.css.
   ============================================================ */

.sf-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid var(--sf-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}

.sf-consent-banner--visible { transform: translateY(0); opacity: 1; }

.sf-consent-banner__content {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sf-consent-banner__text {
  flex: 1;
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--sf-ink);
}

.sf-consent-banner__link { color: var(--sf-sage-dark); text-decoration: underline; font-weight: 500; }

.sf-consent-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

.sf-consent-banner__btn {
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s ease;
}

.sf-consent-banner__btn--primary { background: var(--sf-sage-dark); color: #fff; }
.sf-consent-banner__btn--primary:hover { background: #5c7a59; }

.sf-consent-banner__btn--secondary {
  background: transparent;
  color: var(--sf-muted);
  border: 1px solid var(--sf-border);
}

.sf-consent-banner__btn--secondary:hover { color: var(--sf-ink); }

@media (min-width: 700px) {
  .sf-consent-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

/* ============================================================
   Éléments générés par page-generator.js
   Le JS injecte ces classes à l'exécution : sans elles, la carte
   « C'est bien vous ? » et la liste de résultats s'affichent brutes.
   ============================================================ */

/* Bouton « Rechercher » ajouté dans la barre de recherche */

.generator-search-btn {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--sf-sage-dark);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
}

.generator-search-btn:hover:not(:disabled) { background: #5c7a59; }
.generator-search-btn:disabled { opacity: .55; cursor: default; }

/* Liste de résultats complémentaires (Text Search côté serveur) */

.generator-extra-results {
  max-width: 560px;
  margin: 12px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: var(--sf-shadow);
  text-align: left;
}

.generator-extra-results[hidden] { display: none; }

.generator-extra-title {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sf-muted);
}

.generator-extra-list { display: grid; gap: 4px; }

.generator-extra-item {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.generator-extra-item:hover {
  background: var(--sf-linen);
  border-color: var(--sf-border);
}

.generator-extra-name {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--sf-ink);
}

.generator-extra-address {
  display: block;
  margin-top: 2px;
  font-size: .84rem;
  color: var(--sf-muted);
}

.generator-extra-empty {
  margin: 0;
  padding: 6px 2px;
  font-size: .88rem;
  color: var(--sf-muted);
}

/* Carte « C'est bien vous ? » */

.generator-result-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: var(--sf-shadow);
  text-align: left;
}

.generator-result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.generator-result-photo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--sf-linen);
}

.generator-result-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sf-sage) 0%, var(--sf-sage-dark) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.generator-result-info { min-width: 0; }

.generator-result-name {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sf-ink);
}

.generator-result-address {
  margin-top: 3px;
  font-size: .88rem;
  color: var(--sf-muted);
  line-height: 1.4;
}

/* Bouton « Découvrir mon aperçu de page » */

.generator-result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px 22px;
  border: none;
  border-radius: 999px;
  background: var(--sf-sage-dark);
  color: #fff;
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(107, 139, 104, .28);
  transition: background .18s ease, transform .18s ease;
}

.generator-result-btn:hover {
  background: #5c7a59;
  transform: translateY(-1px);
}

.generator-result-btn svg { flex: 0 0 auto; }


/* ============================================================
   Garde-fou : `hidden` doit toujours l'emporter sur un display
   défini plus haut (le JS masque plusieurs blocs par cet attribut).
   ============================================================ */

[hidden] { display: none !important; }



/* Règles de base manquantes (.footer et .container de landing.css) */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-4); }
}

.footer {
  background: var(--sf-ink);
  color: var(--sf-gray-400);
  padding: var(--space-10) 0 var(--space-6);
}

/* ============================================================
   Pied de page — partial commun vitrine/partials/footer.php
   Règles extraites de landing.css (non chargé sur cette page),
   avec les variables dont elles dépendent.
   ============================================================ */

:root {
  --radius-md: 10px;
  --sf-gray-400: #9CA3AF;
  --sf-sage: #8BA888;
  --sf-white: #FFFFFF;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --transition-base: 200ms ease;
  --transition-fast: 150ms ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

/* Footer à 5 colonnes (celui du partial : Produit, Spécialités, Légal, Contact) */
.footer-grid-5 {
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: var(--space-6);
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sf-white);
  margin-bottom: var(--space-4);
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--sf-gray-400);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--sf-sage);
  color: var(--sf-white);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  color: var(--sf-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--sf-sage);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  padding: 3px 10px 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.footer-trust-badge:hover {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-trust-badge svg {
  flex-shrink: 0;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 1100px) {
  .footer-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  .footer-grid-5 .footer-brand {
    grid-column: span 3;
    max-width: 100%;
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
  .footer-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-5 .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer-grid,
  .footer-grid-5 {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-grid-5 .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-trust-badges {
    justify-content: center;
  }
}
