/* Template Verticale — unifié avec le design produit (crème) */

.page-verticale {
  --v-accent: #8b6e5a;
  --v-accent-hover: #725a49;
  --hero-image: url("assets/hero-vintage.png");
  background: #fdfbf7;
  color: #2d241e;
}

.page-montres { --hero-image: url("assets/hero-montres.jpg"); }
.page-mobilier { --hero-image: url("assets/hero-mobilier.jpg"); }
.page-jouets { --hero-image: url("assets/hero-jouets.jpg"); }
.page-brocante { --hero-image: url("assets/hero-brocante.jpg"); }
.page-automobilia { --hero-image: url("assets/hero-automobilia.jpg"); }
.page-vins { --hero-image: url("assets/hero-vins.jpg"); --v-accent: #7a3e48; --v-accent-hover: #5e2f37; }
.page-timbres { --hero-image: url("assets/hero-timbres.jpg"); --v-accent: #6b5a3e; --v-accent-hover: #53452f; }
.page-livres { --hero-image: url("assets/hero-livres-anciens.jpg"); --v-accent: #5a4638; --v-accent-hover: #43352a; }
.page-monnaies { --hero-image: url("assets/hero-monnaies.jpg"); --v-accent: #8a6b2f; --v-accent-hover: #6b5324; }

.page-verticale.page-produit .header,
.page-verticale .header {
  background: rgba(253, 251, 247, 0.92);
  border-bottom: 1px solid #e8e4e0;
  backdrop-filter: blur(12px);
}

.page-verticale .header.is-scrolled {
  background: rgba(253, 251, 247, 0.98);
}

.page-verticale .logo,
.page-verticale .logo-mark {
  color: #2d241e;
}

.page-verticale .logo-tag,
.page-verticale .nav-links > li > a:not(.btn),
.page-verticale .nav-dropdown > button {
  color: #6b5f54;
}

.page-verticale .nav-links > li > a:not(.btn):hover,
.page-verticale .nav-dropdown > button:hover {
  color: #2d241e;
}

.page-verticale .menu-toggle span {
  background: #2d241e;
}

.page-verticale .nav-dropdown-panel {
  background: #fff;
  border-color: #e8e4e0;
}

.page-verticale .nav-dropdown-panel a {
  color: #6b5f54;
}

.page-verticale .nav-dropdown-panel a:hover {
  color: #2d241e;
  background: #f5f3f0;
}

.page-verticale .lang-switch {
  color: #6b5f54;
}

.page-verticale .lang-switch:hover {
  color: #2d241e;
}

.page-verticale .btn-primary {
  background: #8b6e5a;
  color: #fff;
}

.page-verticale .btn-primary:hover {
  background: #725a49;
  color: #fff;
}

.page-verticale .header .logo-img {
  filter: none;
}

.page-verticale .header .logo,
.page-institutionnel .header .logo {
  align-items: center; /* Vintage Expert aligné au milieu du logo */
}

.page-verticale .header .logo-text,
.page-institutionnel .header .logo-text {
  position: relative;
  display: block;
}

.page-verticale .header .logo-mark,
.page-institutionnel .header .logo-mark {
  display: block;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .page-verticale .nav-links {
    background: #fff;
    border-bottom-color: #e8e4e0;
  }

  .page-verticale .nav-links > li {
    border-bottom-color: #e8e4e0;
  }
}

/* Hero split : texte + vraie image marque */
.v-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: auto;
  padding: calc(var(--header-h) + 3rem) 1.5rem 3.5rem;
  max-width: 1120px;
  margin: 0 auto;
  color: #2d241e;
  background: transparent;
  overflow: visible;
}

.v-hero-media {
  position: relative;
  inset: auto;
  z-index: 0;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f3f0;
  border: 1px solid #e8e4e0;
  order: 2;
}

.v-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

/* Fallback si pas d’img dans le HTML */
.v-hero-media:not(:has(img))::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
}

.v-hero-media::after {
  display: none;
}

.v-hero-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  order: 1;
}

.v-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.85rem;
  color: #8b6e5a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.v-brand span {
  font-style: normal;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin: 0;
  color: #9a8e82;
}

.v-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 16ch;
  color: #2d241e;
}

.v-hero-support {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #6b5f54;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.v-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-verticale .v-hero .btn-primary {
  background: #8b6e5a;
  color: #fff;
}

.page-verticale .v-hero .btn-primary:hover {
  background: #725a49;
}

.page-verticale .v-hero .btn-ghost {
  border: 1px solid #e8e4e0;
  color: #2d241e;
  background: transparent;
}

.page-verticale .v-hero .btn-ghost:hover {
  background: #f5f3f0;
}

/* Preuve */
.v-preuve {
  background: #f5f3f0;
  padding: 5rem 0;
}

.page-verticale .section-kicker {
  color: #8b6e5a;
  font-family: Inter, system-ui, sans-serif;
}

.page-verticale .section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: #2d241e;
  max-width: 18ch;
}

.page-verticale .section-lead {
  color: #6b5f54;
}

.v-preuve-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.v-preuve-visual {
  background: #2d241e;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.v-preuve-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.v-preuve-visual:not(:has(img))::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0.95;
}

.v-preuve-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(45, 36, 30, 0.7);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}

.v-fiche {
  border: 1px solid #e8e4e0;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.v-fiche-meta {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8e82;
}

.v-fiche h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}

.v-fiche dl {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.55rem 1rem;
  font-size: 0.95rem;
}

.v-fiche dt {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a8e82;
  padding-top: 0.15rem;
}

.v-fiche dd {
  color: #2d241e;
}

.v-fiche-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e8e4e0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.v-fiche-price strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #8b6e5a;
}

.v-fiche-price span {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  color: #9a8e82;
}

/* Audience */
.v-audience {
  padding: 5rem 0;
  background: #fdfbf7;
}

.v-audience-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e8e4e0;
}

.v-audience-item {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e8e4e0;
}

.v-audience-item h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.v-audience-item p {
  color: #6b5f54;
  max-width: 40rem;
}

/* Univers */
.v-univers {
  background: #2d241e;
  color: #fdfbf7;
  padding: 5rem 0;
}

.v-univers .section-kicker {
  color: #c4a994;
}

.v-univers .section-title {
  color: #fdfbf7;
}

.v-univers .section-lead {
  color: #b7aea5;
}

.v-univers-list {
  columns: 2;
  column-gap: 3rem;
}

.v-univers-list li {
  break-inside: avoid;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(253, 251, 247, 0.12);
}

.v-univers-list strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.v-univers-list span {
  font-size: 0.95rem;
  color: #b7aea5;
}

/* Steps */
.v-steps {
  padding: 5rem 0;
  background: #fdfbf7;
}

.v-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.v-step {
  counter-increment: step;
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 16px;
  padding: 1.5rem;
}

.v-step::before {
  content: "0" counter(step);
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #8b6e5a;
  margin-bottom: 0.85rem;
}

.v-step h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.v-step p {
  color: #6b5f54;
  font-size: 0.98rem;
}

/* Platforms — déjà stylés, ajustements crème */
.v-platforms {
  padding: 5rem 0;
  background: #f5f3f0;
  border-top: none;
}

.v-platforms .section-title {
  max-width: 22ch;
}

.v-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.plateforme-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 118px;
  padding: 1.1rem 0.75rem;
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 560;
  color: #2d241e;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}

a.plateforme-item:hover {
  border-color: #8b6e5a;
  transform: translateY(-2px);
  color: #2d241e;
}

.plateforme-logo {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.plateforme-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.plateforme-initial {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b6e5a;
  background: #f5f3f0;
  border: 1px solid #e8e4e0;
  border-radius: 8px;
}

.plateforme-initial.fallback {
  display: grid;
}

.plateforme-logo-plus {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 500;
  color: #9a8e82;
  border: 1px dashed #e8e4e0;
  border-radius: 8px;
}

.plateforme-item-plus {
  border-style: dashed;
  color: #9a8e82;
  cursor: default;
}

/* Guide éditorial (pages univers — contenu pédagogique) */
.v-guide {
  padding: 4.5rem 0;
  border-top: 1px solid #e8e4e0;
}

.v-guide .section-lead {
  max-width: 38rem;
}

.v-guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.75rem 0 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid #e8e4e0;
  border-bottom: 1px solid #e8e4e0;
}

.v-guide-toc a {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--v-accent);
  text-decoration: none;
}

.v-guide-toc a:hover {
  color: #2d241e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v-guide-block {
  scroll-margin-top: calc(var(--header-h, 72px) + 1rem);
}

.v-guide-block + .v-guide-block {
  margin-top: 0.5rem;
}

.v-guide-prose {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #6b5f54;
  line-height: 1.7;
  font-size: 1.02rem;
}

.v-guide-prose p + p {
  margin-top: 1rem;
}

.v-guide-prose a {
  color: var(--v-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.v-guide-prose a:hover {
  color: #2d241e;
}

.v-guide-sub {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  color: #2d241e;
  margin: 2.75rem 0 1rem;
}

.v-guide-note {
  font-size: 0.92rem;
  color: #9a8e82;
  max-width: 40rem;
  margin: 0 0 1.15rem;
  line-height: 1.55;
}

.v-criteres {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: critere;
}

.v-criteres li {
  counter-increment: critere;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 14px;
}

.v-criteres li::before {
  content: counter(critere, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--v-accent);
  padding-top: 0.2rem;
}

.v-criteres strong {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  color: #2d241e;
}

.v-criteres span {
  grid-column: 2;
  color: #6b5f54;
  font-size: 0.92rem;
  line-height: 1.55;
}

.v-paliers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.v-paliers li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-left: 3px solid var(--v-accent);
  border-radius: 0 12px 12px 0;
}

.v-paliers strong {
  font-size: 0.95rem;
  color: #2d241e;
}

.v-paliers span {
  font-size: 0.9rem;
  color: #6b5f54;
  line-height: 1.5;
}

.v-lexique {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.v-lexique > div {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e8e4e0;
}

.v-lexique dt {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #2d241e;
}

.v-lexique dd {
  margin: 0;
  font-size: 0.92rem;
  color: #6b5f54;
  line-height: 1.55;
}

.v-guide-aside {
  margin-top: 2.5rem;
  padding: 1.15rem 1.35rem;
  background: #f5f3f0;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #6b5f54;
  line-height: 1.6;
  max-width: 42rem;
}

.v-guide-aside a {
  color: var(--v-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v-guide-aside a:hover {
  color: #2d241e;
}

@media (max-width: 700px) {
  .v-lexique > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .v-criteres li {
    grid-template-columns: 1fr;
  }

  .v-criteres li::before {
    grid-row: auto;
  }

  .v-criteres span {
    grid-column: 1;
  }
}

/* CTA */
.v-cta {
  background: #8b6e5a;
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}

.v-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.v-cta p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.v-cta .btn-primary {
  background: #fff;
  color: #8b6e5a;
}

.v-cta .btn-primary:hover {
  background: #fdfbf7;
  color: #725a49;
}

.v-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  margin-left: 0.65rem;
}

.page-verticale .footer {
  background: #2d241e;
}

.page-verticale .footer .logo-img {
  filter: invert(1);
}

.page-verticale .footer .logo-mark,
.page-verticale .footer .logo-tag {
  color: #fdfbf7;
}

@media (max-width: 900px) {
  .v-hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .v-hero-media {
    order: 0;
    min-height: 240px;
  }

  .v-hero-media img {
    min-height: 240px;
  }

  .v-hero-inner {
    order: 1;
  }

  .v-hero h1 {
    max-width: none;
  }

  .v-preuve-grid,
  .v-audience-item,
  .v-steps-row {
    grid-template-columns: 1fr;
  }

  .v-univers-list {
    columns: 1;
  }

  .v-cta .btn-ghost {
    margin-left: 0;
    margin-top: 0.65rem;
  }
}
