/* Artisane Valeur CSS – modern_bold, Flexbox Only, Responsive, Mobile Menu, Cookie Banner */
/* =========================
   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;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #204051;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #204051;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #F6C90E;
  outline: none;
}
ul {
  list-style: none;
}

/* =========================
   BASE LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 rgba(32, 64, 81, 0.05);
}

/* =========================
   TYPOGRAPHY – BOLD, MODERN
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #204051;
  font-weight: 800;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}
p, li, blockquote {
  font-size: 1rem;
  font-family: 'Open Sans', Arial,sans-serif;
  color: #2d3842;
}
blockquote {
  font-style: italic;
  color: #204051;
  border-left: 4px solid #F6C90E;
  background: #f6f6f6;
  padding: 16px 24px;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* Typography spacing */
h1, h2, h3, h4 {
  margin-top: 0.5em;
  margin-bottom: 0.4em;
}
p, ul, li {
  margin-bottom: 0.7em;
}

/* =========================
   HEADER, NAVIGATION
   ========================= */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(32,64,81,0.09);
  border-bottom: 4px solid #F6C90E;
  position: relative;
  z-index: 32;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}
header img[alt="Artisane Valeur"] {
  height: 48px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
  text-transform: uppercase;
  color: #204051;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  color: #F6C90E;
  border-color: #F6C90E;
}
.cta-primary {
  background: #F6C90E;
  color: #204051 !important;
  padding: 10px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px 0 rgba(32,64,81,0.07);
  border: none;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #204051;
  color: #fff !important;
  transform: scale(1.045);
  box-shadow: 0 6px 18px 0 rgba(246,201,14,0.11);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #204051;
  cursor: pointer;
  z-index: 201;
  padding: 6px 10px;
  margin-left: 18px;
  border-radius: 9px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F6C90E;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 370px;
  height: 100vh;
  background: #204051;
  color: #fff;
  box-shadow: -6px 0 20px 0 rgba(32,64,81,0.30);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8, .22, .34, 1);
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F6C90E;
  color: #204051;
  border: none;
  font-size: 2.1rem;
  font-weight: bold;
  margin: 18px 24px 0 0;
  padding: 6px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  z-index: 220;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: #204051;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0 0;
  padding: 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.13s, border-color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6C90E;
  border-color: #F6C90E;
}
@media (max-width: 1024px) {
  nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
  nav {
    gap: 10px;
  }
}

@media (max-width: 880px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  .mobile-menu {
    max-width: 100vw;
    padding: 0;
  }
  .mobile-nav {
    padding: 0 20px;
  }
}

/* =========================
   HERO BLOCK
   ========================= */
.hero {
  background: linear-gradient(130deg, #F6C90E 64%, #FFFFFF 100%);
  display: flex;
  align-items: center;
  padding: 60px 0 40px 0;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 10px 40px 0 rgba(32,64,81,0.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero h1 {
  color: #204051;
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: #204051;
  font-weight: 600;
}
.hero .cta-primary {
  font-size: 1.2rem;
  box-shadow: 0 4px 22px 0 rgba(32,64,81,0.13);
}

/* =========================
   FLEX-LAYOUT CARDS & GRIDS
   ========================= */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(32,64,81,0.11);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  padding: 20px 28px 20px 20px;
  background: #fafbfb;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(32,64,81,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 520px;
  border-left: 6px solid #F6C90E;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card blockquote {
  background: transparent;
  color: #204051;
  font-size: 1.05rem;
  margin: 0 0 8px 0;
}
.testimonial-card p {
  color: #204051;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(246,201,14,0.13);
  transform: translateY(-3px) scale(1.03);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-group {
  background: #f6f6f6;
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(32,64,81,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Icons in list items */
ul li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* =========================
   MAP EMBED
   ========================= */
.map-embed {
  background: #f6f6f6;
  border-radius: 14px;
  padding: 18px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #204051;
  color: #fff;
  padding: 36px 0 0 0;
  border-top: 5px solid #F6C90E;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid #25506b;
}
footer img[alt="Artisane Valeur"] {
  height: 44px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #F6C90E;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-bottom: none;
  padding: 2px 0;
  margin-left: 0;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
footer .contact-short {
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
footer .contact-short img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  margin-bottom: -4px;
  vertical-align: middle;
  display: inline-block;
}

/* =========================
   SOCIAL SHARE
   ========================= */
.social-share {
  margin: 12px 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-share a img {
  width: 30px;
  height: 30px;
  transition: transform 0.16s;
}
.social-share a:hover img {
  transform: scale(1.17) rotate(-6deg);
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 940px;
  }
  .content-wrapper {
    gap: 20px;
  }
  footer .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 850px) {
  .hero {
    padding-top: 32px;
    border-radius: 0 0 28px 28px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .hero {
    padding: 28px 0 18px 0;
    border-radius: 0 0 14px 14px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .testimonial-card, .card {
    padding: 14px 11px;
    border-radius: 12px;
    font-size: 0.97rem;
  }
  .content-wrapper, footer .content-wrapper {
    gap: 10px;
  }
  .feature-item, .faq-group {
    padding: 12px 8px;
    border-radius: 11px;
    font-size: 0.97rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .hero .container {
    padding: 0 4px;
  }
  .content-wrapper, footer .content-wrapper {
    gap: 4px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
  }
  .social-share a img {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 420px) {
  .hero {
    padding: 8px 0 8px 0;
    border-radius: 0 0 7px 7px;
  }
  .hero h1 {
    font-size: 1.08rem;
  }
  .cta-primary {
    padding: 8px 12px;
    font-size: 0.99rem;
  }
}

/* =========================
   BUTTONS & INTERACTIVES
   ========================= */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 10px 32px;
  background: #F6C90E;
  color: #204051;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.13s, box-shadow 0.13s;
  outline: none;
}
button:hover, button:focus {
  background: #204051;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(32,64,81,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* Non-CTA buttons */
button.secondary {
  background: #fff;
  color: #204051;
  border: 2px solid #204051;
}
button.secondary:hover, button.secondary:focus {
  background: #F6C90E;
  color: #204051;
  border-color: #F6C90E;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #204051;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 500;
  box-shadow: 0 -4px 20px 0 rgba(30,40,51,.11);
  padding: 18px 12px 12px 12px;
  gap: 24px;
  animation: slideUpBanner 0.6s cubic-bezier(.7, .21, .33, 1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-consent-banner .cookie-btn {
  background: #F6C90E;
  color: #204051;
  font-weight: 900;
  border-radius: 20px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #204051;
  border: 2px solid #F6C90E;
  font-weight: 700;
}
.cookie-consent-banner .cookie-btn:hover,
.cookie-consent-banner .cookie-btn:focus {
  background: #204051;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(246,201,14,0.23);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(32,64,81,0.45);
  z-index: 501;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBg 0.3s ease;
}
@keyframes fadeModalBg {
  0% {opacity:0;} 100%{opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: #204051;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(30,40,51,0.20);
  padding: 36px 28px 30px 28px;
  max-width: 430px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popIn 0.33s cubic-bezier(.7,.15,.34,1);
}
@keyframes popIn {
  0% {transform: scale(0.94) translateY(70px); opacity:0;}
  100% {transform:scale(1) translateY(0); opacity:1;}
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: #204051;
  border: 2px solid #F6C90E;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  z-index: 20;
}
.cookie-modal .modal-close-btn:hover,
.cookie-modal .modal-close-btn:focus {
  background: #F6C90E;
  color: #204051;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f6f6;
  border-radius: 12px;
  padding: 9px 16px;
  font-size: 1rem;
}
.cookie-option .label {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.cookie-option .toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-option input[type="checkbox"] {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #ddd;
  border-radius: 10px;
  outline: none;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}
.cookie-option input[type="checkbox"]:checked {
  background: #F6C90E;
}
.cookie-option input[type="checkbox"]:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 9px;
  transition: left .2s;
}
.cookie-option input[type="checkbox"]:checked:before {
  left: 17px;
}
.cookie-option input[disabled] {
  opacity: 0.65;
  background: #ccc;
  cursor: default;
}

/* =========================
   UTILS
   ========================= */
.gap-24 { gap: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }

/* =========================
   PRINT STYLES
   ========================= */
@media print{
  * { color: #000 !important; background: none !important; box-shadow: none !important; }
  nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}
