/* =========================================================
   CERD – Page formation cacao-café (Word & Excel)
   Palette : vert CERD, brun cacao, or de la cabosse, crème
   ========================================================= */
.fcc {
	--fcc-green: #049746;
	--fcc-green-dk: #037a39;
	--fcc-cocoa: #2e1b10;
	--fcc-cocoa-2: #4a2c1a;
	--fcc-gold: #e8a317;
	--fcc-gold-dk: #c98a0c;
	--fcc-cream: #fbf6ee;
	--fcc-ink: #23201d;
	--fcc-muted: #6b625a;
	--fcc-line: #eadfce;
	color: var(--fcc-ink);
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}
.fcc *, .fcc *::before, .fcc *::after { box-sizing: border-box; }
.fcc h1, .fcc h2, .fcc h3 { font-family: "Poppins", sans-serif; color: inherit; text-transform: none; letter-spacing: 0; }
.fcc h2 { font-size: 32px; line-height: 1.25; font-weight: 700; margin: 0 0 18px; }
.fcc h3 { font-size: 17px; line-height: 1.4; font-weight: 600; margin: 0 0 6px; }
.fcc p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: inherit; }
.fcc ul, .fcc ol { list-style: none; margin: 0; padding: 0; }
.fcc a { transition: color .2s, background .2s, transform .2s, box-shadow .2s; }

.fcc-section { padding: 80px 0; }
.fcc-cream { background: var(--fcc-cream); }
.fcc-center { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.fcc-intro { color: var(--fcc-muted); font-size: 17px; }
.fcc-kicker {
	font-size: 13px !important; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
	color: var(--fcc-green) !important; margin-bottom: 8px !important;
}

/* ---------- Boutons ---------- */
.fcc-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px; border-radius: 40px; font-weight: 600; font-size: 15px;
	line-height: 1.2; text-decoration: none !important; border: 2px solid transparent;
}
.fcc-btn:hover { transform: translateY(-2px); }
.fcc-btn-gold { background: var(--fcc-gold); color: var(--fcc-cocoa) !important; box-shadow: 0 10px 24px rgba(232,163,23,.35); }
.fcc-btn-gold:hover { background: #f2b531; }
.fcc-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff !important; }
.fcc-btn-ghost:hover { background: rgba(255,255,255,.12); }
.fcc-btn-green { background: var(--fcc-green); color: #fff !important; box-shadow: 0 10px 24px rgba(4,151,70,.28); }
.fcc-btn-green:hover { background: var(--fcc-green-dk); }
.fcc-btn-lg { padding: 17px 32px; font-size: 16px; margin-top: 30px; }
.fcc a:focus-visible, .fcc button:focus-visible { outline: 3px solid var(--fcc-gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.fcc-hero {
	position: relative; overflow: hidden; color: #fff; padding: 70px 0 90px;
	background:
		radial-gradient(900px 420px at 85% 10%, rgba(4,151,70,.35), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(232,163,23,.18), transparent 60%),
		linear-gradient(135deg, var(--fcc-cocoa) 0%, var(--fcc-cocoa-2) 100%);
}
.fcc-hero::after { /* bande tricolore discrète */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: linear-gradient(90deg, #007a3d 0 33.3%, #ce1126 33.3% 66.6%, #fcd116 66.6%);
}
.fcc-hero-row { display: flex; align-items: center; flex-wrap: wrap; }
.fcc-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; font-size: 13px !important; font-weight: 500;
	letter-spacing: 1px; text-transform: uppercase; color: #f3d9a4 !important;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
	padding: 6px 14px; border-radius: 30px; margin-bottom: 22px !important;
}
.fcc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fcc-gold); box-shadow: 0 0 0 4px rgba(232,163,23,.25); }
.fcc-hero h1 { font-size: 40px; line-height: 1.18; font-weight: 700; color: #fff; margin: 0 0 18px; }
.fcc-hero h1 em { font-style: normal; color: var(--fcc-gold); }
.fcc-sub { font-size: 19px !important; color: #fff !important; }
.fcc-sub strong { color: var(--fcc-gold); }
.fcc-lead { color: rgba(255,255,255,.82) !important; font-size: 16px; max-width: 560px; }
.fcc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.fcc-countdown { display: inline-flex; align-items: center; gap: 8px; font-size: 14px !important; color: #f3d9a4 !important; margin: 0 !important; }
.fcc-countdown strong { color: #fff; font-size: 18px; }
.fcc-hero-media { position: relative; margin: 30px 0 0 20px; }
.fcc-hero-media img {
	display: block; width: 100%; height: auto; border-radius: 18px;
	box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.08);
}
.fcc-badge {
	position: absolute; left: -22px; bottom: -26px; display: flex; align-items: center; gap: 12px;
	background: var(--fcc-gold); color: var(--fcc-cocoa); padding: 14px 20px; border-radius: 16px;
	box-shadow: 0 16px 34px rgba(0,0,0,.35);
}
.fcc-badge-num { font-size: 40px; font-weight: 800; line-height: 1; }
.fcc-badge-txt { font-size: 13px; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Chiffres clés ---------- */
.fcc-facts { position: relative; z-index: 2; margin-top: -42px; }
.fcc-facts-grid {
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border-radius: 18px; box-shadow: 0 18px 45px rgba(46,27,16,.14); overflow: hidden;
}
.fcc-facts-grid li { padding: 24px 20px; border-right: 1px solid var(--fcc-line); }
.fcc-facts-grid li:last-child { border-right: 0; }
.fcc-fact-num { display: block; font-size: 30px; font-weight: 700; color: var(--fcc-green); line-height: 1.1; margin-bottom: 6px; }
.fcc-fact-date { font-size: 20px; color: var(--fcc-cocoa-2); white-space: nowrap; }
.fcc-fact-lbl { display: block; font-size: 13.5px; color: var(--fcc-muted); line-height: 1.45; }

/* ---------- Cartes ---------- */
.fcc-card { border-radius: 16px; padding: 28px; }
.fcc-card-cream { background: var(--fcc-cream); border: 1px solid var(--fcc-line); }
.fcc-card-title { font-size: 14px !important; text-transform: uppercase !important; letter-spacing: 1.5px !important; color: var(--fcc-muted) !important; margin-bottom: 14px !important; }
.fcc-issues { margin-bottom: 26px !important; }
.fcc-issues li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; border-bottom: 1px dashed var(--fcc-line); }
.fcc-issues li:last-child { border-bottom: 0; }
.fcc-issues i { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fde9e7; color: #c0392b; }
.fcc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fcc-chips span { font-size: 13.5px; padding: 6px 14px; border-radius: 30px; background: #fff; border: 1px solid var(--fcc-line); color: var(--fcc-cocoa-2); font-weight: 500; }

/* ---------- Partenariat (fond sombre) ---------- */
.fcc-dark { background: var(--fcc-cocoa); color: rgba(255,255,255,.88); }
.fcc-dark h2 { color: #fff; }
.fcc-dark .fcc-kicker { color: var(--fcc-gold) !important; }
.fcc-dark strong { color: #fff; }
.fcc-partners { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.fcc-partner { padding: 14px 24px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.fcc-x { color: var(--fcc-gold); font-size: 26px; font-weight: 300; }
.fcc-quote {
	margin: 24px 0 0; padding: 20px 24px; border-left: 4px solid var(--fcc-gold);
	background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0;
	font-size: 19px; line-height: 1.55; font-weight: 500; color: #fff; font-style: italic;
}

/* ---------- Public ---------- */
.fcc-orgs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.fcc-orgs li {
	background: #fff; border: 1px solid var(--fcc-line); border-radius: 16px; padding: 26px 18px; text-align: center;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fcc-orgs li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46,27,16,.1); border-color: var(--fcc-green); }
.fcc-orgs i { font-size: 22px; width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e6f5ec; color: var(--fcc-green); margin-bottom: 12px; }
.fcc-orgs strong { display: block; font-size: 17px; color: var(--fcc-cocoa); }
.fcc-orgs span { display: block; font-size: 13px; color: var(--fcc-muted); line-height: 1.45; margin-top: 4px; }
.fcc-women {
	display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px auto 0 !important;
	max-width: 620px; padding: 14px 20px; border-radius: 40px; background: #fff4dc; color: #7a4f00 !important; font-weight: 500; text-align: center;
}

/* ---------- Programme ---------- */
.fcc-modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.fcc-modules li {
	position: relative; background: #fff; border-radius: 16px; padding: 26px 20px 24px;
	box-shadow: 0 8px 24px rgba(46,27,16,.07); border-top: 4px solid var(--fcc-gold); overflow: hidden;
}
.fcc-mod-n { position: absolute; top: 8px; right: 14px; font-size: 44px; font-weight: 800; color: #f4ead9; line-height: 1; }
.fcc-modules i { position: relative; font-size: 24px; color: var(--fcc-green); margin-bottom: 14px; display: block; }
.fcc-modules h3 { position: relative; font-size: 16px; }
.fcc-tools { margin-top: 30px; }
.fcc-tool { border-radius: 16px; padding: 26px 28px; color: #fff; height: 100%; margin-bottom: 18px; }
.fcc-tool p { color: rgba(255,255,255,.9); margin: 0; }
.fcc-tool strong { color: #fff; }
.fcc-tool-head { font-size: 20px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.fcc-tool-head i { font-size: 26px; }
.fcc-word { background: linear-gradient(135deg, #1f4e9c, #2b6cd1); }
.fcc-excel { background: linear-gradient(135deg, #136b3a, #1e8a4f); }

/* ---------- Déroulement ---------- */
.fcc-format li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fcc-line); font-weight: 500; }
.fcc-format i { color: var(--fcc-green); font-size: 18px; min-width: 18px; text-align: center; }
.fcc-timeline { position: relative; margin-left: 14px !important; padding-left: 34px !important; border-left: 3px solid var(--fcc-line); }
.fcc-timeline li { position: relative; padding: 0 0 34px; }
.fcc-timeline li:last-child { padding-bottom: 0; }
.fcc-timeline li::before {
	content: ""; position: absolute; left: -45px; top: 4px; width: 19px; height: 19px; border-radius: 50%;
	background: #fff; border: 4px solid var(--fcc-green);
}
.fcc-timeline li:first-child::before { background: var(--fcc-gold); border-color: var(--fcc-gold); box-shadow: 0 0 0 6px rgba(232,163,23,.2); }
.fcc-tl-date { display: inline-block; font-size: 13px; font-weight: 600; color: var(--fcc-green); background: #e6f5ec; padding: 3px 12px; border-radius: 20px; margin-bottom: 8px; }
.fcc-timeline p { color: var(--fcc-muted); margin: 0; }

/* ---------- Certification ---------- */
.fcc-cert-wrap { padding-top: 0; }
.fcc-cert {
	display: flex; gap: 34px; align-items: flex-start; padding: 44px; border-radius: 22px;
	background: linear-gradient(135deg, var(--fcc-green) 0%, #026a31 100%); color: rgba(255,255,255,.9);
	box-shadow: 0 24px 50px rgba(4,151,70,.25);
}
.fcc-cert h2, .fcc-cert strong { color: #fff; }
.fcc-cert .fcc-kicker { color: #c9f0d8 !important; }
.fcc-cert-icon { flex: 0 0 110px; height: 110px; border-radius: 22px; background: #fff; color: var(--fcc-cocoa); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.fcc-chips-light span { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.fcc-chips-light i { margin-right: 4px; }

/* ---------- Inscription ---------- */
.fcc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.fcc-steps li {
	counter-increment: step; position: relative; background: #fff; border: 1px solid var(--fcc-line);
	border-radius: 16px; padding: 26px 24px 22px 84px; min-height: 120px;
}
.fcc-steps li::before {
	content: counter(step); position: absolute; left: 22px; top: 24px; width: 44px; height: 44px; border-radius: 50%;
	background: var(--fcc-cocoa); color: var(--fcc-gold); font-weight: 700; font-size: 18px;
	display: flex; align-items: center; justify-content: center;
}
.fcc-steps p { color: var(--fcc-muted); margin: 0; font-size: 15px; }
.fcc-steps a { color: var(--fcc-green); font-weight: 600; word-break: break-all; }
.fcc-copy-box { display: block; }
.fcc-copy-box span { display: block; font-style: italic; color: var(--fcc-ink); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.fcc-copy {
	display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
	padding: 6px 14px; border-radius: 20px; border: 1px solid var(--fcc-green); background: #fff; color: var(--fcc-green); cursor: pointer;
}
.fcc-copy:hover, .fcc-copy.is-done { background: var(--fcc-green); color: #fff; }

/* ---------- Contact ---------- */
.fcc-contact { background: var(--fcc-cocoa); color: rgba(255,255,255,.85); padding: 50px 0 30px; }
.fcc-contact h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.fcc-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.fcc-contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.fcc-contact-links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff !important; font-weight: 500; }
.fcc-contact-links a:hover { background: var(--fcc-gold); color: var(--fcc-cocoa) !important; border-color: var(--fcc-gold); }
.fcc-tags { margin: 30px 0 0 !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px !important; color: rgba(255,255,255,.5) !important; text-align: center; }

/* ---------- Animation d'apparition ---------- */
@media (prefers-reduced-motion: no-preference) {
	.fcc .fcc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.fcc .fcc-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.fcc-hero h1 { font-size: 34px; }
	.fcc-modules, .fcc-orgs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.fcc-section { padding: 60px 0; }
	.fcc-hero { padding: 50px 0 80px; }
	.fcc-hero-media { margin: 40px 0 0 0; }
	.fcc-facts-grid { grid-template-columns: repeat(3, 1fr); }
	.fcc-facts-grid li { border-bottom: 1px solid var(--fcc-line); }
	.fcc-steps { grid-template-columns: repeat(2, 1fr); }
	.fcc-card { margin-top: 24px; }
	.fcc-timeline { margin-top: 30px !important; }
}
@media (max-width: 767px) {
	.fcc h2 { font-size: 26px; }
	.fcc-hero h1 { font-size: 28px; }
	.fcc-sub { font-size: 17px !important; }
	.fcc-btn { width: 100%; justify-content: center; }
	.fcc-badge { left: 12px; bottom: -22px; padding: 10px 16px; }
	.fcc-badge-num { font-size: 30px; }
	.fcc-facts-grid, .fcc-modules, .fcc-orgs, .fcc-steps { grid-template-columns: 1fr 1fr; }
	.fcc-facts-grid li:last-child { grid-column: 1 / -1; }
	.fcc-modules li:last-child, .fcc-orgs li:last-child { grid-column: 1 / -1; }
	.fcc-steps { grid-template-columns: 1fr; }
	.fcc-cert { flex-direction: column; padding: 30px 24px; gap: 20px; }
	.fcc-cert-icon { flex-basis: auto; width: 80px; height: 80px; font-size: 46px; }
	.fcc-contact-links a { flex: 1 1 100%; justify-content: center; }
}
