:root {
  --bg: #12100f;
  --bg-soft: #1a1715;
  --paper: #f2eee7;
  --paper-soft: #e7e0d6;
  --ink: #171412;
  --muted: #6e655d;
  --gold: #c9a76a;
  --gold-light: #e5cf9d;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(23, 20, 18, 0.12);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

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

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line-dark);
  transition: background 300ms ease, padding 300ms ease, border-color 300ms ease;
}

.site-header.header-scrolled {
  background: rgba(18, 16, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav .nav-contact {
  padding: 11px 17px;
  border: 1px solid rgba(229, 207, 157, 0.52);
  border-radius: 999px;
  color: var(--gold-light);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.main-nav .nav-contact:hover {
  background: rgba(229, 207, 157, 0.1);
  border-color: var(--gold-light);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 100vh;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 90px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0, transparent 38%),
    radial-gradient(circle at 60% 40%, rgba(201, 167, 106, 0.11), transparent 31%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 207, 157, 0.55), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8c6936;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8.2vw, 126px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-intro {
  max-width: 610px;
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold-light);
  color: var(--ink);
}

.button-primary:hover {
  background: #f0dfb6;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 590px;
}

.card {
  position: absolute;
  top: 50%;
  left: 54%;
  width: min(340px, 72%);
  aspect-ratio: 0.68;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card-back {
  transform: translate(-40%, -48%) rotate(12deg);
  border: 1px solid rgba(229, 207, 157, 0.45);
  background:
    repeating-linear-gradient(45deg, rgba(229, 207, 157, 0.05) 0 2px, transparent 2px 8px),
    #251f1b;
}

.card-front {
  display: grid;
  place-items: center;
  transform: translate(-55%, -50%) rotate(-5deg);
  border: 9px solid #eee7dc;
  outline: 1px solid rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 167, 106, 0.14), transparent 32%),
    #f8f5ef;
  color: var(--ink);
}

.card-front::before,
.card-front::after {
  content: "";
  position: absolute;
  inset: 21px;
  border: 1px solid rgba(23, 20, 18, 0.2);
  border-radius: 8px;
}

.card-front::after {
  inset: 29px;
  border-color: rgba(201, 167, 106, 0.55);
}

.monogram-img {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(140, 105, 54, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  display: block;
}

.card-corner {
  position: absolute;
  z-index: 3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 0.9;
  text-align: center;
}

.card-corner.top {
  top: 42px;
  left: 42px;
}

.card-corner.bottom {
  right: 42px;
  bottom: 42px;
  transform: rotate(180deg);
}

.spark {
  position: absolute;
  color: var(--gold-light);
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
}

.spark-one {
  top: 20%;
  right: 8%;
  font-size: 38px;
}

.spark-two {
  right: 20%;
  bottom: 15%;
  font-size: 26px;
  animation-delay: -1.2s;
}

.spark-three {
  top: 37%;
  left: 6%;
  font-size: 18px;
  animation-delay: -2s;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-glow-one {
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(201, 167, 106, 0.09);
}

.hero-glow-two {
  right: 8%;
  bottom: -40%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(10deg); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 40px max(24px, calc((100vw - 1180px) / 2));
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-dark);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 167, 106, 0.3);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 28px;
  line-height: 1;
}

.stat-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

.stat-text strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ===== PRÉSENTATION ===== */
.presentation-section {
  background: var(--bg);
  text-align: center;
}

.presentation-inner {
  max-width: 780px;
  margin: 0 auto;
}

.presentation-section h2 {
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.presentation-text {
  text-align: left;
}

.presentation-text p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.8;
}

.presentation-text p:last-child {
  margin-bottom: 0;
}

.presentation-signoff {
  margin-top: 36px !important;
  color: var(--gold-light) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px !important;
  font-style: italic;
  text-align: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 70px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 70px;
}

.service-card {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(43, 35, 28, 0.1);
}

.service-card.featured {
  transform: translateY(-18px);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px rgba(43, 35, 28, 0.14);
}

.service-card.featured:hover {
  transform: translateY(-22px);
}

.service-number {
  color: #967242;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.service-card h3 {
  margin: 78px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.62);
}

/* ===== CONFÉRENCES ===== */
.conferences-section {
  background: var(--bg);
}

.conferences-heading h2 {
  color: #fff;
}

.conferences-heading > p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.conferences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.conference-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.conference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

/* Miniature avec visuel et prise en charge du format paysage (16:9) */
.conference-thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.conference-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.conference-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease, filter 300ms ease;
}

.conference-card:hover .conference-thumb img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.conf-num-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid rgba(201, 167, 106, 0.4);
  border-radius: 999px;
  background: rgba(18, 16, 15, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pack-badge-text {
  border-color: var(--gold);
  background: rgba(201, 167, 106, 0.85);
  color: var(--ink);
  font-weight: 700;
}

.conference-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.conference-body h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
}

.conference-meta {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.conference-body > p:not(.conference-meta) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.conference-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(229, 207, 157, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.conference-btn:hover {
  background: rgba(229, 207, 157, 0.1);
  border-color: var(--gold-light);
}

.pack-card {
  border-color: rgba(201, 167, 106, 0.25);
}

.pack-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.price-old {
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  text-decoration: line-through;
}

.price-new {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
}

.pack-btn {
  background: var(--gold-light);
  color: var(--ink);
  border-color: transparent;
}

.pack-btn:hover {
  background: #f0dfb6;
}

/* ===== GALERIE ===== */
.gallery-section {
  background: var(--bg-soft);
}

.gallery-heading h2 {
  color: #fff;
}

.gallery-heading > p:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 70px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-style: italic;
}

.gallery-placeholder svg {
  opacity: 0.4;
}

/* ===== À PROPOS ===== */
.about-section {
  background: var(--bg);
}

.about-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  overflow: hidden;
}

.about-signature {
  display: grid;
  place-items: center;
  min-height: 530px;
  border-right: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 167, 106, 0.17), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 11px),
    #100e0d;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(110px, 16vw, 230px);
  font-style: italic;
  letter-spacing: -0.14em;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 7vw, 90px);
}

.about-copy h2 {
  max-width: 680px;
  color: #fff;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.75;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 120px 24px;
  background: var(--gold-light);
  color: var(--ink);
  text-align: center;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-section .eyebrow {
  color: #745429;
}

.contact-intro {
  max-width: 720px;
  margin: 28px auto 0;
  color: rgba(23, 20, 18, 0.65);
  font-size: 18px;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid rgba(23, 20, 18, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.4);
}

.contact-label {
  color: rgba(23, 20, 18, 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-links strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 29px);
  font-weight: 400;
}

/* ===== FOOTER ===== */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  background: #0c0b0a;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-brand {
  justify-self: start;
  color: #fff;
}

.footer-domain {
  justify-self: end;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .conferences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px max(24px, calc((100vw - 1180px) / 2));
  }

  .header-scrolled {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .main-nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 520px;
    margin-top: 20px;
  }

  .card {
    left: 52%;
    width: min(315px, 72vw);
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .about-card {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .conferences-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card,
  .service-card.featured {
    min-height: 230px;
    transform: none;
  }

  .service-card.featured:hover {
    transform: translateY(-4px);
  }

  .service-card h3 {
    margin-top: 45px;
  }

  .about-signature {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-domain {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px 24px;
  }

  .header-scrolled {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .brand-logo {
    height: 44px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero h1 {
    font-size: clamp(55px, 18vw, 88px);
  }

  .hero-intro {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .card {
    width: 245px;
    border-radius: 16px;
  }

  .monogram-img {
    width: 110px;
    height: 110px;
  }

  .card-corner {
    font-size: 18px;
  }

  .card-corner.top {
    top: 34px;
    left: 34px;
  }

  .card-corner.bottom {
    right: 34px;
    bottom: 34px;
  }

  .section,
  .contact-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    gap: 22px;
  }

  .services-grid,
  .conferences-grid,
  .gallery-grid {
    margin-top: 50px;
  }

  .service-card {
    padding: 26px;
  }

  .conference-card {
    border-radius: 16px;
  }

  .conference-body {
    padding: 18px;
  }

  .conference-body h3 {
    font-size: 18px;
  }

  .conference-body > p:not(.conference-meta) {
    font-size: 13px;
  }

  .conference-btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  .presentation-section h2 {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 36px;
  }

  .presentation-text p {
    font-size: 15px;
  }

  .presentation-signoff {
    font-size: 18px !important;
  }

  .about-copy {
    padding: 38px 26px 48px;
  }

  .contact-links strong {
    overflow-wrap: anywhere;
  }

  .stat-item {
    padding: 16px 20px;
  }

  .stat-text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}