﻿/* ============================================================
   Thème legacy OrbitraHub — formulaires, pages builder, FAQ sécurité
   Complète orbitrahub-theme-alt.css (accueil / tarifs v2)
   ============================================================ */

/* FAQ sécurité & pages builder */
.faq-section-title { margin-top: 2.5rem; }
.faq-actions-note { margin-top: 2rem; }

.page-body [data-oh="faq-core"] .flex-title,
.page-body [data-oh="faq-core"] .faq-q,
.page-body [data-oh="faq-core"] .flex-desc,
.page-body [data-oh="faq-core"] .faq-list,
.page-body [data-oh="faq-core"] .faq-list li {
  text-align: left;
}

.page-body [data-oh="faq-core"] .faq-list {
  margin-left: 0;
  padding-left: 1.25rem;
}

.page-body [data-oh="faq-core"] .faq-actions-note {
  text-align: left;
}

.page-body[data-page-slug="faq-securite"] .container-width {
  max-width: 980px;
}

.page-body[data-page-slug="faq-securite"] .pricing-hero,
.page-body[data-page-slug="faq-securite"] .pricing-hero h1,
.page-body[data-page-slug="faq-securite"] .pricing-hero .pricing-tagline,
.page-body[data-page-slug="faq-securite"] .pricing-hero .intro {
  text-align: center !important;
}

.page-body[data-page-slug="faq-securite"] .flex-sect .flex-title,
.page-body[data-page-slug="faq-securite"] .flex-sect .faq-q,
.page-body[data-page-slug="faq-securite"] .flex-sect .flex-desc,
.page-body[data-page-slug="faq-securite"] .flex-sect .faq-list,
.page-body[data-page-slug="faq-securite"] .flex-sect .faq-list li,
.page-body[data-page-slug="faq-securite"] .flex-sect .faq-actions-note {
  text-align: left !important;
}

.page-body[data-page-slug="faq-securite"] .flex-sect .flex-desc {
  max-width: none !important;
  margin: 0 0 0.75rem !important;
}

.page-body[data-page-slug="faq-securite"] .flex-sect .faq-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.page-body[data-page-slug="faq-securite"] .flex-sect .faq-block {
  margin-bottom: 1.25rem;
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.page-body[data-page-slug="faq-securite"] .flex-sect .faq-q::after {
  content: none;
  display: none;
}

.container-width {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Sections claires utilisées dans la page tarifs */
.flex-sect {
  padding: 2rem 0;
  background: #f4f6f8;
  font-family: inherit;
}

.flex-sect:nth-of-type(even) {
  background: #f4f6f8;
}

.flex-sect .flex-title,
.compare-sect .flex-title,
.pourqui-sect .flex-title,
.offers-sect .flex-title,
.france-sect .flex-title {
  margin-bottom: 0;
  font-size: 1.75rem;
  text-align: center;
  font-weight: 700;
  color: #0f172a;
}

/* Masquage robuste Honeypot */
.dpo-hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Section Facturation électronique (PDP) : espace haut important (pas collé au bloc au-dessus)
   - .sect-spacer : bloc dans le HTML, conservé par le builder
   - .offers-sect + section : section juste après Add-ons Portails
   - .compliance-sect / .sect-spacing-top : si les classes sont conservées */
.sect-spacer {
  display: block;
  height: 5rem;
  min-height: 5rem;
}

.offers-sect {
  margin-bottom: 2rem;
}

.offers-sect + section,
.compliance-sect,
.sect-spacing-top {
  margin-top: 3rem;
  padding-top: 2.5rem;
}

/* Compliance PDP : renforcer l'espace au-dessus du titre et du sous-texte */
.compliance-sect .flex-title {
  margin-top: 1rem;
}

.compliance-sect .flex-desc {
  margin-top: 1rem;
}

.compliance-sect .flex-title.text-center {
  text-align: center;
}

/* Nouvelles cartes mini (Compliance) */
.pc-mini {
  padding: 1.5rem !important;
  min-height: auto !important;
}

.pc-mini .pc-title {
  font-size: 1.125rem !important;
}

.pc-mini .pc-amount {
  margin: 1.5rem 0 1rem !important;
  font-size: 1.25rem !important;
}

/* Bandeau Partenaire Fragolaweb */
.partner-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-badge {
  background: #23a94c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.pb-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.pb-content p {
  margin: 0;
  opacity: 0.9;
}

.pb-btn {
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.pb-btn:hover {
  background: #f4f6f8;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .partner-banner {
    flex-direction: column;
    text-align: center;
  }
}

.flex-sect .flex-desc {
  max-width: 680px;
  margin: 0 auto 0.75rem;
  font-size: 1rem;
  color: #6b7787;
  text-align: center;
  line-height: 1.6;
}

/* Tableau tarifs (add-ons, quotas) */
.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.oh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.oh-table th,
.oh-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e6eaef;
}

.oh-table th {
  background: #f4f6f8;
  color: #6b7787;
  font-weight: 600;
}

.oh-table tr:last-child td {
  border-bottom: none;
}

.table-note {
  font-size: 0.8125rem;
  color: #6b7787;
  margin-top: 1rem;
}

/* Hero tarifs (en-tête de la page) */
.pricing-hero {
  margin-bottom: 3rem;
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f4f6f8 100%);
  border-radius: 14px;
  border: 1px solid #e0f2fe;
}

.pricing-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pricing-hero .pricing-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: #1c6fe3;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.pricing-hero .intro {
  color: #6b7787;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.pricing-hero .intro strong {
  color: #334155;
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 2rem 1rem;
  }

  .pricing-hero h1 {
    font-size: 1.75rem;
  }
}

/* Cartes de prix (plans) */
.price-cards {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.price-card-cont {
  width: 260px;
  max-width: 100%;
}

.price-cards .price-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  font-weight: 400;
  color: #1e293b;
  width: 100%;
  border: 1px solid #e6eaef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.price-cards .price-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pc-title {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  background: #f4f6f8;
  color: #0f172a;
  border-bottom: 1px solid #e6eaef;
}

.pc-desc {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7787;
}

.pc-feature {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  color: #6b7787;
  border-bottom: 1px solid #f4f6f8;
}

.pc-feature.odd-feat {
  background: #f4f6f8;
}

.pc-amount {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  color: #1c6fe3;
  margin-top: auto;
}

.price-cards .price-card .pc-cta {
  margin-top: 0;
}

.price-cards .price-card.pc-regular {
  border: 2px solid #1c6fe3;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.price-cards .price-card.pc-regular .pc-title {
  background: #eff6ff;
  color: #1e40af;
}

.pc-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1c6fe3;
  padding: 0.25rem 0 0;
}

.pc-cta {
  display: block;
  text-align: center;
  padding: 0.625rem 1rem;
  margin: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pc-cta-primary {
  background: #1c6fe3;
  color: #fff;
}

.pc-cta-primary:hover {
  background: #165fca;
  color: #fff;
}

.pc-cta-secondary {
  background: #f4f6f8;
  color: #334155;
}

.pc-cta-outline {
  border: 1px solid #1c6fe3;
  color: #1c6fe3;
}

@media (max-width: 768px) {
  .price-card-cont {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ==== Compat Plan Enterprise (/p/plan-enterprise) ==== */

/* Liste d’intro centrée sous le titre */
.enterprise-intro-list-wrap {
  text-align: center;
  margin-bottom: 1rem;
}

.enterprise-intro-list {
  display: inline-block;
  max-width: 640px;
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.7;
  color: #6b7787;
  list-style-position: outside;
  text-align: left;
}

.enterprise-intro-list li {
  margin-bottom: 0.35em;
}

/* Boutons CTA (fond clair) */
.lead-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.lead-btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: #1c6fe3;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lead-btn:hover {
  background: #165fca;
  color: #fff;
}

.lead-btn-outline {
  background: transparent;
  border: 2px solid #1c6fe3;
  color: #1c6fe3;
}

.lead-btn-outline:hover {
  background: rgba(28,111,227,0.10);
  border-color: #1c6fe3;
  color: #165fca;
}

/* Section "Pour qui" */
.pourqui-sect {
  padding: 2rem 0;
  background: #fff;
  font-family: inherit;
}

.pourqui-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

.pourqui-list li {
  padding: 0.5rem 1rem;
  background: #f4f6f8;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #6b7787;
}

.pourqui-tagline {
  font-size: 1rem;
  color: #6b7787;
  text-align: center;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* Cartes avec .card-header / .card-body (Plan Enterprise "Ce qui est inclus") */
.flex-sect .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.flex-sect .card {
  background: #fff;
  width: 280px;
  min-height: 200px;
  border-radius: 12px;
  border: 1px solid #e6eaef;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.flex-sect .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.flex-sect .card-header {
  height: 8px;
  background: linear-gradient(90deg, #1c6fe3, #23a94c);
}

.flex-sect .card-header.ch2 {
  background: linear-gradient(90deg, #1e3a8a, #1c6fe3);
}

.flex-sect .card-header.ch3 {
  background: linear-gradient(90deg, #0f172a, #1e40af);
}

.flex-sect .card-body {
  padding: 1.25rem;
  color: #6b7787;
}

.flex-sect .card-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
  font-weight: 600;
}

/* Tableau comparatif (section "Pourquoi choisir le Plan Enterprise ?") */
.compare-sect {
  padding: 2rem 0;
  background: #f4f6f8;
  font-family: inherit;
}

.compare-table {
  width: 100%;
  max-width: 640px;
  margin: 1.25rem auto;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.compare-table th,
.compare-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e6eaef;
}

.compare-table th {
  background: #f4f6f8;
  color: #6b7787;
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .col-oh {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 500;
}

.compare-table .col-other {
  color: #6b7787;
}

.compare-quote {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

/* Note de section générique (ex: Volumes & performance) */
.sect-note {
  font-size: 0.9375rem;
  color: #6b7787;
  text-align: center;
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.6;
}

/* Section française + liste de garanties */
.france-sect {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  font-family: inherit;
}

.france-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

.france-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #6b7787;
}

.france-list li::before {
  content: "✓";
  color: #1c6fe3;
  font-weight: 700;
}

/* Section sombre (CTA final "Prêt à passer au Plan Enterprise ?") */
.blk-sect {
  padding: 2rem 0;
  background: #0f172a;
  color: #e6eaef;
  font-family: inherit;
}

.blk-title {
  color: #fff;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.blk-desc {
  color: #94a3b8;
  font-size: 1rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.25rem;
  line-height: 1.7;
}

.blk-btns {
  text-align: center;
}

.blk-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9px;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0.35rem;
  transition: background 0.2s, color 0.2s;
}

.blk-btn-primary {
  background: #1c6fe3;
  color: #fff;
}

.blk-btn-primary:hover {
  background: #165fca;
  color: #fff;
}

.blk-btn-outline {
  border: 1px solid #6b7787;
  color: #e6eaef;
}

.blk-btn-outline:hover {
  border-color: #6b7787;
  color: #fff;
}

/* ==== Page Contact DPO (/p/contact-dpo) ==== */

.dpo-success-msg {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 0.9375rem;
}

.dpo-error-msg {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  font-size: 0.9375rem;
}

.dpo-intro {
  padding: 2rem 0;
  background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-family: inherit;
}

.dpo-intro-inner {
  max-width: 720px;
}

.dpo-intro-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.dpo-intro-text {
  font-size: 1rem;
  color: #6b7787;
  line-height: 1.6;
  margin: 0;
}

.dpo-form-sect {
  padding: 0 0 2rem;
  font-family: inherit;
}

.dpo-form {
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dpo-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.dpo-field {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 200px;
}

.dpo-field-full {
  flex: 1 1 100%;
}

.dpo-field-radio .dpo-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.dpo-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
}

.dpo-radio-item input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #1c6fe3;
}

.dpo-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.dpo-label .required {
  color: #dc2626;
}

.dpo-input,
.dpo-select,
.dpo-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dpo-input:focus,
.dpo-select:focus,
.dpo-textarea:focus {
  outline: none;
  border-color: #1c6fe3;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dpo-textarea {
  min-height: 120px;
  resize: vertical;
}

.dpo-file {
  width: 100%;
  font-size: 0.9375rem;
  color: #6b7787;
}

.dpo-help {
  font-size: 0.875rem;
  color: #6b7787;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.dpo-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #6b7787;
  line-height: 1.5;
  cursor: pointer;
}

.dpo-checkbox-item input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: #1c6fe3;
}

.dpo-submit-wrap {
  margin-top: 0.5rem;
}

.dpo-submit {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #1c6fe3;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.dpo-submit:hover {
  background: #165fca;
}

.dpo-required-note {
  font-size: 0.8125rem;
  color: #6b7787;
  margin: 1rem 0 0;
}

.dpo-info-block {
  padding: 1.25rem;
  background: #f4f6f8;
  border-radius: 8px;
  border: 1px solid #e6eaef;
  font-size: 0.9375rem;
  color: #6b7787;
  line-height: 1.6;
}

.dpo-info-block p {
  margin: 0 0 0.5rem;
}

.dpo-info-block p:last-child {
  margin-bottom: 0;
}

.dpo-info-block a {
  color: #1c6fe3;
  text-decoration: none;
}

.dpo-info-block a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .dpo-field {
    flex: 1 1 100%;
  }

  .dpo-form {
    padding: 1.25rem;
  }
}
