/* ══════════════════════════════════════════
   Pilier Fonctionnement panneaux solaires — fc-fonctionnement.css
   Consomme exclusivement les tokens du :root.
   Zero valeur brute.
   ══════════════════════════════════════════ */


/* ─────────────────────────────────────────
   1. PAGE WRAPPER
───────────────────────────────────────── */
.fc-pilier {
  font-family: var(--ff-body);
  color: var(--c-text);
  overflow-x: clip;
}

.fc-pilier strong {
  color: var(--c-accent);
}

/* Liens internes = orange, SAUF dans les composants partages (cta-inline, pa-final, nav, footer) */
.fc-pilier .fc-wrap a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.fc-pilier .fc-wrap a:hover {
  color: var(--c-accent-hover);
}

.fc-pilier .fc-wrap a:visited {
  color: var(--c-accent);
}

/* Ne pas toucher aux couleurs des composants partages */
.fc-pilier .cta-inline a,
.fc-pilier .pa-final a,
.fc-pilier .pf-cta,
.fc-pilier .pf-link {
  color: inherit;
}


/* ─────────────────────────────────────────
   2. SHARED UTILITIES
───────────────────────────────────────── */
.fc-wrap {
  max-width: var(--w-container);
  margin: 0 auto;
  padding-left: var(--pad-desktop);
  padding-right: var(--pad-desktop);
}

.fc-h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  margin: 0 0 12px;
  line-height: var(--lh-snug);
}

.fc-hl {
  background: linear-gradient(180deg, transparent 60%, var(--c-orange-45) 60%);
  padding: 0 2px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.fc-p {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text);
  margin: 0 0 16px;
}

.fc-p a {
  color: var(--c-accent) !important;
  text-decoration: underline;
}

.fc-p a:hover {
  color: var(--c-accent-hover) !important;
}

.fc-h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin: 0 0 8px;
  line-height: var(--lh-snug);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─────────────────────────────────────────
   3. FC-HERO (background photo + overlay)
───────────────────────────────────────── */
.fc-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: calc(var(--space-section) + 32px) 0 var(--space-section);
  background: var(--c-bg);
  display: flex;
  align-items: center;
}

.fc-hero--has-bg {
  background: transparent;
}

.fc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.fc-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 63, 0.7);
  z-index: 1;
}

.fc-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero text colours when background image is present */
.fc-hero--has-bg .fc-h1,
.fc-hero--has-bg .fc-sub,
.fc-hero--has-bg .fc-bc,
.fc-hero--has-bg .fc-bc a,
.fc-hero--has-bg .fc-bc .sep {
  color: var(--c-white);
}

.fc-hero--has-bg .fc-bc a:hover {
  color: var(--c-orange-30);
  opacity: 1;
}

/* Breadcrumb */
.fc-bc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  opacity: 0.8;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.fc-bc a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.fc-bc a:hover {
  color: var(--c-accent);
}

.fc-bc .sep {
  margin: 0 6px;
  opacity: 0.6;
}

/* H1 — NO font-family, inherits var(--ff-body) from .fc-pilier */
.fc-h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  max-width: 800px;
  margin: 0 0 16px;
  color: var(--c-text);
}

/* Subtitle */
.fc-sub {
  font-family: var(--ff-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  max-width: 640px;
  opacity: 0.9;
  margin: 0 0 4px;
  color: var(--c-text-muted);
}

/* Hero actions area */
.fc-hero-actions {
  margin-top: 28px;
}

/* Address input form */
.fc-hero-form {
  max-width: 560px;
  width: 100%;
}

.fc-hero-field {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  position: relative;
  border: none !important;
  outline: none !important;
  overflow: hidden;
  overflow: visible;
}

.fc-hero-field-icon {
  flex-shrink: 0;
  margin-left: 18px;
  color: var(--c-accent);
}

.fc-hero-input {
  flex: 1;
  border: none !important;
  padding: 15px 12px 15px 10px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: none !important;
  box-shadow: none !important;
  color: var(--c-text);
  background: transparent;
  min-width: 0;
}

.fc-hero-input::placeholder {
  color: var(--c-text-muted);
}

.fc-hero-go {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: none !important;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
  padding: 15px 20px;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-hero-go:hover {
  background: var(--c-accent-hover) !important;
}

/* Suggestions dropdown — hidden by default, visible via .is-open (JS) */
.fc-hero-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.fc-hero-suggestions.is-open {
  display: block;
}

.fc-hero-suggestions li {
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.fc-hero-suggestions li:hover {
  background: var(--c-navy-4);
}

/* Buttons row */
.fc-hero-btns,
.fc-performance-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.fc-performance-ctas {
  justify-content: center;
  margin-top: 28px;
}

/* Primary CTA button */
.fc-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 16px 32px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  text-decoration: none;
  border: none !important;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  line-height: var(--lh-tight);
  box-shadow: 0 4px 14px var(--c-orange-30);
}

.fc-hero-btn-primary:hover {
  background: var(--c-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--c-orange-30);
}

.fc-hero-btn-primary svg {
  transition: transform var(--dur-base);
}

.fc-hero-btn-primary:hover svg {
  transform: translateX(4px);
}

/* Ghost button (on has-bg: white; without: navy) */
.fc-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  color: var(--c-navy) !important;
  border: 2px solid var(--c-navy) !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 24px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  line-height: var(--lh-tight);
}

.fc-hero--has-bg .fc-hero-btn-ghost {
  color: var(--c-white) !important;
  border-color: var(--c-white) !important;
}

.fc-hero-btn-ghost:hover {
  background: var(--c-navy-6) !important;
}

.fc-hero--has-bg .fc-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Reassurance line below buttons / field */
.fc-hero-reassurance {
  font-size: var(--fs-sm);
  opacity: 0.7;
  margin-top: 12px;
  color: inherit;
}


/* ─────────────────────────────────────────
   4. FC-EN-BREF (4 cards horizontal strip)
───────────────────────────────────────── */
.fc-bref,
.fc-en-bref {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.fc-bref-strip {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  background: var(--c-bg-card);
  margin-top: 32px;
}

.fc-bref-card {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--c-border);
  position: relative;
}

.fc-bref-card:last-child {
  border-right: none;
}

.fc-bref-icon {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
  margin: 0 auto 12px;
  display: block;
}

.fc-bref-val {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: var(--lh-tight);
}

.fc-bref-label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 4px;
}


/* ─────────────────────────────────────────
   5. FC-EFFET-PV (split grid text/image)
───────────────────────────────────────── */
.fc-effet,
.fc-effet-pv {
  padding: var(--space-section) 0;
}

.fc-effet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.fc-effet-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connector line between step circles */
.fc-effet-text::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--c-border);
  z-index: 0;
}

.fc-effet-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

.fc-effet-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--c-bg);
}

.fc-effet-content {
  flex: 1;
}

.fc-effet-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.fc-effet-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.fc-effet-conclusion {
  margin-top: 24px;
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--c-text);
  line-height: var(--lh-relaxed);
}


/* ─────────────────────────────────────────
   6. FC-CHAINE (horizontal timeline)
───────────────────────────────────────── */
.fc-chaine {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.fc-chaine-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 40px;
  padding: 0 20px;
}

/* Horizontal connector line */
.fc-chaine-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--c-border);
  z-index: 0;
}

.fc-chaine-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 180px;
}

.fc-chaine-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px var(--c-bg);
  font-size: var(--fs-lg);
}

.fc-chaine-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin: 0 0 6px;
}

.fc-chaine-desc {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
}


/* ─────────────────────────────────────────
   7. FC-PHOTO (photo break / quote band)
───────────────────────────────────────── */
.fc-photo {
  position: relative;
  min-height: 200px;
  padding: 60px 0;
  overflow: hidden;
  background: var(--c-navy);
}

.fc-photo--has-img {
  min-height: 280px;
}

.fc-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.fc-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 63, 0.65);
  z-index: 1;
}

.fc-photo-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.fc-photo-text {
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h2);
  color: var(--c-white);
  line-height: var(--lh-snug);
  max-width: var(--w-text);
  margin: 0 auto;
}

.fc-photo-link {
  margin-top: 16px;
}

.fc-photo-link a {
  color: var(--c-white);
  text-decoration: underline;
  font-weight: var(--fw-semibold);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.fc-photo-link a:hover {
  opacity: 1;
}


/* ─────────────────────────────────────────
   8. FC-JOUR-NUIT (bicolor split)
───────────────────────────────────────── */
.fc-jour-nuit {
  padding: var(--space-section) 0;
}

.fc-jn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 32px;
}

.fc-jn-card {
  padding: 36px 32px;
}

.fc-jn-card--jour {
  background: var(--c-bg);
  color: var(--c-text);
}

.fc-jn-card--nuit {
  background: var(--c-navy);
  color: var(--c-white);
}

.fc-jn-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: block;
}

.fc-jn-card--jour .fc-jn-icon {
  color: var(--c-accent);
}

.fc-jn-card--nuit .fc-jn-icon {
  color: var(--c-accent);
}

.fc-jn-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin: 0 0 16px;
}

.fc-jn-card--nuit .fc-jn-title {
  color: var(--c-white);
}

.fc-jn-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fc-jn-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
}

.fc-jn-list li:last-child {
  border-bottom: none;
}

.fc-jn-card--jour .fc-jn-list li {
  border-color: var(--c-border);
}

.fc-jn-card--nuit .fc-jn-list li {
  border-color: var(--c-navy-18);
}

.fc-jn-link {
  margin-top: 16px;
}

.fc-jn-card--nuit .fc-jn-link a {
  color: var(--c-accent) !important;
}


/* ─────────────────────────────────────────
   9. FC-PERFORMANCE (factor cards)
───────────────────────────────────────── */
.fc-performance {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.fc-performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.fc-performance-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--dur-base) var(--ease-out);
}

.fc-performance-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.fc-performance-icon {
  width: 48px;
  height: 48px;
  color: var(--c-accent);
  margin-bottom: 12px;
  display: block;
}

.fc-performance-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin: 0 0 8px;
  line-height: var(--lh-snug);
}

.fc-performance-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--c-text-secondary);
  margin: 0;
}


/* ─────────────────────────────────────────
   10. FC-CTA-ADRESSE (navy bg, 2-column)
───────────────────────────────────────── */
.fc-cta-adresse {
  padding: var(--space-section) 0;
  background: var(--c-navy);
  color: var(--c-white);
}

.fc-cta-adresse-inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 48px var(--pad-desktop);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.fc-cta-adresse-kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin: 0 0 8px;
}

.fc-cta-adresse-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin: 0 0 12px;
  line-height: var(--lh-snug);
}

.fc-cta-adresse-sub {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: var(--lh-normal);
}

.fc-cta-adresse-form {
  width: 100%;
}

.fc-cta-adresse-field {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  position: relative;
  border: none !important;
  outline: none !important;
  overflow: hidden;
}

.fc-cta-adresse-icon {
  flex-shrink: 0;
  margin-left: 18px;
  color: var(--c-accent);
}

.fc-cta-adresse-input {
  flex: 1;
  border: none !important;
  padding: 16px 12px 16px 10px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: none !important;
  box-shadow: none !important;
  color: var(--c-text);
  background: transparent;
  min-width: 0;
}

.fc-cta-adresse-input::placeholder {
  color: var(--c-text-muted);
}

.fc-cta-adresse-go {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: none !important;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
  padding: 16px 22px;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-cta-adresse-go:hover {
  background: var(--c-accent-hover) !important;
}

.fc-cta-adresse-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.fc-cta-adresse-suggestions.is-open {
  display: block;
}

.fc-cta-adresse-suggestions li {
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.fc-cta-adresse-suggestions li:hover,
.fc-cta-adresse-suggestions li.is-active {
  background: var(--c-navy-4);
}

.fc-cta-adresse-reassurance {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 12px 0 0;
  text-align: center;
}


/* ─────────────────────────────────────────
   11. FC-DEGRADATION (SVG curve + highlights)
───────────────────────────────────────── */
.fc-degradation {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

/* Jauge visuelle */
.fc-deg-gauge {
  margin-top: 32px;
  max-width: var(--w-content);
}

.fc-deg-gauge-bar {
  display: flex;
  height: 48px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--c-navy-6);
}

.fc-deg-gauge-fill {
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  position: relative;
}

.fc-deg-gauge-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  white-space: nowrap;
}

.fc-deg-gauge-lost {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-deg-gauge-lost-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-muted);
}

.fc-deg-gauge-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* Milestones — barres verticales */
.fc-deg-milestones {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 36px;
  padding: 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.fc-deg-milestone {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-deg-milestone-bar {
  width: 32px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-orange-30) 100%);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  margin-bottom: 8px;
  min-height: 20px;
}

.fc-deg-milestone-pct {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: 1;
}

.fc-deg-milestone-prod {
  font-size: var(--fs-xs);
  color: var(--c-text);
  font-weight: var(--fw-semibold);
  margin-top: 2px;
}

.fc-deg-milestone-year {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--c-border);
  width: 100%;
}

.fc-degradation-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.fc-degradation-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.fc-degradation-card:first-child {
  border-color: var(--c-accent);
  background: var(--c-orange-10);
}

.fc-degradation-card:last-child {
  border-color: var(--c-success);
  background: rgba(31, 168, 104, 0.04);
}

.fc-degradation-card-title {
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: var(--c-text);
  margin: 0 0 6px;
}

.fc-degradation-card-text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
  margin: 0;
}

/* Responsive milestones */
@media (max-width: 640px) {
  .fc-deg-milestones {
    gap: 6px;
    padding: 16px 12px;
  }
  .fc-deg-milestone-bar {
    width: 24px;
  }
  .fc-deg-milestone-pct {
    font-size: var(--fs-sm);
  }
  .fc-deg-milestone-prod {
    font-size: 10px;
  }
}


/* ─────────────────────────────────────────
   12. FC-ONDULEUR (2 comparative cards)
───────────────────────────────────────── */
.fc-onduleur {
  padding: var(--space-section) 0;
}

.fc-onduleur-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  overflow: visible;
}

.fc-onduleur-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}

.fc-onduleur-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.fc-onduleur-card-header {
  padding: 24px 24px 24px 24px;
  background: var(--c-navy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  min-height: 80px;
}

.fc-onduleur-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin: 0;
  max-width: 60%;
}

.fc-onduleur-card-img {
  position: absolute;
  right: 16px;
  top: -28px;
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px var(--c-orange-45)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.fc-onduleur-kv {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fc-onduleur-kv li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 24px;
  border-bottom: 1px solid var(--c-border);
}

.fc-onduleur-kv li:last-child {
  border-bottom: none;
}

.fc-kv-key {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
}

.fc-kv-val {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-align: right;
}

.fc-kv-val--accent {
  color: var(--c-accent);
  font-weight: var(--fw-bold);
}

.fc-onduleur-badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin: 12px 4px 12px 24px;
}

.fc-badge-green {
  background: var(--c-success) !important;
  color: var(--c-white) !important;
}

.fc-badge-gray {
  background: var(--c-gray-light) !important;
  color: var(--c-white) !important;
}

.fc-onduleur-footer {
  margin-top: 24px;
}


/* ─────────────────────────────────────────
   13. FC-FAQ (2-col accordion)
───────────────────────────────────────── */
.fc-faq {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.fc-faq-header {
  margin-bottom: 32px;
}

.fc-faq-subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-top: 8px;
  line-height: var(--lh-relaxed);
}

.fc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.fc-faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fc-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  transition: background var(--dur-fast);
  line-height: var(--lh-snug);
}

.fc-faq-q:hover {
  background: var(--c-navy-4);
}

.fc-faq-q[aria-expanded="true"] {
  background: var(--c-navy-4);
}

.fc-faq-q-icon {
  flex-shrink: 0;
  color: var(--c-accent);
  transition: transform var(--dur-medium) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-faq-icon-v {
  transition: all var(--dur-medium) var(--ease-out);
  transform-origin: center;
}

.fc-faq-q[aria-expanded="true"] .fc-faq-icon-v {
  transform: rotate(90deg);
  opacity: 0;
}

.fc-faq-q[aria-expanded="true"] .fc-faq-icon-h {
  transform: rotate(90deg);
}

.fc-faq-a {
  padding: 0 20px 18px 20px;
}

.fc-faq-a p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-secondary);
  margin: 0 0 12px;
}

.fc-faq-a p:last-child {
  margin-bottom: 0;
}

.fc-faq-a a {
  color: var(--c-accent) !important;
  font-weight: var(--fw-medium);
  text-decoration: underline;
  transition: color var(--dur-fast) var(--ease-out);
}

.fc-faq-a a:hover {
  color: var(--c-accent-hover) !important;
}

.fc-faq-a strong {
  color: var(--c-accent) !important;
}


/* ─────────────────────────────────────────
   14. REVEAL ANIMATIONS
───────────────────────────────────────── */
.fc-pilier .rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.fc-pilier .rv.is-in {
  opacity: 1;
  transform: translateY(0);
}

.fc-pilier .rv.d1 { transition-delay: 0s; }
.fc-pilier .rv.d2 { transition-delay: 0.08s; }
.fc-pilier .rv.d3 { transition-delay: 0.16s; }
.fc-pilier .rv.d4 { transition-delay: 0.24s; }
.fc-pilier .rv.d5 { transition-delay: 0.32s; }
.fc-pilier .rv.d6 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .fc-pilier .rv {
    transition: none;
    opacity: 1;
    transform: none;
  }
}


/* ─────────────────────────────────────────
   15. RESPONSIVE
───────────────────────────────────────── */

/* Tablet: 641px-860px */
@media (min-width: 641px) and (max-width: 860px) {
  .fc-wrap {
    padding-left: var(--pad-tablet);
    padding-right: var(--pad-tablet);
  }
}

/* Mobile: <=640px */
@media (max-width: 640px) {
  .fc-wrap {
    padding-left: var(--pad-mobile);
    padding-right: var(--pad-mobile);
  }

  .fc-hero {
    min-height: auto;
    padding: var(--space-section-sm) 0;
  }

  .fc-hero-btns,
  .fc-performance-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .fc-hero-btn-primary,
  .fc-hero-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .fc-hero-form {
    max-width: 100%;
  }
}

/* All mobile breakpoints: <=860px */
@media (max-width: 860px) {

  /* En-bref: 2x2 grid on tablet/mobile */
  .fc-bref-strip {
    flex-wrap: wrap;
  }

  .fc-bref-card {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }

  .fc-bref-card:nth-child(odd) {
    border-right: 1px solid var(--c-border);
  }

  .fc-bref-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Effet PV: single column */
  .fc-effet-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Chaine: vertical timeline */
  .fc-chaine-timeline {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 0;
  }

  .fc-chaine-timeline::before {
    width: 2px;
    height: auto;
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
  }

  .fc-chaine-step {
    display: flex;
    flex-direction: row;
    gap: 20px;
    text-align: left;
    max-width: none;
    padding: 16px 0;
  }

  .fc-chaine-num {
    margin: 0;
    flex-shrink: 0;
  }

  /* Jour/Nuit: single column */
  .fc-jn-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }

  /* Performance: single column */
  .fc-performance-grid {
    grid-template-columns: 1fr;
  }

  /* CTA adresse: single column */
  .fc-cta-adresse-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px var(--pad-mobile);
  }

  /* Degradation highlights: single column */
  .fc-degradation-highlights {
    grid-template-columns: 1fr;
  }

  /* Onduleur: single column */
  .fc-onduleur-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ: single column */
  .fc-faq-grid {
    grid-template-columns: 1fr;
  }

  /* Step connector hidden on mobile for effet */
  .fc-effet-text::before {
    display: none;
  }

  .fc-h1 {
    font-size: var(--fs-h2);
  }

  .fc-photo-text {
    font-size: var(--fs-xl);
  }
}

/* Large desktop: >=1281px */
@media (min-width: 1281px) {
  .fc-wrap {
    padding-left: var(--pad-desktop);
    padding-right: var(--pad-desktop);
  }
}

/* Wide: >=1601px */
@media (min-width: 1601px) {
  .fc-wrap {
    padding-left: var(--pad-wide);
    padding-right: var(--pad-wide);
  }
}
