/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --text: #1C1C1E;
  --muted: #6B6B6B;
  --accent: #F97316;
  --accent-hover: #EA6700;
  --accent-light: #FFF3ED;
  --section-alt: #F4F3EF;
  --border: #E5E3DC;
  --border-strong: #C9C7BE;
  --green: #16A34A;
  --green-bg: #F0FDF4;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --max-w: 1060px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(1.9rem, 4.8vw, 3rem); font-weight: 800; line-height: 1.13; letter-spacing: -.03em; color: var(--text); }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--text); }
p  { color: var(--muted); line-height: 1.75; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
section.alt { background: var(--section-alt); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 8px; font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: all .16s ease; border: none; text-decoration: none;
  white-space: nowrap; font-family: inherit; letter-spacing: -.01em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,115,22,.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: 8px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.25rem; font-weight: 800; color: var(--text); letter-spacing: -.03em;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 13px; font-size: .88rem; font-weight: 600; color: var(--muted);
  border-radius: 6px; transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 10px; padding: 10px 18px; font-size: .88rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px; z-index: 99; flex-direction: column; gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 14px; font-size: .95rem; font-weight: 600; color: var(--text); border-radius: 8px; transition: background .15s; }
.mobile-menu a:hover { background: var(--section-alt); }
.mobile-menu .btn { margin-top: 8px; width: 100%; text-align: center; justify-content: center; }

/* ── HERO ── */
.hero { padding: 144px 20px 80px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 700px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(.93rem, 1.9vw, 1.1rem); color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.hero-note { font-size: .8rem; color: var(--muted); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 600px; }
.badge {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 5px 13px; border-radius: 20px; font-size: .8rem; font-weight: 600; color: var(--muted);
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 8px; }
.section-tag {
  display: inline-block; background: var(--accent-light); color: var(--accent);
  padding: 3px 11px; border-radius: 20px; font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px;
}

/* ── COMPARISON TABLE ── */
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cmp-col {
  border-radius: var(--radius); padding: 28px 22px; border: 1.5px solid transparent;
}
.cmp-col.bad { background: var(--red-bg); border-color: #FECACA; }
.cmp-col.good { background: var(--green-bg); border-color: #BBF7D0; }
.cmp-icon { font-size: 1.5rem; margin-bottom: 10px; }
.cmp-col h3 { font-size: 1rem; margin-bottom: 14px; }
.cmp-col.bad h3 { color: var(--red); }
.cmp-col.good h3 { color: var(--green); }
.cmp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cmp-list li { font-size: .87rem; color: var(--muted); display: flex; align-items: flex-start; gap: 7px; }
.cmp-list li::before { flex-shrink: 0; margin-top: 1px; }
.cmp-col.bad .cmp-list li::before { content: "✗"; color: var(--red); font-weight: 700; }
.cmp-col.good .cmp-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.comparison-cta { text-align: center; margin-top: 32px; }

/* ── PROBLEM CARDS ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.card-icon { font-size: 1.7rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 1rem; }
.card p { font-size: .88rem; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.step { text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { margin-bottom: 7px; font-size: .98rem; }
.step p { font-size: .86rem; }

/* ── METIERS GRID ── */
.metiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.metier-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; transition: border-color .18s, box-shadow .18s; }
.metier-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.metier-icon { font-size: 1.9rem; margin-bottom: 9px; }
.metier-label { font-size: .87rem; font-weight: 700; color: var(--text); }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.testimonial-stars { color: var(--accent); font-size: .9rem; margin-bottom: 12px; }
.testimonial-text { font-size: .88rem; color: var(--text); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-size: .8rem; font-weight: 700; color: var(--muted); }

/* ── PRICING ── */
.pricing-wrapper { display: flex; justify-content: center; margin-top: 48px; }
.pricing-card { background: var(--bg-card); border: 2px solid var(--accent); border-radius: 14px; padding: 44px 38px; max-width: 420px; width: 100%; box-shadow: 0 8px 32px rgba(249,115,22,.10); text-align: center; }
.pricing-eyebrow { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing-sub { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.features-list { list-style: none; text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 11px; }
.features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--text); }
.features-list li::before { content: "✓"; color: var(--green); font-weight: 800; font-size: .95rem; flex-shrink: 0; margin-top: 1px; }
.pricing-note { font-size: .78rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.pricing-card .btn { width: 100%; }

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.faq-q { width: 100%; background: transparent; border: none; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: .93rem; font-weight: 700; color: var(--text); text-align: left; gap: 12px; transition: background .15s; font-family: inherit; }
.faq-q:hover { background: var(--section-alt); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; font-size: .75rem; color: var(--muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { display: none; padding: 0 22px 18px; }
.faq-a p { font-size: .88rem; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-a { display: block; }

/* ── CTA BAND ── */
.cta-band { background: var(--text); padding: 72px 20px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #9E9E9E; margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-band .note { color: #6B6B6B; margin-top: 12px; font-size: .8rem; }

/* ── FORMS ── */
.form-page { padding: 120px 20px 80px; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 44px 38px; max-width: 480px; margin: 0 auto; box-shadow: var(--shadow-md); }
.form-card h1 { font-size: 1.8rem; margin-bottom: 7px; }
.form-card .sub { font-size: .92rem; color: var(--muted); margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text); letter-spacing: .01em; }
.form-group input,
.form-group select,
.form-group textarea { padding: 12px 13px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .95rem; font-family: inherit; color: var(--text); background: var(--bg); transition: border-color .15s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,.1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-legal { font-size: .76rem; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.55; }
.form-legal a { color: var(--accent); text-decoration: underline; }

/* ── FOOTER ── */
.footer { background: var(--text); color: #fff; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; margin-bottom: 7px; }
.footer-brand .tagline { font-size: .85rem; color: #888; margin-bottom: 10px; }
.footer-brand .contact-line { font-size: .85rem; color: #777; margin-bottom: 5px; }
.footer-brand .contact-line a { color: var(--accent); }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #666; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .88rem; color: #AAA; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2A2A2A; padding-top: 22px; text-align: center; font-size: .78rem; color: #555; }

/* ── LEGAL / CGU ── */
.legal-page { padding: 110px 20px 80px; max-width: 740px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 28px; font-size: 1.9rem; }
.legal-page h2 { font-size: 1.1rem; margin: 28px 0 9px; }
.legal-page p, .legal-page li { font-size: .93rem; color: var(--muted); line-height: 1.78; }
.legal-page ul { margin-left: 20px; margin-top: 8px; }
.legal-page li { margin-bottom: 4px; }

/* ── PAGE HERO ── */
.page-hero { padding: 120px 20px 48px; text-align: center; }
.page-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin-bottom: 10px; }
.page-hero p { font-size: .97rem; max-width: 480px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cards-3 { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 106px 16px 60px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 18px; }
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px 18px; }
  .pricing-card { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
