/* ================== 
   CSS RESET & NORMALIZE
   ================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FAF7F2;
  color: #435968;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
section {
  width: 100%;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #435968;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E1AD88;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

/* ==============
   BRAND FONTS
   ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #435968;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, li, blockquote {
  font-size: 1.1rem;
}
blockquote {
  font-style: italic;
  color: #435968;
  border-left: 4px solid #E1AD88;
  padding-left: 16px;
  margin-bottom: 10px;
}

/* ====================
   LAYOUT PATTERNS
   ==================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(67, 89, 104, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(225, 173, 136, 0.07);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 250px;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF7F1;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(225, 173, 136, 0.11);
  margin-bottom: 20px;
  color: #435968;
  flex-direction: row;
}
.testimonial-card blockquote {
  border-left: 3px solid #E1AD88;
  padding-left: 18px;
  color: #435968;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #835454;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(225, 173, 136, 0.08);
  padding: 24px 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.feature-item:hover {
  box-shadow: 0 5px 22px rgba(225,173,136,0.16);
  transform: translateY(-2px) scale(1.025);
}
.feature-item img {
  width: 38px;
  height: 38px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===================
   NAVIGATION BAR
   =================== */
header {
  background: #fff;
  box-shadow: 0 4px 14px rgba(225,173,136,0.07);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  height: 48px;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 8px 10px;
  border-radius: 8px;
  background: none;
  color: #435968;
  font-weight: 500;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E1AD88;
  color: #fff;
}
.cta-nav {
  background: #E1AD88 !important;
  color: #fff !important;
  font-weight: bold;
  padding: 10px 22px !important;
  border-radius: 24px !important;
  box-shadow: 0 3px 18px 0 rgba(225,173,136,0.10);
  transition: background 0.18s, box-shadow 0.20s;
}
.cta-nav:hover, .cta-nav:focus {
  background: #D49768 !important;
  color: #fff;
  box-shadow: 0 6px 32px #e1ad885f;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #E1AD88;
  border-radius: 10px;
  font-size: 2rem;
  padding: 4px 10px;
  color: #E1AD88;
  transition: background 0.18s, color 0.18s;
  z-index: 500;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FAF7F2;
  color: #A4703D;
  outline: none;
}

/* ===================
   MOBILE MENU SIDEBAR
   =================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.55,.02,.52,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 6px 44px rgba(225,173,136,0.13);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FAF7F2;
  border: 2px solid #E1AD88;
  border-radius: 12px;
  font-size: 2rem;
  color: #E1AD88;
  padding: 4px 12px;
  margin: 18px 18px 0 0;
  z-index: 10999;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E1AD88;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 34px 38px;
}
.mobile-nav a {
  padding: 16px 0;
  font-size: 1.24rem;
  color: #435968;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.17s;
  background: none;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E1AD88;
  color: #fff;
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
   HERO SECTION
   =================== */
.hero {
  background: linear-gradient(90deg, #FFF7F1 60%, #E1AD88 110%);
  padding: 56px 0 40px 0;
  border-radius: 0 0 36px 36px;
  margin-bottom: 54px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  max-width: 720px;
  gap: 22px;
}
.hero h1 {
  font-weight: 700;
  font-size: 2.75rem;
  color: #435968;
}
.hero .subheadline {
  font-size: 1.22rem;
  color: #7f551e;
  margin-bottom: 14px;
}

/* CTA BUTTONS */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E1AD88;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 13px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(225, 173, 136, 0.16);
  cursor: pointer;
  display: inline-block;
  transition: background 0.16s, box-shadow 0.22s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D49768;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 #e1ad885f;
  outline: none;
}

/* ============
   FOOTER
   ============ */
footer {
  background: #fff;
  color: #435968;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 12px rgba(67,89,104,0.03);
  width: 100%;
  margin-top: 60px;
  padding-top: 22px;
  padding-bottom: 12px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 6px;
}
.footer-navigation a {
  color: #435968;
  font-size: 0.98rem;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.14s, color 0.16s;
}
.footer-navigation a:hover {
  color: #fff;
  background: #E1AD88;
}
.brand-tagline {
  font-size: 1.1rem;
  color: #E1AD88;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  margin-top: 3px;
}

/* ============================
   PAGE SECTIONS, CARDS & UL/LI
   ============================ */
ul, ol {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 14px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 11px;
  color: #435968;
  font-size: 1.08rem;
  padding-left: 12px;
}
ul li::before {
  content: '\2022';
  color: #E1AD88;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* =========================
   CONTACT & ICON TEXT
   ========================= */
.contact .text-section p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.contact .text-section img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 6px;
}
.contact .text-section a {
  display: inline-block;
  margin-top: 7px;
  background: #E1AD88;
  color: #fff;
  padding: 9px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.12rem;
  transition: background 0.14s;
}
.contact .text-section a:hover, .contact .text-section a:focus {
  background: #D49768;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #6b3a08;
  border-left: 4px solid #E1AD88;
  padding-left: 18px;
}
.testimonial-card .testimonial-meta {
  color: #8B6538;
  margin-top: 0;
  font-size: 1rem;
}

/* ===============
   COOKIE CONSENT
   =============== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #fff7f1;
  color: #435968;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 18px 24px;
  gap: 16px;
  box-shadow: 0 -2px 18px rgba(225,173,136,0.12);
  z-index: 99910;
  border-radius: 20px 20px 0 0;
  font-size: 1.05rem;
  transition: transform 0.33s cubic-bezier(.88,.08,.47,1.11);
}
.cookie-banner.hide {
  transform: translateY(200%);
  pointer-events: none;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(225, 173, 136, 0.12);
  margin-top: 0;
  transition: background 0.16s, color 0.13s;
}
.cookie-accept {
  background: #E1AD88;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #D49768;
}
.cookie-reject {
  background: #fff;
  color: #E1AD88;
  border: 1.5px solid #E1AD88;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #FFC387;
  color: #fff;
}
.cookie-settings {
  background: #fff7f1;
  color: #435968;
  border: 1.5px solid #E1AD88;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #FAE1CB;
  color: #435968;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(67, 89, 104, 0.12);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(67,89,104,0.14);
  padding: 36px 28px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  color: #E1AD88;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #E1AD88;
  width: 20px;
  height: 20px;
}
.cookie-modal label {
  color: #435968;
  font-weight: 500;
  font-family: 'Montserrat';
}
.cookie-modal .cookie-category.essential {
  opacity: 0.7;
}
.cookie-modal .cookie-category.essential label:after {
  content: ' (toujours activé)';
  color: #A18040;
  font-size: 0.97em;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 20px;
  padding: 9px 20px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  color: #E1AD88;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FAF1EA;
  color: #B48442;
}

/* ============
   RESPONSIVE!  
   ============ */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-item {
    max-width: 240px;
    padding: 18px 13px;
  }
  .content-wrapper, .section {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
    border-radius: 13px;
  }
  .footer-navigation {
    gap: 11px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 6px;
  }
  .hero {
    padding: 38px 0 28px 0;
    border-radius: 0 0 22px 22px;
    margin-bottom: 38px;
  }
  .brand-tagline {
    font-size: 1rem;
    text-align: center;
  }
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 4px !important;
  }
  .section {
    padding: 17px 3px;
  }
  .footer-navigation {
    font-size: 0.95rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 14px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
  }
}

/* ===============
   MICROEFFECTS
   =============== */
input, textarea, select {
  border-radius: 11px;
  border: 1.5px solid #E1AD88;
  padding: 10px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  background: #fff;
  transition: border 0.14s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 #E1AD88;
}
input:focus, textarea:focus, select:focus {
  border-color: #D49768;
  outline: none;
  box-shadow: 0 0 0 2px #FAE1CB;
}

::-webkit-input-placeholder { color: #B48442; opacity: 0.9; }
::-moz-placeholder { color: #B48442; opacity: 0.9; }
:-ms-input-placeholder { color: #B48442; opacity: 0.9; }
::placeholder { color: #B48442; opacity: 0.9; }

/* ================
   ANIMATIONS
   ================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .card, .feature-item, .testimonial-card {
  animation: fadeInUp .8s cubic-bezier(.23,1,.32,1) both;
}

@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(225,173,136,0.15); }
  65% { box-shadow: 0 0 0 8px rgba(225,173,136,0.08); }
  100% { box-shadow: 0 0 0 0 rgba(225,173,136,0.0); }
}
.cta-btn:hover {
  animation: buttonPulse 1s;
}

/* ================
   PRINT OVERRIDE
   ================ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { margin: 0; }
}
