/* Site vitrine (planigroup.fr) — mêmes tokens que app.css (navy + accent
   cyan, Outfit), composants propres au site marketing (hero, tarifs, FAQ…).
   Charger APRÈS app.css. */

html, body { background: #fff; }
.site { font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site a { text-decoration: none; }
.site section { padding: 72px 32px; }
.site .wrap { max-width: 1240px; margin: 0 auto; }
.site .wrap.narrow { max-width: 720px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; min-height: 48px; }
.site-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy); }
.site-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.site-brand span { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; margin-left: 8px; }
.site-nav a { font-size: 13.5px; font-weight: 600; padding: 7px 11px; border-radius: var(--rs); color: var(--muted); white-space: nowrap; }
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); background: var(--bg); }
.site-login-btn { border: 0; background: var(--navy); color: #fff; font: 600 14px 'Outfit'; padding: 10px 20px;
  border-radius: var(--rs); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none;
  flex-shrink: 0; }
.site-login-btn:hover { background: var(--navy2); }
.site-hamburger { display: none; background: none; border: 0; color: var(--navy); font-size: 22px; line-height: 1;
  cursor: pointer; padding: 4px 8px; border-radius: var(--rs); }
.site-mobile-nav { display: none; flex-direction: column; padding: 8px 20px 16px; border-top: 1px solid var(--border); }
.site-mobile-nav a { padding: 10px 4px; font-size: 14.5px; font-weight: 600; color: var(--text2); border-bottom: 1px solid var(--border); }
.site-mobile-nav a.active { color: var(--navy); }
.site-mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .site-hamburger { display: flex; align-items: center; }
  .site-header.open .site-mobile-nav { display: flex; }
}

/* ── Hero ── */
.hero { background: var(--navy); padding: 80px 32px 64px; }
.hero .grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-block; background: var(--primary-l); color: var(--primary-d); font-size: 12.5px;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; }
.hero p { font-size: 17px; color: #a9b6c8; line-height: 1.6; margin: 0 0 32px; max-width: 480px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.outline { background: transparent; border: 1px solid #33445c; color: #fff; }
.hero .btn.outline:hover { background: rgba(255,255,255,.06); }
.hero img { width: 100%; border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.4); display: block; }

/* ── Bandeau info ── */
.info-band { background: var(--primary-l); border-top: 1px solid #bae6fd; border-bottom: 1px solid #bae6fd; padding: 24px 32px; }
.info-band p { max-width: 1240px; margin: 0 auto; font-size: 15.5px; color: #0c4a6e; line-height: 1.6; font-weight: 500; }

/* ── Cartes valeur / engagement ── */
.value-grid { background: var(--surface-2); }
.value-grid .grid3, .pricing-grid .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-grid .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 2px 14px rgba(13,27,42,.06); }
.value-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-l); display: flex;
  align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.value-card h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 8px; }
.value-card p { font-size: 14.5px; color: var(--text2); line-height: 1.6; margin: 0; }

/* ── Section header générique ── */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.sec-head p { font-size: 15.5px; color: var(--text2); margin: 0; }

/* ── Carrousel ── */
.carousel-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.carousel-tabs button { border: 0; background: transparent; cursor: pointer; font: 600 13px 'Outfit'; padding: 8px 16px; border-radius: var(--rs); color: var(--muted); }
.carousel-tabs button.active { background: var(--navy); color: #fff; }
.carousel-frame { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.carousel-viewport { height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; }
.carousel-viewport img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 28px rgba(13,27,42,.12); display: block; }
.carousel-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(13,27,42,.1); }
.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }
.carousel-label { text-align: center; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text2); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dots button { border: 0; padding: 0; cursor: pointer; width: 8px; height: 8px; border-radius: 999px; background: #d7dee6; transition: all .15s; }
.carousel-dots button.active { width: 22px; background: var(--accent2); }

/* ── Bandes CTA sombres ── */
.cta-band { background: var(--navy); padding: 64px 32px; }
.cta-band .row { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.cta-band p { font-size: 14.5px; color: #a9b6c8; margin: 0; }
.cta-band .actions { display: flex; gap: 14px; }

/* ── Footer ── */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 48px 32px 28px; }
.site-footer .cols { max-width: 1240px; margin: 0 auto 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-col { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.site-footer .brand-col img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.site-footer .brand-col span { font-size: 16px; font-weight: 800; color: var(--navy); }
.site-footer .baseline { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; max-width: 260px; }
.site-footer h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin: 0 0 12px; }
.site-footer .links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .links a { font-size: 13.5px; color: var(--text2); }
.site-footer .links a:hover { color: var(--navy); }
.site-footer .bottom { max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }

/* ── Offres / tarifs ── */
.pricing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 4px; gap: 2px; }
.pricing-toggle button { border: 0; font: 600 13.5px 'Outfit'; padding: 9px 20px; border-radius: 8px; cursor: pointer; background: transparent; color: var(--text2); }
.pricing-toggle button.active { background: var(--navy); color: #fff; }
.pricing-card { border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--accent2); box-shadow: 0 12px 32px rgba(14,165,233,.14); position: relative; }
.pricing-card .tag { position: absolute; top: -13px; left: 32px; background: var(--accent2); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pricing-card .plan-name { font-size: 13px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.pricing-card .price { font-size: 34px; font-weight: 800; margin-bottom: 2px; }
.pricing-card .period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-card ul { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text2); }
.pricing-card ul li .ck { color: var(--accent2); flex-shrink: 0; }
.pricing-card .btn { width: 100%; }
.pricing-note { max-width: 1180px; margin: 24px auto 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── Tableau comparatif ── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; box-shadow: 0 2px 14px rgba(13,27,42,.06); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
table.compare th, table.compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; font-size: 14px; color: var(--text2); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare th:first-child, table.compare td:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 600; color: var(--navy); white-space: nowrap; z-index: 1; }
table.compare thead th { background: var(--navy); color: #fff; padding: 20px 18px 16px; vertical-align: top; }
table.compare thead th:first-child { background: var(--navy); }
table.compare thead .pname { display: block; font-size: 15px; font-weight: 800; }
table.compare thead .pprice { display: block; font-size: 20px; font-weight: 800; margin-top: 4px; }
table.compare thead .pprice .per { font-size: 12px; font-weight: 500; color: #a9b6c8; margin-left: 2px; }
table.compare thead .ptag { display: inline-block; background: var(--accent2); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-bottom: 8px; }
table.compare .grp td { background: var(--surface-2); font-weight: 700; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 10px 18px; }
table.compare td.ok { color: var(--accent2); font-size: 17px; font-weight: 700; }
table.compare td.no { color: var(--muted); }
table.compare td.soft { font-size: 13px; }
table.compare td.hi { background: var(--primary-l); }
table.compare thead th.hi { background: var(--navy2); box-shadow: inset 0 3px 0 var(--accent2); }

/* ── FAQ accordéon ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item .q { width: 100%; text-align: left; border: 0; background: transparent; padding: 18px 20px; display: flex;
  justify-content: space-between; align-items: center; cursor: pointer; font: inherit; }
.faq-item .q span.txt { font-size: 15px; font-weight: 600; color: var(--navy); }
.faq-item .q span.chev { font-size: 14px; color: var(--muted); transition: transform .15s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .q span.chev { transform: rotate(180deg); }
.faq-item .a { padding: 0 20px 18px; font-size: 14px; color: var(--text2); line-height: 1.7; display: none; }
.faq-item.open .a { display: block; }

/* ── Fonctionnalités ── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.feat-row:last-of-type { border-bottom: 0; }
.feat-row.rev .txt { order: 2; }
.feat-row h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.feat-row p { font-size: 15px; color: var(--text2); line-height: 1.65; margin: 0 0 16px; }
.feat-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-row ul li { font-size: 14.5px; color: var(--text2); display: flex; gap: 8px; }
.feat-row ul li .ck { color: var(--accent2); }
.feat-row img { width: 100%; border-radius: 14px; box-shadow: 0 12px 32px rgba(13,27,42,.1); display: block; }
.feat-split { background: var(--navy); border-radius: 20px; padding: 48px; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.feat-split .col h3 { color: #fff; font-size: 19px; margin: 0 0 10px; }
.feat-split .col p { color: #a9b6c8; font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.feat-split .col a { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ── Tutoriels ── */
.tuto-list { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin: 0 auto; }
.tuto-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.tuto-card.featured { border-color: var(--accent2); background: var(--primary-l); }
.tuto-card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.tuto-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.tuto-card p { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 0 0 10px; }
.tuto-card ol { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: var(--text2); line-height: 1.8; }
.tuto-card .badge-soon { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info h2 { font-size: 22px; margin: 0 0 12px; }
.contact-info p { font-size: 14.5px; color: var(--text2); line-height: 1.7; margin: 0 0 18px; }
.contact-info .item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: var(--text2); }
.contact-info .item b { color: var(--navy); }
.contact-email-box { display: flex; align-items: center; gap: 14px; background: var(--primary-l); border: 1px solid #bae6fd;
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
.contact-email-box .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-email-box .lbl { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #0c4a6e; margin-bottom: 2px; }
.contact-email-box .mail { display: block; font-size: 16px; font-weight: 700; color: var(--navy); }
.contact-email-box .mail:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-ok { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 14px 16px; border-radius: var(--rs); font-size: 14px; margin-bottom: 16px; }
#contact-ok.show { display: block; }
#contact-err { display: none; background: var(--danger-l); border: 1px solid #fca5a5; color: var(--danger-d); padding: 12px 14px; border-radius: var(--rs); font-size: 14px; margin-bottom: 16px; }
#contact-err.show { display: block; }

@media (max-width: 880px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .value-grid .grid3, .pricing-grid .grid3, .value-grid .grid4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; }
  .feat-row.rev .txt { order: 0; }
  .feat-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .carousel-viewport { height: 320px; }
  table.compare th, table.compare td { padding: 11px 14px; font-size: 13px; }
  table.compare thead th { padding: 16px 14px 12px; }
}
