/* ==========================================================================
   ICC GROUP — International Challenge Corporate Group
   Site corporate · Aesthetic: editorial luxe + corporate African modernism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Brand palette - extracted from logo */
  --c-blue-deep: #0a2540;
  --c-blue: #1d6fb8;
  --c-blue-bright: #2493d8;
  --c-blue-soft: #e8f1f8;
  --c-orange: #e94e2b;
  --c-orange-soft: #fde6df;

  /* Neutrals */
  --c-ink: #0d1b2a;
  --c-ink-soft: #2c3e50;
  --c-text: #3d4a5c;
  --c-muted: #6b7785;
  --c-line: #e5e9ee;
  --c-bg: #ffffff;
  --c-bg-cream: #faf8f4;
  --c-bg-dark: #061629;

  /* Type */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--c-orange);
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-orange);
}

p { font-size: 1rem; max-width: 65ch; }
p.lead { font-size: 1.15rem; color: var(--c-ink-soft); line-height: 1.6; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav__logo img { height: 42px; width: auto; }
.nav__logo small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--c-muted);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--c-ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.7rem 1.4rem;
  background: var(--c-ink);
  color: white;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--c-orange); transform: translateY(-1px); }

.nav__toggle { display: none; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
  }
  .nav__toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: white;
    padding: 1.5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--c-line);
    gap: 1.25rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--c-orange); color: white; }
.btn--primary:hover { background: #c93d1d; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(233,78,43,0.3); }
.btn--dark { background: var(--c-ink); color: white; }
.btn--dark:hover { background: var(--c-blue-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: white; }
.btn--ghost-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: white; color: var(--c-ink); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(36,147,216,0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(233,78,43,0.05), transparent 50%),
    var(--c-bg-cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,27,42,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,27,42,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  margin: 1.5rem 0 1.75rem;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
}

.hero__desc {
  font-size: 1.1rem;
  max-width: 30rem;
  margin-bottom: 2.5rem;
  color: var(--c-ink-soft);
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(13, 27, 42, 0.35);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, transparent 50%, rgba(10,37,64,0.35));
}

.hero__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 14px 40px -10px rgba(13,27,42,0.2);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__badge-num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--c-orange);
  line-height: 1;
}
.hero__badge-label {
  font-size: 0.78rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  max-width: 9rem;
  line-height: 1.4;
}

/* Hero stats / marquee bar */
.hero__bar {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.78rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.4rem;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.sec-head { max-width: 50rem; margin-bottom: 4rem; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { margin: 1rem 0 1.25rem; }
.sec-head p { color: var(--c-ink-soft); font-size: 1.1rem; }
.sec-head--center p { margin: 0 auto; }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.services { background: var(--c-bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.service {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
  overflow: hidden;
  min-height: 320px;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover { background: var(--c-bg-cream); }
.service:hover::before { transform: scaleX(1); }

.service__num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}
.service__icon {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--c-blue-soft);
  display: grid;
  place-items: center;
  color: var(--c-blue);
  margin-bottom: 0.5rem;
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 1.4rem; line-height: 1.2; }
.service p { font-size: 0.95rem; color: var(--c-text); }
.service__more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-orange);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   ABOUT / SPLIT SECTION
   ========================================================================== */

.split {
  background: var(--c-bg-cream);
}
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .split__grid { grid-template-columns: 1fr; } }

.split__media {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 4px;
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--reverse { order: 2; }
@media (max-width: 880px) { .split__media--reverse { order: 0; } }

.split__media-tag {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink);
  font-weight: 600;
}

.split h2 { margin: 1rem 0 1.5rem; }
.split p + p { margin-top: 1rem; }
.split__cta { margin-top: 2.5rem; }

/* Values list */
.values {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.value {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.value__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }
.value strong { color: var(--c-ink); font-weight: 600; font-size: 0.95rem; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */

.stats-band {
  background: var(--c-bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(36,147,216,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(233,78,43,0.1), transparent 50%);
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band h2 { color: white; max-width: 30rem; }
.stats-band .eyebrow { color: var(--c-orange); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 4rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-cell {
  padding: 2.5rem 2rem;
  background: var(--c-bg-dark);
}
.stat-cell__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  color: white;
  line-height: 1;
}
.stat-cell__num em { color: var(--c-orange); font-style: normal; }
.stat-cell__label {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.member {
  text-align: left;
}
.member__photo {
  aspect-ratio: 4/5;
  background: var(--c-blue-soft);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.member__photo .initials {
  font-family: var(--f-display);
  font-size: 5rem;
  color: var(--c-blue);
  font-weight: 400;
}
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 60%, rgba(10,37,64,0.2));
}
.member h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--c-ink); }
.member__role {
  font-size: 0.85rem;
  color: var(--c-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ==========================================================================
   QUOTE / ENGAGEMENT
   ========================================================================== */

.quote-block {
  background: var(--c-bg-cream);
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: var(--c-ink);
  max-width: 50rem;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
}
.quote-block blockquote::before,
.quote-block blockquote::after {
  font-size: 4rem;
  color: var(--c-orange);
  font-family: serif;
  line-height: 1;
  position: absolute;
}
.quote-block blockquote::before { content: "“"; top: -1rem; left: 0; }
.quote-block blockquote::after { content: "”"; bottom: -2rem; right: 0; }
.quote-block cite {
  display: block;
  margin-top: 2.5rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-family: var(--f-body);
}

/* ==========================================================================
   CTA STRIP
   ========================================================================== */

.cta-strip {
  background: var(--c-orange);
  color: white;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 { color: white; max-width: 40rem; }
.cta-strip h2 em { color: rgba(255,255,255,0.7); }
.cta-strip .btn--ghost-light { white-space: nowrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer__brand img {
  height: 56px;
  background: white;
  padding: 6px 10px;
  border-radius: 4px;
}
.footer__brand strong {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: white;
  font-weight: 500;
}
.footer__about p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 24rem;
}

.footer h5 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.7rem; font-size: 0.92rem; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--c-orange); }

.footer__bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   SUB-PAGE HERO (for pages other than homepage)
   ========================================================================== */

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse at top right, rgba(36,147,216,0.08), transparent 60%),
    var(--c-bg-cream);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,27,42,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,27,42,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--c-orange); }
.page-hero h1 { max-width: 22ch; }
.page-hero p.lead { margin-top: 1.5rem; max-width: 36rem; }

/* ==========================================================================
   DETAILED SERVICES (services page)
   ========================================================================== */

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--c-line);
}
.svc-row:last-child { border-bottom: none; }
.svc-row--reverse { grid-template-columns: 1.2fr 1fr; }
.svc-row--reverse .svc-row__media { order: 2; }
@media (max-width: 880px) {
  .svc-row, .svc-row--reverse { grid-template-columns: 1fr; }
  .svc-row--reverse .svc-row__media { order: 0; }
}

.svc-row__media {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__num {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: white;
  padding: 0.45rem 0.85rem;
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--c-ink);
  font-weight: 500;
}

.svc-row h2 { margin: 1rem 0 1.5rem; }
.svc-row__points {
  list-style: none;
  margin-top: 1.5rem;
}
.svc-row__points li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--c-text);
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px dashed var(--c-line);
}
.svc-row__points li::before {
  content: "→";
  color: var(--c-orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--c-bg-dark);
  color: white;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(233,78,43,0.25), transparent 70%);
  pointer-events: none;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h2 { color: white; }
.contact-info .eyebrow { color: var(--c-orange); }

.contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-block:first-of-type { border-top: none; padding-top: 0; }
.contact-block h5 {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.contact-block p, .contact-block a {
  font-size: 1.05rem;
  color: white;
  line-height: 1.6;
  font-family: var(--f-display);
  font-weight: 400;
  display: block;
}
.contact-block a:hover { color: var(--c-orange); }

.form {
  background: white;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.form h3 { margin-bottom: 0.5rem; }
.form > p { color: var(--c-muted); margin-bottom: 2rem; }

.form-row { margin-bottom: 1.25rem; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row--split { grid-template-columns: 1fr; } }

.form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-bg-cream);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--c-orange);
  background: white;
}
.form textarea { resize: vertical; min-height: 140px; }
.form button { margin-top: 1rem; }

/* Map placeholder */
.map {
  margin-top: 3rem;
  height: 380px;
  background: var(--c-blue-soft);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   ANIMATIONS (subtle, on load)
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up { animation: fadeUp 0.9s var(--ease) both; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.35s; }
.fade-up.d4 { animation-delay: 0.5s; }
.fade-up.d5 { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   SÉLECTEUR DE LANGUES (Multilingue : FR · EN · ES · AR · DE · ZH)
   ============================================================================ */
.lang-switcher {
  position: relative;
  margin-right: 0.75rem;
}

.lang-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-switcher__current:hover {
  background: var(--c-bg-cream);
  border-color: var(--c-ink);
}
.lang-switcher__flag {
  font-size: 1rem;
  line-height: 1;
}
.lang-switcher__code {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.lang-switcher__arrow {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}
.lang-switcher.is-open .lang-switcher__arrow {
  transform: rotate(225deg) translateY(2px);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(13,27,42,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-sm, 4px);
  font-size: 0.9rem;
  color: var(--c-ink);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
}
.lang-switcher__item:hover {
  background: var(--c-bg-cream);
}
.lang-switcher__item.is-active {
  background: var(--c-bg-cream);
  font-weight: 600;
}
.lang-switcher__item.is-active::after {
  content: "✓";
  margin-left: auto;
  color: var(--c-orange);
}
.lang-switcher__item-flag {
  font-size: 1.1rem;
  line-height: 1;
}
.lang-switcher__item-name {
  flex: 1;
}

/* Masquer la barre Google Translate */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-balloon-frame {
  display: none !important;
}
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#google_translate_element { display: none; }

/* Support de la langue arabe (RTL) */
html[lang="ar"] { direction: rtl; }
html[lang="ar"] body { font-family: 'Inter', 'Tajawal', 'Noto Sans Arabic', sans-serif; }
html[lang="ar"] .nav__inner,
html[lang="ar"] .hero__bar,
html[lang="ar"] .stats-grid,
html[lang="ar"] .footer__top { direction: rtl; }
html[lang="ar"] .lang-switcher__menu { right: auto; left: 0; }
html[lang="ar"] .arrow { transform: scaleX(-1); }
html[lang="ar"] .svc-row__num { text-align: right; }

/* Support chinois (police plus large) */
html[lang="zh-CN"] body,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

/* Adaptation mobile du sélecteur */
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 0.5rem;
  }
  .lang-switcher__current {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
  .lang-switcher__menu {
    right: 0;
    min-width: 180px;
  }
}
