:root {
  --navy: #0b2740;
  --navy-2: #123b5d;
  --ink: #152334;
  --emerald: #1677c8;
  --emerald-dark: #0e5d9d;
  --mint: #e5f2fc;
  --sky: #edf5f8;
  --white: #ffffff;
  --soft: #f5f8fa;
  --line: #d8e1e7;
  --muted: #5c6976;
  --shadow: 0 24px 70px rgba(6, 30, 49, .18);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-160%); background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(11,39,64,.08); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { font-weight: 900; letter-spacing: -.08em; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.brand-mark::after { content: ""; display: inline-block; width: .36em; height: .16em; margin-left: -.17em; margin-bottom: .08em; border-radius: 99px; background: var(--emerald); }
.brand-copy { padding-left: 12px; border-left: 1px solid var(--line); font-size: .68rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 27px; }
.main-nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: var(--emerald-dark); }
.nav-cta { padding: 10px 18px; border-radius: 999px; color: var(--white); background: var(--navy); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 9px; background: var(--white); padding: 8px 12px; color: var(--navy); font-weight: 700; }

.hero { position: relative; min-height: 780px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-media { position: absolute; inset: 0; background-image: url('/assets/bgc-rabat-creation-entreprise.webp'); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,22,36,.96) 0%, rgba(4,22,36,.78) 39%, rgba(4,22,36,.16) 68%, rgba(4,22,36,.05) 100%); }
.hero-grid { position: relative; z-index: 2; min-height: 780px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr); align-items: center; gap: 80px; padding-block: 86px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 11px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 36px; height: 3px; background: var(--emerald); border-radius: 99px; }
.eyebrow.dark { color: var(--emerald-dark); }
.eyebrow.light { color: #a8d7ff; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5.2vw, 5.3rem); max-width: 760px; }
.hero-lead { max-width: 610px; margin: 0 0 30px; font-size: 1.18rem; line-height: 1.65; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 21px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--emerald); color: var(--white); box-shadow: 0 14px 34px rgba(22,119,200,.25); }
.button-primary:hover { background: var(--emerald-dark); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.button-light { background: var(--white); color: var(--navy); }
.button-ghost-dark { border-color: var(--line); background: var(--white); color: var(--navy); }
.button-full { width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.83); }
.hero-proof li::before { content: "✓"; margin-right: 8px; color: #a8d7ff; font-weight: 900; }

.lead-card { align-self: center; margin-top: 80px; padding: 30px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.card-kicker { margin: 0 0 4px; color: var(--emerald-dark); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.lead-card h2 { margin-bottom: 10px; font-size: 1.8rem; }
.lead-card > p:not(.card-kicker):not(.form-note) { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.lead-card form { display: grid; gap: 8px; }
.lead-card label { font-weight: 750; font-size: .83rem; }
.lead-card input:not([type="checkbox"]), .lead-card select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px; color: var(--ink); background: var(--white); }
.lead-card input:focus, .lead-card select:focus { outline: 3px solid rgba(22,119,200,.18); border-color: var(--emerald); }
.consent-line { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin: 6px 0 9px; color: var(--muted); font-weight: 500 !important; line-height: 1.4; }
.consent-line input { margin-top: 3px; }
.consent-line a { color: var(--emerald-dark); }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.35em; margin: 2px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.form-status.error { color: #a12b2b; }
.form-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: .78rem; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 25px 30px; display: grid; gap: 1px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border: 0; }
.trust-grid strong { color: var(--navy); font-size: 1.22rem; }
.trust-grid span { color: var(--muted); font-size: .88rem; }

.section { padding: 110px 0; }
.section-heading { max-width: 750px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 0; }
.section-heading h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); color: var(--navy); }
.section-heading > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.service-card { position: relative; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.service-card.featured { background: var(--soft); }
.service-number { position: absolute; top: 22px; right: 26px; color: rgba(11,39,64,.08); font-size: 4rem; font-weight: 900; line-height: 1; }
.service-label { color: var(--emerald-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.service-card h3 { max-width: 420px; margin: 20px 0 15px; font-size: 1.9rem; color: var(--navy); }
.service-card > p:not(.service-label) { color: var(--muted); }
.service-card ul, .price-card ul { margin: 26px 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.service-card li, .price-card li { position: relative; padding-left: 28px; }
.service-card li::before, .price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 900; }
.text-link { color: var(--navy); font-weight: 850; text-decoration: none; }
.text-link:hover { color: var(--emerald-dark); }
.legal-note { margin: 22px 0 0; color: var(--muted); font-size: .78rem; }

.process { background: var(--navy); color: var(--white); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.process .section-heading h2 { color: var(--white); }
.process .section-heading > p:last-of-type { color: rgba(255,255,255,.7); }
.process .button { margin-top: 28px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.steps li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #a8d7ff; border: 1px solid rgba(168,215,255,.5); font-weight: 900; }
.steps h3 { margin: 2px 0 7px; font-size: 1.25rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: rgba(255,255,255,.68); }

.pricing { background: var(--sky); }
.pricing-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 100px; align-items: center; }
.price-card { padding: 36px; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 55px rgba(11,39,64,.12); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.price-top p { margin: 0; font-weight: 850; color: var(--navy); }
.price-badge { padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--emerald-dark); font-size: .75rem; font-weight: 850; }
.price { margin: 24px 0; display: flex; align-items: baseline; gap: 11px; }
.price strong { color: var(--navy); font-size: 3.1rem; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: .84rem; }
.price-note { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: .76rem; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { padding: 22px 42px 22px 0; cursor: pointer; color: var(--navy); font-size: 1.08rem; font-weight: 850; list-style: none; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 1.5rem; color: var(--emerald); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: -7px 0 22px; max-width: 720px; color: var(--muted); }

.contact { padding-top: 40px; }
.contact-box { padding: 55px 62px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; color: var(--white); background: var(--emerald-dark); border-radius: 28px; }
.contact-box h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.3vw, 3.5rem); }
.contact-box p { margin: 0; color: rgba(255,255,255,.8); }
.contact-actions { display: grid; justify-items: start; gap: 16px; }
.phone-link { color: var(--white); font-weight: 900; font-size: 1.35rem; text-decoration: none; }

.site-footer { margin-top: 100px; padding: 70px 0 25px; color: rgba(255,255,255,.75); background: #071c2c; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.1fr .9fr .65fr; gap: 55px; }
.footer-brand .brand-mark { color: var(--white); }
.footer-brand .brand-copy { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.18); }
.footer-grid h2 { margin-bottom: 15px; color: var(--white); font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p, .footer-grid address { font-style: normal; font-size: .9rem; }
.footer-grid > div > a:not(.brand), .footer-link { display: block; margin: 7px 0; color: rgba(255,255,255,.75); text-decoration: none; }
.footer-link { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-grid a:hover, .footer-link:hover { color: var(--white); }
.footer-bottom { margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }

.cookie-banner { position: fixed; z-index: 100; left: 22px; right: 22px; bottom: 22px; max-width: 1050px; margin-inline: auto; padding: 23px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-bottom: 7px; color: var(--navy); font-size: 1.1rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .88rem; }
.cookie-banner a { color: var(--emerald-dark); font-size: .82rem; }
.cookie-actions { display: flex; gap: 8px; }

.legal-page { background: var(--soft); }
.legal-hero { padding: 72px 0 46px; color: var(--white); background: var(--navy); }
.legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); margin-bottom: 12px; }
.legal-hero p { color: rgba(255,255,255,.7); }
.legal-content { max-width: 860px; margin: 60px auto 100px; padding: 45px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-content h2 { margin: 38px 0 13px; color: var(--navy); font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #485766; }
.legal-content a { color: var(--emerald-dark); }
.legal-content .notice { padding: 18px 20px; border-left: 4px solid var(--emerald); background: var(--mint); color: var(--navy); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 90px 0 65px; }
  .hero-copy { max-width: 730px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,22,36,.95), rgba(4,22,36,.55)); }
  .lead-card { margin: 0; max-width: 620px; }
  .process-layout, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .contact-box { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy { display: none; }
  .hero-media { background-position: 66% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,22,36,.88), rgba(4,22,36,.78)); }
  .hero-grid { padding-top: 68px; }
  h1 { font-size: 2.8rem; }
  .hero-lead { font-size: 1.02rem; }
  .hero-proof { display: grid; }
  .lead-card { padding: 22px; }
  .trust-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-grid > div, .trust-grid > div:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border: 0; }
  .section { padding: 78px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }
  .contact { padding-top: 16px; }
  .contact-box { padding: 36px 24px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-content { margin: 25px 14px 70px; padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
