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

:root {
  --choco:      #1E0E08;
  --brown:      #4A2618;
  --caramel:    #7A4428;
  --gold:       #C9973A;
  --gold-light: #E8BE6A;
  --cream:      #FBF4E8;
  --cream-dark: #F0E4CB;
  --text-dark:  #2C1810;
  --text-mid:   #5C3A20;
  --text-light: #F5EAD0;
  --shadow:     0 3px 16px rgba(30,14,8,0.13);
  --radius:     8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ── HEADER ── */
header {
  background: linear-gradient(135deg, var(--choco), var(--brown));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 55px; width: auto; object-fit: contain; }
nav ul { display: flex; gap: 0.15rem; flex-wrap: wrap; }
nav ul li a {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active { background: rgba(201,151,58,0.18); color: #fff; }

/* ── PAGE BANNER ── */
.page-banner {
  background: linear-gradient(135deg, var(--brown), var(--caramel));
  padding: 3rem 2rem;
  text-align: center;
}
.page-banner h1 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.sep {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold-light);
  margin: 0.9rem auto 0;
}

/* ── LAYOUT ── */
.section { padding: 4.5rem 2rem; flex: 1; }
.inner { max-width: 1150px; margin: 0 auto; width: 100%; }

.section-title {
  text-align: center;
  color: var(--brown);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
}
.section-divider {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 0.7rem auto 0.5rem;
}
.section-subtitle {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 3rem;
}

/* ── GRILLES ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(30,14,8,0.18); }

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}
.card-body { padding: 1.3rem; flex: 1; }
.card-body h3 { color: var(--brown); margin-bottom: 0.5rem; font-size: 1.05rem; }
.card-body p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.65; }

.badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* ── CAROUSEL (index) ── */
.hero { position: relative; overflow: hidden; background: var(--choco); }
.carousel-track { display: flex; transition: transform 0.7s cubic-bezier(0.77,0,0.18,1); }
.carousel-track img { min-width: 100%; height: 500px; object-fit: cover; opacity: .88; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(30,14,8,0.55); border: 1px solid rgba(201,151,58,0.5);
  color: var(--gold-light); width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10;
}
.carousel-btn:hover { background: rgba(201,151,58,0.35); }
.carousel-btn.prev { left: 1.2rem; }
.carousel-btn.next { right: 1.2rem; }
.carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 10;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.dot.active { background: var(--gold); transform: scale(1.3); }
.hero-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(transparent, rgba(30,14,8,0.82));
  text-align: center;
}
.hero-caption p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ── TIMELINE ── */
.timeline-wrap { max-width: 780px; margin: 0 auto; }
.timeline {
  border-left: 2px solid var(--gold);
  padding-left: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -2.75rem; top: 0.45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold); border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .year {
  font-family: 'Playfair Display', serif;
  color: var(--gold); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem;
}
.timeline-item h3 { color: var(--brown); margin-bottom: 0.3rem; font-size: 1rem; }
.timeline-item p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; }

/* ── PROMOS ── */
.promo-card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.promo-card .pct { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); margin-bottom: 0.4rem; }
.promo-card h3 { color: var(--brown); margin-bottom: 0.5rem; font-size: 1rem; }
.promo-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.promo-card .validity { margin-top: 0.8rem; font-size: 0.78rem; color: #9B6A3A; font-style: italic; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-infos { padding: 1.8rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-infos h3 { color: var(--brown); margin-bottom: 1rem; font-size: 1.1rem; }
.contact-infos p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }
.ci-label {
  display: block;
  font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-top: 1.1rem; margin-bottom: 0.3rem;
}
.contact-form {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.72rem 1rem; border: 1.5px solid #E0D4BB;
  border-radius: 5px; background: var(--cream); color: var(--text-dark);
  font-family: 'Raleway', sans-serif; font-size: 0.92rem;
  transition: border-color 0.2s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,0.12); }
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  padding: 0.8rem 2.2rem; background: var(--brown); color: var(--cream);
  font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.08em; text-transform: uppercase; border: none;
  border-radius: 5px; cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--caramel); }
.form-success {
  display: none; background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: 5px; padding: 0.9rem; text-align: center;
  color: #2e7d32; font-size: 0.9rem; margin-top: 1rem;
}

/* ── MENTIONS ── */
.mentions-inner { max-width: 820px; margin: 0 auto; }
.mention-block {
  background: #fff; border-radius: var(--radius);
  padding: 1.8rem 2rem; margin-bottom: 1.4rem;
  box-shadow: 0 2px 10px rgba(30,14,8,0.08);
}
.mention-block h3 { color: var(--brown); margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--cream-dark); font-size: 1rem; }
.mention-block p, .mention-block li { color: var(--text-mid); line-height: 1.75; font-size: 0.9rem; }
.mention-block ul { margin-top: 0.4rem; padding-left: 1rem; list-style: disc; }

/* ── FOOTER ── */
footer { background: linear-gradient(135deg, var(--choco), var(--brown)); color: var(--text-light); padding: 2.8rem 2rem 1.2rem; margin-top: auto; }
.footer-inner {
  max-width: 1150px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201,151,58,0.2);
}
.footer-col h4 { font-family: 'Playfair Display', serif; color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-col p, .footer-col ul li a { color: rgba(245,234,208,0.7); font-size: 0.87rem; line-height: 1.8; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1150px; margin: 1rem auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.8rem; font-size: 0.8rem; color: rgba(245,234,208,0.45);
}
.footer-bottom a { color: rgba(245,234,208,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .header-inner { height: auto; padding: 0.7rem 1rem; flex-wrap: wrap; gap: 0.5rem; }
  nav ul { justify-content: center; }
  nav ul li a { font-size: 0.78rem; padding: 0.35rem 0.6rem; }
  .logo img { height: 44px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .carousel-track img { height: 240px; }
  .timeline { padding-left: 1.6rem; }
  .timeline-item::before { left: -2.2rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .section { padding: 3rem 1.2rem; }
}
