/* ============================================================
   OFFICEA — Home Extras
   v1.0 — Styles complémentaires pour les nouvelles sections
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   DUALITY (Avec ou sans secrétaire ?)
   ════════════════════════════════════════════════════════════ */
.duality {
  padding: 80px 0;
  background: #faf6ed;
}
.duality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .duality-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .duality { padding: 56px 0; }
}

.duality-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 2px 8px rgba(26, 41, 66, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.duality-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 41, 66, 0.08);
}

.duality-card-featured {
  background: linear-gradient(180deg, #fff 0%, #fff8e8 100%);
  border: 1px solid #e0d4a8;
}

.duality-tag {
  position: absolute;
  top: -12px;
  right: 28px;
  background: #b8843f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 20px;
}

.duality-icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

.duality-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8843f;
  font-weight: 600;
  margin: 0 0 8px;
}

.duality-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a2942;
  margin: 0 0 14px;
  line-height: 1.15;
}
.duality-card h3 em {
  color: #b8843f;
  font-style: italic;
}

.duality-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 18px;
  flex: 1;
}

.duality-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.duality-list li {
  padding: 7px 0;
  padding-left: 24px;
  position: relative;
  font-size: 13.5px;
  color: #1a2942;
  border-bottom: 1px solid #f5f0e0;
}
.duality-list li:last-child {
  border-bottom: none;
}
.duality-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b8843f;
  font-weight: 700;
}
.duality-list li strong {
  color: #b8843f;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   PRICING LOADING STATE
   ════════════════════════════════════════════════════════════ */
.pricing-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #8a8474;
  font-size: 14px;
}
.pricing-loading::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border: 3px solid #e0d7c0;
  border-top-color: #b8843f;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: pricing-spin 0.9s linear infinite;
}
@keyframes pricing-spin {
  to { transform: rotate(360deg); }
}

.pricing-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #8a8474;
}
.pricing-error a {
  color: #b8843f;
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq {
  padding: 80px 0;
  background: #fff;
}
@media (max-width: 768px) {
  .faq { padding: 56px 0; }
}

.faq .section-head {
  margin-bottom: 40px;
  text-align: center;
}

.faq-item {
  background: #faf6ed;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
  transition: background 0.2s ease;
}
.faq-item[open] {
  background: #fff8e8;
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #1a2942;
  list-style: none;
  position: relative;
  padding-right: 50px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #b8843f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: #1a2942;
}

.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4a4a4a;
}
.faq-item p strong {
  color: #1a2942;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   HERO STATS (ajustement pour 4 formules)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-stats {
    gap: 12px;
  }
  .hero-stats div strong {
    font-size: 22px;
  }
  .hero-stats div span {
    font-size: 10.5px;
  }
}

/* ════════════════════════════════════════════════════════════
   POURQUOI OFFICEA — Comparatif + Roadmap IA
   ════════════════════════════════════════════════════════════ */
.why-officea {
  padding: 80px 0;
  background: #fff;
}
@media (max-width: 768px) {
  .why-officea { padding: 56px 0; }
}

.section-head-small {
  margin-bottom: 32px;
  text-align: center;
}
.section-head-small h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #1a2942;
  margin: 8px 0 12px;
  line-height: 1.15;
}
.section-head-small h3 em {
  color: #b8843f;
  font-style: italic;
}

/* ════ TABLEAU COMPARATIF ════ */
.compare-wrap {
  margin: 40px 0 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 41, 66, 0.06);
}

.compare-table thead th {
  padding: 18px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table thead th:nth-child(1) {
  background: #1a2942;
  color: #fff;
}
.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  background: #faf6ed;
  color: #6a6478;
}
.compare-table thead th.compare-col-highlight {
  background: #b8843f;
  color: #fff;
  position: relative;
}
.compare-table thead th.compare-col-highlight::after {
  content: "Recommandé";
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 9px;
  background: #fff;
  color: #b8843f;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.compare-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: #4a4a4a;
  border-top: 1px solid #f0e9d8;
  vertical-align: middle;
  line-height: 1.45;
}
.compare-table tbody td.compare-criteria {
  background: #faf6ed;
  font-weight: 600;
  color: #1a2942;
  white-space: nowrap;
}
.compare-table tbody td small {
  display: block;
  font-size: 11px;
  color: #8a8474;
  font-weight: 400;
  margin-top: 2px;
}
.compare-table tbody td.compare-highlight {
  background: #fff8e8;
  color: #1a2942;
  font-weight: 500;
  border-left: 1px solid #e0c98c;
  border-right: 1px solid #e0c98c;
}
.compare-table tbody td.compare-highlight strong {
  color: #b8843f;
  font-size: 15px;
}
.compare-table tbody tr:last-child td.compare-highlight {
  border-bottom: 1px solid #e0c98c;
}

.compare-foot {
  margin: 14px 0 0;
  font-size: 12px;
  color: #8a8474;
  text-align: center;
  line-height: 1.5;
}
.compare-foot strong {
  color: #1a2942;
  font-weight: 600;
}

@media (max-width: 768px) {
  .compare-table thead th,
  .compare-table tbody td {
    padding: 12px 10px;
    font-size: 12.5px;
  }
  .compare-table thead th.compare-col-highlight::after {
    display: none;
  }
}

/* ════ AI PLATFORM ════ */
.ai-platform {
  margin-top: 60px;
  padding: 50px 0 10px;
  border-top: 1px solid #f0e9d8;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 32px;
}
@media (max-width: 900px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.ai-card {
  background: linear-gradient(180deg, #faf6ed 0%, #fff 100%);
  border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid #f0e9d8;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ai-card:hover {
  transform: translateY(-2px);
  border-color: #b8843f;
  box-shadow: 0 6px 18px rgba(184, 132, 63, 0.12);
}

.ai-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}

.ai-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a2942;
  margin: 0 0 10px;
  line-height: 1.2;
}

.ai-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a4a4a;
  margin: 0;
}

.ai-note {
  background: #fff8e8;
  border-left: 3px solid #b8843f;
  padding: 18px 22px;
  margin: 32px 0 0;
  font-size: 14px;
  color: #1a2942;
  line-height: 1.55;
  border-radius: 0 8px 8px 0;
}
.ai-note strong {
  color: #b8843f;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   SWITCH UNIVERS Pro / Perso (header)
   ════════════════════════════════════════════════════════════ */
.univers-switch {
  display: inline-flex;
  background: #efe9da;
  border-radius: 22px;
  padding: 3px;
  gap: 2px;
}
.univers-switch-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 19px;
  text-decoration: none;
  color: #6a6478;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.univers-switch-btn.active {
  background: #1a2942;
  color: #fff;
}
.univers-switch-btn:not(.active):active { background: rgba(0,0,0,0.05); }

/* Sur mobile, le switch va à droite, juste à gauche du hamburger */
@media (max-width: 860px) {
  .univers-switch {
    order: 2;
    margin-left: auto;
    margin-right: 4px;
    display: inline-flex !important;
  }
  .univers-switch-btn { padding: 6px 12px; font-size: 12.5px; }
  .header-cta { order: 3; margin-left: 0; }
}
@media (max-width: 520px) {
  .univers-switch-btn { padding: 6px 10px; font-size: 12px; }
}
