@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --brun: #5C3D2E;
  --brun-fonce: #3E2723;
  --ocre: #C8962E;
  --ocre-clair: #E8B84B;
  --beige: #F5F0E8;
  --beige-fonce: #EDE5D8;
  --pierre: #D4C5A9;
  --texte: #2C2020;
  --texte-clair: #6B5B4E;
  --blanc: #FDFAF6;
  --font-titre: 'Cormorant Garamond', Georgia, serif;
  --font-corps: 'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-corps);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(253, 250, 246, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 30px rgba(92,61,46,0.08);
  padding: 0.8rem 2rem;
}

.nav-logo {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blanc);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

nav.scrolled .nav-logo { color: var(--brun-fonce); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-corps);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,250,246,0.85);
  text-decoration: none;
  transition: color 0.3s;
}

nav.scrolled .nav-links a { color: var(--texte-clair); }
.nav-links a:hover { color: var(--ocre); }

.nav-cta {
  background: var(--ocre);
  color: var(--blanc) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
}

nav.scrolled .nav-cta { color: var(--blanc) !important; }
.nav-cta:hover { background: var(--brun) !important; color: var(--blanc) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanc);
  transition: all 0.3s;
}

nav.scrolled .nav-burger span { background: var(--brun); }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #3E2723 0%, #5C3D2E 40%, #7A5C42 70%, #C8962E 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(62,39,35,0.3) 0%, rgba(62,39,35,0.1) 50%, rgba(62,39,35,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-corps);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocre-clair);
  margin-bottom: 1.5rem;
  animation: fadeUp 1.2s 0.2s ease both;
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--blanc);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp 1.2s 0.3s ease both;
}

.hero-slogan {
  font-family: var(--font-titre);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(253,250,246,0.85);
  margin-bottom: 3rem;
  animation: fadeUp 1.2s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s 0.5s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(253,250,246,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1.2s 0.8s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(253,250,246,0.5), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-corps);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-primary {
  background: var(--ocre);
  color: var(--blanc);
}

.btn-primary:hover {
  background: var(--brun-fonce);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,150,46,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 1px solid rgba(253,250,246,0.4);
}

.btn-outline:hover {
  background: rgba(253,250,246,0.1);
  border-color: rgba(253,250,246,0.8);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brun);
  border: 1px solid var(--pierre);
}

.btn-outline-dark:hover {
  background: var(--brun);
  color: var(--blanc);
  border-color: var(--brun);
}

/* CHIFFRES HERO */
.hero-stats {
  background: var(--beige);
  padding: 3rem 2rem;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid var(--pierre);
  animation: fadeUp 0.8s ease both;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--brun);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-clair);
}

/* SECTIONS */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--brun-fonce);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--texte-clair);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* SECTION INTRO ACCUEIL */
.section-intro {
  background: var(--blanc);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-visual {
  position: relative;
}

.intro-card {
  background: var(--beige-fonce);
  border-left: 3px solid var(--ocre);
  padding: 2.5rem;
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--brun);
  line-height: 1.5;
}

.intro-card::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--ocre);
  margin-top: 1.5rem;
}

/* TROIS PORTES */
.section-portes {
  background: var(--beige);
}

.portes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.porte-item {
  background: var(--blanc);
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  color: inherit;
  display: block;
}

.porte-item:hover {
  background: var(--brun-fonce);
  border-bottom-color: var(--ocre);
  transform: translateY(-4px);
}

.porte-item:hover .porte-title,
.porte-item:hover .porte-desc { color: var(--blanc); }
.porte-item:hover .porte-number { color: var(--ocre-clair); }

.porte-number {
  font-family: var(--font-titre);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--pierre);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.porte-title {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brun-fonce);
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.porte-desc {
  font-size: 0.875rem;
  color: var(--texte-clair);
  line-height: 1.7;
  transition: color 0.3s;
}

/* VALEURS */
.section-valeurs {
  background: var(--brun-fonce);
}

.section-valeurs .section-title { color: var(--beige); }
.section-valeurs .section-eyebrow { color: var(--ocre-clair); }

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 3rem;
}

.valeur-item {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  border-left: 2px solid rgba(200,150,46,0.3);
  transition: all 0.3s;
}

.valeur-item:hover {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--ocre);
}

.valeur-title {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ocre-clair);
  margin-bottom: 0.8rem;
}

.valeur-desc {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.65);
  line-height: 1.7;
}

/* PAGE INTERIEURE */
.page-header {
  padding: 12rem 2rem 6rem;
  background: linear-gradient(160deg, var(--brun-fonce) 0%, var(--brun) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocre-clair);
  margin-bottom: 1rem;
  position: relative;
}

.page-header h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--blanc);
  line-height: 1.1;
  position: relative;
}

/* DISPOSITIF */
.dispositif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.dispositif-item {
  background: var(--beige);
  padding: 2rem;
  border-radius: 2px;
}

.dispositif-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.dispositif-title {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brun);
  margin-bottom: 0.5rem;
}

.dispositif-desc {
  font-size: 0.875rem;
  color: var(--texte-clair);
  line-height: 1.7;
}

/* REJOINDRE */
.rejoindre-sections {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rejoindre-item {
  background: var(--beige);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  transition: all 0.3s;
}

.rejoindre-item:hover { background: var(--beige-fonce); }

.rejoindre-item:nth-child(2) { background: var(--brun-fonce); }
.rejoindre-item:nth-child(2):hover { background: #2E1A17; }
.rejoindre-item:nth-child(2) .rejoindre-title { color: var(--beige); }
.rejoindre-item:nth-child(2) .rejoindre-desc { color: rgba(245,240,232,0.7); }
.rejoindre-item:nth-child(2) .rejoindre-number { color: var(--ocre); }

.rejoindre-number {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 0.8rem;
}

.rejoindre-title {
  font-family: var(--font-titre);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--brun-fonce);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.rejoindre-desc {
  font-size: 0.9rem;
  color: var(--texte-clair);
  line-height: 1.8;
  max-width: 500px;
}

/* PARTENAIRES */
.partenaires-sections {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.partenaire-bloc {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--pierre);
}

.partenaire-bloc:last-child { border-bottom: none; }

.partenaire-type {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--brun);
  line-height: 1.2;
}

.partenaire-content p {
  font-size: 0.925rem;
  color: var(--texte-clair);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.partenaire-liste {
  list-style: none;
  margin-bottom: 2rem;
}

.partenaire-liste li {
  font-size: 0.875rem;
  color: var(--texte-clair);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.partenaire-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--ocre);
  border-radius: 50%;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brun-fonce);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pierre);
  text-decoration: none;
  color: var(--texte-clair);
  transition: color 0.3s;
}

.contact-item:hover { color: var(--ocre); }

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.875rem;
  line-height: 1.4;
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pierre);
  display: block;
  margin-bottom: 0.1rem;
}

/* FORMULAIRE */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-clair);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  background: var(--beige);
  border: 1px solid var(--pierre);
  border-radius: 2px;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  color: var(--texte);
  transition: all 0.3s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocre);
  background: var(--blanc);
  box-shadow: 0 0 0 3px rgba(200,150,46,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* FOOTER */
footer {
  background: var(--brun-fonce);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blanc);
  margin-bottom: 0.5rem;
}

.footer-brand-slogan {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ocre-clair);
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocre-clair);
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--blanc); }

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.3s;
}

.social-btn:hover {
  background: var(--ocre);
  color: var(--blanc);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.3);
}

.footer-bottom a {
  color: rgba(245,240,232,0.3);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover { color: rgba(245,240,232,0.6); }

/* BANDEAU EN CREATION */
.bandeau-creation {
  background: var(--ocre);
  padding: 0.6rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blanc);
}

/* DIVIDER */
.divider {
  width: 40px;
  height: 2px;
  background: var(--ocre);
  margin: 1.5rem 0;
}

/* MENTION */
.mention-creation {
  font-size: 0.78rem;
  color: var(--texte-clair);
  font-style: italic;
  padding: 1rem 1.5rem;
  background: var(--beige);
  border-left: 2px solid var(--pierre);
  margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--brun-fonce);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 1.2rem;
    color: var(--blanc);
  }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--pierre); }
  .stat-item:last-child { border-bottom: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portes-grid { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .dispositif-grid { grid-template-columns: 1fr; }

  .rejoindre-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem;
  }

  .partenaire-bloc {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  section { padding: 4rem 1.5rem; }
  .page-header { padding: 9rem 1.5rem 4rem; }
}
