/* Pages pour les entreprises : l'offre et les guides. Une seule colonne sur téléphone, une vraie grille sur ordinateur. */
.of-width { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.offer h2 { margin: 0; font-size: clamp(1.625rem, 5.6vw, 2.25rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.offer h3 { margin: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }

/* Haut de page */
.of-hero { padding: clamp(28px, 6vh, 72px) 0 clamp(48px, 9vh, 96px); color: var(--on-dark); background: var(--dark); }
.of-hero-grid { display: grid; gap: 36px; }
.of-hero h1 { font-size: clamp(2.125rem, 8.4vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.of-amount { display: block; color: var(--brand); }
.of-lead { max-width: 32em; margin-top: 20px; color: #d6d6d0; font-size: clamp(1.0625rem, 4.2vw, 1.25rem); line-height: 1.5; }
.of-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; margin-top: 28px; padding: 14px 26px; border-radius: 14px; color: var(--ink); background: var(--brand); font-size: 1.125rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.of-cta:hover { background: #d8b23a; transform: translateY(-1px); }
.of-cta:active { transform: translateY(0); }
.of-cta svg { transition: transform 160ms var(--ease); }
.of-cta:hover svg { transform: translateX(4px); }
.of-hint { max-width: 30em; margin-top: 14px; color: #b9bbb6; font-size: .9375rem; line-height: 1.45; }

/* Le « bon » : le code et les trois chiffres de l'offre */
.of-ticket { align-self: center; padding: 26px; border: 1px solid #3a3b37; border-radius: 22px; background: #171816; }
.of-ticket .of-code { margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px dashed #4a4b46; border-radius: 0; background: none; }
.of-terms { display: grid; gap: 18px; margin: 22px 0 0; }
.of-terms div { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 14px; }
.of-terms dt { color: var(--on-dark); font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.of-terms dd { margin: 0; color: #c4c5bf; font-size: 1rem; line-height: 1.35; }

/* Sections */
.of-section { padding: clamp(48px, 9vh, 96px) 0; }
.of-section-tint { background: #f7f5ee; }
.of-benefits, .of-steps, .of-guides { margin: 0; padding: 0; list-style: none; }
.of-benefits { display: grid; gap: 28px; margin-top: 32px; }
.of-benefits li { padding-top: 20px; border-top: 2px solid var(--ink); }
.of-benefits p, .of-steps p { margin-top: 8px; color: #4a4c48; font-size: 1.0625rem; line-height: 1.5; }
.of-steps { display: grid; gap: 30px; margin-top: 32px; counter-reset: none; }
.of-step-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; color: var(--ink); background: var(--brand); font-size: 1.125rem; font-weight: 800; }
.of-who { max-width: 44em; margin-top: 40px; padding-top: 22px; border-top: 1px solid #ddd9c9; color: #4a4c48; font-size: 1.0625rem; line-height: 1.5; }
.of-faq-grid { display: grid; gap: 24px; }
.of-faq-grid .faq { min-width: 0; }
.of-guides { display: grid; gap: 12px; margin-top: 28px; }
.of-guide { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 18px 20px; border: 1px solid #ddd9c9; border-radius: 14px; background: var(--paper); font-size: 1.0625rem; font-weight: 750; line-height: 1.3; text-decoration: none; transition: border-color 160ms var(--ease), transform 160ms var(--ease); }
.of-guide:hover { border-color: var(--ink); transform: translateY(-1px); }

/* Dernier appel */
.of-final { padding: clamp(48px, 9vh, 88px) 0; color: var(--on-dark); background: var(--dark); }
.of-final h2 { font-size: clamp(1.75rem, 6.4vw, 2.75rem); }
.of-final .of-cta { margin-top: 24px; }
.of-verified { margin-top: 22px; color: #b9bbb6; font-size: .875rem; line-height: 1.5; }

@media (min-width: 860px) {
  .of-benefits, .of-steps, .of-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .of-guides { gap: 16px; }
}
@media (min-width: 1000px) {
  .of-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
  .of-faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
  .of-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .of-final .of-cta { margin-top: 0; }
  .of-verified { grid-column: 1 / -1; }
}

/* Guides : une colonne de lecture confortable */
.guide-article { padding: clamp(28px, 6vh, 64px) 0 clamp(48px, 9vh, 96px); }
.guide-article .driver-width { width: min(720px, 100%); }
.guide-article h1 { font-size: clamp(1.875rem, 7vw, 2.875rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.guide-intro { margin-top: 20px; color: #33352f; font-size: 1.1875rem; line-height: 1.55; }
.guide-article h2 { margin-top: 48px; font-size: clamp(1.375rem, 5vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.guide-article p, .guide-article li { font-size: 1.0625rem; line-height: 1.65; }
.guide-article h2 + p, .guide-article h2 + ul, .guide-article p + p, .guide-article p + ul, .guide-article ul + p { margin-top: 14px; }
.guide-article ul { margin-bottom: 0; padding-left: 1.25em; display: grid; gap: 8px; }
.guide-article li::marker { color: var(--brand-deep); }
.guide-offer { margin-top: 30px; }
.guide-offer .of-cta { margin-top: 0; }
.guide-article .of-verified { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); }

/* Mouvement : le « bon » se retourne comme une carte à l'arrivée, les blocs montent quand on y arrive, les cartes répondent au survol. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes of-ticket-in { 0% { opacity: 0; transform: perspective(900px) rotateY(-80deg) translateX(24px) scale(.92); } 60% { opacity: 1; transform: perspective(900px) rotateY(8deg) scale(1.02); } 100% { transform: none; } }
  @keyframes of-rise { from { opacity: 0; transform: translateY(18px); } }
  .of-hero-text > * { animation: of-rise .65s cubic-bezier(.16, 1, .3, 1) both; }
  .of-hero-text > :nth-child(2) { animation-delay: .08s; }
  .of-hero-text > :nth-child(3) { animation-delay: .16s; }
  .of-hero-text > :nth-child(4) { animation-delay: .24s; }
  .of-ticket { animation: of-ticket-in .9s cubic-bezier(.2, .8, .25, 1) .2s both; }
  .of-guide { transition: transform .22s cubic-bezier(.16, 1, .3, 1), border-color .22s ease, box-shadow .22s ease; }
  .of-guide:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(13 14 12 / .1); }
  .of-guide svg, .of-cta svg { transition: transform .22s cubic-bezier(.16, 1, .3, 1); }
  .of-guide:hover svg, .of-cta:hover svg { transform: translateX(4px); }
  .of-cta { transition: transform .16s cubic-bezier(.16, 1, .3, 1), background-color .16s ease; }
  .of-cta:hover { transform: translateY(-2px); }
  .of-cta:active { transform: scale(.97); }
  @supports (animation-timeline: view()) {
    .of-benefits li, .of-steps li, .of-guides li, .of-section h2 { animation: of-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  }
}
