/* ============================================
   HIKARI · KINOMICHI — Feuille de styles
   Commune aux deux pages
   ============================================ */

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

/* --- Variables --- */
:root {
  --beige:   #F5F0E8;
  --beige-d: #EDE7D9;
  --brun:    #8C7B6B;
  --encre:   #2E2820;
  --or:      #B8965A;
  --blanc:   #FDFBF8;
}

/* --- Base --- */
body {
  font-family: 'Inter', sans-serif;
  background: var(--beige);
  color: var(--encre);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
}

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

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

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brun);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--encre);
}

/* ============================================
   SECTIONS & CONTENEUR
   ============================================ */
section {
  padding: 5rem 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* --- Labels & titres de section --- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--encre);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--encre);
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer a {
  color: var(--or);
  text-decoration: none;
}

/* ============================================
   PAGE KINOMICHI — Hero (grille 2 colonnes)
   ============================================ */
.hero-split {
  margin-top: 64px;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-split .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
  background: var(--blanc);
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--encre);
  margin-bottom: 1rem;
}

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

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--brun);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--or);
  margin-bottom: 2rem;
}

.hero-split .hero-image {
  position: relative;
  overflow: hidden;
}

.hero-split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-split .hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(253, 251, 248, 0.15), transparent);
}

/* ============================================
   PAGE KINOMICHI — Section Histoire
   ============================================ */
.histoire {
  background: var(--blanc);
}

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

.histoire-body {
  font-size: 1rem;
  color: #4a3f34;
  line-height: 1.85;
}

.histoire-body p + p {
  margin-top: 1.2rem;
}

.quote-block {
  border-left: 2px solid var(--or);
  padding: 1.5rem 2rem;
  background: var(--beige);
  border-radius: 0 4px 4px 0;
}

.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--brun);
  line-height: 1.5;
}

/* ============================================
   PAGE KINOMICHI — Galerie
   ============================================ */
.galerie {
  background: var(--beige-d);
}

.galerie-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

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

.galerie-grid .img-large {
  grid-row: 1 / 3;
  max-height: 560px;
}

.galerie-grid .img-small {
  max-height: 270px;
}

/* ============================================
   PAGE KINOMICHI — Bienfaits
   ============================================ */
.bienfaits {
  background: var(--blanc);
}

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

.bienfait-card {
  padding: 2rem;
  background: var(--beige);
  border-top: 2px solid var(--or);
}

.bienfait-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--encre);
}

.bienfait-card p {
  font-size: 0.9rem;
  color: var(--brun);
  line-height: 1.8;
}

/* ============================================
   PAGE ASSOCIATION — Hero pleine largeur
   ============================================ */
.hero-full {
  margin-top: 64px;
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 40, 32, 0.75) 0%, transparent 55%);
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 5rem;
  color: white;
  max-width: 700px;
}

.hero-full .hero-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-full .hero-title em {
  color: #e8c98a;
}

.hero-full .hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  margin-bottom: 0;
}

/* ============================================
   PAGE ASSOCIATION — Présentation
   ============================================ */
.presentation {
  background: var(--blanc);
}

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

.pres-body {
  font-size: 1rem;
  color: #4a3f34;
  line-height: 1.85;
}

.pres-body p + p {
  margin-top: 1.2rem;
}

.pres-image {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(46, 40, 32, 0.12);
}

.pres-image img {
  width: 100%;
  display: block;
}

/* ============================================
   PAGE ASSOCIATION — Photo groupe
   ============================================ */
.groupe {
  background: var(--beige-d);
  padding: 0;
}

.groupe img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.groupe-caption {
  text-align: center;
  padding: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--brun);
}

/* ============================================
   PAGE ASSOCIATION — Infos pratiques
   ============================================ */
.infos {
  background: var(--beige);
}

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

.info-card {
  background: var(--blanc);
  padding: 2rem;
  border-bottom: 2px solid var(--or);
}

.info-card .label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--encre);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--brun);
  line-height: 1.7;
}

.info-card a {
  color: var(--encre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   PAGE ASSOCIATION — Contact
   ============================================ */
.contact {
  background: var(--encre);
  color: var(--blanc);
  text-align: center;
}

.contact .section-label {
  color: var(--or);
}

.contact .section-title {
  color: white;
  margin-bottom: 0.5rem;
}

.contact-sub {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.contact-box {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 4rem;
  border-radius: 2px;
}

.contact-item {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item strong {
  color: var(--or);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.contact-item a {
  color: white;
  text-decoration: none;
}

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

.divider-gold {
  width: 40px;
  height: 1px;
  background: var(--or);
  margin: 0.5rem auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  /* Hero split */
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split .hero-image {
    height: 50vw;
  }
  .hero-split .hero-text {
    padding: 3rem 1.5rem;
  }

  /* Hero full */
  .hero-full {
    height: 60vh;
  }
  .hero-full .hero-content {
    padding: 2rem 1.5rem;
  }

  /* Grilles */
  .histoire-grid,
  .pres-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .galerie-grid {
    grid-template-columns: 1fr;
  }
  .galerie-grid .img-large {
    grid-row: auto;
    max-height: 260px;
  }

  .bienfaits-grid,
  .infos-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 2rem 1.5rem;
  }
}
