@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* Global interaction consistency */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #8f2f2f;
  outline-offset: 3px;
}

/* Hero paragraph — must come after the generic `p { Signika !important }` rule */
.banner.wrapper .hero p {
  font-family: "Josefin Sans", sans-serif !important;
}

.blog-page {
  min-height: 70vh;
  background: #f9f6f0;
}

.blog-list-header {
  margin-bottom: 2rem;
}

.blog-list-header h1,
.blog-details h1 {
  color: #31190f;
  margin-bottom: 0.75rem;
}

.blog-card {
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.blog-card-image,
.blog-details-image {
  width: 100%;
  object-fit: cover;
}

.blog-card-image {
  height: 230px;
}

.blog-card-content {
  padding: 1.25rem;
}

.blog-date {
  color: #7b5d4a;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-read-more,
.blog-back-link {
  color: #8a5a3e;
  font-weight: 600;
  text-decoration: none;
}

.blog-read-more:hover,
.blog-back-link:hover {
  text-decoration: underline;
}

.blog-details {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.blog-details-image {
  max-height: 460px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blog-excerpt {
  font-size: 1.1rem;
  color: #3f2c21;
}

.blog-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 8px;
  border: 1px solid #d9c6b5;
  color: #6c4630;
  text-decoration: none;
  background: #fff;
  font-weight: 600;
}

.blog-page-link.active {
  background: #8a5a3e;
  color: #fff;
  border-color: #8a5a3e;
}

.blog-page-link.disabled {
  pointer-events: none;
  opacity: 0.45;
}

/* Events page refresh */
.events-page {
  background: #f9f4ee;
}

.events-page .events-hero {
  padding-top: 52px;
  padding-bottom: 24px;
}

.events-page .events-hero h1 {
  color: #5c1a1a;
  margin-bottom: 14px;
}

.events-page .events-hero p {
  max-width: 880px;
  color: #3e2b24;
}

.events-page .events-next-banner {
  margin-top: 18px;
  background: linear-gradient(90deg, #5c1a1a 0%, #8f2f2f 100%);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.events-page .events-next-banner p {
  color: #ffffff;
  margin: 0;
}

.events-page .events-next-banner strong {
  color: #ffe7b6;
}

.events-page .events-content {
  padding-top: 24px;
}

.events-page .events-list-header {
  margin-bottom: 16px;
}

.events-page .events-list-header h2 {
  color: #5c1a1a;
}

.events-page .events-list {
  gap: 18px;
}

.events-page .event-card {
  border-radius: 14px;
  border-color: #eaded3;
  box-shadow: 0 10px 24px rgba(62, 38, 22, 0.06);
}

.events-page .event-card-header {
  margin-bottom: 8px;
}

.events-page .event-card-header h3 {
  color: #3a1e16;
  font-size: 32px;
}

.events-page .event-card-header span {
  text-transform: capitalize;
}

.events-page .event-status {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.events-page .event-status.is-open {
  background: #e7f7ea;
  color: #1f6b39;
}

.events-page .event-status.is-limited {
  background: #fff7da;
  color: #8e6200;
}

.events-page .event-status.is-sold-out {
  background: #fde9e9;
  color: #8f2f2f;
}

.events-page .event-meta-list {
  margin-top: 14px;
  padding-left: 18px;
}

.events-page .event-meta-list li {
  margin-bottom: 6px;
}

.events-page .event-ticket-link {
  display: inline-block;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #8f2f2f;
  background: #8f2f2f;
  color: #fff;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.events-page .event-ticket-link:hover {
  background: #6f2323;
  border-color: #6f2323;
  color: #fff;
  text-decoration: none;
}

.events-page .events-signup,
.events-page .events-private {
  padding-top: 26px;
  padding-bottom: 26px;
}

.events-page .events-signup .container,
.events-page .events-private .container {
  background: #fff;
  border: 1px solid #eaded3;
  border-radius: 14px;
  padding: 24px;
}

.events-page .events-signup h2,
.events-page .events-private h2 {
  color: #5c1a1a;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .events-page .events-next-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-page .event-card-header h3 {
    font-size: 27px;
  }
}

/* Domaine page */
.domaine-page {
  background: #f8f4ee;
  padding-bottom: 20px;
}

.domaine-page .domaine-hero {
  min-height: 620px;
  display: flex;
  align-items: stretch;
}

.domaine-page .domaine-hero-overlay {
  width: 100%;
  background-position: center 32%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
  position: relative;
}

.domaine-page .domaine-hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 21, 34, 0.2), rgba(7, 21, 34, 0.45));
}

.domaine-page .domaine-hero-overlay .container {
  position: relative;
  z-index: 1;
}

.domaine-page .domaine-hero h1 {
  color: #ffffff;
  max-width: 760px;
}

.domaine-page .domaine-hero p {
  color: #d6f3f0;
  font-size: 1.1rem;
}

.domaine-page .domaine-hero-highlights {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domaine-page .domaine-hero-highlights span {
  background: rgba(240, 253, 250, 0.2);
  border: 1px solid rgba(208, 246, 241, 0.5);
  border-radius: 999px;
  padding: 6px 12px;
  color: #f5fffd;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.domaine-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e5d6ca;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(38, 24, 17, 0.14);
}

.domaine-card h2 {
  color: #5c1a1a;
  margin-bottom: 14px;
}

.domaine-card p {
  color: #3e2b24;
}

.domaine-card blockquote {
  margin-top: 14px;
  margin-bottom: 0;
  border-left: 4px solid #8a5a3e;
  padding-left: 14px;
  color: #6c4630;
  font-style: italic;
}

.domaine-intro-card,
.domaine-ending {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.domaine-section-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5d6ca;
  box-shadow: 0 10px 24px rgba(38, 24, 17, 0.09);
}

.domaine-section-image.is-wide {
  margin-top: 16px;
  min-height: 260px;
}

.domaine-stats-grid,
.domaine-elements-grid {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.domaine-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.domaine-elements-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.domaine-stat,
.domaine-elements-grid article,
.domaine-timeline-item {
  background: #ffffff;
  border: 1px solid #e6d8cd;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(38, 24, 17, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.domaine-stat:hover,
.domaine-elements-grid article:hover,
.domaine-timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(38, 24, 17, 0.14);
}

.domaine-stat h3,
.domaine-elements-grid h3,
.domaine-timeline-item h3 {
  color: #5c1a1a;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.domaine-timeline-item h3 {
  font-size: 1.4rem;
}

.domaine-elements-grid h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.domaine-element-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6caca;
  background: #fbf2f2;
  flex-shrink: 0;
}

.domaine-element-icon svg {
  width: 14px;
  height: 14px;
}

.domaine-element-icon path {
  stroke: #8f2f2f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domaine-timeline {
  display: grid;
  gap: 12px;
}

.domaine-timeline-item span {
  color: #8a5a3e;
  font-weight: 700;
}

.domaine-ending .domaine-cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domaine-ending .domaine-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 9px 14px;
  text-decoration: none;
  color: #ffffff;
  background: #8f2f2f;
  border: 1px solid #8f2f2f;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.domaine-ending .domaine-cta-row a:hover {
  background: #6f2323;
  border-color: #6f2323;
}

@media (max-width: 767px) {
  .domaine-page .domaine-hero {
    min-height: 460px;
  }

  .domaine-page .domaine-hero-highlights span {
    width: 100%;
  }

  .domaine-card {
    padding: 18px;
  }

  .domaine-intro-card,
  .domaine-ending {
    grid-template-columns: 1fr;
  }

  .domaine-section-image {
    min-height: 220px;
  }
}

/* Les Amis de Fredo page */
.amis-page {
  background: #f8f4ee;
  padding-bottom: 24px;
}

.amis-page .amis-hero {
  min-height: 640px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.amis-page .amis-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.28), rgba(17, 17, 17, 0.58));
}

.amis-page .amis-hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 56px;
}

.amis-page .amis-eyebrow {
  color: #f8d9bf;
  font-weight: 700;
  margin-bottom: 8px;
}

.amis-page .amis-hero h1 {
  color: #ffffff;
  margin-bottom: 14px;
}

.amis-page .amis-hero p {
  color: #f7f1ea;
  margin-bottom: 18px;
}

.amis-page .amis-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: #8f2f2f;
  border: 1px solid #8f2f2f;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.amis-page .amis-primary-cta:hover {
  color: #ffffff;
  text-decoration: none;
  background: #6f2323;
  border-color: #6f2323;
}

.amis-intro-card,
.amis-grands-amis,
.amis-faq {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e5d6ca;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(38, 24, 17, 0.12);
}

.amis-intro-card blockquote {
  margin: 14px 0;
  border-left: 4px solid #8a5a3e;
  padding-left: 14px;
  color: #6c4630;
  font-style: italic;
}

.amis-intro-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.amis-section-head {
  margin-bottom: 16px;
}

.amis-section-head h2,
.amis-grands-amis h2,
.amis-faq h2,
.amis-bottom-cta h2 {
  color: #5c1a1a;
  margin-bottom: 8px;
}

.amis-formulas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.amis-formula-card {
  background: #ffffff;
  border: 1px solid #e6d8cd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(38, 24, 17, 0.09);
  display: flex;
  flex-direction: column;
}

.amis-formula-card header {
  border-radius: 12px 12px 0 0;
  background: #7d2a2a;
  color: #ffffff;
  padding: 14px;
}

.amis-formula-card.is-featured header {
  background: #1f1f1f;
}

.amis-formula-card header h3 {
  margin-bottom: 4px;
}

.amis-formula-card header p {
  color: #ffffff;
  margin-bottom: 0;
  font-weight: 600;
}

.amis-formula-card ul {
  list-style: none;
  margin: 0;
  padding: 14px 14px 0;
  flex: 1;
}

.amis-formula-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.amis-formula-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8f2f2f;
}

.amis-formula-card a {
  margin: 0 14px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #5c1a1a;
  background: #f5e6e6;
  border: 1px solid #e6caca;
}

.amis-formula-card a:hover {
  text-decoration: none;
  color: #ffffff;
  background: #8f2f2f;
  border-color: #8f2f2f;
}

.amis-grands-amis p {
  margin-bottom: 14px;
}

.amis-grands-amis .amis-primary-cta {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  text-align: center;
}

.amis-grands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.amis-grands-grid article {
  background: #ffffff;
  border: 1px solid #e6d8cd;
  border-radius: 12px;
  padding: 12px;
}

.amis-grands-grid h3 {
  color: #5c1a1a;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.amis-faq article + article {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee2d9;
}

.amis-faq h3 {
  color: #8f2f2f;
  margin-bottom: 6px;
}

.amis-bottom-cta {
  background: #fff;
  border: 1px solid #e6d8cd;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(62, 38, 22, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1fr);
}

.amis-bottom-cta img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.amis-bottom-cta > div {
  padding: 24px;
}

.amis-bottom-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  min-height: 44px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 8px;
  margin-top: 12px;
}

.amis-bottom-cta a[href="#formules"] {
  color: #fff;
  background: #8f2f2f;
  border: 1px solid #8f2f2f;
}

.amis-bottom-cta a[href="#formules"]:hover {
  color: #fff;
  text-decoration: none;
  background: #6f2323;
  border-color: #6f2323;
}

.amis-bottom-cta a[href="/domaine"] {
  color: #5c1a1a;
  background: #f5e6e6;
  border: 1px solid #e6caca;
}

.amis-bottom-cta a[href="/domaine"]:hover {
  text-decoration: none;
  color: #fff;
  background: #8f2f2f;
  border-color: #8f2f2f;
}

@media (max-width: 1024px) {
  .amis-formulas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .amis-page .amis-hero {
    min-height: 520px;
  }

  .amis-intro-card,
  .amis-grands-amis,
  .amis-faq {
    padding: 18px;
  }

  .amis-formulas-grid {
    grid-template-columns: 1fr;
  }

  .amis-bottom-cta {
    grid-template-columns: 1fr;
  }
}

/* Oenotourisme page */
.oenopage {
  background: #f8f4ee;
  padding-bottom: 24px;
}

.oenopage .oeno-hero {
  min-height: 640px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.oenopage .oeno-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 12, 10, 0.3), rgba(18, 12, 10, 0.62));
}

.oenopage .oeno-hero .container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-bottom: 56px;
}

.oenopage .oeno-eyebrow {
  color: #f8d9bf;
  font-weight: 700;
  margin-bottom: 8px;
}

.oenopage .oeno-hero h1 {
  color: #fff;
  margin-bottom: 8px;
}

.oenopage .oeno-hero-subtitle {
  color: #f7f1ea;
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.35;
  font-family: "Cormorant Infant", serif !important;
  font-weight: 600;
}

.oenopage .oeno-hero p {
  color: #f7f1ea;
  margin-bottom: 12px;
}

.oeno-terroir-card,
.oeno-faq,
.oeno-closing {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5d6ca;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(38, 24, 17, 0.12);
}

.oeno-terroir-card h2,
.oeno-experience-content h2,
.oeno-faq h2,
.oeno-closing h2 {
  color: #5c1a1a;
  margin-bottom: 10px;
}

.oeno-elements-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.oeno-elements-grid article {
  background: #fff;
  border: 1px solid #eaded3;
  border-radius: 12px;
  padding: 12px;
}

.oeno-elements-grid h3 {
  color: #8f2f2f;
  margin-bottom: 4px;
}

.oeno-experience {
  background: #fff;
  border: 1px solid #e6d8cd;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(62, 38, 22, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.oeno-experience-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.oeno-experience-content {
  padding: 22px;
}

.oeno-kicker {
  color: #8a5a3e;
  font-weight: 700;
  margin-bottom: 8px;
}

.oeno-subtitle {
  color: #3e2b24;
  font-weight: 600;
}

.oeno-experience-content blockquote {
  margin: 14px 0;
  border-left: 4px solid #8a5a3e;
  padding-left: 14px;
  color: #6c4630;
  font-style: italic;
}

.oeno-detail-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.oeno-detail-grid article {
  background: #fff7f3;
  border: 1px solid #eedace;
  border-radius: 10px;
  padding: 10px;
}

.oeno-detail-grid h3 {
  color: #8f2f2f;
  margin-bottom: 6px;
  font-size: 1rem;
}

.oeno-cta-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: #8f2f2f;
  border: 1px solid #8f2f2f;
}

.oeno-cta-link:hover {
  color: #fff;
  text-decoration: none;
  background: #6f2323;
  border-color: #6f2323;
}

.oeno-helper-text {
  margin-top: 8px;
  color: #6c4630;
  font-weight: 600;
}

.oeno-faq article + article {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee2d9;
}

.oeno-faq h3 {
  color: #8f2f2f;
  margin-bottom: 6px;
}

.oeno-secondary-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oeno-secondary-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 700;
  color: #5c1a1a;
  background: #f5e6e6;
  border: 1px solid #e6caca;
}

.oeno-secondary-links a:hover {
  color: #fff;
  text-decoration: none;
  background: #8f2f2f;
  border-color: #8f2f2f;
}

@media (max-width: 767px) {
  .oenopage .oeno-hero {
    min-height: 540px;
  }

  .oenopage .oeno-hero-subtitle {
    font-size: 1.4rem;
  }

  .oeno-terroir-card,
  .oeno-faq,
  .oeno-closing {
    padding: 18px;
  }

  .oeno-experience {
    grid-template-columns: 1fr;
  }
}

/* Home page refonte */
.home-section {
  background: #f9f4ee;
}

[data-parallax-speed] {
  will-change: transform;
}

.home-parallax-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-parallax-orb {
  position: absolute;
  width: min(34vw, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  filter: blur(12px);
}

.home-parallax-orb.is-left {
  left: -120px;
  top: 10%;
  background: radial-gradient(circle, rgba(243, 209, 179, 0.45) 0%, rgba(243, 209, 179, 0) 72%);
}

.home-parallax-orb.is-right {
  right: -140px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(143, 47, 47, 0.4) 0%, rgba(143, 47, 47, 0) 70%);
}

.home-parallax-hero .container {
  position: relative;
  z-index: 1;
}

.home-section:nth-of-type(even) {
  background: #fffaf5;
}

.home-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: #5c1a1a;
  border: 1px solid #5c1a1a;
}

.home-primary-cta:hover {
  color: #ffffff;
  text-decoration: none;
  background: #471313;
  border-color: #471313;
}

.home-primary-cta.is-muted {
  background: #8d8d8d;
  border-color: #8d8d8d;
}

.home-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  color: #5c1a1a;
  background: #f5e6e6;
  border: 1px solid #e6caca;
}

.home-secondary-link:hover {
  color: #ffffff;
  text-decoration: none;
  background: #5c1a1a;
  border-color: #5c1a1a;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-cta-row .home-primary-cta {
  min-width: 170px;
}

.home-spirit-card {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #eaded3;
  border-radius: 14px;
  padding: 20px;
}

.home-spirit-card img {
  width: 100%;
  border-radius: 12px;
  max-height: 360px;
  object-fit: cover;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-card {
  background: #fff;
  border: 1px solid #e5d6ca;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(62, 38, 22, 0.06);
}

.home-card h4 {
  color: #5c1a1a;
  margin-bottom: 8px;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

.home-card p {
  margin-bottom: 12px;
}

.home-card-date {
  color: #8f2f2f;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 6px !important;
}

.home-card-price {
  font-weight: 700;
  margin-bottom: 10px !important;
}

.home-friends-hook {
  max-width: 880px;
  margin: 0 auto 18px;
  text-align: center;
}

.home-friends-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-wine-item {
  background: #fff8ef;
  border: 1px solid #eaded3;
  border-radius: 14px;
  padding: 18px;
}

.wine-mas .winemaker-quote {
  font-style: italic;
  color: #6c4630;
  margin-bottom: 0;
}

.home-portrait .testimonial-person-1 > img,
.home-portrait .testimonial-person-1 .d-flex img {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  max-height: 420px;
  object-fit: cover;
}

.home-portrait .home-primary-cta {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .home-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-spirit-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  [data-parallax-speed] {
    transform: none !important;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .home-primary-cta {
    width: 100%;
  }

  .home-card-grid,
  .home-friends-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax-speed] {
    transform: none !important;
    transition: none !important;
  }
}

/* Cross-page micro-consistency pass */
.home-section-head,
.amis-section-head,
.events-list-header,
.blog-list-header {
  margin-bottom: 1.5rem;
}

.home-section-head h3,
.amis-section-head h2,
.events-list-header h2,
.blog-list-header h1 {
  margin-bottom: 0.5rem;
}

.home-section-head p,
.amis-section-head p,
.events-list-header p,
.blog-list-header p {
  margin-bottom: 0;
}

.home-card,
.blog-card,
.event-card,
.domaine-stat,
.domaine-elements-grid article,
.domaine-timeline-item,
.amis-formula-card,
.amis-grands-grid article,
.oeno-elements-grid article,
.oeno-detail-grid article {
  border-radius: 12px;
}

.home-primary-cta,
.home-secondary-link,
.event-ticket-link,
.oeno-cta-link,
.amis-primary-cta,
.amis-formula-card a,
.domaine-ending .domaine-cta-row a,
.oeno-secondary-links a,
.amis-bottom-cta a,
.blog-page-link {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
}

.home-primary-cta,
.home-secondary-link,
.event-ticket-link,
.oeno-cta-link,
.amis-primary-cta,
.amis-formula-card a,
.domaine-ending .domaine-cta-row a,
.oeno-secondary-links a,
.amis-bottom-cta a {
  padding: 8px 14px;
}

.blog-page .container,
.events-page .container,
.domaine-page .container,
.amis-page .container,
.oenopage .container {
  max-width: 1200px;
}

/* Mobile polish - 375px consistency pass */
@media (max-width: 575px) {
  .home-section.wrapper,
  .events-page .wrapper,
  .domaine-page .wrapper,
  .amis-page .wrapper,
  .oenopage .wrapper,
  .blog-page .container.py-5 {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .banner.wrapper {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .hero h1,
  .domaine-page .domaine-hero h1,
  .amis-page .amis-hero h1,
  .oenopage .oeno-hero h1,
  .blog-list-header h1,
  .blog-details h1 {
    font-size: 2.05rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.65rem !important;
  }

  .oenopage .oeno-hero-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero p,
  .domaine-page .domaine-hero p,
  .amis-page .amis-hero p,
  .oenopage .oeno-hero p {
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }

  .home-section-head h3,
  .amis-section-head h2,
  .events-list-header h2,
  .oeno-terroir-card h2,
  .oeno-experience-content h2,
  .oeno-faq h2,
  .oeno-closing h2,
  .amis-grands-amis h2,
  .amis-faq h2,
  .amis-bottom-cta h2,
  .domaine-card h2 {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
  }

  .home-card,
  .blog-card,
  .event-card,
  .domaine-card,
  .amis-intro-card,
  .amis-grands-amis,
  .amis-faq,
  .oeno-terroir-card,
  .oeno-faq,
  .oeno-closing,
  .blog-details {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .home-primary-cta,
  .home-secondary-link,
  .event-ticket-link,
  .oeno-cta-link,
  .amis-primary-cta,
  .amis-formula-card a,
  .domaine-ending .domaine-cta-row a,
  .oeno-secondary-links a,
  .amis-bottom-cta a,
  .blog-page-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .hero-cta-row,
  .domaine-ending .domaine-cta-row,
  .oeno-secondary-links {
    gap: 8px !important;
  }

  .blog-pagination {
    gap: 0.4rem;
  }

  .blog-page-link {
    min-width: 38px;
    padding: 0 0.7rem;
  }

  .events-page .events-next-banner {
    padding: 12px;
    border-radius: 10px;
  }

  .events-page .event-card-image,
  .blog-card-image,
  .blog-details-image,
  .oeno-experience-image,
  .amis-bottom-cta img,
  .amis-intro-card img {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    object-fit: cover;
  }

  .home-card-grid,
  .home-friends-grid,
  .amis-formulas-grid,
  .domaine-stats-grid,
  .domaine-elements-grid,
  .oeno-elements-grid,
  .oeno-detail-grid {
    gap: 10px !important;
  }

  .home-friends-hook {
    margin-bottom: 12px;
    font-size: 0.96rem;
  }
}

/* ============================================================
   CLIENT FEEDBACK v3 — global fixes
   ============================================================ */

/* --- 0. Hero height: must fit viewport without scrolling ---- */
.oenopage .oeno-hero,
.amis-page .amis-hero {
  min-height: 100svh;
}

.domaine-page .domaine-hero {
  min-height: 100svh;
}

/* --- 0b. Content padding: fix contents too close to block edges --- */
.domaine-card,
.oeno-terroir-card,
.oeno-faq,
.oeno-closing,
.amis-intro-card,
.amis-grands-amis,
.amis-faq {
  padding: 36px !important;
}

.oeno-experience-content {
  padding: 32px !important;
}

@media (max-width: 767px) {
  .domaine-card,
  .oeno-terroir-card,
  .oeno-faq,
  .oeno-closing,
  .amis-intro-card,
  .amis-grands-amis,
  .amis-faq,
  .oeno-experience-content {
    padding: 22px !important;
  }
}

/* ============================================================
   CLIENT FEEDBACK v2 — global fixes
   ============================================================ */

/* --- 1. Navbar boutique: remove underline ------------------- */
header .navbar-boutique-btn {
  text-decoration: none !important;
}

/* --- 2. Reduce section spacing (100px → 52px for content) --- */
.domaine-page .wrapper:not(.domaine-hero),
.oenopage .wrapper:not(.oeno-hero),
.amis-page .wrapper:not(.amis-hero),
.events-page .wrapper,
.home-section.wrapper {
  padding-top: 52px;
  padding-bottom: 52px;
}

/* Hero sections keep their generous height */
.domaine-page .wrapper.domaine-hero,
.oenopage .wrapper.oeno-hero,
.amis-page .wrapper.amis-hero {
  padding-top: 0;
  padding-bottom: 0;
}

/* --- 3. Darken all hero overlays for text legibility (apply everywhere) --- */
.domaine-page .domaine-hero-overlay::before {
  background: linear-gradient(to bottom, rgba(7, 21, 34, 0.42), rgba(7, 21, 34, 0.72)) !important;
}

.oenopage .oeno-hero::before {
  background: linear-gradient(to bottom, rgba(18, 12, 10, 0.45), rgba(18, 12, 10, 0.75)) !important;
}

.amis-page .amis-hero::before {
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.72)) !important;
}

/* --- 3b. Vertically center hero text on all pages (apply everywhere) --- */
.domaine-page .domaine-hero-overlay {
  align-items: center !important;
  padding-bottom: 0 !important;
}

.domaine-page .domaine-hero-overlay .container,
.oenopage .oeno-hero .container,
.amis-page .amis-hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
}

.oenopage .oeno-hero,
.amis-page .amis-hero {
  align-items: center !important;
}

/* --- 4. Hero text alignment: narrow container & push right -- */
/* Oenotourisme: photo subject on left → text right */
.oenopage .oeno-hero .container {
  max-width: 640px !important;
  margin-left: auto;
  margin-right: 5%;
}

/* Les Amis: same treatment */
.amis-page .amis-hero .container {
  margin-left: auto;
  margin-right: 5%;
}

/* Domaine hero: text right-aligned (Frédéric on left, text in the vines on right) */
.domaine-page .domaine-hero-overlay .container {
  max-width: 640px;
  margin-left: auto;
  margin-right: 5%;
}

/* --- 5. FAQ accordion (details / summary) ------------------- */
.faq-item {
  border-bottom: 1px solid #eee2d9;
  padding: 4px 0;
}

.faq-item:first-of-type {
  border-top: 1px solid #eee2d9;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #8f2f2f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  user-select: none;
}

/* Hide default marker in all browsers */
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: #8f2f2f;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 4px 14px;
  color: #3e2b24;
  margin: 0;
}

/* Remove old flat-article FAQ spacing that no longer applies */
.oeno-faq article + article,
.amis-faq article + article {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* --- 6. Events month-bar navigation ------------------------- */
.events-month-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.events-month-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #c9a898;
  background: #fff;
  color: #5c1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: capitalize;
  transition: background 0.18s ease, color 0.18s ease;
}

.events-month-pill:hover {
  background: #8f2f2f;
  border-color: #8f2f2f;
  color: #fff;
  text-decoration: none;
}

/* --- 7. Home cards with images — modifier class ------------ */
.home-card--with-image {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.home-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.home-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-card-body .home-primary-cta {
  align-self: flex-start;
}

.home-card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-card-bottom .home-card-price {
  margin-bottom: 0 !important;
}

/* Friends (engagement) formula cards */
.home-friends-card {
  background: #fff;
  border: 1px solid #e5d6ca;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(62, 38, 22, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-friends-card-header {
  background: #7d2a2a;
  color: #fff;
  padding: 14px 16px;
  text-align: center;
}

.home-friends-card-header h4 {
  color: #fff !important;
  margin-bottom: 2px;
  font-size: 1.2rem !important;
}

.home-friends-card-header p {
  color: #f5dada;
  margin: 0;
  font-weight: 700;
}

.home-friends-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-friends-card-body ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  flex: 1;
}

.home-friends-card-body li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: #3e2b24;
}

.home-friends-card-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8f2f2f;
}

.home-friends-card-body .home-primary-cta {
  text-align: center;
  justify-content: center;
  width: 100%;
}

.home-friends-card.is-featured .home-friends-card-header {
  background: #1f1f1f;
}

/* --- 8. Text hierarchy: reduce body text in detail grids --- */
.oeno-detail-grid p,
.domaine-stats-grid p,
.domaine-elements-grid p,
.amis-grands-grid p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.oeno-detail-grid h3,
.domaine-stats-grid h3,
.domaine-elements-grid h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 4px;
}

/* --- 9. CTA consistency: all primary CTAs same color + shape - */
header .navbar-boutique-btn {
  background-color: #8f2f2f !important;
  border-color: #8f2f2f !important;
  border-radius: 10px !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

header .navbar-boutique-btn:hover {
  background-color: #6f2323 !important;
  border-color: #6f2323 !important;
  color: #fff !important;
}

.drawer-boutique-btn {
  background: #8f2f2f !important;
}

.drawer-boutique-btn:hover {
  background: #6f2323 !important;
}

.home-primary-cta {
  background: #8f2f2f !important;
  border-color: #8f2f2f !important;
}

.home-primary-cta:hover {
  background: #6f2323 !important;
  border-color: #6f2323 !important;
}

/* --- 10. Pricing cards: center the CTA at the bottom ------- */
.amis-formula-card {
  text-align: center;
}

.amis-formula-card ul {
  text-align: left;
}

/* --- 11. Vertically center content in tall sections --------- */
.amis-bottom-cta > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- 12. Mobile: month bar wraps nicely -------------------- */
@media (max-width: 575px) {
  .events-month-pill {
    font-size: 0.82rem;
    padding: 5px 10px;
  }

  .oenopage .oeno-hero .container,
  .amis-page .amis-hero .container {
    margin-right: auto;
    max-width: 100% !important;
  }

  .home-card-img {
    height: 160px;
  }
}

/* ============================================================
   Mobile burger menu + left drawer
   ============================================================ */

/* Burger button — hidden on desktop */
.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Backdrop overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.drawer-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Left drawer panel */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(300px, 82vw);
  background: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 20px 28px;
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* Close (×) button inside drawer */
.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #3e2b24;
  cursor: pointer;
  padding: 0 4px;
  margin-bottom: 12px;
}

.drawer-close:hover {
  color: #8f2f2f;
}

/* Logo inside drawer */
.drawer-logo {
  margin-bottom: 24px;
}

.drawer-logo img {
  height: 48px;
  width: auto;
}

/* Drawer nav links */
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-links li {
  border-bottom: 1px solid #f0e8df;
}

.drawer-links a {
  display: block;
  padding: 13px 6px;
  font-family: "Signika", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.drawer-links a:hover {
  color: #8f2f2f;
  text-decoration: none;
}

.drawer-links a[aria-current="page"] {
  color: #8f2f2f;
  font-weight: 700;
}

/* Boutique CTA at bottom of drawer */
.drawer-boutique-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 18px;
  background: #c00820;
  color: #fff !important;
  border-radius: 10px;
  font-family: "Signika", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.drawer-boutique-btn:hover {
  background: #8f2f2f;
  text-decoration: none;
  color: #fff;
}

/* Show burger, hide desktop nav on mobile */
@media (max-width: 991px) {
  .navbar-burger {
    display: flex;
  }

  header .navbar-links,
  header .navbar-boutique-btn {
    display: none !important;
  }
}

/* On large screens, never show the drawer */
@media (min-width: 992px) {
  .mobile-drawer,
  .drawer-overlay,
  .navbar-burger {
    display: none !important;
  }
}

/* ---- Contact page ---- */
.contact-page .contact-form {
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-page .contact-form .contact-form-content-text {
  width: 34%;
}

.contact-page .contact-form-container {
  width: calc(66% - 40px);
}

.contact-page .contact-form-content-text a {
  color: #8f2f2f;
  font-weight: 600;
}

.contact-page .success-message {
  background: #f1f7ee;
  border: 1px solid #c7e0bd;
  border-radius: 10px;
  padding: 18px 20px;
}

.contact-page .invalid-feedback {
  display: block;
  color: #b00020;
  font-size: 13px;
  margin: -6px 0 8px;
}

.contact-page .form-control.is-invalid {
  border-color: #b00020;
}

@media (max-width: 991px) {
  .contact-page .contact-form .contact-form-content-text,
  .contact-page .contact-form-container {
    width: 100%;
  }
}

/* footer newsletter status message */
.footer-newsletter-card small.newsletter-msg {
  font-weight: 600;
}

/* 7 menu items: tighten spacing when the menu sits on its own row (tablet / small laptop) so it stays on one line */
@media (min-width: 992px) and (max-width: 1399px) {
  header .navbar-links {
    gap: 14px;
  }

  header .navbar-links a {
    font-size: 17px;
  }
}
