/* ===== CSS RESET & NORMALIZE (Mobile-first, wide browser support) ===== */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F8F9FA;
  color: #23313A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #004C6D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0B429;
}
ul, ol {
  margin-left: 24px;
  margin-top: 12px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid #e0e4e8;
  font-size: 16px;
}
th {
  background: #f4f7fa;
  font-weight: 600;
  color: #183146;
}
tr:last-child td {
  border-bottom: none;
}

/* ========== VARIABLES ========== */
:root {
  --brand-primary: #004C6D;
  --brand-accent: #F0B429;
  --brand-bg: #F8F9FA;
  --brand-text: #23313A;
  --brand-secondary: #e4e8eb;
  --shadow-card: 0 2px 16px 0 rgba(50,72,84,0.08);
  --radius-card: 18px;
  --radius-btn: 24px;
  --header-height: 74px;
  --transition-fast: 0.18s cubic-bezier(.52,0,.43,1);
}

/* ========== TYPOGRAPHY & HIERARCHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #183146;
  letter-spacing: 0.007em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  margin-top: 32px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  margin-top: 22px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: #263646;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

/* ========== LAYOUT & CONTAINERS ========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0px 2px 12px 0 rgba(50, 72, 84, 0.06);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 1px solid #e4e8eb;
  width: 100%;
  position: sticky;
  top: 0;  
  z-index: 100;
  box-shadow: 0 1px 8px 0 rgba(36, 57, 71, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #004C6D;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
header nav a:hover,
header nav a:focus {
  background: #F8F9FA;
  color: #F0B429;
}
header a.btn-primary {
  margin-left: 20px;
}

/* ---- Mobile Burger + Mobile Menu ---- */
.mobile-menu-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  font-size: 2.1rem;
  padding: 4px 10px;
  margin-left: auto;
  color: #004C6D;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.14s;
  z-index: 150;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F8F9FA;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(240,249,252,0.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.26s cubic-bezier(.65,0,.27,1);
  z-index: 200;
  padding: 24px 32px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  margin-bottom: 16px;
  color: #004C6D;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 201;
}
.mobile-menu-close:hover {
  color: #F0B429;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #004C6D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #e3e8ee;
  transition: color var(--transition-fast);
  border-radius: 0;
  display: block;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #F0B429;
  background: none;
}

/* Desktop nav & mobile adjustments */
@media (max-width: 1024px) {
  header .container nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 13px 32px;
  font-size: 1.13rem;
  border: none;
  box-shadow: 0 3px 10px 0 rgba(0,33,51,0.04);
  cursor: pointer;
  outline: none;
  transition: background 0.21s, transform 0.15s;
  letter-spacing: .03em;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
  position: relative;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #186892;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.btn-primary:active {
  background: #06314e;
}
.btn-secondary {
  background: #F8F9FA;
  color: #004C6D;
  border: 1px solid #d7dee5;
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #e4e8eb;
  color: #183146;
}
.btn-accent {
  background: var(--brand-accent);
  color: #183146;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  border: none;
  box-shadow: 0 2px 8px rgba(255,201,42,0.09);
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.btn-accent:hover,
.btn-accent:focus {
  background: #ffd564;
  color: #004C6D;
}

/* ========== HERO, FEATURES, CARDS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0;
}
.feature-grid > div {
  background: #F8F9FA;
  border-radius: var(--radius-card);
  padding: 28px 18px 24px;
  box-shadow: var(--shadow-card);
  flex: 1 1 207px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 22px 0 rgba(50,72,84,0.15);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px 24px;
  min-width: 220px;
  flex: 1 1 240px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F9FA;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 10px 0 rgba(0,76,109,0.06);
  margin-bottom: 20px;
  margin-top: 18px;
  flex: 1 1 320px;
  max-width: 510px;
  color: #183146;
}
.testimonial-card p {
  font-style: italic;
  color: #16344a;
  font-size: 1.07rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-size: 1rem;
  color: #004C6D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* ========== SPECIAL ELEMENTS ========== */
.promo-highlight {
  background: #FFFAEA;
  color: #C09311;
  border-left: 5px solid #F0B429;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08em;
  margin-top: 10px;
}

.itinerary-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.itinerary-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.itinerary-card:hover {
  box-shadow: 0 6px 26px 0 rgba(0,76,109,0.13);
}

/* ========== FOOTER ========== */
footer {
  background: #fff;
  border-top: 1px solid #e4e8eb;
  box-shadow: 0 -2px 8px 0 rgba(50,72,84,0.05);
  margin-top: 60px;
}
footer .container {
  padding-top: 38px;
  padding-bottom: 26px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #183146;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.88;
  transition: color 0.15s, opacity 0.1s;
}
footer nav a:hover {
  color: #F0B429;
  opacity: 1;
}
footer img[alt^="Vélo"] {
  height: 54px;
  width: auto;
  margin-bottom: 10px;
}
footer div span {
  font-size: 15px;
  color: #7B8794;
  opacity: .8;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav {
    flex-direction: row;
    gap: 13px;
    flex-wrap: wrap;
  }
}

/* ========== SECTION & CARD SPACING (MANDATORY) ========== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 34px;
  }
  h1 {
    font-size: 1.55rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 18px;
  }
  .feature-grid {
    gap: 14px;
    flex-direction: column;
  }
  .card-container, .itinerary-card-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe2;
  border-top: 1.5px solid #f0b429;
  box-shadow: 0 -2px 24px rgba(240,180,41,0.09);
  padding: 22px 16px;
  width: 100vw;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transition: transform 0.23s ease;
  transform: translateY(0);
}
#cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
  opacity: 0;
}
#cookie-banner p {
  font-size: 1rem;
  color: #664504;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
#cookie-banner .btn-primary {
  background: #004C6D;
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 10px 27px;
  font-size: 1rem;
}
#cookie-banner .btn-primary:hover { background: #186892; }

#cookie-banner .btn-secondary {
  border: 1px solid #bc9e16;
  color: #C09311;
  font-weight: bold;
  background: #fffbe2;
  border-radius: var(--radius-btn);
  transition: background 0.13s, color 0.13s;
}
#cookie-banner .btn-secondary:hover { background: #f0e0b7; color: #ad850e; }

#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 1001;
  background: rgba(25,36,47,0.35);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.16s;
}
#cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal {
  background: #fffbe2;
  border-radius: 20px;
  box-shadow: 0 6px 40px 0 rgba(240,180,41,0.14);
  max-width: 380px;
  width: 90vw;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  align-items: flex-start;
  animation: popup-bounce 0.32s cubic-bezier(.3,1.65,.58,1) both;
}
@keyframes popup-bounce {
  0% { transform: scale(.77) translateY(60px); opacity: 0; }
  90% { transform: scale(1.07) translateY(-8px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #C09311;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
#cookie-modal label, #cookie-modal span {
  font-size: 1rem;
  color: #2d3d4f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#cookie-modal .cookie-category {
  margin-bottom: 13px;
}
#cookie-modal input[type=checkbox] {
  accent-color: #F0B429;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
#cookie-modal .btn-group {
  margin-top: 12px;
  display: flex; gap: 12px;
}
#cookie-modal .btn-primary {
  background: #004C6D;
  color: #fff;
}
#cookie-modal .btn-secondary {
  border: 1px solid #C09311;
  color: #C09311;
  background: #fffbe2;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.24rem;
  color: #C09311;
  font-weight: bold;
  cursor: pointer;
  transition: color .13s;
}
#cookie-modal .modal-close:hover {
  color: #ad850e;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.float-right { float: right; }
.flex-wrap { flex-wrap: wrap; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }

/* =============================================== */
/*              SCANDINAVIAN CLEAN                 */
/* =============================================== */
.section, .card, .feature-grid > div, .itinerary-card, .testimonial-card {
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px 0 rgba(48, 82, 102, 0.08);
}
.section, .card, .itinerary-card {
  background: #fff;
}
.feature-grid > div, .testimonial-card {
  background: #F8F9FA;
}
.btn-primary, .btn-accent {
  box-shadow: 0 3px 10px 0 rgba(0,28,56,0.07);
}

/* ========== TRANSITIONS & MICRO-INTERACTIONS ========== */
.card, .section, .btn-primary, .btn-accent, .feature-grid > div, .itinerary-card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .itinerary-card:hover {
  box-shadow: 0 6px 22px 0 rgba(0,76,109,0.11);
  transform: translateY(-3px) scale(1.015);
}
.btn-primary:active, .btn-accent:active { transform: scale(0.98); }

a:focus {
  outline: 2px solid #F0B429;
  outline-offset: 2px;
}

/* ========== SCROLLBAR (Native Color) ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #F8F9FA;
}
::-webkit-scrollbar-thumb {
  background: #e4e8eb;
  border-radius: 6px;
}

/* Hide from PDF print */
@media print {
  header, footer, #cookie-banner, #cookie-modal-overlay {
    display: none !important;
  }
}