/*
Theme Name:   Mabiala & Partners
Theme URI:    https://mabiala.com
Description:  Thème enfant pour Mabiala & Partners — basé sur Hello Elementor
Author:       Mabiala & Partners
Template:     hello-elementor
Version:      1.0.0
Text Domain:  mabiala
*/

/* =============================================
   TOKENS GLOBAUX
   ============================================= */
:root {
  --ink:        #1a1a18;
  --sand:       #f5f0e8;
  --gold:       #c8a96e;
  --gold-dark:  #9b7d45;
  --white:      #ffffff;
  --muted:      #6b6860;
  --border:     rgba(26, 26, 24, 0.12);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --max-width:  1200px;
  --section-v:  80px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* =============================================
   TYPOGRAPHIE
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; font-weight: 500; }

p { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--gold-dark); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header,
.elementor-location-header {
  border-bottom: 0.5px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Nav links */
.elementor-nav-menu a {
  font-size: 13px !important;
  color: var(--muted) !important;
  letter-spacing: 0.04em !important;
  transition: color 0.2s !important;
}
.elementor-nav-menu a:hover { color: var(--ink) !important; }

/* =============================================
   BOUTONS
   ============================================= */
.btn-primary,
.elementor-button.btn-primary {
  background: var(--ink);
  color: var(--white) !important;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gold,
.elementor-button.btn-gold {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.88; }

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: transparent;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: var(--section-v) 0; }
.section--sand { background: var(--sand); }
.section--ink  { background: var(--ink); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* Section label (eyebrow) */
.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
  flex-shrink: 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.hero__left {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title { margin-bottom: 20px; }

.hero__desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__link {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.hero__right {
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  overflow: hidden;
}

.hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='white' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
}

/* Stats grid dans hero */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.stat { border-top: 1px solid rgba(200, 169, 110, 0.35); padding-top: 16px; }
.stat__num {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* =============================================
   CARTES EXPERTISE
   ============================================= */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.expertise-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,26,24,0.08);
}

.expertise-card__num {
  font-family: var(--font-serif);
  font-size: 56px;
  color: rgba(200, 169, 110, 0.12);
  position: absolute;
  top: 8px;
  right: 16px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.expertise-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 169, 110, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.expertise-card p { font-size: 14px; line-height: 1.6; }

.expertise-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold-dark);
  margin-top: 16px;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.expertise-card__link:hover { gap: 10px; }

/* =============================================
   DIFFÉRENCIATEURS
   ============================================= */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.diff-list__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200,169,110,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.diff-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-card {
  background: var(--sand);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.diff-card h4 { margin-bottom: 6px; color: var(--ink); }
.diff-card p  { font-size: 13px; line-height: 1.6; margin: 0; }

/* =============================================
   BANDE CTA
   ============================================= */
.cta-band {
  background: var(--ink);
  padding: 80px 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.55); margin-bottom: 32px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer,
.elementor-location-footer {
  background: #111110;
  padding: 40px 48px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-contact {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: right;
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero               { grid-template-columns: 1fr; }
  .hero__right        { min-height: 300px; }
  .expertise-grid     { grid-template-columns: 1fr; }
  .diff-grid          { grid-template-columns: 1fr; gap: 40px; }
  .container          { padding: 0 24px; }
  :root { --section-v: 56px; }
}

@media (max-width: 600px) {
  .hero__left         { padding: 48px 24px; }
  .footer-inner       { flex-direction: column; gap: 20px; text-align: center; }
  .footer-contact     { text-align: center; }
}
