/* ============================================================
   styles.css — base commune aux 5 pages du site
   (index, venir, region, nous, liste)
   Règle : toute règle utilisée par AU MOINS 2 pages vit ici ;
   les styles spécifiques à une page restent dans son <style>.
   ============================================================ */

:root {
  --creme: #f7f0e3;
  --creme-fonce: #eadfc9;
  --rouge: #a63a40;
  --rouge-fonce: #8a2430;
  --encre: #40332a;
  --ocre: #b3814f;
  --blanc: #fdfaf2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--creme);
  color: var(--encre);
  font-family: 'Karla', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 500; }

/* ---------- Navigation ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 227, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--creme-fonce);
}
.nav-inner { position: relative; }
.nav-logo {
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  display: block; width: 42px; height: 42px;
}
.nav-logo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
nav ul {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.2rem 1.8rem; list-style: none; padding: 0.9rem 3.6rem;
}
nav a {
  text-decoration: none; color: var(--rouge-fonce);
  font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 500;
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--rouge); }
nav a.active {
  color: var(--rouge); font-style: italic;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.lang-btn {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid var(--rouge-fonce); color: var(--rouge-fonce);
  font-family: 'Karla', sans-serif; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: 99px; padding: 0.32rem 0.85rem;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--rouge-fonce); color: var(--blanc); }

/* ---------- Hero ---------- */
header {
  min-height: 58vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 3rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(166,58,64,0.13), transparent 60%),
    var(--creme);
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.35em;
  font-size: 0.8rem; color: var(--rouge-fonce); margin-bottom: 1.6rem;
}
header h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.12; color: var(--encre);
}
header h1 .amp { font-style: italic; color: var(--rouge); font-weight: 400; }
.hero-date {
  margin-top: 1.8rem; font-family: 'Caveat', cursive;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem); color: var(--rouge-fonce);
}
.hero-lieu {
  margin-top: 0.4rem; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.85rem; color: var(--encre);
}
.branche { width: 130px; margin: 1.8rem auto 0; display: block; }

/* ---------- Sections ---------- */
section { padding: 3.4rem 1.5rem; }
section:nth-of-type(even) { background: var(--blanc); }
.inner { max-width: 860px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 0.6rem;
  color: var(--rouge-fonce);
}
.section-sub {
  text-align: center; color: var(--rouge-fonce);
  font-family: 'Caveat', cursive; font-size: 1.5rem; line-height: 1.4;
  margin-bottom: 2.2rem;
}
.divider { width: 60px; height: 2px; background: var(--rouge); margin: 1.1rem auto 1.4rem; }
.note-provisoire {
  max-width: 560px; margin: 2.5rem auto 0; text-align: center;
  font-size: 0.85rem; font-style: italic; color: var(--rouge-fonce);
  background: var(--creme-fonce); border-radius: 8px; padding: 0.8rem 1.2rem;
}

/* ---------- Encarts (conseils / infos pratiques) ---------- */
.encart {
  max-width: 640px; margin: 0 auto 2.6rem; text-align: center;
  font-size: 0.9rem; font-style: italic; color: var(--rouge-fonce);
  background: var(--creme-fonce); border-radius: 8px; padding: 0.9rem 1.3rem;
}
.cards + .encart { margin: 2.4rem auto 0; }
.encart-important {
  max-width: 560px; margin: 2.4rem auto 0;
  display: flex; align-items: flex-start; gap: 0.75rem; text-align: left;
  font-size: 0.9rem; background: var(--blanc);
  border: 1px solid var(--creme-fonce); border-left: 3px solid var(--rouge);
  border-radius: 8px; padding: 0.9rem 1.2rem;
}
.encart-important svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.card-solo { max-width: 560px; margin: 0 auto; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--blanc); border: 1px solid var(--creme-fonce);
  border-radius: 12px; padding: 1.8rem 1.6rem;
  box-shadow: 0 2px 14px rgba(64, 51, 42, 0.05);
}
section:nth-of-type(even) .card { background: var(--creme); }
.card h3 {
  font-size: 1.45rem; color: var(--rouge-fonce); margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.card h3 svg { width: 22px; height: 22px; flex: none; }
.card p { font-size: 0.95rem; margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }
.card a:not(.btn) { color: var(--rouge-fonce); }
.tag {
  display: inline-block; background: var(--rouge-fonce); color: var(--creme);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 99px; padding: 0.4rem 1rem; line-height: 1.6; margin-bottom: 0.6rem;
}

/* ---------- Carte / plan ---------- */
.plan-wrap {
  background: var(--blanc); border: 1px solid var(--creme-fonce);
  border-radius: 12px; padding: 1.2rem; box-shadow: 0 2px 14px rgba(64,51,42,0.05);
}
.plan-wrap svg { width: 100%; height: auto; display: block; }
.plan-legende { text-align: center; font-size: 0.85rem; font-style: italic; color: var(--rouge-fonce); margin-top: 0.8rem; }

.adresse-bloc { text-align: center; margin-top: 2.2rem; margin-bottom: 1.6rem; }
.adresse-bloc .adr {
  font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--encre);
}

/* ---------- Grande photo légendée (index : château, region : Pyrénées) ---------- */
.chateau-figure { max-width: 860px; margin: 0 auto; text-align: center; }
.chateau-figure img {
  width: 100%; border-radius: 10px; border: 1px solid var(--ocre); display: block;
}
.chateau-figure figcaption {
  margin-top: 0.9rem; font-family: 'Caveat', cursive;
  font-size: 1.35rem; color: var(--rouge-fonce);
}

/* ---------- Lien vers la page suivante (index, venir, region) ---------- */
.page-suivante { text-align: center; padding: 0 1.5rem 3.6rem; }
.page-suivante .ps-texte {
  font-family: 'Caveat', cursive; font-size: 1.45rem; color: var(--rouge-fonce);
}
.page-suivante .btn { margin: 0.5rem 0.4rem 0; }

/* ---------- Bouton ---------- */
.btn {
  display: inline-block; margin-top: 0.9rem;
  background: var(--rouge-fonce); color: var(--blanc);
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; padding: 0.75rem 1.6rem; border-radius: 99px;
  transition: background 0.2s;
}
.btn:hover { background: var(--rouge); }

/* ---------- Footer ---------- */
footer {
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--rouge-fonce); color: var(--creme);
}
footer .monogramme { font-family: 'Fraunces', serif; font-size: 2rem; font-style: italic; }
footer p { font-size: 0.85rem; opacity: 0.85; }
footer .btn { background: var(--creme); color: var(--rouge-fonce); }
footer .btn:hover { background: var(--blanc); }
