/* ═══════════════════════════════════════════════════════════
   NOISYLESS — Design system commun (issu de la landing accueil)
   Fonts : Poppins (titres) / Inter (texte)
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0F6B6D;
  --teal-dark:   #0A4D52;
  --teal-light:  #E8F4F4;
  --orange:      #F28C28;
  --orange-light:#FEF3E2;
  --dark:        #33383D;
  --gray-bg:     #F2F4F6;
  --gray-mid:    #6B7280;
  --border:      #E5E7EB;
  --white:       #FFFFFF;
  --green:       #16A34A;
  --red:         #DC2626;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Utilities ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 88px 0; }
.section-alt { padding: 88px 0; background: var(--gray-bg); }

.section-label {
  display: inline-block;
  color: var(--teal); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-sub {
  color: var(--gray-mid); font-size: 17px;
  line-height: 1.75; margin-bottom: 24px;
}
.section-header { text-align: center; max-width: 660px; margin: 0 auto; }
.accent-bar {
  width: 48px; height: 4px; background: var(--orange);
  border-radius: 2px; margin: 16px auto 0;
}
.accent-bar-left { margin-left: 0; }
.hl-teal   { color: var(--teal); }
.hl-orange { color: var(--orange); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary  { background: var(--orange); color: white; }
.btn-primary:hover { background: #D97A1F; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,140,40,0.32); }
.btn-secondary { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-secondary:hover { background: var(--teal-light); }
.btn-lg { padding: 17px 40px; font-size: 17px; border-radius: 10px; }
.btn-full { width: 100%; }

/* ══════════════ NAV ══════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 26px; list-style: none;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--dark); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav .btn { font-size: 14px; padding: 10px 22px; }
@media (max-width: 860px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links .nav-optional { display: none; }
}
@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-top: 8px; }
}

/* ══════════════ PAGE HERO (sous-pages) ══════════════ */
.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-bg) 100%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.page-hero h1 .hl { color: var(--teal); }
.page-hero .lead { font-size: 18px; color: var(--gray-mid); line-height: 1.75; max-width: 720px; }
.breadcrumb {
  font-size: 13px; color: var(--gray-mid); margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb .sep { opacity: 0.5; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-light); color: var(--orange);
  border: 1px solid rgba(242,140,40,0.25);
  padding: 6px 14px; border-radius: 24px;
  font-size: 13px; font-weight: 600;
  font-family: 'Poppins', sans-serif; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--teal);
}
.trust-item::before { content: '✓'; font-weight: 800; color: var(--teal); }

/* ══════════════ CARDS & GRIDS ══════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: white; border-radius: 18px; padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-accent { border-left: 5px solid var(--orange); }
.card-icon { font-size: 38px; margin-bottom: 16px; display: block; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--gray-mid); font-size: 15px; line-height: 1.65; }
.card-tag {
  display: inline-block; margin-top: 14px;
  background: var(--orange-light); color: var(--orange);
  font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 6px;
}
.card-link { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 600; font-size: 14px; }
.card-link:hover { color: var(--orange); }

.specs-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.specs-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; }
.spec-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 15px;
}
.spec-label { font-weight: 600; display: block; }
.spec-desc  { color: var(--gray-mid); font-size: 14px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 800; flex-shrink: 0; }

/* ══════════════ TABLES ══════════════ */
.vs-table-wrap { overflow-x: auto; }
.vs-table {
  width: 100%; border-collapse: collapse;
  box-shadow: var(--shadow-lg); border-radius: 16px; overflow: hidden;
  margin-top: 48px; background: white;
}
.vs-table th, .vs-table td { padding: 15px 20px; font-size: 14px; text-align: center; }
.vs-table thead tr { background: var(--teal-dark); color: white; }
.vs-table thead th:first-child { text-align: left; padding-left: 28px; }
.vs-table thead th.hl-col { background: var(--teal); font-family: 'Poppins', sans-serif; }
.vs-table tbody tr:nth-child(even) { background: var(--gray-bg); }
.vs-table tbody td:first-child { text-align: left; padding-left: 28px; font-weight: 500; }
.vs-table .hl-col { background: rgba(15,107,109,0.06); font-weight: 600; }
.yes { color: var(--green); font-size: 17px; }
.no  { color: var(--red); font-size: 17px; }
.vs-price-win { color: var(--teal); font-weight: 700; }
.vs-price-bad { color: var(--red); }

/* ══════════════ PRICING ══════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 52px; max-width: 920px; margin-left: auto; margin-right: auto;
}
.pricing-card {
  background: white; border-radius: 22px; padding: 36px 28px;
  box-shadow: var(--shadow); border: 2px solid var(--border);
  display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden;
}
.pricing-card.featured { border-color: var(--teal); box-shadow: 0 8px 40px rgba(15,107,109,0.16); }
.pricing-ribbon {
  position: absolute; top: 24px; right: -28px;
  background: var(--orange); color: white;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 4px 36px; transform: rotate(45deg);
}
.pricing-name   { font-size: 20px; }
.pricing-price  { display: flex; align-items: flex-end; gap: 4px; }
.pricing-amount { font-size: 48px; font-weight: 800; color: var(--teal); font-family:'Poppins',sans-serif; }
.pricing-unit   { font-size: 14px; color: var(--gray-mid); padding-bottom: 8px; }
.pricing-sub    { font-size: 14px; color: var(--teal); font-weight: 600; margin-top: -10px; }
.pricing-list   { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.pricing-list .ck { color: var(--teal); font-weight: 800; flex-shrink: 0; }
.pricing-list .na { color: var(--gray-mid); }
.pricing-cta { margin-top: auto; }

/* ══════════════ FAQ ══════════════ */
.faq-list { max-width: 760px; margin: 52px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  padding: 20px 24px; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 16px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  user-select: none;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; transition: transform 0.25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 24px 22px; color: var(--gray-mid); font-size: 15px; line-height: 1.75; }

/* ══════════════ PROSE (articles blog / pages légales) ══════════════ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 48px 0 16px; }
.prose h3 { font-size: 20px; margin: 36px 0 12px; }
.prose p  { margin-bottom: 18px; color: #414750; line-height: 1.8; font-size: 16.5px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: #414750; line-height: 1.8; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); font-weight: 500; border-bottom: 1px solid rgba(15,107,109,0.3); }
.prose a:hover { color: var(--orange); border-color: rgba(242,140,40,0.4); }
.prose strong { color: var(--dark); }
.prose blockquote {
  border-left: 4px solid var(--orange); background: var(--orange-light);
  padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 24px 0;
  color: var(--dark); font-size: 15.5px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.prose th { background: var(--teal-dark); color: white; padding: 12px 16px; text-align: left; }
.prose td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.prose tr:nth-child(even) td { background: var(--gray-bg); }
.prose code {
  background: var(--gray-bg); border: 1px solid var(--border);
  border-radius: 5px; padding: 2px 7px; font-size: 14px;
}
.prose img { border-radius: 14px; box-shadow: var(--shadow); margin: 12px 0; }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-size: 13.5px; color: var(--gray-mid); margin-bottom: 8px;
}
.article-meta .tag {
  background: var(--teal-light); color: var(--teal);
  padding: 4px 12px; border-radius: 16px; font-weight: 600; font-size: 12px;
}

.info-box {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 24px 0;
  font-size: 15px; line-height: 1.7;
}
.warn-box {
  background: var(--orange-light); border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 24px 0;
  font-size: 15px; line-height: 1.7;
}

/* ══════════════ CTA BAND ══════════════ */
.cta-band {
  background: var(--teal); padding: 64px 0;
  text-align: center; color: white;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 12px; }
.cta-band p  { opacity: 0.85; font-size: 18px; margin-bottom: 36px; }
.cta-band .note { font-size: 14px; opacity: 0.65; margin-top: 16px; margin-bottom: 0; }

.band-gradient {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: white;
}

/* ══════════════ FOOTER ══════════════ */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 52px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 270px; }
.footer-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-pill { background: rgba(255,255,255,0.09); padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.footer-h { color: white; font-family:'Poppins',sans-serif; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.6px; margin-bottom:16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}

/* ══════════════ ANIMATIONS ══════════════ */
.animate-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
