/* ==========================================
   ICC – IC Consulting
   Moderne & Épuré · Rouge & Blanc
   ========================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:     #E31E2D;
  --red-dk:  #C5111F;
  --black:   #0A0A0A;
  --ink:     #1A1A1A;
  --mid:     #6B6B6B;
  --line:    #E8E8E8;
  --tint:    #F8F8F7;
  --white:   #FFFFFF;
  --font:    'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-h:   72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section       { padding: 112px 0; }
.section-tinted { background: var(--tint); }

/* ==========================================
   NAVIGATION
   ========================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: border-color .3s;
}
#header.scrolled { border-color: var(--line); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
.footer-brand .logo img {
  height: 48px;
  max-width: 160px;
  filter: brightness(0) invert(1);
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.logo-tag {
  font-size: 0.72rem;
  color: var(--mid);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--tint); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 9px 20px !important;
  margin-left: 8px;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--red) !important; transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: .3s;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 40px;
}
.dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 64px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: 900px;
}
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--mid);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Buttons --- */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  font-family: var(--font);
}
.btn-red:hover { background: var(--red-dk); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .2s, gap .2s;
  gap: 6px;
}
.btn-ghost:hover { color: var(--red); }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* --- Hero photo panel --- */
.hero-deco {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}
.hero-deco::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 25%),
              linear-gradient(to top, var(--white) 0%, transparent 15%);
}
/* kept for any legacy refs */
.deco-box { display: none; }
.deco-1   { display: none; }
.deco-2   { display: none; }
.deco-line {
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

/* ==========================================
   STATS
   ========================================== */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  background: var(--white);
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 24px;
}
.stat-item b {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-item span {
  font-size: 0.8rem;
  color: var(--mid);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--line);
}

/* ==========================================
   À PROPOS
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.eyebrow-white { color: rgba(255,255,255,0.6); }

.about-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.about-photo {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-right .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 500;
}
.about-right p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.about-quote {
  padding: 28px 0 28px 24px;
  border-left: 3px solid var(--red);
  margin-bottom: 28px;
}
.about-quote blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 12px;
}
.about-quote cite {
  font-size: 0.8rem;
  color: var(--mid);
  font-style: normal;
  font-weight: 600;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-tags span {
  padding: 6px 16px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.sec-head {
  margin-bottom: 64px;
}
.sec-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.sec-desc {
  max-width: 540px;
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================
   SERVICES
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.svc-card {
  background: var(--white);
  padding: 0;
  transition: background .2s, box-shadow .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { background: var(--white); box-shadow: 0 8px 32px rgba(0,0,0,0.09); z-index: 1; }
.svc-card:hover .svc-num { color: var(--red); }

.svc-cover {
  font-size: 3.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  transition: background .25s, font-size .25s;
  flex-shrink: 0;
  overflow: hidden;
}
.svc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.svc-card:hover .svc-cover img {
  transform: scale(1.05);
}
.svc-card:hover .svc-cover {
  background: #fdf0f1;
  font-size: 4.4rem;
}

.svc-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--line);
  margin-bottom: 10px;
  transition: color .2s;
}

.svc-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.svc-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ==========================================
   PHOTO MOSAIC
   ========================================== */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 4px;
  height: 240px;
}
.photo-mosaic-item {
  overflow: hidden;
  position: relative;
}
.photo-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .4s ease;
  filter: grayscale(15%);
}
.photo-mosaic-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.photo-mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  transition: background .3s;
}
.photo-mosaic-item:hover::after { background: rgba(0,0,0,0); }

/* ==========================================
   SECTORS PHOTO GRID
   ========================================== */
.sectors-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 16px;
  overflow: hidden;
}
.sector-photo-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: default;
}
.sector-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.sector-photo-card:hover img { transform: scale(1.08); }
.sector-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.82) 0%, rgba(10,10,20,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  transition: background .3s;
}
.sector-photo-card:hover .sector-photo-overlay {
  background: linear-gradient(to top, rgba(10,10,20,0.9) 0%, rgba(10,10,20,0.4) 55%, transparent 100%);
}
.sector-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}
.sector-photo-overlay h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.sector-photo-overlay p {
  color: rgba(255,255,255,0.68);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ==========================================
   CINEMA BAND
   ========================================== */
.cinema-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.cinema-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cinema-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,20,0.7) 0%, rgba(10,10,20,0.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.cinema-band-text {
  padding: 0 60px;
  max-width: 600px;
}
.cinema-band-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.cinema-band-text h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cinema-band-text h2 em {
  font-style: normal;
  color: var(--red);
}

/* ==========================================
   SECTEURS (original list — kept for inner pages)
   ========================================== */
.sectors-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.sector-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  cursor: default;
}
.sector-row:last-child { border-bottom: none; }
.sector-row:hover { background: var(--tint); }
.sector-row:hover .sector-arrow { transform: scale(1.2); }

.sector-arrow {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  transition: transform .25s;
  filter: grayscale(0.1);
}

.sector-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.sector-info p {
  font-size: 0.87rem;
  color: var(--mid);
}

/* ==========================================
   WHY ICC
   ========================================== */
.why-section {
  background: var(--ink);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.why-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
  margin-top: 4px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: background .2s, border-color .2s;
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(227,30,45,0.4);
}
.why-card-photo {
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.why-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
  filter: brightness(0.85);
}
.why-card:hover .why-card-photo img {
  transform: scale(1.06);
  filter: brightness(1);
}
.why-card-body {
  padding: 24px 24px 28px;
}
.why-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
  transition: transform .25s;
}
.why-card:hover .why-icon { transform: scale(1.15); }
.why-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ==========================================
   PARTENAIRES
   ========================================== */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.partner {
  padding: 16px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: border-color .2s, color .2s, transform .2s;
  cursor: default;
}
.partner:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.partner img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter .2s, opacity .2s;
}
.partner:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cd-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cd-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.cd-item span {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
}
.cd-item a {
  color: var(--mid);
  transition: color .2s;
}
.cd-item a:hover { color: var(--ink); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #C0C0C0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--black);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo-mark { background: var(--red); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tag  { color: rgba(255,255,255,0.4); }
.footer-brand > p {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color .2s;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 50;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }

/* ==========================================
   PAGE HERO (pages internes)
   ========================================== */
.page-hero {
  padding-top: var(--nav-h);
  padding-bottom: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  padding: 64px 0 56px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--mid); transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--line); }
.breadcrumb strong { color: var(--ink); }

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.0;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero p {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.7;
}

/* Active nav link */
.nav-links a.active {
  color: var(--red) !important;
  background: rgba(227,30,45,0.06) !important;
}

/* ==========================================
   SEC HEAD ROW (home sections)
   ========================================== */
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.sec-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(227,30,45,0.3);
}
.sec-more:hover { opacity: 0.75; }

/* ==========================================
   VALUES GRID (a-propos.html)
   ========================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.value-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: rgba(227,30,45,0.2);
  transform: translateY(-3px);
}
.value-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 20px; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.value-card p  { font-size: 0.87rem; color: var(--mid); line-height: 1.65; }

/* TEAM */
.team-grid { display: flex; flex-direction: column; gap: 24px; }
.team-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--tint);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--line);
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-info h3 span { color: var(--red); }
.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
  display: block;
}
.team-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  margin-bottom: 16px;
}
.team-bio { font-size: 0.88rem; color: var(--mid); line-height: 1.7; }

/* BILAN */
.bilan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.bilan-item {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.bilan-item b {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.bilan-item span {
  font-size: 0.82rem;
  color: var(--mid);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ==========================================
   APPROACH (services.html)
   ========================================== */
.approach-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.approach-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.approach-step h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.approach-step p  { font-size: 0.85rem; color: var(--mid); line-height: 1.6; }
.approach-connector {
  width: 48px;
  height: 1px;
  background: var(--line);
  flex-shrink: 0;
  position: relative;
}
.approach-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  border: 4px solid transparent;
  border-left-color: var(--line);
}

/* CTA BAND */
.cta-band { background: var(--tint); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.cta-inner p { color: var(--mid); font-size: 0.95rem; }
.cta-inner .btn-red { flex-shrink: 0; white-space: nowrap; }

/* ==========================================
   SECTOR CARDS (secteurs.html)
   ========================================== */
.sector-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.sector-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  border-color: rgba(227,30,45,0.25);
  transform: translateY(-3px);
}
.sector-card-icon { font-size: 2.8rem; line-height: 1; }
.sector-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.sector-card p  { font-size: 0.88rem; color: var(--mid); line-height: 1.65; flex: 1; }
.sector-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
  margin-top: 8px;
  transition: gap .2s;
}
.sector-card-link:hover { text-decoration: underline; }

.xp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xp-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.xp-item-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.xp-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.xp-item:hover .xp-item-photo img { transform: scale(1.05); }
.xp-item-body { padding: 24px 20px 28px; }
.xp-icon { font-size: 2.4rem; display: block; margin-bottom: 16px; }
.xp-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.xp-item p  { font-size: 0.85rem; color: var(--mid); line-height: 1.6; }

/* Photo strip */
.photo-strip {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

/* ==========================================
   PARTNER CARDS (partenaires.html)
   ========================================== */
.partner-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background: var(--white);
  transition: background .2s;
}
.partner-card:hover { background: var(--tint); }
.partner-card-logo {
  font-size: 2.8rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  background: var(--tint);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.partner-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter .2s, opacity .2s;
}
.partner-card:hover .partner-card-logo img {
  filter: grayscale(0%);
  opacity: 1;
}
.partner-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227,30,45,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.partner-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.partner-card p  { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }

.partner-join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.partner-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
.partner-join-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 40px;
}
.partner-join-cta h3 { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.partner-join-cta p  { color: var(--mid); line-height: 1.7; }

/* ==========================================
   MAP BAND (contact.html)
   ========================================== */
.map-band {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.map-placeholder {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.map-pin { font-size: 1.8rem; flex-shrink: 0; }
.map-placeholder div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-placeholder strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.map-placeholder span   { font-size: 0.85rem; color: var(--mid); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .about-grid          { grid-template-columns: 1fr; gap: 40px; }
  .about-left h2       { font-size: 2.2rem; }
  .why-inner           { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid        { grid-template-columns: 1fr; gap: 56px; }
  .sector-cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .xp-grid             { grid-template-columns: 1fr; }
  .partner-join-grid   { grid-template-columns: 1fr; gap: 40px; }
  .approach-grid       { flex-direction: column; gap: 24px; }
  .approach-connector  { display: none; }
  .cta-inner           { flex-direction: column; text-align: center; gap: 24px; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .bilan-grid          { grid-template-columns: repeat(2, 1fr); }
  .team-card           { flex-direction: column; gap: 28px; padding: 36px 32px; }
  .sec-head-row        { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 80px 0; }
  .container { padding: 0 20px; }

  /* Nav */
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .nav-cta { margin-left: 0 !important; margin-top: 4px; }

  /* Hero */
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-deco   { display: none; }
  .hero-inner  { padding: 48px 20px 80px; }

  /* Stats */
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .stat-item { background: var(--white); padding: 24px 16px; }
  .stat-sep  { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-cards { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Field row */
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sector-cards-grid  { grid-template-columns: 1fr; }
  .partner-card       { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 16px; }
  .map-placeholder    { flex-direction: column; align-items: flex-start; }
  .values-grid        { grid-template-columns: 1fr; }
  .bilan-grid         { grid-template-columns: 1fr 1fr; }
  .team-card          { padding: 28px 24px; }
}

@media (max-width: 1024px) {
  .sectors-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); height: auto; }
  .photo-mosaic-item { height: 160px; }
  .cinema-band { height: 240px; }
  .cinema-band-text { padding: 0 32px; }
}
@media (max-width: 768px) {
  .sectors-photo-grid { grid-template-columns: 1fr 1fr; }
  .sector-photo-card  { height: 180px; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
  .cinema-band-text h2 { font-size: 1.5rem; }
  .why-card-photo { height: 130px; }
}
@media (max-width: 480px) {
  .sectors-photo-grid { grid-template-columns: 1fr; }
  .sector-photo-card  { height: 200px; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; }
  .cinema-band { height: 200px; }
  .cinema-band-text { padding: 0 20px; }
  .stats-row      { grid-template-columns: 1fr; }
  .sector-row     { gap: 16px; padding: 24px 20px; }
  .partners-row   { gap: 10px; }
  .partner        { padding: 12px 20px; }
  .partner img    { height: 36px; max-width: 90px; }
  .logo img       { height: 36px; max-width: 130px; }
  .contact-left h2 { font-size: 2.5rem; }
  .partner-join-cta { padding: 32px 24px; }
}
