/* ==========================================================================
   CARTE DE VISITE DIGITALE — ME AIMÉ CÉSAIRE BANZA MWAPE
   Avocat — ONA N° 19821
   Identité Chromatique inspirée du Cabinet Damien Mukesi
   ========================================================================== */

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

:root {
  /* Palette Damien Mukesi */
  --bg-dark: #080d1a;
  --navy: #0b1428;
  --navy-2: #101e38;
  --navy-card: #0d172e;
  --ink: #172033;
  --paper: #f5f4f0;
  --white: #ffffff;
  --muted: #7f8da3;
  --muted-light: #b8c2d2;
  --muted-dark: #4b5568;

  /* Accents Or & Bronze */
  --gold: #d5aa52;
  --gold-light: #e8c878;
  --gold-glow: rgba(213, 170, 82, 0.28);
  --bronze: #c5a880;
  --red: #9e3e43;
  --whatsapp: #25d366;
  --whatsapp-hover: #22bf5b;

  /* Bordures et Lignes */
  --line: rgba(213, 170, 82, 0.18);
  --line-light: rgba(255, 255, 255, 0.08);
  --line-active: rgba(232, 200, 120, 0.55);

  /* Typographie */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sélection */
::selection {
  background-color: var(--bronze);
  color: var(--navy);
}

/* Fond subtil tramé et dégradé d'ambiance */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(213, 170, 82, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 10% 60%, rgba(16, 30, 56, 0.7) 0%, transparent 55%),
    linear-gradient(180deg, #0b1428 0%, #080d1a 100%);
  z-index: -2;
  pointer-events: none;
}

/* Grain d'ambiance luxueux */
.ambient-grain {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* Conteneur principal */
.container {
  width: min(100% - 40px, 1140px);
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  transition: border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo / Monogramme */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.brand-emblem {
  width: 40px;
  height: 40px;
  position: relative;
  display: grid;
  place-items: center;
}

.brand-diamond {
  position: absolute;
  inset: 2px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  background: rgba(16, 30, 56, 0.6);
  border-radius: 4px;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.brand:hover .brand-diamond {
  transform: rotate(135deg);
  border-color: var(--gold-light);
}

.brand-letter {
  position: relative;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-light);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--white);
  line-height: 1.2;
}

.brand-ref {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

/* Actions Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 30, 56, 0.7);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-icon-header {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(16, 30, 56, 0.6);
  border: 1px solid var(--line);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-icon-header:hover {
  background: rgba(213, 170, 82, 0.15);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-install-header {
  padding: 7px 14px;
  border-radius: 6px;
  background: rgba(213, 170, 82, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-install-header:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 56px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  display: inline-block;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(16, 30, 56, 0.7);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.meta-ref {
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--paper);
  text-transform: uppercase;
}

.hero-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-light);
  max-width: 480px;
  margin-bottom: 34px;
}

/* Boutons d'Action Principaux */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Bouton Appeler (Or Damien Mukesi) */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(213, 170, 82, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0d58f 0%, var(--gold-light) 100%);
  box-shadow: 0 6px 24px rgba(213, 170, 82, 0.4);
  transform: translateY(-2px);
}

/* Bouton WhatsApp (Vert officiel avec accents) */
.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.btn-whatsapp:hover {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #0b1428;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* Bouton E-mail (Discret contour) */
.btn-outline {
  background: rgba(16, 30, 56, 0.6);
  border-color: var(--line);
  color: var(--paper);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(213, 170, 82, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   PORTRAIT PHOTOGRAPHIQUE (SOURCE OFFICIELLE UNIQUE)
   ========================================================================== */
.portrait-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.portrait-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle at 50% 50%, rgba(213, 170, 82, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  padding: 12px;
  background: linear-gradient(145deg, rgba(16, 30, 56, 0.85), rgba(11, 20, 40, 0.95));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(213, 170, 82, 0.08);
}

.portrait-inner-border {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(213, 170, 82, 0.35);
  border-radius: 4px;
  pointer-events: none;
  z-index: 4;
}

.portrait-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  background: var(--navy);
}

.portrait-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s var(--ease);
}

.portrait-frame:hover .portrait-image-wrapper img {
  transform: scale(1.025);
}

.portrait-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(8, 13, 26, 0.85) 100%);
  pointer-events: none;
  z-index: 3;
}

.portrait-caption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}

.portrait-caption-ref {
  color: var(--gold-light);
  font-weight: 700;
}

/* Sceau d'authenticité décoratif */
.seal-badge {
  position: absolute;
  bottom: -24px;
  left: -20px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6;
  text-align: center;
  transform: rotate(-10deg);
}

.seal-badge::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(213, 170, 82, 0.5);
  border-radius: 50%;
}

.seal-monogram {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.seal-sub {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-light);
  margin-top: 3px;
}

/* ==========================================================================
   QR CODE SOUS LA PHOTOGRAPHIE
   ========================================================================== */
.portrait-qr-card {
  margin-top: 24px;
  background: linear-gradient(145deg, rgba(16, 30, 56, 0.9), rgba(11, 20, 40, 0.95));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(213, 170, 82, 0.08);
  transition: all 0.3s var(--ease);
}

.portrait-qr-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 30px rgba(213, 170, 82, 0.16);
}

.portrait-qr-box {
  width: 96px;
  height: 96px;
  padding: 8px;
  background: #ffffff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.portrait-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.portrait-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portrait-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.qr-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: pulse 2.5s infinite;
}

.portrait-qr-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.portrait-qr-link {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  word-break: break-all;
}

/* ==========================================================================
   SECTION COORDONNÉES DIRECTES
   ========================================================================== */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 10px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 500px;
}

/* Grille de Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: linear-gradient(145deg, rgba(16, 30, 56, 0.65), rgba(11, 20, 40, 0.85));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  text-decoration: none;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(213, 170, 82, 0.12);
}

.contact-card:hover::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 30, 56, 0.8);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-card:hover .card-icon-bubble {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.card-value {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  word-break: break-all;
}

.card-value.email-value {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-action-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: color 0.25s ease, gap 0.25s ease;
}

.contact-card:hover .card-action-cue {
  color: var(--gold-light);
  gap: 12px;
}

.card-action-cue svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.contact-card:hover .card-action-cue svg {
  transform: translateX(3px);
}

/* ==========================================================================
   ACTIONS RAPIDES
   ========================================================================== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-card {
  background: rgba(16, 30, 56, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--sans);
  transition: all 0.25s var(--ease);
  width: 100%;
}

.quick-card:hover {
  background: rgba(213, 170, 82, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.quick-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(11, 20, 40, 0.8);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.quick-card:hover .quick-icon-box {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.quick-icon-box svg {
  width: 20px;
  height: 20px;
}

.quick-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.quick-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.3;
}

.quick-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.quick-arrow {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.quick-card:hover .quick-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   BANNIÈRE PWA (INSTALLATION ÉCRAN D'ACCUEIL)
   ========================================================================== */
.pwa-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(16, 30, 56, 0.9), rgba(11, 20, 40, 0.95));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.pwa-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pwa-icon-large {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.pwa-banner-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.pwa-banner-text p {
  font-size: 12px;
  color: var(--muted-light);
}

.btn-pwa-install {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-pwa-install:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(213, 170, 82, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   SIGNATURE ÉDITORIALE & PIED DE PAGE
   ========================================================================== */
.closing-signature {
  padding: 64px 0 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.signature-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.signature-box {
  text-align: center;
  min-width: 320px;
}

.signature-prefix {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 2px;
}

.signature-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.signature-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 32px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  color: var(--gold);
  font-weight: 600;
}

.footer-mark i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 8px 2px;
}

/* Signature discrète de l'auteur */
.author-credits-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-credits-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.author-credits-link:hover {
  color: var(--gold-light);
  background: rgba(213, 170, 82, 0.08);
}

/* ==========================================================================
   MODALS (QR CODE & PARTAGE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(213, 170, 82, 0.15);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s var(--ease);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 30, 56, 0.8);
  border: 1px solid var(--line);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--navy);
}

.modal-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-title em {
  font-style: italic;
  color: var(--gold-light);
}

.modal-desc {
  font-size: 13px;
  color: var(--muted-light);
  margin-bottom: 24px;
}

.qr-box {
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 40px);
  background: var(--paper);
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   RESPONSIVE DESIGN (OPTIMISÉ MOBILE & TABLETTE)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .portrait-container {
    max-width: 360px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pwa-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .pwa-banner-left {
    flex-direction: column;
  }

  .btn-pwa-install {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, 460px);
  }

  .site-header {
    padding: 16px 0;
  }

  .status-badge {
    display: none;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .portrait-container {
    max-width: 320px;
  }

  .seal-badge {
    width: 72px;
    height: 72px;
    bottom: -16px;
    left: -12px;
  }

  .seal-monogram {
    font-size: 14px;
  }

  .seal-sub {
    font-size: 7px;
  }

  .closing-signature {
    flex-direction: column;
    gap: 18px;
    padding: 48px 0 30px;
  }

  .signature-rule {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
