/* ==========================================================================
   LES 3 CHAISES — accueil.css
   Styles PROPRES à la page d'accueil uniquement.
   Ne redéfinit jamais .site-header / .nav / .site-footer (voir global.css).
   ========================================================================== */

/* ---------- Apparition progressive au scroll (piloté par accueil.js) ---------- */
html, body {
  overflow-x: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group]>* {
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(1.5rem, 2vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(138, 46, 46, .16), transparent 70%),
    radial-gradient(35% 35% at 88% 6%, rgba(255, 212, 0, .16), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: 1.3rem;
}

.hero__title {
  font-family: var(--f-hero);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__title em {
  font-style: normal;
  color: var(--wine);
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__meta {
  margin-top: 2.6rem;
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.hero__meta strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.hero__meta span {
  font-size: .78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* photo "trois chaises face au rideau", image de marque */
.hero__art {
  position: relative;
  /*aspect-ratio: 4 / 5;*/
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  display: block;
}

.hero__art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .9rem 1.2rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-soft);
  background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
  text-align: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    max-width: 340px;
    margin-inline: auto;
    aspect-ratio: 1/1;
  }
}

/* ---------- À la une (section optionnelle, alimentée depuis l'admin) ---------- */
.spotlight {
  /*background: linear-gradient(76deg, rgb(241 207 186 / 43%), rgb(138 46 46 / 10%));*/
  background: linear-gradient(76deg, rgb(241 207 186), rgb(241 207 186));
  /* border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);*/
}

.spotlight__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.spotlight--no-image .spotlight__grid {
  grid-template-columns: 1fr;
}

.spotlight--no-image .spotlight__content {
  max-width: 62ch;
}

.spotlight__content {
  grid-column: 2;
  grid-row: 1;
}

.spotlight__eyebrow {
  margin-bottom: .9rem;
}

.spotlight__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.spotlight__text {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 52ch;
}

.spotlight__actions {
  margin-top: 1.8rem;
}

.spotlight__art {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 3;
  /* border: 1px solid var(--line);*/
  border-radius: var(--radius);
  overflow: hidden;
  /*box-shadow: var(--shadow-card);*/
}

.spotlight__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 820px) {
  .spotlight__grid {
    grid-template-columns: 1fr;
  }

  .spotlight__content {
    grid-column: 1;
    grid-row: 2;
  }

  .spotlight__art {
    grid-column: 1;
    grid-row: 1;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Section shell générique (utilisé plusieurs fois sur cette page) ---------- */
.section {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-top: .6rem;
}

.section__head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--tint {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__meta strong {
  color: var(--wine);
}

.story__figures strong {
  color: var(--wine);
}

/* ---------- Trois piliers (Desktop / Sans accordéon) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.pillar {
  padding: 2.1rem 1.8rem 2rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}

.pillar__num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--wine);
}

.pillar h3 {
  margin-top: .9rem;
  font-size: 1.4rem;
}

.pillar p {
  display: block;
  margin-top: .7rem;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* Neutralisation du bouton summary sur grand écran */
.pillar__head {
  list-style: none;
  cursor: default;
  pointer-events: none;
  /* Désactive le clic sur PC */
}

.pillar__head::-webkit-details-marker,
.pillar__head::marker {
  display: none;
  content: "";
}

.pillar__arrow {
  display: none;
}

/* ---------- Accordéon Mobile uniquement (<= 740px) ---------- */
@media (max-width: 740px) {

  .pillars {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
  }

  .pillar {
    padding: 1.1rem 1.3rem;
  }

  .pillar__head {
    display: flex;
    align-items: center;
    gap: .9rem;
    cursor: pointer;
    pointer-events: auto;
    /* Réactive le clic sur téléphone */
  }

  .pillar__head h3 {
    margin-top: 0;
    flex: 1;
    font-size: 1.08rem;
  }

  .pillar__arrow {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--wine);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .22s ease;
  }

  .pillar[open] .pillar__arrow {
    transform: rotate(180deg);
  }

  .pillar p {
    margin-top: .9rem;
  }

  /* Sur téléphone : masqué si fermé */
  .pillar:not([open])>p {
    display: none;
  }
}



/* ---------- Notre histoire ---------- */
.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.story__quote {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.4;
  color: var(--pine-dark);
  border-left: 3px solid var(--yellow);
  padding-left: 1.4rem;
}

.story__body p+p {
  margin-top: 1.1rem;
}

.story__body p {
  color: var(--ink-soft);
}

.story__figures {
  margin-top: 1.8rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.story__figures div {
  min-width: 100px;
}

.story__figures strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--ink);
}

.story__figures span {
  font-size: .78rem;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .story {
    grid-template-columns: 1fr;
  }
}

/* ---------- Événements / vie du lieu ---------- */
.events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.event-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.event-card__tag {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--paper);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-top: 1rem;
  font-size: 1.35rem;
}

.event-card p {
  margin-top: .7rem;
  color: var(--ink-soft);
  font-size: .96rem;
}

.event-card__foot {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .events {
    grid-template-columns: 1fr;
  }
}

/* ---------- Éditions ---------- */
.editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.editions__visual {
  aspect-ratio: 5/4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  /* background: var(--ink);*/
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.editions__visual svg {
  width: 56%;
  height: 56%;
  color: var(--paper-soft);
  opacity: .92;
}

.editions__list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.editions__list li {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: .98rem;
}

.editions__list li::before {
  content: "—";
  color: var(--wine);
  font-weight: 700;
  flex: none;
}

@media (max-width: 820px) {
  .editions {
    grid-template-columns: 1fr;
  }

  .editions__visual {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ---------- Citation manuscrite inclinée ---------- */
.scribble {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.scribble__text {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(1rem, 5vw, 3.4rem);
  color: var(--ink);
  transform: rotate(-4deg);
  display: inline-block;
  white-space: nowrap;
}

.scribble__text .accent {
  color: var(--pine);
}

/* ---------- Bandeau adhésion ---------- */
.cta-band {
  background: var(--wine);
  color: var(--paper-soft);
  border-radius: var(--radius);
  border-top: 4px solid var(--yellow);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--paper-soft);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 22ch;
}

.cta-band p {
  margin-top: .7rem;
  color: #ecd9d4;
  max-width: 44ch;
}

.cta-band .btn-outline {
  color: var(--paper-soft);
  border-color: rgba(241, 234, 217, .5);
}

.cta-band .btn-outline:hover {
  background: rgba(241, 234, 217, .12);
  border-color: var(--paper-soft);
}

/* ---------- Visite / Contact ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.visit__card {
  padding: 2rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.visit__card h3 {
  font-size: 1.15rem;
}

.visit__card dl {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.visit__card dt {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}

.visit__card dd {
  margin: 0;
  margin-top: .15rem;
  font-size: 1rem;
}

.visit__card dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit__note {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line-strong);
  font-size: .9rem;
  color: var(--ink-soft);
}

.visit__social {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
}

.visit__social-label {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}

.visit__social-links {
  display: flex;
  gap: .6rem;
}

.visit__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease;
}

.visit__social-links a svg {
  width: 18px;
  height: 18px;
}

.visit__social-links a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper-soft);
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .visit {
    grid-template-columns: 1fr;
  }
}

.support-card__link {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--pine-dark);
}

.support-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Newsletter (alimentée depuis l'admin) ---------- */
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 980px) {
  .newsletter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

.newsletter-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.newsletter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.newsletter-card__thumb {
  aspect-ratio: 4/3;
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.newsletter-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.newsletter-card__thumb svg {
  width: 40%;
  height: 40%;
  color: var(--brass);
}

.newsletter-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.newsletter-card__date {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}

.newsletter-card__title {
  font-family: var(--f-display);
  font-size: 1.08rem;
  line-height: 1.25;
}

.newsletter-card__excerpt {
  color: var(--ink-soft);
  font-size: .88rem;
  flex: 1;
}

.newsletter-card__link {
  margin-top: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--pine-dark);
  align-self: flex-start;
}

.newsletter-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-empty {
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: .94rem;
  text-align: center;
}

/* ---------- Boutons d'action Contact ---------- */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-btn {
  text-align: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .contact-actions {
    flex-direction: column;
  }

  .contact-btn {
    width: 100%;
  }
}

.chair-divider {
  padding: clamp(2rem, 5vw, 2rem) 0;
}