/* RESET & BASE ============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #242E38;
  background: #F4F4F4;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #242E38;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C69E53;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 0.35em;
}
strong, b {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1px solid #d7d9dd;
  margin: 32px 0;
}

/* TYPOGRAPHY ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  color: #242E38;
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
  color: #33404f;
  font-size: 1.0625rem;
}
blockquote {
  font-style: italic;
  padding-left: 16px;
  border-left: 4px solid #C69E53;
  background: #f7f7fa;
  margin-bottom: 8px;
  color: #1a1a1a;
}

/* CONTAINER & LAYOUT ======================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* MAIN SPACING & FLEXBOX =================== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px 0 rgba(36,46,56,0.07);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #F4F4F4;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(36,46,56,0.05);
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 340px;
  padding: 30px 26px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(36,46,56,0.11);
  transform: translateY(-2px) scale(1.02);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px 0 rgba(36,46,56,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 350px;
  padding: 24px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* NEWS LIST (ACTUALITES) =================== */
.news-list {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.news-list .text-section {
  background: #F4F4F4;
  border-radius: 10px;
  min-width: 220px;
  flex: 1 1 300px;
  max-width: 340px;
  box-shadow: 0 2px 8px 0 rgba(36,46,56,0.03);
  padding: 22px 20px 20px;
  margin-bottom: 20px;
}

/* FEATURE ITEM (MANDATORY PATTERN) ========= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIAL CARD ========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
  background: #F4F4F4;
  border-radius: 11px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(36,46,56,0.08);
  color: #191B1E;
  font-size: 1.05rem;
}
.testimonial-card blockquote {
  background: none;
  padding-left: 0;
  border-left: none;
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #1a1a1a;
}
.testimonial-card div {
  padding-left: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #242E38;
  font-size: 0.96rem;
  font-style: normal;
}

/* BUTTONS / CTA ============================ */
.cta-btn, .main-nav a.cta-btn, .text-section a.cta-btn, .footer-nav a.cta-btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 29px;
  font-weight: 700;
  font-size: 1.09rem;
  background: #242E38;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(36,46,56,0.08);
  transition: background 0.17s, transform 0.18s, box-shadow 0.15s;
  cursor: pointer;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C69E53;
  color: #242E38;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(198,158,83,0.13);
  outline: none;
}

/* HEADER & NAV =============== */
header {
  background: #fff;
  border-bottom: 1px solid #e7eaee;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 80px;
  position: relative;
}
header .container > a img {
  height: 54px;
}
.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
  margin-left: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #242E38;
  font-weight: 500;
  padding: 7px 12px;
  background: none;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #C69E53;
  color: #fff;
}
header .cta-btn {
  margin-left: 16px;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  background: #242E38;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s, color 0.18s;
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C69E53;
  color: #242E38;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #242E38;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.58,0.11,0.66,1.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  z-index: 1100;
  box-shadow: 0 4px 36px 0 rgba(36,46,56,0.24);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  padding: 16px 22px 10px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C69E53;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 24px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
  padding: 11px 0;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  width: fit-content;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C69E53;
  color: #242E38;
}

/* MOBILE NAV VISIBILITY */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO =========================== */
section:first-child {
  background: #EAEFF3;
  box-shadow: 0 2px 14px 0 rgba(36,46,56,0.06);
  border-radius: 0 0 14px 14px;
  margin-bottom: 44px;
  padding-top: 68px;
}

/* FOOTER ========================= */
footer {
  background: #242E38;
  color: #fff;
  padding: 52px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.footer-branding img {
  height: 44px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #C69E53;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  padding: 7px 11px;
  border-radius: 5px;
  transition: background 0.16s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #C69E53;
  color: #242E38;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #F4F4F4;
  line-height: 1.65;
}
.footer-contact img {
  height: 1.14em;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 12px 0 10px 0;
}
.footer-social img {
  height: 31px;
  width: 31px;
  opacity: 0.86;
  filter: grayscale(14%);
  transition: opacity 0.14s, filter 0.15s;
  cursor: pointer;
}
.footer-social img:hover {
  opacity: 1.0;
  filter: none;
}
.footer-copy {
  color: #c2c8d1;
  font-size: 0.96rem;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

/* COOKIE BANNER ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #242E38;
  box-shadow: 0 -4px 22px 0 rgba(36,46,56,0.09);
  border-top: 2px solid #C69E53;
  z-index: 2002;
  padding: 24px 20px 28px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  animation: cookie-slide-in 0.5s cubic-bezier(.53,.12,.49,.92);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1.03rem;
  color: #242E38;
  font-family: 'Montserrat', Arial, sans-serif;
  flex: 1 1 240px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  font-weight: 700;
  background: #242E38;
  color: #fff;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C69E53;
  color: #242E38;
  outline: none;
}
.cookie-btn.secondary {
  background: #fff;
  color: #242E38;
  border: 2px solid #C69E53;
  font-weight: 600;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #C69E53;
  color: #fff;
}

/* Cookie Preferences Modal ============ */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,46,56,0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  transition: opacity 0.27s;
  animation: cookie-fadein 0.28s;
}
@keyframes cookie-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 40px rgba(36,46,56,0.18);
  padding: 36px 28px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  margin-bottom: 9px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 11px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #C69E53;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover {
  color: #242E38;
}

/* Utility: Switch (for cookie toggles) ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.switch input {
  opacity: 0; width: 0; height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #c5cad2;
  border-radius: 100px;
  transition: background 0.19s;
}
.slider:before {
  position: absolute;
  content: '';
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.22s;
  box-shadow: 0 1px 4px rgba(36,46,56,0.11);
}
.switch input:checked + .slider {
  background: #C69E53;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* FORM ELEMENTS ============================ */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #ced3dc;
  margin-bottom: 18px;
  background: #fff;
  color: #242E38;
  width: 100%;
  transition: border 0.17s, box-shadow 0.16s;
}
input:focus, textarea:focus {
  border-color: #C69E53;
  box-shadow: 0 1px 6px 0 #C69E5366;
  outline: none;
}
button:disabled, .cta-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ICONS ============================== */
img[alt*="icon-"], img[src*="icon-"] {
  height: 32px;
  width: 32px;
  margin-bottom: 5px;
}

/* LISTS ============================== */
ul, ol {
  padding-left: 26px;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 0.44em;
}
.text-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.text-section ul img {
  height: 22px;
  margin-top: 3px;
}

/* MEDIA QUERIES ============================ */
@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
  .features-grid > div {
    min-width: 170px;
    padding: 20px 11px 16px;
  }
  .news-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding: 0 6px;
  }
  section, .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.375rem;
  }
  .features-grid, .card-container, .news-list {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .news-list .text-section {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    font-size: 1.01rem;
    padding: 18px 7px;
  }
  .card {
    padding: 19px 8px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  header .container {
    min-height: 60px;
    gap: 10px;
  }
  .footer-branding img {
    height: 33px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
  .footer-social {
    gap: 9px;
  }
  .footer-nav {
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 11px;
    padding: 16px 10px 19px 10px;
  }
}

/* PRINT (Hide nav/footers) ================ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; }
}

/* ANIMATIONS & MICRO-INTERACTIONS ======= */
.cta-btn, .cookie-btn {
  will-change: transform;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}
.features-grid > div:active {
  transform: scale(0.98);
}

/* ADDITIONAL: OL List (Auctions/Parcours) == */
ol {
  padding-left: 32px;
  margin-bottom: 24px;
}
ol li {
  position: relative;
  margin-bottom: 1em;
  padding-left: 0;
  line-height: 1.6;
  font-size: 1.08rem;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
ol li img {
  height: 23px;
  margin-top: 2px;
}

/* Responsive utility classes (if needed) === */
.hide-desktop {
  display: none;
}
@media (max-width: 1020px) {
  .hide-desktop {
    display: block;
  }
}
.hide-mobile {
  display: block;
}
@media (max-width: 1020px) {
  .hide-mobile {
    display: none;
  }
}
