/* ==========================================================================
   Nettoyage fin de bail — styles propres à cette page
   Charge après ../style.css : réutilise les variables --green-forest, --dark,
   --text-secondary, --radius, --shadow, --transition, --white déjà définies.
   ========================================================================== */

:root {
  --blue-main: #185FA5;
  --blue-dark: #0C447C;
  --blue-light: #E6F1FB;
}

/* ===== HERO ===== */
.nfb-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
}

.nfb-hero-text {
  background: var(--blue-main);
  color: var(--white);
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nfb-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.nfb-hero-text h1 {
  font-family: var(--font-display, 'Lora', serif);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.25;
  color: var(--white);
}

.nfb-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 440px;
  margin-top: 14px;
}

.nfb-hero-args {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nfb-hero-arg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}

.nfb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.nfb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.nfb-btn-white {
  background: var(--white);
  color: var(--blue-main);
  min-height: 48px;
  padding: 14px 24px;
}

.nfb-btn-white:hover {
  background: var(--blue-light);
}

.nfb-btn-outline-white {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
  min-height: 44px;
  padding: 12px 22px;
}

.nfb-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nfb-hero-image {
  overflow: hidden;
}

.nfb-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== BANDEAU URGENCE ===== */
.nfb-urgency {
  background: var(--blue-dark);
  padding: 20px 40px;
  text-align: center;
}

.nfb-urgency p {
  color: var(--white);
  font-size: 15px;
}

.nfb-urgency a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}

/* ===== CE QU'ON FAIT ===== */
.nfb-checklist-section {
  padding: 72px 40px;
  background: var(--white);
}

.nfb-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 8px;
}

.nfb-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.nfb-check-h3 {
  font-family: var(--font-display, 'Lora', serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-main);
  margin-top: 24px;
  margin-bottom: 10px;
}

.nfb-check-h3:first-child {
  margin-top: 0;
}

.nfb-check-h3.optional {
  color: var(--green-forest);
}

.nfb-checklist {
  list-style: none;
}

.nfb-checklist li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.nfb-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-main);
}

.nfb-checklist.optional li::before {
  background: var(--green-forest);
}

.nfb-callout {
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 14px;
}

.nfb-callout.blue {
  background: var(--blue-light);
  border-left: 3px solid var(--blue-main);
  color: var(--dark);
}

.nfb-callout.green {
  background: var(--green-light);
  border-left: 3px solid var(--green-forest);
  color: var(--dark);
  margin-top: 12px;
}

/* ===== ÉTAPES DEVIS ===== */
.nfb-steps-section {
  padding: 72px 40px;
  background: var(--grey-bg, #F8F6F2);
}

.nfb-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 40px;
}

.nfb-step {
  text-align: center;
}

.nfb-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Lora', serif);
  font-weight: 700;
  font-size: 28px;
  margin: 0 auto 14px;
}

.nfb-step-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
}

.nfb-step h3 {
  margin-bottom: 8px;
}

.nfb-step p {
  color: var(--text-secondary);
  font-size: 14px;
}

.nfb-step-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  min-height: 36px;
  margin-top: 10px;
}

.nfb-step-arrow {
  align-self: center;
  font-size: 32px;
  color: #c8d8e8;
}

/* ===== AVANT/APRÈS ===== */
.nfb-showcase {
  padding: 72px 40px;
  background: var(--white);
}

.nfb-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.nfb-showcase-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.nfb-showcase-caption {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.nfb-showcase-text {
  max-width: 560px;
  margin: 32px auto 0;
  text-align: center;
}

.nfb-showcase-text h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.nfb-showcase-text p {
  color: var(--text-secondary);
}

/* ===== SITUATIONS ===== */
.nfb-situations {
  padding: 72px 40px;
  background: var(--grey-bg, #F8F6F2);
}

.nfb-situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.situation-card {
  border-radius: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
}

.situation-card.family {
  background: #FFF5F0;
  border-color: #f0d5c8;
}

.situation-card.owner {
  background: var(--green-light);
  border-color: #c8e0c8;
}

.situation-card h3 {
  font-family: var(--font-display, 'Lora', serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.situation-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.situation-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 12px;
}

.situation-badge.blue {
  background: var(--blue-light);
  color: var(--blue-main);
}

.situation-badge.terracotta {
  background: #FBE7DF;
  color: var(--terracotta);
}

.situation-badge.green {
  background: var(--green-light);
  color: var(--green-forest);
}

/* ===== FAQ ===== */
.nfb-faq {
  padding: 72px 40px;
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  min-height: 44px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--blue-main);
  outline-offset: 2px;
}

.faq-chevron {
  font-size: 20px;
  color: var(--blue-main);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== TÉMOIGNAGE ===== */
.nfb-testimonial {
  padding: 56px 40px;
  background: var(--grey-bg, #F8F6F2);
}

.nfb-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.nfb-testimonial-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nfb-testimonial-stars {
  color: #F5A623;
  font-size: 18px;
  margin-bottom: 14px;
}

.nfb-testimonial-quote {
  font-family: var(--font-display, 'Lora', serif);
  font-style: italic;
  font-size: 17px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 18px;
}

.nfb-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nfb-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.nfb-testimonial-author strong {
  display: block;
  font-size: 14px;
}

.nfb-testimonial-author span {
  font-size: 12px;
  color: #888;
}

.nfb-testimonial-callout {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--dark);
}

/* ===== CTA FINAL ===== */
.nfb-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

.nfb-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.nfb-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
}

.nfb-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.nfb-btn-wa {
  background: #25D366;
  color: var(--white);
  min-height: 44px;
  padding: 12px 22px;
}

.nfb-cta-guarantees {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* ===== NOTE EMS ===== */
.nfb-ems-note {
  background: var(--green-light);
  padding: 20px 40px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nfb-ems-note-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.nfb-ems-note strong {
  display: block;
  color: #27500A;
  margin-bottom: 4px;
}

.nfb-ems-note p {
  color: #3B6D11;
  font-size: 14px;
  margin-bottom: 6px;
}

.nfb-ems-note a {
  color: var(--green-forest);
  text-decoration: underline;
  font-weight: 600;
}

/* ===== FADE-IN ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nfb-checklist-grid {
    grid-template-columns: 1fr;
  }

  .nfb-steps-grid {
    grid-template-columns: 1fr;
  }

  .nfb-step-arrow {
    display: none;
  }

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

  .nfb-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nfb-hero {
    grid-template-columns: 1fr;
  }

  .nfb-hero-image {
    display: none;
  }

  .nfb-hero-text {
    padding: 48px 20px;
  }

  .nfb-checklist-section,
  .nfb-steps-section,
  .nfb-showcase,
  .nfb-situations,
  .nfb-faq,
  .nfb-testimonial,
  .nfb-cta {
    padding: 48px 20px;
  }

  .nfb-showcase-grid {
    grid-template-columns: 1fr;
  }

  .nfb-situations-grid {
    grid-template-columns: 1fr;
  }

  .nfb-cta-actions .nfb-btn {
    width: 100%;
    justify-content: center;
  }

  .nfb-cta-guarantees {
    flex-direction: column;
    align-items: center;
  }
}
