:root {
  /* Palette Light Mode & Haut de gamme */
  --color-bg: #ffffff;
  --color-surface: #f8f8f6; /* Gris galerie très pâle */
  --color-text-main: #1a1a1a; /* Anthracite profond */
  --color-text-muted: #666666;
  --color-accent: #dfa6b3; /* Rose poudré sophistiqué */
  --color-gold: #b08d55; /* Or mat */
  --color-border: #e5e5e5;
  
  /* Footer / Dark areas */
  --color-dark-bg: #111111;
  --color-dark-text: #f4f4f4;

  /* Typography */
  --font-base: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", serif;
  
  --max-width: 1280px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-top: 0;
}

p {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

figure.gallery-item{
  margin:0;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 3rem;
}

/* --- LAYOUT UTILS --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-text-main);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-text-main);
  color: var(--color-text-main);
}

.btn-outline:hover {
  background: var(--color-text-main);
  color: #fff;
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-family: var(--font-base);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a:not(.btn):hover {
  color: var(--color-gold);
}

/* --- HERO SECTION (Magazine Style) --- */
.hero-wrapper {
  padding: 2rem;
  background: var(--color-surface);
}

.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  min-height: 85vh;
  max-width: 1600px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
  padding-top: 0;
  padding-bottom: 0;
}

.hero-media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  padding: 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);

  background-image: radial-gradient(circle, var(--color-gold) 0%, rgba(21, 21, 21, 1) 79%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* --- SECTIONS GENERIC --- */
section {
  padding: 6rem 0;
}

.section-surface {
  background-color: var(--color-surface);
}

/* --- EXPERIENCE GRID --- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.experience-card {
  background: #fff;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  transition: transform 0.4s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
}

.experience-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(208, 166, 179, 0.15);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.experience-card-icon svg {
  width: 28px;
  height: 28px;
}

.experience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --- METRICS --- */
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.metric {
  flex: 1;
  min-width: 200px;
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* --- OFFERS --- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.offer-card {
  padding: 3rem;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.offer-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

.offer-card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.offer-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-surface);
  color: var(--color-text-muted);
}

.offer-card li::before {
  content: "•";
  color: var(--color-gold);
  margin-right: 0.5rem;
}

/* --- FUNDRAISING (Special Layout) --- */
.fundraising-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fundraising-highlight {
  background: var(--color-text-main);
  color: #fff;
  padding: 3rem;
  position: relative;
}

.fundraising-highlight::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.fundraising-highlight h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  width: 100%;
}

.gallery-link {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 62%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  background: #000;
}

.gallery-link img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.7s ease;
}

.gallery-item:hover .gallery-link img {
  transform: scale(1.05);
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-eyebrow {
  color: var(--color-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  display: block;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.btn-inverse {
  background: #fff;
  color: var(--color-dark-bg);
}

.btn-inverse:hover {
  background: var(--color-gold);
}

.btn-outline-inverse {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline-inverse:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Form Styles Dark Mode Context */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}

.contact-form label {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { height: 40vh; }
  .hero-content { padding: 3rem 1.5rem; }
  .fundraising-container { grid-template-columns: 1fr; }
  .main-nav { display: none; /* Mobile menu logic needed or simple stack */ }
  .hero-ctas{
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav.mobile-visible { /* Basic hook for JS menu if added */
      display: flex; 
      flex-direction: column; 
      position: absolute; 
      top: var(--header-height); 
      left:0; right:0; 
      background: #fff; 
      padding: 2rem;
      border-bottom: 1px solid #eee;
  }
}
