/* =========================================================
   CSBF Consulting — feuille de style (maquette 1450 px)
   ========================================================= */
:root {
  --navy: #102b40;
  --red: #b54134;
  --red-dark: #9c3529;
  --cream: #f8f4eb;
  --white: #fefdfb;
  --text: #636b6f;
  --line: #d7d3ca;
  --on-navy: #cfdde7;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --foot-sans: 'DM Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 117px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1450px; margin: 0 auto; padding: 0 59px; }
.accent { color: var(--red); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); }
h2 { font-size: 58.4px; line-height: 62px; letter-spacing: 0; }

/* ----- Eyebrow ----- */
.eyebrow {
  display: flex; align-items: center; gap: 13px;
  font-size: 12.5px; font-weight: 600; line-height: 16px; letter-spacing: .01em;
  text-transform: uppercase; color: var(--text);
}
.cabinet .eyebrow { letter-spacing: .02em; }
.expertises .eyebrow { letter-spacing: -.053em; }
.tunisie .eyebrow { letter-spacing: -.06em; }
.extern .eyebrow { letter-spacing: -.062em; }
.engagements .eyebrow { letter-spacing: -.059em; }
.contact .eyebrow { letter-spacing: -.035em; }
.hero .eyebrow { font-size: 12px; }
.eyebrow::before { content: ''; width: 25px; height: 2px; background: var(--red); flex: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  height: 57px; padding: 4px 25px 0;
  background: var(--red); color: #fff;
  font-size: 14.6px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 0; border-radius: 4px; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: default; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.shrink { box-shadow: 0 6px 24px rgba(16, 43, 64, .08); }
.header-inner {
  max-width: 1450px; margin: 0 auto;
  height: 116px; padding: 0 33px 0 84px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; color: var(--navy); }
.brand-main { position: relative; top: 2px; font-family: var(--serif); font-size: 28.6px; font-weight: 500; line-height: 36px; letter-spacing: .035em; }
.brand-sub { margin-top: 7px; font-size: 9.3px; line-height: 14px; letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.main-nav { display: flex; align-items: center; gap: 31.3px; }
.main-nav a:not(.btn) { position: relative; top: 1px; font-size: 13.6px; font-weight: 400; color: var(--navy); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--red); }
.main-nav .btn { height: 57px; margin-left: 0; padding: 4px 27px 0 25px; gap: 27px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--cream); }
.hero-inner {
  max-width: 1450px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 591px; gap: 0;
  padding: 59px 34px 66px 84px;
}
.hero-text { padding: 19px 40px 0 0; }
.hero .eyebrow { position: relative; top: 1.5px; letter-spacing: .02em; }
.hero .eyebrow::before { width: 24px; }
.hero h1 { margin-top: 29px; font-size: 84px; line-height: 85px; letter-spacing: 0; }
.hero .lead { margin-top: 32px; max-width: 560px; font-size: 20.8px; line-height: 30px; color: var(--navy); }
.hero-p { margin-top: 11.5px; max-width: 585px; font-size: 16.5px; line-height: 28px; }
.hero .btn { margin-top: 35.5px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 43px; font-size: 12.5px; line-height: 22px; }
.hero-note .ico { width: 16px; height: 18px; color: var(--red); stroke-width: 1.8; }
.hero-media { position: relative; margin-top: -1px; }
.hero-media > img {
  width: 591px; height: 598px; object-fit: cover; object-position: 50% 22%;
  border-radius: 295.5px 295.5px 8px 8px;
}
.hero-quote {
  position: absolute; left: -34px; bottom: 34px; width: 346px; height: 194px;
  padding: 27px 27px 0; background: var(--navy); color: var(--cream);
}
.quote-label { display: block; font-size: 10px; line-height: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--on-navy); }
.hero-quote p { margin-top: 13px; font-family: var(--serif); font-size: 30.2px; line-height: 33px; color: #fff; }
.hero-quote p::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 12px; background: var(--red); }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--navy); color: #fff; }
.stats-inner {
  max-width: 1450px; margin: 0 auto; padding: 45px 34px 39px 84px;
  display: grid; grid-template-columns: 362px 510px 1fr; align-items: start;
}
.stats-title { font-family: var(--serif); font-size: 29px; line-height: 34px; color: #fff; max-width: 300px; }
.stats-sub { margin-top: 8px; font-size: 11.3px; line-height: 18px; color: #b8c7d1; }
.stat { display: flex; align-items: center; gap: 25px; height: 82px; margin-top: 3px; padding-left: 52px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-figure { flex: none; width: 76.5px; margin-left: -1.5px; font-family: var(--serif); font-size: 55px; font-weight: 400; letter-spacing: 4px; line-height: 1; color: #fff; }
.stat-body { position: relative; top: 2.5px; display: flex; flex-direction: column; gap: 4.5px; }
.stat-label { font-size: 15.6px; line-height: 22px; color: #fff; }
.stat-detail { font-size: 12.4px; line-height: 20px; color: #b8c7d1; }

/* =========================================================
   CABINET
   ========================================================= */
.cabinet { background: var(--white); padding: 101px 0 97px; }
.cabinet-grid { display: grid; grid-template-columns: 500px 1fr; column-gap: 104px; align-items: start; }
.cabinet-media img { width: 500px; height: 375px; object-fit: cover; border-radius: 6px; }
.cabinet-media figcaption { display: flex; justify-content: space-between; margin-top: 13px; font-size: 11.4px; line-height: 18px; color: var(--text); }
.cap-brand { text-transform: uppercase; color: var(--red); }
.cabinet-text h2 { margin-top: 24px; }
.cabinet-text p { margin-top: 23px; font-size: 16.5px; line-height: 28.5px; }
.cabinet-text h2 + p { margin-top: 23px; }
.ticks { display: flex; gap: 34px; margin-top: 32px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 12.4px; font-weight: 500; line-height: 20px; color: var(--navy); }
.ticks li::before { content: ''; width: 6px; height: 6px; background: var(--red); flex: none; }

/* =========================================================
   EXPERTISES
   ========================================================= */
.expertises { background: var(--cream); padding: 100px 0 99px; }
.exp-head { display: grid; grid-template-columns: 1fr 489px; align-items: end; margin-top: 49.75px; }
.exp-head h2 { font-size: 67px; line-height: 68.5px; max-width: 640px; }
.exp-head p { position: relative; top: 4.25px; font-size: 16.5px; line-height: 28px; }
.exp-grid {
  display: grid; margin-top: 54.75px;
  grid-template-columns: 479px 66px 373px 41px 373px; grid-template-rows: 214px 1fr;
}
.exp-main {
  grid-column: 1; grid-row: 1 / 3;
  background: var(--navy); color: var(--cream); border-radius: 4px; padding: 42px 42px 33px;
}
.exp-ico { display: block; width: 33px; height: 33px; margin-left: -1.5px; stroke-width: 1.1; color: #fff; }
.exp-main h3 { margin-top: 26.5px; font-size: 45.5px; line-height: 52px; color: #fff; }
.exp-main h3::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 27px; background: var(--red); }
.exp-main ul { margin-top: 17px; }
.exp-main li { display: flex; align-items: center; gap: 13px; min-height: 42px; font-size: 15.5px; line-height: 24px; color: var(--cream); }
.exp-main li::before { content: ''; width: 15px; height: 1px; background: rgba(248, 244, 235, .65); flex: none; }
.exp-main li.gap { margin-top: 6px; }
.exp-card { border-top: 1px solid var(--line); padding-top: 27px; }
.exp-card:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.exp-card:nth-of-type(3) { grid-column: 5; grid-row: 1; }
.exp-card:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.exp-card:nth-of-type(5) { grid-column: 5; grid-row: 2; }
.exp-card-head { display: flex; align-items: center; justify-content: space-between; }
.exp-card h3 { font-size: 37.7px; line-height: 42px; }
.exp-card .ico { width: 26px; height: 26px; stroke-width: 1.4; color: var(--red); }
.exp-card ul { margin-top: 21px; font-size: 15.6px; line-height: 28px; }
.exp-note { position: relative; margin-top: 50px; padding-left: 26px; font-size: 14.5px; line-height: 22px; }
.exp-note::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--red); }

/* =========================================================
   TUNISIE / arche partagée avec la FAQ
   ========================================================= */
.tunisie { background: var(--white); padding: 117px 0 139px; }
.tunisie-grid, .faq-grid { display: grid; grid-template-columns: 500px 1fr; column-gap: 104px; align-items: start; }
.arch-media img { width: 458px; height: 604px; object-fit: cover; border-radius: 229px 229px 8px 8px; }
.red-card { position: relative; width: 375px; margin: -135px 0 0 125px; padding: 33px 33px 32px; background: var(--red); color: #fff; }
.red-label { position: relative; top: -1.5px; display: block; font-size: 10px; line-height: 14px; letter-spacing: .02em; text-transform: uppercase; }
.red-card p { margin-top: 15px; font-family: var(--serif); font-size: 38px; line-height: 42px; color: #fff; }
.red-label + p { margin-top: 15px; }
.red-card p:first-child { margin-top: 0; }
.red-card p::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 15px; background: #fff; }

.tunisie-text { padding-top: 25px; }
.tunisie-text h2 { margin-top: 27px; }
.tunisie-intro { margin-top: 29px; font-size: 16.6px; line-height: 28px; }
.steps { margin-top: 30px; }
.steps li { display: flex; gap: 0; padding: 22px 0 23px; border-top: 1px solid var(--line); }
.step-num { flex: none; width: 47px; font-family: var(--serif); font-size: 24px; line-height: 36px; color: var(--red); }
.steps h3 { font-size: 30.4px; line-height: 36px; }
.steps p { margin-top: 9px; font-size: 14.6px; line-height: 24px; }
.tunisie .btn { margin-top: 27px; }

/* =========================================================
   EXTERNALISATION
   ========================================================= */
.extern { background: var(--navy); color: var(--on-navy); padding: 100px 0 99px; }
.extern .eyebrow { color: var(--on-navy); }
.extern-head { display: grid; grid-template-columns: 1fr 499px; align-items: end; margin-top: 27.75px; }
.extern-head h2 { max-width: 600px; font-size: 67px; line-height: 68.5px; color: var(--cream); }
.extern-head p { position: relative; top: 3.25px; font-size: 16.65px; line-height: 28px; }
.extern-body { display: grid; grid-template-columns: 686px 1fr; column-gap: 84px; align-items: center; margin-top: 61.75px; }
.extern-boxes { position: relative; height: 444px; }
.box-outline, .box-cream { position: absolute; width: 426px; padding: 33px; border-radius: 4px; }
.box-outline { left: 0; top: 0; height: 264px; padding: 32px; border: 1px solid rgba(248, 244, 235, .2); }
.box-cream { left: 260px; top: 229px; height: 215px; background: var(--cream); color: var(--text); }
.box-label { display: block; font-size: 10px; line-height: 14px; letter-spacing: .02em; text-transform: uppercase; }
.box-outline .box-label { color: var(--on-navy); }
.box-cream .box-label { color: var(--red); }
.extern-boxes h3 { margin-top: 19px; font-size: 37.4px; line-height: 40px; }
.box-outline h3 { color: var(--cream); }
.extern-boxes p { margin-top: 20.5px; font-size: 15.7px; line-height: 28px; }
.box-outline p { color: var(--on-navy); }
.extern-link {
  position: absolute; left: 181px; top: 303px; z-index: 2; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff;
}
.extern-link .ico { width: 15px; height: 15px; }
.extern-text { padding-top: 5px; }
.extern-text h3 { font-size: 37.6px; line-height: 43px; color: var(--cream); }
.extern-text p { margin-top: 24px; font-size: 16.65px; line-height: 28px; }
.extern-text h3 + p { margin-top: 24px; }
.extern-quote {
  display: flex; align-items: center; gap: 25px; margin-top: 63px; padding-top: 30px;
  border-top: 1px solid rgba(248, 244, 235, .16);
  font-family: var(--serif); font-size: 30.2px; line-height: 36px; color: var(--cream);
}
.extern-quote::before { content: ''; width: 42px; height: 2px; background: var(--red); flex: none; transform: translateY(-2px); }

/* =========================================================
   ENGAGEMENTS
   ========================================================= */
.engagements { background: var(--white); padding: 107px 0 108px; }
.eng-layout { display: grid; grid-template-columns: 441px 832px; column-gap: 59px; margin-top: 31px; }
.eng-side h2 { margin-top: -3px; font-size: 58.4px; line-height: 61.5px; }
.eng-side > p { margin-top: 28px; font-size: 16.5px; line-height: 28px; }
.eng-photo { width: 312px; height: 230px; margin-top: 30px; overflow: hidden; border-radius: 156px 156px 6px 6px; }
.eng-photo img { width: 318px; max-width: none; height: 472px; margin: -47px 0 0 -3px; }
.eng-grid { display: grid; grid-template-columns: 391px 391px; column-gap: 50px; row-gap: 45.5px; align-content: start; }
.eng { min-height: 146px; padding-top: 21px; border-top: 1px solid #dcd9c8; }
.eng-num { display: block; font-size: 12.5px; line-height: 16px; color: var(--red); }
.eng h3 { margin-top: 12px; font-size: 31px; line-height: 36px; }
.eng p { margin-top: 14.5px; font-size: 14.6px; line-height: 25px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--navy); color: #fff; padding: 106px 0 115px; }
.faq .arch-media { margin-top: 3px; }
.faq-text h2 { color: #fff; }
.faq-intro { margin-top: 23px; font-size: 16.6px; line-height: 28px; color: #fff; }
.faq-list { margin-top: 23.5px; border-top: 1px solid rgba(255, 255, 255, .97); }
.faq-list details { padding: 26px 0 19px; border-bottom: 1px solid rgba(255, 255, 255, .97); }
.faq-list details:nth-child(2) { padding: 21px 0 37px; }
.faq-list details:nth-child(3) { padding: 44px 0 23px; }
.faq-list details:nth-child(4) { padding: 44px 0 22.5px; }
.faq-list details:nth-child(5) { padding: 40.5px 0 17.5px; border-bottom: 0; }
.faq-list summary { list-style: none; cursor: pointer; font-size: 14.5px; line-height: 24px; color: #fff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--on-navy); }
.faq-text .btn { margin-top: 21px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--cream); padding: 115px 0 115.5px; }
.contact-grid { display: grid; grid-template-columns: 1fr 666px; column-gap: 60px; align-items: start; }
.contact-side .eyebrow { margin-top: 2px; }
.contact-side h2 { margin-top: 27.5px; font-size: 67px; line-height: 70px; }
.contact-side > p { margin-top: 29px; max-width: 520px; font-size: 16.6px; line-height: 28px; }
.contact-conv { display: flex; align-items: flex-start; gap: 25px; margin-top: 43.5px; }
.mini-arch { flex: none; width: 183px; height: 221px; overflow: hidden; border-radius: 91.5px 91.5px 6px 6px; }
.mini-arch img { width: 400px; max-width: none; height: 225px; margin: 0 0 0 -109.5px; }
.conv-text { padding-top: 114px; }
.conv-line { display: block; width: 33px; height: 2px; background: var(--red); }
.conv-text p { max-width: 310px; margin-top: 21.5px; font-family: var(--serif); font-size: 30px; line-height: 34px; color: var(--navy); }
.contact-form-wrap h3 { font-size: 37.4px; line-height: 50px; }
.req-note { margin-top: 23px; font-size: 12.5px; line-height: 18px; }
.contact-form { display: grid; grid-template-columns: 322px 322px; column-gap: 22px; row-gap: 24px; margin-top: 23px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 9px; font-size: 12.5px; font-weight: 500; line-height: 18px; color: var(--navy); }
.field input, .field textarea {
  display: block; width: 100%; height: 56px; padding: 0 17px;
  background: var(--white); border: 1.5px solid #dcd8cc; border-radius: 4px;
  font-size: 14.6px; color: var(--navy); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 141px; padding: 17px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--text); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 43, 64, .08); }
.form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.contact-form .btn { gap: 29px; }
.form-private { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; line-height: 18px; }
.form-private .ico { width: 14px; height: 14px; stroke-width: 1.6; }
.form-status { min-height: 0; font-size: 14px; line-height: 22px; }
.form-status:empty { display: none; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: var(--red); }
.form-status.loading { color: var(--text); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: #cadae9; font-family: var(--foot-sans); }
.foot-inner { max-width: 1450px; margin: 0 auto; padding: 151.5px 137px 26px 173px; }
.foot-cta { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 58px; border-bottom: 1px solid rgba(255, 255, 255, .11); }
.foot-eyebrow { display: block; font-size: 10.5px; font-weight: 700; line-height: 14px; letter-spacing: .17em; text-transform: uppercase; color: #f38065; }
.foot-cta h2 { margin-top: 14.5px; font-size: 53.3px; line-height: 62px; color: #fff; }
.foot-cta h2 em { font-style: italic; color: #f38065; }
.foot-cta p { margin-top: 16.5px; font-size: 15.3px; line-height: 26px; color: #cadae9; }
.foot-btn {
  position: relative; top: -3px;
  display: inline-flex; align-items: center; gap: 12px; height: 53px; padding: 0 26px 0 27px;
  background: #c2442e; color: #fff; font-size: 14.3px; font-weight: 700; border-radius: 3px; white-space: nowrap;
  transition: background-color .2s;
}
.foot-btn:hover { background: #a93a27; }
.foot-btn .ico { width: 16px; height: 16px; }
.foot-grid { display: grid; grid-template-columns: 393px 253px 254px 1fr; padding-top: 61px; }
.foot-logo { display: block; font-family: var(--serif); font-size: 25.3px; line-height: 30px; letter-spacing: .05em; color: #fff; }
.foot-tag { display: block; margin-top: 9px; font-size: 10.1px; font-weight: 700; line-height: 14px; letter-spacing: .15em; text-transform: uppercase; color: #9cabbc; }
.foot-brand p { margin-top: 18px; max-width: 300px; font-size: 14.2px; line-height: 24px; color: #c9d6e4; }
.foot-col { display: flex; flex-direction: column; gap: 15px; }
.foot-col h4 { margin-bottom: 2px; font-family: var(--foot-sans); font-size: 10.5px; font-weight: 700; line-height: 14px; letter-spacing: .17em; text-transform: uppercase; color: #f38065; }
.foot-col a, .foot-col span { font-size: 14.2px; line-height: 24px; color: #c0cedd; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 61px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .11); font-size: 12.3px; }
.foot-copy { color: #8f9fb0; }
.foot-legal { display: flex; gap: 26px; color: #c0cedd; }
.foot-legal a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 12px; color: #cadae9; }
.to-top-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; transition: background-color .2s; }
.to-top:hover .to-top-btn { background: rgba(255, 255, 255, .12); }

/* =========================================================
   PRISE DE RENDEZ-VOUS (fenêtre modale)
   ========================================================= */
body.bk-open { overflow: hidden; }
.bk[hidden], .bk [hidden] { display: none !important; }
.bk { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(16, 43, 64, .72); }
.bk-panel {
  position: relative; display: grid; grid-template-columns: 340px 1fr;
  width: 100%; max-width: 1020px; max-height: calc(100vh - 48px); overflow: auto;
  background: var(--white); border-radius: 6px; outline: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.bk-x {
  position: absolute; top: 12px; right: 14px; z-index: 2; width: 40px; height: 40px;
  background: none; border: 0; border-radius: 50%; font-size: 30px; line-height: 1; color: var(--navy); cursor: pointer;
}
.bk-x:hover { background: rgba(16, 43, 64, .08); }
.bk-side { background: var(--navy); color: var(--on-navy); padding: 48px 36px; }
.bk-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--on-navy); }
.bk-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.bk-side h2 { margin-top: 20px; font-size: 42px; line-height: 46px; color: #fff; }
.bk-side p { margin-top: 18px; font-size: 15px; line-height: 24px; }
.bk-facts { margin-top: 26px; display: grid; gap: 14px; font-size: 15px; color: #fff; }
.bk-facts li { display: flex; align-items: center; gap: 12px; }
.bk-facts .ico { width: 20px; height: 20px; color: #f38065; stroke-width: 1.6; }
.bk-side .bk-hint { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; line-height: 21px; color: #b8c7d1; }
.bk-main { padding: 48px 40px 40px; min-height: 480px; }
.bk-step:not([hidden]) { display: grid; }
#bkStepDate:not([hidden]) { grid-template-columns: 1fr 190px; gap: 36px; align-items: start; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--navy); }
.bk-cal-head strong { font-weight: 500; }
.bk-nav { display: grid; place-items: center; width: 36px; height: 36px; background: none; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); cursor: pointer; }
.bk-nav:hover:not(:disabled) { background: var(--cream); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.bk-dow { margin-bottom: 8px; font-size: 12px; text-transform: uppercase; color: var(--text); }
.bk-days > * { aspect-ratio: 1; max-height: 46px; }
.bk-days button { background: none; border: 0; border-radius: 50%; font-size: 15px; color: #b3b8bb; cursor: default; }
.bk-days button.is-available { background: var(--cream); color: var(--navy); font-weight: 600; cursor: pointer; }
.bk-days button.is-available:hover { background: #efe6d4; }
.bk-days button.is-selected { background: var(--navy); color: #fff; }
.bk-slots h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 22px; color: var(--navy); }
.bk-slot-list { display: grid; gap: 8px; margin-top: 14px; max-height: 430px; overflow: auto; }
.bk-slot { height: 44px; background: var(--white); border: 1.5px solid var(--navy); border-radius: 4px; font-size: 15px; font-weight: 600; color: var(--navy); cursor: pointer; transition: background-color .15s, color .15s; }
.bk-slot:hover { background: var(--navy); color: #fff; }
.bk-msg { margin-top: 14px; font-size: 14px; line-height: 22px; }
.bk-err { color: var(--red); }
.bk-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 0; background: none; border: 0; font-size: 14px; color: var(--text); cursor: pointer; }
.bk-back:hover { color: var(--navy); }
.bk-back .ico { width: 16px; height: 16px; }
.bk-chosen { margin: 18px 0 24px; padding-left: 14px; border-left: 3px solid var(--red); font-family: var(--serif); font-size: 24px; line-height: 30px; color: var(--navy); white-space: pre-line; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.bk-grid .field-full { grid-column: 1 / -1; }
.bk-grid .field textarea { height: auto; min-height: 92px; }
#bkForm .btn { margin-top: 6px; }
.bk-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-done:not([hidden]) { justify-items: center; align-content: center; gap: 14px; min-height: 400px; text-align: center; }
.bk-done h3 { font-size: 40px; line-height: 44px; }
.bk-done p { max-width: 420px; font-size: 16px; line-height: 26px; }
.bk-check { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; }
.bk-check .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.bk-link { background: none; border: 0; font-size: 14px; color: var(--text); text-decoration: underline; cursor: pointer; }
.bk .btn .ico { width: 16px; height: 16px; }
.bk .btn { height: 52px; padding-top: 0; }

@media (max-width: 860px) {
  .bk { padding: 0; align-items: stretch; }
  .bk-panel { grid-template-columns: 1fr; max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .bk-side { padding: 28px 24px 24px; }
  .bk-side h2 { font-size: 32px; line-height: 36px; margin-top: 12px; }
  .bk-side .bk-hint, .bk-side > p:not(.bk-hint) { display: none; }
  .bk-facts { margin-top: 18px; gap: 10px; font-size: 14px; }
  .bk-main { padding: 28px 20px 32px; min-height: 0; }
  #bkStepDate:not([hidden]) { grid-template-columns: 1fr; gap: 24px; }
  .bk-slot-list { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-x { color: #fff; }
  .bk-x:hover { background: rgba(255, 255, 255, .12); }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .header-inner { padding: 0 32px; }
  .main-nav { gap: 22px; }
  .hero-inner { padding: 59px 32px 66px; grid-template-columns: 1fr 480px; }
  .hero-media > img { width: 480px; height: 540px; border-radius: 240px 240px 8px 8px; }
  .hero-quote { left: -24px; }
  .hero h1, .contact-side h2, .exp-head h2, .extern-head h2 { font-size: 64px; line-height: 70px; }
  .stats-inner { padding: 48px 32px; grid-template-columns: 300px 1fr 1fr; }
  .stat { padding-left: 32px; }
  .foot-inner { padding: 120px 48px 26px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 1060px) {
  html { scroll-padding-top: 90px; }
  .header-inner { height: 88px; }
  .burger { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 32px 24px; background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .main-nav .btn { margin-top: 12px; }

  .hero-inner { grid-template-columns: 1fr; row-gap: 48px; }
  .hero-text { padding-right: 0; }
  .hero-media { max-width: 480px; margin-left: 24px; }
  .stats-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stats-intro { grid-column: 1 / -1; }
  .stats-title { max-width: none; }
  .stat:first-of-type { border-left: 0; padding-left: 0; }

  .cabinet-grid, .tunisie-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .cabinet-media img, .cabinet-media { width: 100%; max-width: 560px; }
  .cabinet-media img { height: auto; aspect-ratio: 4 / 3; }
  .arch-media { max-width: 500px; }
  .exp-head, .extern-head { grid-template-columns: 1fr; row-gap: 24px; }
  .exp-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; column-gap: 32px; row-gap: 40px; }
  .exp-main { grid-column: 1 / -1; grid-row: auto; }
  .exp-card:nth-of-type(n) { grid-column: auto; grid-row: auto; }
  .extern-body { grid-template-columns: 1fr; row-gap: 56px; }
  .extern-boxes { max-width: 686px; }
  .eng-layout { grid-template-columns: 1fr; row-gap: 56px; }
  .eng-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .foot-cta { flex-direction: column; align-items: flex-start; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { padding: 0 20px; height: 76px; }
  .brand-main { font-size: 24px; line-height: 28px; }
  .brand-sub { font-size: 9.5px; margin-top: 3px; }
  .main-nav { padding: 8px 20px 24px; }
  h2, .hero h1, .contact-side h2, .exp-head h2, .extern-head h2, .eng-side h2 { font-size: 40px; line-height: 44px; }
  .hero-inner { padding: 40px 20px 56px; row-gap: 40px; }
  .hero-text { padding-top: 0; }
  .hero h1 { margin-top: 22px; }
  .hero .lead { font-size: 19px; line-height: 27px; }
  .hero-media { margin-left: 0; max-width: none; }
  .hero-media > img { width: 100%; height: auto; aspect-ratio: 591 / 598; border-radius: 50% 50% 8px 8px / 25% 25% 8px 8px; }
  .hero-quote { position: relative; left: 0; bottom: 0; width: calc(100% - 32px); height: auto; margin: -64px 0 0 0; padding: 24px 24px 24px; }
  .hero-quote p { font-size: 26px; line-height: 30px; }
  .stats-inner { padding: 40px 20px; grid-template-columns: 1fr; }
  .stat, .stat:first-of-type { height: auto; padding: 0; border-left: 0; }
  .stat-figure { font-size: 54px; }
  .cabinet { padding: 64px 0; }
  .expertises { padding: 64px 0; }
  .exp-head { margin-top: 28px; }
  .exp-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .exp-main { padding: 36px 24px 28px; }
  .exp-main h3 { font-size: 38px; }
  .tunisie, .faq { padding: 64px 0; }
  .arch-media img { width: 100%; height: auto; aspect-ratio: 458 / 604; border-radius: 50% 50% 8px 8px / 19% 19% 8px 8px; }
  .red-card { width: calc(100% - 48px); margin: -90px 0 0 48px; padding: 24px; }
  .red-card p { font-size: 30px; line-height: 34px; }
  .steps h3 { font-size: 26px; line-height: 30px; }
  .steps li { padding: 18px 0; }
  .extern { padding: 64px 0; }
  .extern-boxes { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .box-outline, .box-cream { position: static; width: 100%; height: auto; padding: 24px; }
  .extern-link { display: none; }
  .extern-text h3 { font-size: 30px; line-height: 36px; }
  .extern-quote { margin-top: 48px; font-size: 24px; line-height: 30px; }
  .engagements { padding: 64px 0; }
  .eng-grid, .contact-form { grid-template-columns: 1fr; }
  .eng-photo, .eng-photo img { width: 100%; }
  .eng-photo img { height: auto; aspect-ratio: 312 / 230; }
  .faq-list details:nth-child(n) { padding: 22px 0; }
  .contact { padding: 64px 0; }
  .contact-conv { flex-direction: column; }
  .conv-text { padding-top: 0; }
  .contact-form-wrap h3 { font-size: 34px; line-height: 40px; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-inner { padding: 72px 20px 24px; }
  .foot-cta h2 { font-size: 40px; line-height: 46px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
