/* ============================================
   SERENUS — style.css
   ============================================ */

/* --- VARIABLES --- */
:root {
  --noir: #0e0e0e;
  --beige: #f0ead8;
  --beige-clair: #f7f3ea;
  --blanc: #fafaf7;
  --or: #c9a96e;
  --gris: #6b6b6b;
  --gris-clair: #d4cfc4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--blanc);
  color: var(--noir);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14,14,14,0.95);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  color: var(--beige);
  text-decoration: none;
}

.nav-cta {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  text-decoration: none;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  font-weight: 400;
}

.nav-cta:hover {
  background: var(--or);
  color: var(--noir);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--noir);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 6rem 6rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 0%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.1);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.06);
  pointer-events: none;
}

.hero-label {
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--beige);
  line-height: 1.05;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--or);
}

.hero-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gris-clair);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

/* --- FORM HERO --- */
.form-inline {
  display: flex;
  gap: 0;
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.8s forwards;
}

.form-inline input {
  flex: 1;
  background: rgba(240,234,216,0.08);
  border: 1px solid rgba(201,169,110,0.3);
  border-right: none;
  padding: 1rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--beige);
  outline: none;
  transition: border-color 0.3s;
  letter-spacing: 0.05em;
}

.form-inline input::placeholder {
  color: rgba(240,234,216,0.35);
}

.form-inline input:focus {
  border-color: var(--or);
}

.form-inline button {
  background: var(--or);
  border: 1px solid var(--or);
  padding: 1rem 1.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--noir);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.form-inline button:hover {
  background: var(--beige);
  border-color: var(--beige);
}

.form-note {
  font-size: 0.6rem;
  color: rgba(240,234,216,0.3);
  margin-top: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.9s ease 1s forwards;
}

/* --- BOWL VISUAL --- */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.bowl-visual {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, #2a2218, #141008);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(201,169,110,0.1);
}

.bowl-visual::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.08);
}

.bowl-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(201,169,110,0.3));
}

.bowl-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--beige);
  letter-spacing: 0.2em;
  text-align: center;
}

.bowl-sublabel {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--or);
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-weight: 300;
}

.stat-pill {
  position: absolute;
  background: rgba(240,234,216,0.06);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(4px);
}

.stat-pill-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--or);
  font-weight: 300;
}

.stat-pill-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gris-clair);
  text-transform: uppercase;
  font-weight: 300;
}

.stat-left  { right: calc(100% + 1.5rem); top: 30%; }
.stat-right { left: calc(100% + 1.5rem); bottom: 30%; }

/* ============================================
   MANIFESTE
   ============================================ */
.manifeste {
  padding: 8rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.manifeste-label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 400;
  position: sticky;
  top: 8rem;
}

.manifeste-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--noir);
}

.manifeste-content h2 em {
  font-style: italic;
  color: var(--or);
}

.manifeste-content p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--gris);
  margin-bottom: 1.5rem;
}

.manifeste-content p strong {
  color: var(--noir);
  font-weight: 400;
}

.divider-or {
  width: 40px;
  height: 1px;
  background: var(--or);
  margin: 2.5rem 0;
}

/* ============================================
   PILIERS
   ============================================ */
.piliers {
  background: var(--beige-clair);
  padding: 8rem 6rem;
}

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

.piliers-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4rem;
}

.piliers-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--noir);
}

.piliers-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gris);
  text-transform: uppercase;
  font-weight: 300;
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris-clair);
}

.pilier-card {
  background: var(--beige-clair);
  padding: 3rem 2.5rem;
  transition: background 0.3s ease;
}

.pilier-card:hover {
  background: var(--blanc);
}

.pilier-num {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--or);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.pilier-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--noir);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.pilier-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.85;
}

/* ============================================
   INSCRIPTION
   ============================================ */
.inscription {
  background: var(--noir);
  padding: 9rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inscription::before {
  content: 'SERENUS';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18rem;
  font-weight: 300;
  color: rgba(240,234,216,0.03);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
}

.inscription-label {
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 2rem;
  font-weight: 400;
}

.inscription-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--beige);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.inscription-title em {
  font-style: italic;
  color: var(--or);
}

.inscription-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gris-clair);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.85;
}

/* --- FORM CENTER --- */
.form-center {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-center input {
  flex: 1;
  background: rgba(240,234,216,0.06);
  border: 1px solid rgba(201,169,110,0.3);
  border-right: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--beige);
  outline: none;
  transition: border-color 0.3s;
  letter-spacing: 0.05em;
}

.form-center input::placeholder {
  color: rgba(240,234,216,0.3);
}

.form-center input:focus {
  border-color: var(--or);
}

.form-center button {
  background: var(--or);
  border: 1px solid var(--or);
  padding: 1.1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--noir);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.form-center button:hover {
  background: var(--beige);
  border-color: var(--beige);
}

.form-note-center {
  font-size: 0.58rem;
  color: rgba(240,234,216,0.25);
  margin-top: 1rem;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* --- SUCCESS --- */
.success-msg {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--or);
  margin-top: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--noir);
  border-top: 1px solid rgba(240,234,216,0.06);
  padding: 2.5rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--beige);
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(240,234,216,0.2);
  font-weight: 300;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 4rem;
    gap: 3rem;
    text-align: center;
  }
  .hero-desc { max-width: 100%; }
  .form-inline { max-width: 100%; }
  .hero-right { display: none; }
  .manifeste { grid-template-columns: 1fr; padding: 5rem 2rem; gap: 2rem; }
  .manifeste-label { position: static; }
  .piliers { padding: 5rem 2rem; }
  .piliers-grid { grid-template-columns: 1fr; }
  .inscription { padding: 6rem 2rem; }
  .form-center { max-width: 100%; flex-direction: column; }
  .form-center input { border-right: 1px solid rgba(201,169,110,0.3); border-bottom: none; }
  footer { padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; }
  nav { padding: 1.2rem 1.5rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}