/* ================================================
   ME ADAMA DIA — Huissier de Justice
   Styles principaux — meadamadia.sn
   ================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1C1C1C;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --navy: #000f39;
  --navy-hover: #001a5c;
  --gold: #BF9B5F;
  --gold-light: rgba(191, 155, 95, 0.12);
  --gold-border: rgba(191, 155, 95, 0.35);
  --cream: #F7F5F0;
  --border: #E2DDD5;
  --text-dark: #1C1C1C;
  --text-mid: #6B6766;
  --text-light: #9A9490;
  --white: #fff;
  --red-urgence: #C62828;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --container: 1240px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 15, 57, 0.06);
  --shadow: 0 4px 24px rgba(0, 15, 57, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 15, 57, 0.14);
  --radius: 3px;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }

/* Section heading pattern */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ================================================
   URGENCE BAR
   ================================================ */
.urgence-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 0.55rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.urgence-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.urgence-bar strong { color: var(--gold); }
.urgence-bar a { color: var(--gold); font-weight: 600; }
.urgence-bar a:hover { color: white; }
.urgence-bar .ub-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ub-sep { opacity: 0.3; }

/* ================================================
   HEADER / NAV
   ================================================ */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 46px;
  width: auto;
}
.nav-logo-text { line-height: 1.25; }
.nav-logo-text .name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  letter-spacing: 0.01em;
}
.nav-logo-text .role {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: white;
}
.btn-gold {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a8864d;
  border-color: #a8864d;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: white;
}
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: white;
  color: var(--navy);
  border-color: white;
}
.btn-urgence {
  background: var(--red-urgence);
  color: white;
  border-color: var(--red-urgence);
}
.btn-urgence:hover {
  background: #9b1111;
  border-color: #9b1111;
  color: white;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }

/* ================================================
   FLOATING URGENCE BUTTON
   ================================================ */
.floating-urgence {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--red-urgence);
  color: white;
  padding: 0.8rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(198, 40, 40, 0.42);
  font-weight: 600;
  font-size: 0.85rem;
  animation: pulse-red 2.5s infinite;
  transition: transform 0.2s ease;
}
.floating-urgence:hover {
  transform: scale(1.04);
  color: white;
}
.floating-urgence .f-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 6px 24px rgba(198, 40, 40, 0.42); }
  50% { box-shadow: 0 6px 36px rgba(198, 40, 40, 0.65); }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: calc(100vh - 74px - 34px);
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
}

.hero-content {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem 5rem clamp(2rem, calc(50vw - 620px + 2rem), 6rem);
  position: relative;
}
/* Gold accent vertical bar */
.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  color: white;
  line-height: 1.05;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.hero-title-role {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Urgence call box */
.hero-urgence-box {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.35rem;
  background: rgba(198, 40, 40, 0.1);
  border: 1px solid rgba(198, 40, 40, 0.3);
  border-radius: var(--radius);
  max-width: fit-content;
}
.urgence-pulse-icon {
  width: 38px;
  height: 38px;
  background: var(--red-urgence);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  animation: pulse-ring 2.2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(198, 40, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}
.urgence-text-block .urg-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 2px;
}
.urgence-text-block .urg-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Hero image */
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}
.hero-image:hover img { transform: scale(1.04); }
/* Diagonal overlay on the left edge of image */
.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to right, var(--navy), transparent);
  z-index: 1;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,15,57,0.25) 0%, transparent 60%);
}

/* ================================================
   SERVICES STRIP
   ================================================ */
.services-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.65rem 0;
}
.services-strip .container {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.service-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.service-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================
   ABOUT SECTION (home teaser)
   ================================================ */
.about-section {
  padding: 7rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  padding: 1.5rem 0 1.5rem 1.5rem;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 75%;
  border: 2px solid var(--gold-border);
  border-radius: var(--radius);
  z-index: 0;
}
.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}
.about-badge {
  position: absolute;
  bottom: 0;
  right: -1.5rem;
  background: var(--navy);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  z-index: 2;
  min-width: 130px;
}
.about-badge .badge-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.about-badge .badge-txt {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.75;
  margin-top: 4px;
  display: block;
}

.about-content {}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content .lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.about-features {
  list-style: none;
  margin: 0 0 2.5rem;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.about-features li:last-child { border-bottom: none; }
.af-icon {
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  min-width: 18px;
  text-align: center;
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-section {
  padding: 6rem 0;
  background: var(--cream);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
.services-header .left { max-width: 520px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: white;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.sc-number {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.sc-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}
.service-card p {
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.sc-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s ease;
}
.service-card:hover .sc-link { gap: 0.6rem; }

/* ================================================
   STATS SECTION
   ================================================ */
.stats-section {
  background: var(--navy);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: 'JUSTICE';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 18vw;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.65rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* ================================================
   BLOG PREVIEW
   ================================================ */
.blog-section { padding: 6rem 0; }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}
.blog-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}
.blog-card-img {
  overflow: hidden;
  position: relative;
}
.blog-card.featured .blog-card-img { height: 280px; }
.blog-card:not(.featured) .blog-card-img { height: 160px; }
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-cat-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card.featured .blog-card-body { padding: 2rem; }
.blog-meta {
  font-size: 0.73rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-meta span + span::before {
  content: '·';
  margin-right: 0.4rem;
}
.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
  transition: color 0.25s ease;
}
.blog-card.featured h3 { font-size: 1.35rem; }
.blog-card:hover h3 { color: var(--gold); }
.blog-card p {
  font-size: 0.855rem;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.blog-read-more {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: gap 0.25s ease;
}
.blog-card:hover .blog-read-more { gap: 0.6rem; }

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #001f6e 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-border) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}
.cta-banner h2 { color: white; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.65); }
.cta-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: #060e28;
  color: rgba(255,255,255,0.62);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand-img {
  height: 54px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
  max-width: 250px;
}
.footer-socials { display: flex; gap: 0.65rem; }
.footer-social {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  transition: var(--transition);
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.35rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-contact-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.855rem;
  align-items: flex-start;
}
.fc-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }
.fc-text .fc-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 1px;
}
.fc-text a, .fc-text span { color: rgba(255,255,255,0.62); }
.fc-text a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--gold); }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.page-hero .container { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .bc-sep { opacity: 0.4; font-size: 0.65rem; }
.breadcrumb .current { color: rgba(255,255,255,0.7); }
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero .page-hero-sub {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-section { padding: 6rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  align-items: start;
}
.contact-details { margin-top: 2.5rem; }
.contact-detail {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.cd-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.cd-text .cd-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 2px;
}
.cd-text .cd-value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.cd-text .cd-sub { font-size: 0.8rem; color: var(--text-mid); }

.urgence-card {
  background: var(--navy);
  padding: 1.75rem;
  border-radius: var(--radius);
  margin-top: 2.5rem;
}
.urgence-card h4 { color: white; margin-bottom: 0.5rem; }
.urgence-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.urgence-big-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #ef5350;
  font-weight: 700;
  display: block;
  margin: 0.5rem 0 1rem;
  animation: pulse-text 2.5s ease-in-out infinite;
}
@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

/* ================================================
   FORMS
   ================================================ */
.form-title { margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 15, 57, 0.06);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.5;
}
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
}
.form-success.show { display: flex; }

/* Contact form wrapper */
.contact-form-wrap {
  background: var(--cream);
  padding: 3rem;
  border-radius: var(--radius);
}

/* ================================================
   APPOINTMENT PAGE
   ================================================ */
.rdv-section {
  padding: 6rem 0;
  background: var(--cream);
}
.rdv-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}
.rdv-info {
  background: var(--navy);
  padding: 2.75rem;
  border-radius: var(--radius);
  color: white;
  position: sticky;
  top: 100px;
}
.rdv-info h3 { color: white; margin-bottom: 0.75rem; }
.rdv-info .rdv-info-desc { color: rgba(255,255,255,0.62); font-size: 0.875rem; line-height: 1.7; margin-bottom: 2rem; }
.rdv-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rdv-step-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  width: 30px;
}
.rdv-step-body { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.rdv-step-body strong { display: block; color: white; margin-bottom: 2px; font-size: 0.875rem; }
.rdv-form-wrap {
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================================================
   BLOG PAGE
   ================================================ */
.blog-page { padding: 5rem 0; }
.blog-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}
.blog-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-block { margin-bottom: 2.5rem; }
.sidebar-block-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-cats { list-style: none; }
.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
}
.sidebar-cats a { color: var(--text-mid); transition: var(--transition); }
.sidebar-cats a:hover { color: var(--navy); }
.sidebar-cats .cat-count {
  background: var(--cream);
  color: var(--text-light);
  padding: 1px 7px;
  border-radius: 20px;
  font-size: 0.7rem;
}
.sidebar-recent-art {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-recent-art:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sra-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.sra-text h5 {
  font-size: 0.835rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.sra-date { font-size: 0.72rem; color: var(--text-light); }

/* Blog pagination */
.blog-pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3.5rem;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}
.page-btn.active, .page-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ================================================
   ARTICLE PAGE
   ================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 5rem 0;
  align-items: start;
}
.article-header { margin-bottom: 2.5rem; }
.article-cats { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.article-cat {
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}
.article-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }
.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}
.article-content { font-size: 0.95rem; line-height: 1.8; color: #333; }
.article-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.article-content h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-mid);
}
.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 3rem; }
.article-tag {
  background: var(--cream);
  color: var(--text-mid);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.article-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ================================================
   SERVICES PAGE
   ================================================ */
.services-page { padding: 5.5rem 0; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.sd-img {
  overflow: hidden;
  height: 320px;
}
.sd-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-detail:hover .sd-img img { transform: scale(1.04); }
.sd-content {
  padding: 3rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sd-content h3 { margin-bottom: 1rem; }
.sd-content p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.5rem; }
.sd-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sd-tag {
  background: var(--cream);
  color: var(--text-mid);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 500;
}

/* ================================================
   CABINET PAGE
   ================================================ */
.cabinet-section { padding: 6rem 0; }
.cabinet-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5.5rem;
  align-items: start;
}
.cabinet-img-wrap {
  position: relative;
}
.cabinet-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
}
.cabinet-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 75%;
  height: 45%;
  background: var(--gold);
  opacity: 0.12;
  border-radius: 2px;
  z-index: -1;
}
.cabinet-content {}
.cabinet-content h2 { margin-bottom: 0.35rem; }
.cabinet-content .cabinet-role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.credentials { list-style: none; margin: 2rem 0; }
.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.credentials li:last-child { border-bottom: none; }
.cred-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.values-section {
  padding: 5.5rem 0;
  background: var(--cream);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  background: white;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.value-card .val-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 700;
}
.value-card h4 { margin-bottom: 0.65rem; }
.value-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; margin: 0; }

/* Urgence section */
.urgence-section {
  background: #100505;
  padding: 5.5rem 0;
  text-align: center;
}
.urgence-section h2 { color: white; margin-bottom: 1rem; }
.urgence-section p { color: rgba(255,255,255,0.55); max-width: 480px; margin: 0 auto 3rem; font-size: 0.95rem; }
.urgence-phones-grid {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
.urg-phone-block {
  text-align: center;
  padding: 2rem 3rem;
  border: 1px solid rgba(198, 40, 40, 0.25);
  border-radius: var(--radius);
  background: rgba(198, 40, 40, 0.06);
}
.urg-phone-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.65rem;
  display: block;
}
.urg-phone-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #ef5350;
  font-weight: 700;
  display: block;
  animation: pulse-text 2.2s ease-in-out infinite;
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ================================================
   UTILITIES
   ================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-mid { color: var(--text-mid); }
.mb-0 { margin-bottom: 0 !important; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 1rem; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { padding: 5rem 3rem; min-height: 80vh; }
  .hero-content::before { display: none; }
  .about-grid { gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cabinet-profile { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .sd-img { height: 260px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-right-col { flex-direction: row; }
  .blog-right-col .blog-card { flex: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .rdv-grid { grid-template-columns: 1fr; }
  .rdv-info { position: static; }
  .blog-page-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .urgence-bar .ub-right { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    gap: 1.35rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open .nav-cta-mobile {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    flex-direction: column;
  }
  .hero-content { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .blog-right-col { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .blog-articles { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .floating-urgence .floating-label { display: none; }
  .rdv-form-wrap { padding: 2rem 1.5rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .blog-header { flex-direction: column; align-items: flex-start; }
}
