/* --- maquette accueil --- */

    /* ═══════════════════════════════════════════════════════════════════════
       Landing Page Styles
       ═══════════════════════════════════════════════════════════════════════ */

    /* Header */
    .landing-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--header-height);
      background-color: rgba(250, 249, 247, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: var(--border-light);
      z-index: var(--z-sticky);
    }

    .landing-header__inner {
      max-width: var(--container-2xl);
      margin: 0 auto;
      padding: 0 var(--space-6);
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      font-family: var(--font-display);
      font-size: var(--text-xl);
      color: var(--ink-800);
      text-decoration: none;
    }

    .logo__icon {
      width: 36px;
      height: 36px;
      background: var(--ink-800);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo__icon svg {
      width: 20px;
      height: 20px;
      color: white;
    }

    .landing-nav {
      display: flex;
      align-items: center;
      gap: var(--space-8);
    }

    .landing-nav__links {
      display: flex;
      gap: var(--space-6);
    }

    .landing-nav__link {
      font-size: var(--text-sm);
      font-weight: var(--font-medium);
      color: var(--gray-600);
    }

    .landing-nav__link:hover {
      color: var(--ink-800);
    }

    .landing-nav__actions {
      display: flex;
      gap: var(--space-3);
    }

    /* Hero */
    .hero {
      padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
      text-align: center;
    }

    .hero__container {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      padding: var(--space-2) var(--space-4);
      background: var(--accent-100);
      color: var(--accent-700);
      font-size: var(--text-sm);
      font-weight: var(--font-medium);
      border-radius: var(--radius-full);
      margin-bottom: var(--space-6);
    }

    .hero__title {
      font-size: clamp(2.5rem, 5vw, 3.75rem);
      line-height: 1.1;
      color: var(--ink-800);
      margin-bottom: var(--space-6);
    }

    .hero__title em {
      font-style: italic;
      color: var(--accent-500);
    }

    .hero__subtitle {
      font-size: var(--text-xl);
      color: var(--gray-600);
      max-width: 600px;
      margin: 0 auto var(--space-8);
      line-height: var(--leading-relaxed);
    }

    .hero__actions {
      display: flex;
      justify-content: center;
      gap: var(--space-4);
      flex-wrap: wrap;
    }

    .hero__visual {
      margin-top: var(--space-16);
      position: relative;
    }

    .hero__papers {
      display: flex;
      justify-content: center;
      gap: var(--space-4);
      perspective: 1000px;
    }

    .hero__paper {
      width: 180px;
      aspect-ratio: 210 / 297;
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-xl);
      border: 1px solid var(--gray-100);
      padding: var(--space-4);
      transform-style: preserve-3d;
    }

    .hero__paper:nth-child(1) {
      transform: rotate(-8deg) translateY(20px);
    }

    .hero__paper:nth-child(2) {
      transform: scale(1.1);
      z-index: 2;
    }

    .hero__paper:nth-child(3) {
      transform: rotate(8deg) translateY(20px);
    }

    .hero__paper-header {
      height: 8px;
      background: var(--ink-800);
      border-radius: 2px;
      margin-bottom: var(--space-3);
    }

    .hero__paper-lines {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .hero__paper-line {
      height: 4px;
      background: var(--gray-200);
      border-radius: 2px;
    }

    .hero__paper-line:nth-child(2) { width: 85%; }
    .hero__paper-line:nth-child(3) { width: 70%; }
    .hero__paper-line:nth-child(4) { width: 90%; }
    .hero__paper-line:nth-child(5) { width: 60%; }

    /* Steps Section */
    .steps {
      padding: var(--space-24) 0;
      background: var(--surface);
    }

    .section-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto var(--space-16);
    }

    .section-eyebrow {
      font-size: var(--text-sm);
      font-weight: var(--font-semibold);
      color: var(--accent-500);
      text-transform: uppercase;
      letter-spacing: var(--tracking-wider);
      margin-bottom: var(--space-3);
    }

    .section-title {
      font-size: var(--text-4xl);
      margin-bottom: var(--space-4);
    }

    .section-desc {
      font-size: var(--text-lg);
      color: var(--gray-600);
    }

    .steps__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-8);
      max-width: var(--container-xl);
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .step {
      text-align: center;
      padding: var(--space-8);
    }

    .step__number {
      width: 56px;
      height: 56px;
      background: var(--ink-50);
      color: var(--ink-800);
      font-family: var(--font-display);
      font-size: var(--text-2xl);
      border-radius: var(--radius-full);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto var(--space-5);
    }

    .step__icon {
      width: 48px;
      height: 48px;
      margin: 0 auto var(--space-5);
      color: var(--ink-600);
    }

    .step__title {
      font-size: var(--text-xl);
      margin-bottom: var(--space-3);
    }

    .step__desc {
      color: var(--gray-600);
      line-height: var(--leading-relaxed);
    }

    /* Templates Showcase */
    .templates {
      padding: var(--space-24) 0;
      background: var(--bg);
    }

    .templates__showcase {
      max-width: var(--container-xl);
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .templates__grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: var(--space-4);
    }

    .template-card {
      text-align: center;
    }

    .template-card__preview {
      aspect-ratio: 210 / 297;
      background: white;
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-md);
      margin-bottom: var(--space-3);
      overflow: hidden;
      position: relative;
      transition: all var(--transition-base);
      cursor: pointer;
    }

    .template-card__preview:hover {
      border-color: var(--ink-400);
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }

    .template-card__name {
      font-size: var(--text-sm);
      font-weight: var(--font-medium);
      color: var(--gray-700);
    }

    /* Template inner styling - CSS-drawn A4 thumbnails */
    .tpl-inner {
      padding: 12%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    /* Classique */
    .tpl-classique .tpl-header {
      text-align: left;
      margin-bottom: 8%;
    }
    .tpl-classique .tpl-header-line {
      height: 3px;
      background: var(--ink-800);
      margin-bottom: 4px;
    }
    .tpl-classique .tpl-header-line:nth-child(2) { width: 60%; height: 2px; background: var(--gray-300); }
    .tpl-classique .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }
    .tpl-classique .tpl-body-line:nth-child(even) { width: 90%; }
    .tpl-classique .tpl-body-line:nth-child(3n) { width: 70%; }

    /* Bandeau */
    .tpl-bandeau::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 20%;
      background: var(--ink-800);
    }
    .tpl-bandeau .tpl-inner { padding-top: 25%; }
    .tpl-bandeau .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }

    /* Colonne */
    .tpl-colonne::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      width: 25%;
      background: var(--ink-100);
    }
    .tpl-colonne .tpl-inner { padding-left: 30%; }
    .tpl-colonne .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }

    /* Géométrique */
    .tpl-geometrique::before {
      content: '';
      position: absolute;
      top: 8%;
      right: 8%;
      width: 30%;
      height: 20%;
      border: 2px solid var(--accent-500);
    }
    .tpl-geometrique::after {
      content: '';
      position: absolute;
      bottom: 8%;
      left: 8%;
      width: 20%;
      height: 15%;
      background: var(--accent-100);
    }
    .tpl-geometrique .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }

    /* Cadre */
    .tpl-cadre::before {
      content: '';
      position: absolute;
      top: 6%;
      left: 6%;
      right: 6%;
      bottom: 6%;
      border: 2px solid var(--ink-800);
    }
    .tpl-cadre .tpl-inner { padding: 15%; }
    .tpl-cadre .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }

    /* Vagues */
    .tpl-vagues::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 15%;
      background: linear-gradient(135deg, var(--ink-800) 0%, var(--ink-600) 100%);
      clip-path: ellipse(80% 100% at 50% 0%);
    }
    .tpl-vagues .tpl-inner { padding-top: 20%; }
    .tpl-vagues .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
    }

    /* Filigrane */
    .tpl-filigrane::before {
      content: 'C';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-display);
      font-size: 80px;
      color: var(--gray-100);
      pointer-events: none;
    }
    .tpl-filigrane .tpl-body-line {
      height: 2px;
      background: var(--gray-200);
      margin-bottom: 4px;
      position: relative;
      z-index: 1;
    }

    /* Trust Section */
    .trust {
      padding: var(--space-24) 0;
      background: var(--ink-800);
      color: white;
    }

    .trust .section-eyebrow {
      color: var(--accent-300);
    }

    .trust .section-title {
      color: white;
    }

    .trust__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: var(--space-8);
      max-width: var(--container-xl);
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .trust-item {
      text-align: center;
      padding: var(--space-6);
    }

    .trust-item__icon {
      width: 48px;
      height: 48px;
      margin: 0 auto var(--space-4);
      color: var(--accent-400);
    }

    .trust-item__title {
      font-family: var(--font-display);
      font-size: var(--text-lg);
      margin-bottom: var(--space-2);
    }

    .trust-item__desc {
      font-size: var(--text-sm);
      color: var(--ink-300);
      line-height: var(--leading-relaxed);
    }

    /* Pricing Teaser */
    .pricing-teaser {
      padding: var(--space-24) 0;
      background: var(--surface);
    }

    .pricing-teaser__cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-6);
      max-width: 800px;
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .pricing-card {
      background: white;
      border: var(--border-default);
      border-radius: var(--radius-xl);
      padding: var(--space-8);
      text-align: center;
    }

    .pricing-card--featured {
      border-color: var(--ink-800);
      position: relative;
    }

    .pricing-card--featured::before {
      content: 'Populaire';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      background: var(--ink-800);
      color: white;
      font-size: var(--text-xs);
      font-weight: var(--font-semibold);
      padding: var(--space-1) var(--space-4);
      border-radius: var(--radius-full);
    }

    .pricing-card__name {
      font-size: var(--text-sm);
      font-weight: var(--font-semibold);
      color: var(--gray-500);
      text-transform: uppercase;
      letter-spacing: var(--tracking-wider);
      margin-bottom: var(--space-2);
    }

    .pricing-card__price {
      font-family: var(--font-display);
      font-size: var(--text-5xl);
      color: var(--ink-800);
      margin-bottom: var(--space-2);
    }

    .pricing-card__price span {
      font-size: var(--text-lg);
      color: var(--gray-500);
    }

    .pricing-card__desc {
      font-size: var(--text-sm);
      color: var(--gray-600);
      margin-bottom: var(--space-6);
    }

    .pricing-card__features {
      text-align: left;
      margin-bottom: var(--space-6);
    }

    .pricing-card__feature {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      padding: var(--space-2) 0;
      font-size: var(--text-sm);
      color: var(--gray-700);
    }

    .pricing-card__feature svg {
      width: 18px;
      height: 18px;
      color: var(--success-500);
      flex-shrink: 0;
    }

    /* FAQ */
    .faq {
      padding: var(--space-24) 0;
      background: var(--bg);
    }

    .faq__list {
      max-width: 700px;
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .faq-item {
      border-bottom: var(--border-light);
    }

    .faq-item__question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: var(--space-5) 0;
      background: none;
      border: none;
      text-align: left;
      font-size: var(--text-base);
      font-weight: var(--font-medium);
      color: var(--ink-800);
      cursor: pointer;
    }

    .faq-item__question:hover {
      color: var(--accent-600);
    }

    .faq-item__question svg {
      width: 20px;
      height: 20px;
      color: var(--gray-400);
      transition: transform var(--transition-fast);
    }

    .faq-item--open .faq-item__question svg {
      transform: rotate(180deg);
    }

    .faq-item__answer {
      padding-bottom: var(--space-5);
      color: var(--gray-600);
      line-height: var(--leading-relaxed);
      display: none;
    }

    .faq-item--open .faq-item__answer {
      display: block;
    }

    /* Footer */
    .landing-footer {
      background: var(--ink-900);
      color: var(--ink-300);
      padding: var(--space-16) 0 var(--space-8);
    }

    .landing-footer__inner {
      max-width: var(--container-xl);
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    .landing-footer__top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: var(--space-12);
      padding-bottom: var(--space-12);
      border-bottom: 1px solid var(--ink-700);
    }

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

    .footer-brand .logo {
      color: white;
      margin-bottom: var(--space-4);
    }

    .footer-brand__desc {
      font-size: var(--text-sm);
      line-height: var(--leading-relaxed);
    }

    .footer-col__title {
      font-size: var(--text-sm);
      font-weight: var(--font-semibold);
      color: white;
      margin-bottom: var(--space-4);
    }

    .footer-col__links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-col__link {
      display: block;
      padding: var(--space-2) 0;
      font-size: var(--text-sm);
      color: var(--ink-300);
    }

    .footer-col__link:hover {
      color: white;
    }

    .landing-footer__bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: var(--space-8);
      font-size: var(--text-sm);
    }

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

    .footer-legal a {
      color: var(--ink-400);
    }

    .footer-legal a:hover {
      color: white;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .templates__grid {
        grid-template-columns: repeat(4, 1fr);
      }

      .templates__grid .template-card:nth-child(n+5) {
        display: none;
      }

      .trust__grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .landing-footer__top {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .landing-nav__links {
        display: none;
      }

      .hero {
        padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
      }

      .hero__title {
        font-size: var(--text-3xl);
      }

      .hero__subtitle {
        font-size: var(--text-base);
      }

      .hero__papers {
        gap: var(--space-2);
      }

      .hero__paper {
        width: 100px;
      }

      .steps__grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
      }

      .step {
        padding: var(--space-4);
      }

      .templates__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3);
      }

      .templates__grid .template-card:nth-child(n+5) {
        display: block;
      }

      .templates__grid .template-card:nth-child(n+7) {
        display: none;
      }

      .trust__grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
      }

      .pricing-teaser__cards {
        grid-template-columns: 1fr;
      }

      .landing-footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-8);
      }

      .landing-footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
      }
    }
  
/* --- compléments --- */
.cdp-public{background:var(--canvas,#fff);min-height:100vh}
.cdp-public .logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.site-footer{padding:var(--space-8) var(--space-6);text-align:center;color:var(--gray-500);font-size:var(--text-sm);border-top:1px solid var(--ink-100);background:#fff}
.site-footer p{margin:0;display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-5);justify-content:center;align-items:center}
.site-footer a{color:var(--ink-600);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.site-footer a:hover{text-decoration:underline}
.pricing-card__price--soon{font-size:var(--text-2xl)!important}
.btn.is-disabled{opacity:.55;pointer-events:none}
@media (max-width:768px){
  .landing-header__inner{gap:var(--space-2);padding:0 var(--space-3)}
  .landing-header .logo{font-size:var(--text-lg);gap:var(--space-2);min-width:0}
  .landing-nav__actions{gap:var(--space-1);flex-shrink:0}
  .landing-nav__actions .btn{min-height:44px;padding-left:var(--space-3);padding-right:var(--space-3);white-space:nowrap}
}

details.faq-item>summary{list-style:none;cursor:pointer}
details.faq-item>summary::-webkit-details-marker{display:none}
details.faq-item .faq-item__answer{display:none}
details.faq-item[open] .faq-item__answer{display:block}
details.faq-item[open] .faq-item__question svg{transform:rotate(180deg)}
.faq-item__answer a{color:var(--accent-600)}
.pricing-card__feature svg{flex:none}

/* --- retouches après relecture des captures --- */
.trust .trust-item__title{color:#fff}
.pricing-card--featured::before{content:'Bientôt'}
@media (max-width:1024px){.templates__grid .template-card:nth-child(n+5){display:block}}
@media (max-width:768px){
  .templates__grid{grid-template-columns:repeat(2,1fr)}
  .templates__grid .template-card:nth-child(n+7){display:block}
  .section-header{padding:0 var(--space-4)}
}
/* Petits téléphones : libellé court, puis logo seul, pour que tout tienne sur une ligne */
.label-short{display:none}
@media (max-width:380px){
  .landing-nav__actions .label-long{display:none}
  .landing-nav__actions .label-short{display:inline}
}
@media (max-width:340px){.landing-header .logo__text{display:none}}
