/* RESET & BASE -------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #173049;
  background-color: #F6F4EC;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #173049;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B79C81;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
p {
  margin-bottom: 1.2em;
  font-size: 1.063rem;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: #173049;
  background: #F6F4EC;
  border-left: 4px solid #B79C81;
  padding: 1em 1.5em;
  margin-bottom: 1em;
}
hr {
  border: none;
  border-top: 1px solid #E9E6DD;
  margin: 2em 0;
}

/* LAYOUT ---------------------------------------------------- */
.container, .content-wrapper {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  padding: 0 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(23, 48, 73, 0.08);
  overflow: hidden;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(23,48,73,0.16);
}

.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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(23, 48, 73, 0.06);
}
.testimonial-card blockquote {
  color: #173049;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  line-height: 1.5;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
.testimonial-card p {
  font-size: 1rem;
  margin: 0 0 0.5em 0;
}
.testimonial-card span {
  color: #B79C81;
  letter-spacing: 0.1em;
  font-size: 1.25rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23, 48, 73, 0.06);
  padding: 20px 18px;
  margin-bottom: 20px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23, 48, 73, 0.06);
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature img {
  width: 40px;
  height: 40px;
}

/* HERO ------------------------------------------------------ */
.hero {
  background: #F6F4EC;
  padding: 70px 0 48px 0;
  text-align: center;
}
.hero .content-wrapper {
  align-items: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #173049;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero .subheadline {
  font-size: 1.19rem;
  color: #7E705F;
  margin-bottom: 30px;
}

/* CTA HIGHLIGHT --------------------------------------------- */
.cta-highlight {
  background: #173049;
  color: #fff;
  text-align: center;
  padding: 48px 0;
}
.cta-highlight h2 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
}
.cta-highlight .btn-primary {
  margin-top: 14px;
}

/* HEADER & NAVIGATION --------------------------------------- */
header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 8px rgba(23,48,73,0.04);
  min-height: 68px;
}
header > a img {
  height: 40px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #173049;
  font-weight: 500;
  padding: 8px 3px;
  border-radius: 2px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
nav a.active, nav a:focus, nav a:hover {
  color: #B79C81;
}

/* MOBILE NAVIGATION -------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #173049;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 12px;
  margin-left: 18px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E9E6DD;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 82vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(23,48,73,0.13);
  z-index: 1001;
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1), left 0s 0.33s;
  padding: 30px 20px 24px 22px;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(0);
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1), left 0s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #173049;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #B79C81;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #173049;
  font-weight: 500;
  font-size: 1.14rem;
  padding: 8px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #B79C81;
  background: #EEE9DE;
}

/* Hide navigation normally on mobile, show burger */
@media (max-width: 1050px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN TYPOGRAPHY & HEADINGS ----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #173049;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.16;
}
h1 {
  font-size: 2.25rem;
  margin-top: 0;
}
h2 {
  font-size: 1.45rem;
  color: #173049;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  color: #B79C81;
  margin-top: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* BUTTONS ----------------------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 rgba(183,156,129,0.04);
  margin-top: 10px;
}
.btn-primary {
  background: #173049;
  color: #fff;
  border: 1px solid #173049;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B79C81;
  border-color: #B79C81;
  color: #173049;
  box-shadow: 0 6px 18px 0 rgba(183,156,129,0.12);
}
.btn-secondary {
  background: transparent;
  color: #173049;
  border: 1.5px solid #173049;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #173049;
  color: #fff;
}

/* FOOTER ------------------------------------------------------ */
footer {
  background: #f6f4ec;
  border-top: 1px solid #E9E6DD;
  padding: 48px 0 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.01rem;
  margin-top: 64px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-branding img {
  height: 40px;
  margin-bottom: 6px;
}
.footer-branding p {
  color: #7E705F;
  font-size: 1rem;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #173049;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B79C81;
}
.footer-contact {
  color: #7E705F;
  font-size: 1em;
  line-height: 1.5;
}
.footer-contact a {
  color: #173049;
  font-weight: bold;
}

/* NEWS FEED / CARD FEED (Actualités) ----------------------------- */
.news-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.news-card {
  flex: 1 1 320px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(23,48,73,0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-card h2 {
  font-size: 1.18rem;
  font-weight: bold;
  color: #173049;
  margin-bottom: 6px;
}
.news-card p {
  font-size: 1rem;
  color: #444;
}

/* LISTS, DL/DT/DD, FAQ & PROCESS --------------------------------- */
dt {
  font-weight: 600;
  margin-top: 1em;
  color: #173049;
}
dd {
  margin-left: 1.2em;
  color: #7E705F;
  margin-bottom: 1em;
}
ol, ul {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
.benefits ul, .process ol, .our-values ul, .expert-tips ul {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(23,48,73,0.05);
  padding: 18px 20px;
}

.contact-form-fields li {
  padding: 8px 0;
  margin-bottom: 5px;
  color: #173049;
  border-bottom: 1px solid #EEE9DE;
  list-style: none;
  font-weight: 500;
}
.contact-details ul {
  list-style: none;
  padding-left: 0;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #7E705F;
}
.contact-details ul li img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* TESTIMONIAL SLIDER ------------------------------------------- */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: center;
}

/* OLDER SECTION DEFAULT SPACING HANDLING ------------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* RESPONSIVE --------------------------------------------------- */
@media (max-width: 768px) {
  .container, .content-wrapper {
    max-width: 96vw;
    padding: 0 4vw;
  }
  header {
    flex-direction: row;
    padding: 8px 10px;
  }
  .features-grid, .news-feed, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .news-card, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .footer-branding, .footer-contact {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 12vw;
    font-size: 1rem;
  }
  section {
    padding: 26px 4vw;
  }
}

/* TRANSITIONS & MICRO-INTERACTIONS ----------------------------- */
.card, .feature, .testimonial-card, .news-card, .feature-item {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature:hover, .news-card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 6px 24px rgba(183,156,129,0.10);
  transform: translateY(-5px);
  z-index: 2;
}
.btn-primary, .btn-secondary {
  transition: background 0.22s, color 0.22s, box-shadow 0.20s;
}

/* COOKIE CONSENT BANNER ----------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #173049;
  box-shadow: 0 -6px 32px rgba(23,48,73,0.11);
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1101;
  transition: transform 0.36s cubic-bezier(0.62,0,0.38,1);
  font-size: 1rem;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner.visible {
  transform: translateY(0);
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn-group .btn-accept, .cookie-btn-group .btn-reject, .cookie-btn-group .btn-settings {
  background: #173049;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 9px 19px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn-group .btn-accept {
  background: #173049;
}
.cookie-btn-group .btn-accept:hover, .cookie-btn-group .btn-accept:focus {
  background: #B79C81;
  color: #173049;
}
.cookie-btn-group .btn-reject {
  background: #fff;
  color: #173049;
  border: 1.5px solid #173049;
}
.cookie-btn-group .btn-reject:hover, .cookie-btn-group .btn-reject:focus {
  background: #B79C81;
  color: #fff;
}
.cookie-btn-group .btn-settings {
  background: #B79C81;
  color: #fff;
}
.cookie-btn-group .btn-settings:hover, .cookie-btn-group .btn-settings:focus {
  background: #173049;
  color: #fff;
}

/* COOKIE MODAL ----------------------------------------------- */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,73,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 64px rgba(23,48,73,0.19);
  max-width: 380px;
  padding: 34px 28px 23px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  animation: popInModal 0.33s cubic-bezier(0.56,0,0.34,1);
}
@keyframes popInModal {
  from { transform: scale(0.96) translateY(30px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal .modal-content h2 {
  font-size: 1.3rem;
  color: #173049;
  margin-bottom: 12px;
}
.cookie-modal .modal-category {
  padding: 13px 0 11px 0;
  border-bottom: 1px solid #E9E6DD;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #173049;
}
.cookie-modal .modal-category:last-child {
  border-bottom: none;
}
.cookie-modal .category-toggle {
  width: 38px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.cookie-modal .category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E9E6DD;
  border-radius: 14px;
  transition: background 0.15s;
}
.cookie-modal .category-toggle input:checked + .toggle-slider {
  background: #B79C81;
}
.cookie-modal .toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 2px rgba(23,48,73,0.09);
}
.cookie-modal .category-toggle input:checked + .toggle-slider:before {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .btn-accept, .cookie-modal .btn-reject {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 18px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  font-size: 1.4rem;
  color: #173049;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #B79C81;
}

@media (max-width: 480px) {
  .cookie-modal .modal-content {
    max-width: 93vw;
    padding: 22px 8vw 17px 8vw;
  }
}

/* ACCESSIBILITY - FOCUS OUTLINE ------------------------------- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #B79C81;
  outline-offset: 2px;
}

/* PRINT FRIENDLY --------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  section, main {
    padding: 0 !important;
    margin: 0 !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* FONT IMPORTS ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');
