/*
Theme Name: Rachidy Makasi Portfolio
Author: Rachidy Makasi
Description: Portfolio professionnel premium — Entrepreneur, Business Consultant, Directeur de la Communication.
Version: 7.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Private
Text Domain: rachidy
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ════════════════════════════════════
   VARIABLES
════════════════════════════════════ */
:root {
  --red:    #C0392B;
  --red-h:  #E8A598;
  --gold:   #B8955A;
  --dark:   #0A0A0A;
  --dark2:  #0D0D0D;
  --dark3:  #111111;
  --card:   #141414;
  --mid:    #1E1E1E;
  --border: rgba(255,255,255,0.06);
  --br:     rgba(192,57,43,0.22);
  --muted:  rgba(255,255,255,0.45);
  --dim:    rgba(255,255,255,0.28);
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Outfit', system-ui, sans-serif;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --logo-h: 56px;
}

/* ════════════════════════════════════
   RESET
════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--dark); color: #fff; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ════════════════════════════════════
   HEADER / NAV
   Structure : Logo (gauche) | Nav (centre) | Contact (droite)
════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 5%;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  overflow: visible;
}
#site-header.scrolled {
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

/* Grille 3 colonnes exactes : logo | nav | contact */
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 72px;
  gap: 0 20px;
}

/* Zone gauche : logo — aligne au centre vertical */
.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  max-width: 100%;
}
/* Logo image — hauteur controlée par --logo-h, jamais plus grande que le header */
.nav-logo img,
.nav-logo .custom-logo {
  height: var(--logo-h, 56px) !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0;
}
.custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}
/* Logo texte de secours */
.nav-logo-text {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: #fff; letter-spacing: .3px;
}
.nav-logo-text span { color: var(--red); }

/* Zone centrale : navigation */
#primary-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  align-items: center;
}
#primary-nav li a {
  font-size: 13px; font-weight: 500; letter-spacing: .3px;
  color: rgba(255,255,255,.5);
  position: relative; padding-bottom: 3px;
  transition: color .3s var(--ease);
}
#primary-nav li a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--red-h);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
#primary-nav li a:hover,
#primary-nav li.current-menu-item > a { color: #fff; }
#primary-nav li a:hover::after,
#primary-nav li.current-menu-item > a::after { transform: scaleX(1); }

/* Zone droite : contact */
.nav-contact {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-tel {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,.4);
  transition: color .3s; white-space: nowrap;
}
.nav-tel:hover { color: #fff; }
.nav-tel svg { stroke: var(--red); fill: none; flex-shrink: 0; }
.nav-cta-btn {
  padding: 8px 20px;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  border-radius: 2px;
  transition: background .3s var(--ease);
  white-space: nowrap;
}
.nav-cta-btn:hover { background: #922B21; color: #fff; }

/* Burger mobile (caché par défaut) */
.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; color: #fff; padding: 4px;
}
.ham { display: flex; flex-direction: column; gap: 5px; }
.ham span { display: block; width: 22px; height: 1.5px; background: #fff; transition: all .3s var(--ease); }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════
   PAGE WRAP
════════════════════════════════════ */
#page { padding-top: 72px; }

/* ════════════════════════════════════
   HERO (page accueil)
════════════════════════════════════ */
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  background: var(--dark);
}
.hero-left {
  padding: 70px 5%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-tag {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: var(--red-h); text-transform: uppercase; margin-bottom: 22px;
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--red); display: block; }
.hero-name {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900; line-height: .95;
  letter-spacing: -2px; color: #fff; margin-bottom: 22px;
}
.hero-name em { font-style: italic; color: var(--red); display: block; }
.hero-desc {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--muted); max-width: 420px; margin-bottom: 30px;
}
.hero-roles { border-left: 1px solid var(--border); margin-bottom: 34px; }
.hero-role {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 12px; color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: all .3s var(--ease);
}
.hero-role:last-child { border-bottom: none; }
.hero-role:hover {
  color: #fff; background: rgba(192,57,43,.07);
  padding-left: 24px; border-left: 2px solid var(--red); margin-left: -1px;
}
.hero-role .rn {
  font-family: var(--serif); font-size: 18px; font-weight: 900;
  color: rgba(192,57,43,.3); min-width: 28px; transition: color .3s;
}
.hero-role:hover .rn { color: var(--red); }
.hero-role .ra { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.hero-role:hover .ra { opacity: 1; transform: translateX(0); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Photo droite du hero */
.hero-photo {
  position: relative; overflow: hidden;
  background: var(--dark3);
  min-height: calc(100vh - 72px);
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero-photo::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 80px;
  background: linear-gradient(to right, var(--dark), transparent);
  z-index: 1; pointer-events: none;
}
.hero-photo::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--dark), transparent);
  z-index: 1; pointer-events: none;
}
/* Placeholder photo vide */
.photo-empty {
  width: 100%; height: 100%; min-height: 400px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border: 1px dashed var(--br);
}
.photo-empty svg {
  width: 36px; height: 36px;
  stroke: rgba(192,57,43,.35); fill: none; stroke-width: 1.5;
}
.photo-empty p {
  font-size: 10px; color: rgba(255,255,255,.18);
  letter-spacing: 2px; text-transform: uppercase; text-align: center;
}
.photo-empty small {
  font-size: 10px; color: rgba(255,255,255,.35);
  text-align: center; max-width: 200px; line-height: 1.6;
}

/* ════════════════════════════════════
   BOUTONS
════════════════════════════════════ */
.btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600; font-family: var(--sans);
  border: none; border-radius: 2px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-red::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--red-h));
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,.3); color: var(--dark); }
.btn-red:hover::before { opacity: 1; }
.btn-red span { position: relative; z-index: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65);
  font-size: 13px; font-weight: 500; font-family: var(--sans); border-radius: 2px;
  transition: all .3s var(--ease);
}
.btn-ghost:hover { border-color: var(--red-h); color: var(--red-h); transform: translateY(-2px); }

/* ════════════════════════════════════
   SÉPARATEUR
════════════════════════════════════ */
.sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(192,57,43,.4), transparent); }

/* ════════════════════════════════════
   SECTIONS GÉNÉRIQUES
════════════════════════════════════ */
.section { padding: 90px 5%; }
.section.alt { background: var(--dark2); }
.wrap { max-width: 1140px; margin: 0 auto; }
.eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: var(--red); text-transform: uppercase; margin-bottom: 12px; display: block;
}
.s-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px); font-weight: 700;
  color: #fff; line-height: 1.1;
}
.s-title em { font-style: italic; color: var(--red-h); }
.s-center { text-align: center; margin-bottom: 60px; }
.two    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.three  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.four   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.two-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.big  { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.72); line-height: 1.9; margin-bottom: 20px; }
.body { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 16px; }
.body strong { color: #fff; font-weight: 500; }
.body em { color: var(--red-h); font-style: normal; font-weight: 500; }
.pq { border-left: 2px solid var(--red); padding: 18px 22px; background: rgba(192,57,43,.05); margin: 22px 0; }
.pq p { font-family: var(--serif); font-size: 18px; font-style: italic; color: #fff; line-height: 1.6; margin: 0; }
.pq p em { color: var(--red-h); font-style: normal; }

/* ════════════════════════════════════
   HERO PAGES INTERNES
════════════════════════════════════ */
.inner-hero {
  padding: 90px 5% 70px; background: var(--dark2);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.inner-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(192,57,43,.08) 0%, transparent 60%);
  pointer-events: none;
}
.ih-wrap { max-width: 1140px; margin: 0 auto; position: relative; z-index: 1; }
.ih-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 62px); font-weight: 900;
  color: #fff; line-height: 1; margin-bottom: 16px; letter-spacing: -1px;
}
.ih-wrap h1 em { font-style: italic; color: var(--red-h); }
.ih-wrap p { font-size: 16px; font-weight: 300; color: var(--muted); max-width: 540px; line-height: 1.85; }

/* ════════════════════════════════════
   CARDS ROLES
════════════════════════════════════ */
.role-card {
  background: var(--card); padding: 44px 32px;
  display: flex; flex-direction: column;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background .4s var(--ease);
}
.role-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-h));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.role-card:hover { background: #150E0E; }
.role-card:hover::after { transform: scaleX(1); }
.rc-n { font-family: var(--serif); font-size: 60px; font-weight: 900; color: rgba(192,57,43,.08); line-height: 1; margin-bottom: 24px; transition: color .4s; }
.role-card:hover .rc-n { color: rgba(192,57,43,.18); }
.rc-icon { width: 38px; height: 38px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: border-color .3s; }
.role-card:hover .rc-icon { border-color: var(--br); }
.rc-icon svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.25); fill: none; stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s; }
.role-card:hover .rc-icon svg { stroke: var(--red-h); }
.rc-title { font-family: var(--serif); font-size: 21px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.rc-sub { font-size: 10px; font-weight: 700; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; transition: color .3s; }
.role-card:hover .rc-sub { color: var(--red-h); }
.rc-desc { font-size: 13px; color: var(--dim); line-height: 1.8; flex: 1; margin-bottom: 24px; transition: color .3s; }
.role-card:hover .rc-desc { color: var(--muted); }
.rc-cta { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.18); text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: color .3s; }
.rc-cta::after { content: '→'; transition: transform .3s; }
.role-card:hover .rc-cta { color: var(--red-h); }
.role-card:hover .rc-cta::after { transform: translateX(4px); }

/* ════════════════════════════════════
   CITATION
════════════════════════════════════ */
.quote-sec {
  padding: 90px 5%; background: var(--dark);
  text-align: center; position: relative; overflow: hidden;
}
.quote-sec::before {
  content: '"'; position: absolute; top: -60px; left: 2%;
  font-family: var(--serif); font-size: 300px; font-weight: 900;
  color: rgba(192,57,43,.04); line-height: 1; pointer-events: none;
}
.quote-sec blockquote {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 34px); font-style: italic; font-weight: 700;
  color: #fff; max-width: 800px; margin: 0 auto;
  line-height: 1.45; position: relative; z-index: 1;
}
.quote-sec blockquote em { color: var(--red-h); font-style: normal; }
.quote-sec cite {
  display: block; margin-top: 22px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  color: rgba(255,255,255,.22); font-style: normal;
  font-family: var(--sans); text-transform: uppercase;
}

/* ════════════════════════════════════
   CONTACT RAPIDE (accueil)
════════════════════════════════════ */
.home-cta { padding: 80px 5%; background: var(--dark2); border-top: 1px solid var(--border); }
.home-cta-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hc-title { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; color: #fff; line-height: 1.1; }
.hc-title em { font-style: italic; color: var(--red); }
.hc-sub { font-size: 13px; color: var(--muted); margin-top: 10px; }
.hc-links { display: flex; flex-direction: column; }
.hc-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--muted);
  padding: 10px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: color .3s, padding-left .3s;
}
.hc-link:hover { color: #fff; padding-left: 6px; }
.hc-link:last-of-type { border-bottom: none; }
.hc-icon { width: 16px; height: 16px; stroke: var(--red-h); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }

/* ════════════════════════════════════
   PHOTOS PORTRAIT
════════════════════════════════════ */
.photo-portrait {
  position: relative; background: var(--card);
  overflow: hidden; aspect-ratio: 3/4;
}
.photo-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.photo-deco {
  position: absolute; top: 14px; right: -14px; bottom: -14px; left: 14px;
  border: 1px solid rgba(192,57,43,.18); z-index: -1; pointer-events: none;
}
.photo-consultant {
  position: relative; background: var(--card);
  overflow: hidden; aspect-ratio: 4/5;
}
.photo-consultant img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* ════════════════════════════════════
   INFO BLOCK
════════════════════════════════════ */
.info-block { background: var(--dark3); border: 1px solid var(--border); padding: 22px; margin-top: 14px; }
.ibt { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; color: var(--red); text-transform: uppercase; margin-bottom: 14px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.ir-l { color: var(--dim); }
.ir-r { color: #fff; font-weight: 500; text-align: right; }

/* ════════════════════════════════════
   TIMELINE
════════════════════════════════════ */
.tl-wrap { margin-top: 44px; }
.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: 0 24px; padding-bottom: 32px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 87px; top: 12px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { position: absolute; left: 81px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--dark2), 0 0 0 4px rgba(192,57,43,.3); }
.tl-dot.cur { background: var(--red-h); box-shadow: 0 0 0 3px var(--dark2), 0 0 0 4px rgba(232,165,152,.4); }
.tl-y { font-family: var(--serif); font-size: 17px; font-weight: 700; color: rgba(192,57,43,.35); text-align: right; padding-top: 3px; line-height: 1; }
.tl-y.cur { color: var(--red); }
.tl-b { padding-left: 8px; }
.tl-b h3 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.tl-org { font-size: 10px; font-weight: 700; color: var(--red); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; display: block; }
.tl-org.cur { color: var(--red-h); }
.tl-b p { font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.75; }

.tl-photos { display: flex; flex-direction: column; gap: 1px; position: sticky; top: 88px; }
.tl-photo { position: relative; background: var(--card); overflow: hidden; }
.tl-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.tl-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(10,10,10,.8), transparent);
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.4);
  letter-spacing: 1.5px; text-transform: uppercase;
}

/* ════════════════════════════════════
   CENTRES D'INTERET
════════════════════════════════════ */
.ic-card { background: var(--card); padding: 28px 22px; border-bottom: 2px solid transparent; transition: all .3s var(--ease); cursor: default; }
.ic-card:hover { border-bottom-color: var(--red); background: var(--dark3); transform: translateY(-3px); }
.ic-icon-w { width: 40px; height: 40px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: border-color .3s; }
.ic-card:hover .ic-icon-w { border-color: var(--br); }
.ic-icon-w svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.22); fill: none; stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s; }
.ic-card:hover .ic-icon-w svg { stroke: var(--red-h); }
.ic-title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ic-desc { font-size: 12px; color: var(--dim); line-height: 1.75; }

/* ════════════════════════════════════
   FEATURE CARDS
════════════════════════════════════ */
.f-card { background: var(--card); padding: 30px 24px; border-top: 2px solid transparent; transition: all .35s var(--ease); }
.f-card:hover { background: var(--mid); border-top-color: var(--red); }
.f-label { font-size: 10px; font-weight: 700; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; transition: color .3s; }
.f-card:hover .f-label { color: var(--red-h); }
.f-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; transition: color .3s; }
.f-card:hover .f-title { color: var(--red-h); }
.f-desc { font-size: 12px; color: var(--dim); line-height: 1.75; transition: color .3s; }
.f-card:hover .f-desc { color: var(--muted); }

/* ════════════════════════════════════
   PILLIERS / STEPS
════════════════════════════════════ */
.pillar-list { display: flex; flex-direction: column; margin-top: 24px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s; }
.pillar:hover { padding-left: 6px; }
.pillar:last-child { border-bottom: none; }
.pdot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-top: 9px; flex-shrink: 0; }
.pb h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.pb p { font-size: 12px; color: var(--dim); line-height: 1.65; }

.steps { display: flex; flex-direction: column; }
.st { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s; }
.st:hover { padding-left: 5px; }
.st:last-child { border-bottom: none; }
.sn { font-family: var(--serif); font-size: 42px; font-weight: 900; color: rgba(192,57,43,.1); line-height: 1; flex-shrink: 0; min-width: 46px; transition: color .3s; }
.st:hover .sn { color: rgba(192,57,43,.25); }
.sb h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.sb p { font-size: 12px; color: var(--dim); line-height: 1.7; }

/* ════════════════════════════════════
   SERVICE BLOCKS
════════════════════════════════════ */
.svc-blocks { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.svc-block { display: grid; grid-template-columns: 220px 1fr; background: var(--card); }
.svc-l { padding: 32px 26px; background: var(--dark3); border-right: 1px solid var(--border); }
.svc-l h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.svc-l p { font-size: 12px; color: var(--dim); line-height: 1.6; }
.svc-r { padding: 32px 28px; }
.svc-items { display: flex; flex-direction: column; }
.svc-it { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s; }
.svc-it:hover { padding-left: 5px; }
.svc-it:last-child { border-bottom: none; padding-bottom: 0; }
.sdot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-top: 8px; flex-shrink: 0; }
.svc-it h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; transition: color .3s; }
.svc-it:hover h4 { color: var(--red-h); }
.svc-it p { font-size: 12px; color: var(--dim); line-height: 1.6; }

/* ════════════════════════════════════
   TAGS
════════════════════════════════════ */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 6px 13px; border: 1px solid var(--border); font-size: 11px; color: rgba(255,255,255,.38); border-radius: 2px; transition: all .3s; cursor: default; }
.tag:hover { border-color: var(--red-h); color: var(--red-h); }

/* ════════════════════════════════════
   CONTACT CARD
════════════════════════════════════ */
.cc { background: var(--dark3); border: 1px solid var(--border); padding: 30px; }
.cc-t { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; color: var(--red); text-transform: uppercase; margin-bottom: 16px; }
.cc-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); align-items: flex-start; transition: padding-left .3s; }
.cc-item:hover { padding-left: 5px; }
.cc-item:last-child { border-bottom: none; }
.cc-ic { width: 14px; height: 14px; stroke: var(--red-h); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; margin-top: 1px; }
.cc-b label { display: block; font-size: 9px; font-weight: 700; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.cc-b a, .cc-b span { font-size: 12px; color: rgba(255,255,255,.5); }
.cc-b a:hover { color: #fff; }

/* ════════════════════════════════════
   FORMULAIRE CONTACT
════════════════════════════════════ */
.cf { display: flex; flex-direction: column; gap: 13px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: 10px; font-weight: 700; color: var(--dim); letter-spacing: 1.5px; text-transform: uppercase; }
.fg input,
.fg textarea,
.fg select {
  background: var(--dark3); border: 1px solid var(--border);
  padding: 12px 14px; font-size: 13px; color: #fff;
  font-family: var(--sans); outline: none; width: 100%; border-radius: 0;
  -webkit-appearance: none; transition: border-color .3s;
}
.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255,255,255,.15); }
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--red-h); }
.fg textarea { min-height: 120px; resize: vertical; }
.fg select option { background: var(--dark3); }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

/* ════════════════════════════════════
   RM LOGO (page entrepreneur)
════════════════════════════════════ */
.rm-logo { font-family: var(--serif); font-size: 76px; font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -3px; }
.rm-tag { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.2); letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

/* Tablette large */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .two, .three, .four, .two-2 { grid-template-columns: 1fr; gap: 40px; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-l { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Tablette : header simplifié — logo gauche | burger droite */
@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  #primary-nav { display: none; }
  .nav-contact { display: none; }
  .menu-toggle { display: flex; }

  /* Menu mobile ouvert */
  #primary-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(8,8,8,.98);
    padding: 28px 5%; gap: 20px; z-index: 999;
    border-top: 1px solid var(--border);
  }
  #primary-nav.open li a {
    font-size: 16px; color: rgba(255,255,255,.7);
  }
  #primary-nav.open li a:hover { color: #fff; }
}

/* Mobile */
@media (max-width: 640px) {
  #site-header { padding: 0 4%; }
  .section { padding: 60px 4%; }
  .inner-hero { padding: 60px 4% 50px; }
  .hero-left { padding: 60px 4%; }
  .hero-name { font-size: clamp(44px, 13vw, 72px); }
  .hero-btns { flex-direction: column; }
  .home-cta-inner { flex-direction: column; }
  .fr2 { grid-template-columns: 1fr; }
  .tl-photos { display: none; }
}

/* ════════════════════════════════════
   ANIMATIONS
════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.au { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.au.visible { opacity: 1; transform: translateY(0); }
