/* ===============================
   🎨 Globals variables
================================= */
:root {
  /* Couleurs */
  --color-primary: #C65B4B;
  --color-secondary: #FBEDE6;
  --color-accent: #8B3A2C;
  --color-bg: #FFF8F6;
  --color-text: #3F3F3F;

  /* Typo */
  --font-title: 'Playfair Display', serif;
  --font-body: 'Quicksand', sans-serif;

  /* Divers */
  --radius: 16px;
  --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===============================
   🌐 Reset + Base
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* ===============================
   Page structure
================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   Title & Typo
================================= */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

/* ===============================
   Link & Buttons
================================= */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

button, .btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* ===============================
  MARKETS SECTION
================================= */

.opd-markets {
    padding: 40px 20px;
    text-align: center;
}

.opd-markets__title {
    font-size: 2rem;
    margin: 10px 20px 30px 20px !important;
}

.opd-markets__wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.opd-market {
    width: 100%;
}

.opd-market__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.opd-market__content {
    margin-top: 20px;
}

.opd-market__name {
    font-size: 2rem;
    margin: 10px 0 5px;
    font-weight: 600;
}

.opd-market__schedule {
    margin-bottom: 20px;
    font-size: 1.5rem;
    opacity: 0.8;
}

.opd-market__button {
    display: inline-block;
    padding: 12px 24px;
    background: #d36450; /* à adapter à ta palette */
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.opd-market__button:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ===============================
   SECTION CONTACT
================================= */

.opd-contact {
    padding: 80px 20px;
    text-align: center;
    background: #f8f3f0; /* À ajuster selon ta palette */
}

.opd-contact__inner {
    max-width: 700px;
    margin: 0 auto;
}

.opd-contact__title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.opd-contact__text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #555;
}

.opd-contact__button {
    display: inline-block;
    padding: 15px 35px;
    background: #d36450; /* Couleur bouton */
    color: #fff;
    font-size: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.opd-contact__button:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ============================
   COOKIE BANNER — MOBILE FIRST
   ============================ */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%, 10px);
    width: 92%;
    max-width: 480px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;

    background: #fff7f5;
    border: 1px solid #e7c1bc;
    border-radius: 12px;

    padding: 18px 22px;
    color: #8b4c47;
    font-size: 0.9rem;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    display: none; 
    z-index: 99999;
}

.cookie-banner.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.cookie-btn.accept {
    background-color: var(--color-primary);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--color-accent);
}

.cookie-btn.refuse {
    background-color: var(--color-primary);
    color: white;
}

.cookie-btn.refuse:hover {
    background-color: var(--color-accent);
}
