/*
Theme Name: FC Consulting
Theme URI: https://fc-consulting.fatoucoly6.chatgpt.site
Author: FC Consulting
Description: Thème WordPress sur mesure pour FC Consulting, spécialiste du poste clients des TPE et PME.
Requires at least: 6.6
Requires PHP: 8.1
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fc-consulting
Tags: block-patterns, full-site-editing, accessibility-ready, custom-colors, custom-logo
*/

:root {
  --ink: #171a2f;
  --navy: #242c6d;
  --navy-deep: #141833;
  --paper: #f2f3f7;
  --white: #ffffff;
  --muted: #62677c;
  --line: #d9dce7;
  --green: #16745a;
  --sand: #e4aa43;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.wp-site-blocks, .wp-block-template-part { margin: 0; padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.admin-bar .site-header { top: 32px; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(242 243 247 / 92%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(217 220 231 / 85%);
}
.header-row { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand-mark {
  width: 38px; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--navy); color: white; font-weight: 850; letter-spacing: -.06em;
  border-radius: 4px 13px 4px 4px;
}
.brand strong { display: block; color: var(--navy-deep); font-size: 15px; line-height: 1.05; text-transform: uppercase; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; text-transform: uppercase; letter-spacing: .13em; }
nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
nav a { color: var(--navy-deep); text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 23px; border: 1px solid var(--navy); border-radius: 5px;
  background: var(--navy); color: white; text-decoration: none; font-size: 14px; font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-ghost { background: transparent; color: var(--navy); }
.button-ghost:hover { color: white; }
.button-light { background: white; border-color: white; color: var(--navy); }
.button-light:hover { background: transparent; color: white; border-color: white; }

.hero { padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(48px, 7vw, 86px); align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--navy); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy-deep); line-height: 1.06; letter-spacing: -.04em; }
h1 { max-width: 760px; font-size: clamp(48px, 6vw, 76px); font-weight: 850; }
h1 span { color: var(--navy); display: block; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 820; }
h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.lead { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.reassurance { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 23px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.reassurance li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }

.collection-card { position: relative; background: var(--white); padding: 30px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 70px -45px rgba(20,24,51,.72); }
.collection-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; background: #dfe2ef; border-radius: 50%; z-index: -1; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.card-heading .eyebrow { margin-bottom: 8px; }
.card-heading h2 { max-width: 14ch; font-size: 22px; line-height: 1.24; letter-spacing: -.025em; }
.pulse { width: 12px; height: 12px; margin-top: 4px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 7px rgba(22,116,90,.12); }
.timeline { padding-block: 11px; }
.timeline-row { display: grid; grid-template-columns: 46px 1fr 92px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #eceef4; }
.timeline-row:last-child { border: 0; }
.day { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.timeline-label { color: var(--ink); font-size: 13px; font-weight: 720; opacity: 0; animation: appear .45s ease forwards; animation-delay: calc(var(--delay) + 350ms); }
.track { height: 8px; background: #eaecf3; border-radius: 10px; overflow: hidden; }
.bar { display: block; height: 100%; border-radius: inherit; background: var(--navy); transform-origin: left; animation: grow .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--delay); transform: scaleX(0); }
.timeline-row:nth-child(4) .bar { background: var(--sand); }
.timeline-row:nth-child(5) .bar { background: #a44331; }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes appear { to { opacity: 1; } }
.card-note { margin: 10px 0 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.55; }

.proof { padding: 34px 0; background: var(--navy-deep); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, .7fr)) minmax(280px, 1.4fr); gap: 28px; align-items: center; }
.proof-grid div { padding-right: 20px; border-right: 1px solid rgba(255,255,255,.14); }
.proof strong { display: block; color: white; font-size: clamp(25px, 3vw, 35px); line-height: 1; letter-spacing: -.035em; }
.proof span { display: block; margin-top: 8px; color: #c5c9dc; font-size: 12px; }
.proof p { margin: 0; color: #aeb4d0; font-size: 11px; line-height: 1.55; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { max-width: 760px; }
.section-head > p:last-child, .split-head > p { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.split-head { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.split-head > p { margin: 0; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module { min-height: 260px; padding: 25px; background: rgba(255,255,255,.38); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module > span { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 800; }
.module h3 { margin-top: 54px; }
.module p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.price-section { background: white; border-block: 1px solid var(--line); }
.centered { margin-inline: auto; text-align: center; }
.centered > p:last-child { max-width: 690px; margin: 18px auto 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 53px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: white; transform: translateY(-10px); box-shadow: 0 23px 50px -38px rgba(20,24,51,.9); }
.offer-badge { align-self: flex-start; margin: 0 0 27px; padding: 5px 9px; border-radius: 3px; background: #e1e4ef; color: var(--navy); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.featured .offer-badge { background: var(--green); color: white; }
.featured h3 { color: white; }
.offer-description { min-height: 51px; margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.featured .offer-description { color: #d2d6e8; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 27px 0 24px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.featured .price { border-color: rgba(255,255,255,.16); }
.price strong { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: 12px; }
.featured .price span { color: #bec3dc; }
.price-card ul { flex: 1; list-style: none; padding: 0; margin: 0 0 28px; }
.price-card li { position: relative; padding-left: 22px; margin: 0 0 11px; color: var(--muted); font-size: 14px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.featured li { color: #e3e5f0; }
.featured li::before { color: #78cdb2; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); }
.extras div { display: grid; padding: 20px 22px; background: white; }
.extras span { color: var(--navy); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.extras strong { margin-top: 4px; font-size: 18px; }
.extras small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.pricing-note { max-width: 820px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: 12px; }

.expertise-section { background: var(--paper); }
.expertise-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(44px, 8vw, 100px); align-items: start; }
.profile-monogram { aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; background: var(--navy-deep); color: white; border-radius: 7px 40% 7px 7px; }
.profile-monogram span { font-size: 78px; font-weight: 900; letter-spacing: -.09em; line-height: 1; }
.profile-monogram small { margin-top: 19px; color: #b8bed9; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.expertise-grid h2 { max-width: 780px; }
.lead-small { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.expertise-grid > div:last-child > p:not(.eyebrow) { max-width: 780px; }
.credentials { margin-top: 31px; border-top: 1px solid var(--line); }
.credentials div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.credentials strong { color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.credentials span { color: var(--muted); font-size: 14px; }

.process-section { background: white; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 48px 0 0; list-style: none; }
.process-list li { padding-top: 18px; border-top: 2px solid var(--navy); }
.process-list li > span { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.process-list h3 { margin-top: 28px; font-size: 18px; }
.process-list p { color: var(--muted); font-size: 14px; }

.legal-section { background: #e7e9f1; }
.legal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.legal-copy { padding-left: 28px; border-left: 3px solid var(--green); }
.legal-copy p { margin: 0 0 14px; color: #4f556c; }

.cta-section { padding: clamp(72px, 9vw, 108px) 0; background: var(--navy); color: white; }
.cta-section .eyebrow { color: #aeb5da; }
.cta-section h2 { color: white; max-width: 700px; }
.cta-section p { max-width: 650px; color: #d1d5e8; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.cta-actions { display: grid; justify-items: start; gap: 15px; }
.phone-link { color: white; font-size: 24px; font-weight: 850; text-decoration: none; letter-spacing: -.02em; }
.cta-actions small { color: #b7bdd8; font-size: 11px; }

footer { padding: 46px 0 24px; background: var(--navy-deep); color: #b7bcd3; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; align-items: start; }
.footer-brand strong { color: white; }
footer p { margin: 0; }
footer a { color: #e0e2ec; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.content-shell { min-height: 60vh; padding: clamp(64px, 8vw, 104px) 20px; }
.content-shell > * { width: min(100%, 760px); margin-inline: auto; }
.content-shell > h1 { font-size: clamp(40px, 6vw, 64px); }
.content-shell .post-card { margin-block: 30px; padding: 28px; background: white; border: 1px solid var(--line); }
.legal-page h2 { margin-top: 42px; font-size: 30px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #858cae; font-size: 11px; }

:focus-visible { outline: 3px solid #f1ba55; outline-offset: 4px; }
@media (max-width: 980px) {
  .header-row nav { display: none; }
  .header-row .button { margin-left: auto; }
  .hero-grid, .split-head, .legal-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid p { grid-column: 1 / -1; }
  .module-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .price-grid { gap: 14px; }
  .price-card { padding: 23px; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-row { min-height: 66px; }
  .header-row .button { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .timeline-row { grid-template-columns: 43px 1fr; }
  .track { grid-column: 2; width: 100%; }
  .proof-grid, .price-grid, .extras, .expertise-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 0 0 20px; }
  .price-card.featured { transform: none; }
  .profile-monogram { max-width: 280px; }
  .footer-grid { gap: 24px; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 520px) {
  h1 { font-size: 44px; }
  .brand small { display: none; }
  .actions { display: grid; }
  .button { width: 100%; }
  .collection-card { padding: 21px; }
  .module-grid, .process-list { grid-template-columns: 1fr; }
  .module { min-height: auto; }
  .module h3 { margin-top: 28px; }
  .credentials div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bar { transform: scaleX(1); }
  .timeline-label { opacity: 1; }
}
