/* =====================
   VITALITÉ PLUS LONGE
   soft_pastel FLEX CSS
   ===================== */

/* === RESET & BASELINE === */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #F9FBFD;
  color: #22313A;
  line-height: 1.6;
  min-height: 100vh;
}

:root {
  /* Brand Palette */
  --primary: #114B5F;
  --primary-light: #90c6d6;
  --secondary: #EFF6E0;
  --accent: #E84A5F;
  --accent-dark: #B2273A;
  /* Pastel additional colors */
  --pastel-rose: #F4C6D7;
  --pastel-mint: #B2E2E2;
  --pastel-lilac: #E8EAF6;
  --pastel-yellow: #FFF6D6;
  --pastel-peach: #FFE3E0;
  --neutral-100: #FFFFFF;
  --neutral-200: #FAFAFA;
  --neutral-300: #F0F0F0;
  --shadow: 0 4px 24px 0 rgba(17,75,95,0.08);
  --radius: 18px;
  /* Typography */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

p,
ul li, ol li, blockquote {
  font-size: 1rem;
}
p,
ul,
ol {
  margin-bottom: 18px;
}

strong {
  font-weight: 700;
}

blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--pastel-lilac);
  color: #22313A;
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
}

/* === LAYOUT COMMON === */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

/***** Flex Patterns *****/
.card-container,
.card-grid,
.features-grid,
.services-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--neutral-100);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(17,75,95,0.13);
  transform: translateY(-5px);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/***** Feature Cards *****/
.features-grid > div,
.services-list > div {
  background: var(--pastel-mint);
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 22px 24px;
  border-left: 5px solid var(--primary-light);
  transition: box-shadow 0.2s, background 0.25s;
}
.features-grid > div:hover,
.services-list > div:hover {
  background: var(--pastel-rose);
  box-shadow: 0 8px 32px rgba(17,75,95,0.12);
}

.features-grid img, .services-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******* Testimonials *****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(17,75,95,0.07);
  color: #1A2A33;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(17,75,95,0.16);
}
.testimonial-meta {
  margin-left: 8px;
  font-size: 0.96rem;
  color: var(--primary);
  font-style: italic;
}

/****** Guide Preview & CTAs ******/
.guide-preview,
.cta-final {
  background: linear-gradient(90deg, var(--pastel-peach) 20%, var(--pastel-mint) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 48px 20px;
  text-align: center;
}
.cta-final h2, .guide-preview h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

/***** Guide Detail Section *****/
.guide-detail {
  background: var(--pastel-lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/***** Team Section *****/
.team > .container > .content-wrapper > div {
  background: var(--pastel-mint);
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

/***** Confirmation Section *****/
.confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-rose);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.confirmation h1 {
  color: var(--primary);
}

/***** Footer *****/
footer {
  background: var(--primary);
  color: var(--neutral-100);
  padding: 40px 0 20px 0;
}
footer .container {
  max-width: 1150px;
}
footer .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.4;
}
footer nav a {
  color: var(--secondary);
  padding: 0 6px;
  transition: color 0.2s;
}
footer nav a:hover {
  color: var(--accent);
}
footer .contact-info {
  font-size: 0.98rem;
  margin-top: 8px;
}
footer .contact-info img {
  width: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.footer-social {
  display: flex;
  gap: 12px;
}

/***** MAIN NAV & HEADER *****/
header {
  width: 100%;
  background: var(--neutral-100);
  box-shadow: 0 4px 16px rgba(17,75,95,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 20px;
}
.main-nav img {
  height: 46px;
  margin-right: 22px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 6px 11px;
  border-radius: 8px;
  transition: background 0.13s, color 0.12s;
  margin-right: 4px;
}
.main-nav a:hover {
  background: var(--pastel-mint);
  color: var(--accent-dark);
}
.main-nav .btn-primary {
  margin-left: auto;
}

/***** BUTTONS *****/
.btn-primary, a.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--neutral-100) !important;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 13px 34px;
  box-shadow: 0 3px 11px rgba(232,74,95,0.07);
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(178,39,58,0.13);
  color: #fff;
}
.btn-secondary {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 100px;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.1s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--neutral-100);
}

/**** HERO SECTION ****/
.hero {
  width: 100%;
  min-height: 360px;
  background: linear-gradient(108deg, var(--pastel-mint) 30%, var(--pastel-rose) 110%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 17px rgba(178,39,58,0.04);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  margin-bottom: 40px;
}
.hero .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero p {
  color: #2E3E4D;
  font-size: 1.29rem;
  line-height: 1.6;
}

/***** TEXT SECTION (for legal, etc.) *****/
.text-section {
  background: var(--neutral-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #1A2A33;
  font-size: 1.02rem;
}
.text-section h2 {
  color: var(--accent-dark);
}
.text-section ul, .text-section ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.text-section ul li, .text-section ol li {
  list-style: disc inside;
  margin-bottom: 10px;
  color: #205770;
}

/***** FORM & CONTACT ICONS *****/
.text-section img, .contact-info img, .content-wrapper img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  margin-right: 7px;
}

/***** MOBILE MENU *******/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 19px;
  right: 22px;
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  z-index: 109;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--pastel-mint);
  color: var(--accent-dark);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, var(--pastel-mint) 65%, var(--pastel-rose) 100%);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.7,0.3,0.14,1);
  z-index: 120;
  box-shadow: 0 5px 36px rgba(17,75,95,0.10);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  margin: 28px 0 24px 24px;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 14px;
  transition: background 0.13s;
  align-self: flex-start;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-mint);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 0 28px 28px 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--neutral-100);
  border-radius: 7px;
  padding: 13px 14px;
  margin-right: 0;
  transition: background 0.14s, color 0.13s;
  box-shadow: 0 1px 6px rgba(17,75,95,0.08);
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

/***** Mobile Menu Overlay Prevent Scroll *****/
body.menu-open {
  overflow: hidden;
}

/* --- Show/Hide Main Nav and Burger Based on Screen --- */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pastel-peach);
  color: #22313A;
  padding: 18px 12px 12px 12px;
  box-shadow: 0 -2px 22px rgba(17,75,95,0.11);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: cookieSlideIn 0.4s cubic-bezier(0.4,0.2,0.1,1);
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 450px;
}
.cookie-banner button {
  margin-right: 7px;
  margin-top: 7px;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--neutral-100);
  border-radius: 32px;
  padding: 8px 24px;
  font-weight: 600;
  margin-right: 6px;
  border: none;
  box-shadow: 0 2px 7px rgba(232,74,95,0.10);
  transition: background 0.13s, transform 0.13s;
}
.cookie-btn-accept:hover {background: var(--accent-dark);}

.cookie-btn-reject {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 32px;
  padding: 8px 18px;
  font-weight: 600;
  border: none;
  margin-right: 6px;
  transition: background 0.12s, color 0.12s;
}
.cookie-btn-reject:hover {background: var(--accent-dark); color: #fff;}

.cookie-btn-settings {
  background: transparent;
  color: var(--primary);
  border-radius: 32px;
  border: 1px solid var(--primary-light);
  padding: 8px 16px;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.12s, color 0.12s;
}
.cookie-btn-settings:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right: 0; bottom:0;
  background: rgba(17,75,95,0.18);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.26s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--neutral-100);
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(17,75,95,0.14);
  max-width: 420px;
  width: 96vw;
  padding: 28px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modalPop .28s cubic-bezier(.5,1.6,.2,1.0);
}
@keyframes modalPop {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1.0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--accent-dark);
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 15px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-toggle-row input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px; height: 20px;
}
.cookie-toggle-row .cookie-toggle-disabled {
  color: #999;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 13px;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  top:10px; right:14px;
  background: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  border: none;
}

/* =======================
   RESPONSIVE MEDIA QUERIES
   ======================= */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .hero { min-height: 260px; }
  .features-grid > div, .services-list > div { min-width: 180px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .hero { padding: 22px 0; }
  .section, .guide-detail, .confirmation, .text-section { padding: 20px 7px; }
  .features-grid,
  .services-list,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 19px; }
  .main-nav img { margin-bottom: 12px; }
}
@media (max-width: 550px) {
  h1, .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 10px 18px; }
  .guide-preview, .cta-final { padding: 24px 7px; }
}

/* Misc Spacing/Helpers */
.section:not(:last-child),
.guide-preview:not(:last-child),
.cta-final:not(:last-child),
.text-section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) { margin-bottom: 16px; }

/***** Utilities *****/
.rounded {
  border-radius: var(--radius) !important;
}
.shadow {
  box-shadow: var(--shadow) !important;
}

/***** MICRO-INTERACTIONS *****/
.btn-primary, .btn-secondary,
.cookie-banner button, .mobile-menu-close, .mobile-menu-toggle, .mobile-nav a {
  transition: background 0.18s, color 0.18s, transform 0.13s;
}

/* --- Accessibility helper --- */
:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/***** Hide elements utility *****/
.d-none { display: none !important; }

/* =====================
   End of Style.css
   ===================== */
