/* -------------------
RESET & CSS NORMALIZE
------------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html, body { height: 100%; }
body {
  min-height: 100vh;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; font-size: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
:root {
  --color-primary: #003366;
  --color-secondary: #F6E1B4;
  --color-accent: #FF9940;
  --color-bg: #fff;
  --color-bg-dark: #18191C;
  --color-text: #222;
  --color-text-light: #fff;
  --color-muted: #B0B0B7;
  --color-border: #EDF0F2;
  --shadow-high: 0 8px 24px rgba(0,0,0,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.08);
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.05);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --transition: all .25s cubic-bezier(.36,1.12,.49,.99);
}

/* -------------------
LAYOUT CONTAINERS
------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Flex patterns for all grids/cards */
.features-grid, .services-teaser-grid, .service-list, .value-list, .faq-list, .who-for-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0; padding: 0;
}
.features-grid > li, .service-list > li, .value-list > li {
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  flex: 1 1 240px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--color-border);
}
.services-teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-teaser-grid > div {
  flex: 1 1 240px;
  min-width: 240px;
  background: #f7f7f9;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-primary);
}

/*************************************
TYPOGRAPHY & HEADINGS
*************************************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.7rem; margin-bottom: 12px; }
h2 { font-size: 2rem; margin-bottom: 10px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
.text-section ul {
  margin: 16px 0 16px 22px;
  list-style: disc inside;
  padding-left: 16px;
}
.text-section ul li {
  margin-bottom: 8px;
  color: #222;
  letter-spacing: 0.01em;
  font-size: 1.06em;
}
blockquote {
  font-style: italic;
  font-size: 1.19em;
  line-height: 1.5;
  color: #18191C;
  margin-bottom: 8px;
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
}
/*************************************
NAVIGATION & HEADER
*************************************/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(25,30,40,0.07);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.main-nav img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  align-items: center;
}
.main-nav li {
  list-style: none;
}
.main-nav a:not(.cta-button) {
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03em;
  padding: 8px 2px;
  border-radius: 5px;
  transition: background .2s, color .2s;
}
.main-nav a:not(.cta-button):hover,
.main-nav a:not(.cta-button):focus {
  background: var(--color-primary);
  color: #fff;
}
.cta-button {
  background: var(--color-primary);
  color: var(--color-text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 10px 26px;
  transition: var(--transition);
  outline: none;
  box-shadow: var(--shadow-soft);
  border: none;
  margin-left: 16px;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-high);
}

/*************************************
MOBILE MENU
*************************************/
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 13px;
  right: 20px;
  z-index: 201;
  transition: background .2s;
  border: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 93vw;
  max-width: 350px;
  background: #fff;
  box-shadow: -8px 0 24px rgba(10,10,25,0.10);
  z-index: 5000;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.19,1,.22,1);
  display: flex;
  flex-direction: column;
  padding: 46px 32px 32px 32px;
  gap: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 5010;
  transition: background .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #111;
  font-size: 1.18em;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 6px;
  font-weight: 500;
  border-radius: 5px;
  width: 100%;
  text-align: left;
  transition: background .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 1000px) {
  .main-nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/*************************************
HERO + SECTION COMMONS
*************************************/
section {
  padding: 60px 0 0 0;
  margin-bottom: 0;
  background: #fff;
}
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#fff 60%,#f1f2f6 100%);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/*************************************
FEATURES, CARDS, TABLES
*************************************/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafafd;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow .17s, transform .16s;
}
.card:hover {
  box-shadow: var(--shadow-high);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/**** PRICING/COMPARATIF TABLES ****/
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 1em;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #222;
  color: #fff;
  padding: 16px 8px;
  text-align: left;
  font-size: 1.08em;
}
tbody td {
  padding: 14px 8px;
  color: #212121;
  border-bottom: 1px solid #ececec;
}
tbody tr:last-child td {
  border-bottom: none;
}
td:last-child, th:last-child { border-right: none; }
.services-table, .pricing-table {
  margin-bottom: 28px;
}
/**********************
TESTIMONIALS
**********************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7f7f9;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
  max-width: 680px;
}
.testimonial-card blockquote {
  font-size: 1.17em;
  color: #18191c;
  margin: 0 0 6px 0;
  border-left: none;
  padding-left: 0;
}
.testimonial-card.lead {
  background: #fff;
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-high);
}
.aggregated-rating {
  margin: 14px 0 6px 0;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #ececec;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11em;
}
.aggregated-rating span {
  font-weight: 700;
  color: var(--color-primary);
}
/*******************
FAQ
*******************/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list div {
  background: #fafafd;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
}

/*************************
FOOTER
*************************/
footer {
  background: #111;
  color: #eaeaea;
  padding: 48px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 160px;
}
footer nav a {
  color: #eaeaea;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  opacity: .86;
  transition: opacity .17s, color .17s;
  margin-bottom: 2px;
}
footer nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  font-size: 0.97em;
}
.footer-copyright {
  color: var(--color-muted);
  font-size: 0.92em;
  margin-top: 14px;
}

/*******************************
COOKIE CONSENT BANNER
*******************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #18191c;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.09);
  padding: 26px 20px 20px 20px;
  z-index: 6000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 1.04em;
  transition: transform .35s cubic-bezier(.19,1,.22,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-left: 26px;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1em;
  padding: 8px 18px;
  margin-left: 6px;
  box-shadow: var(--shadow-soft);
  border: none;
  transition: background .17s, color .17s;
}
.cookie-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-settings-btn {
  background: #f4f5fa;
  color: #18191c;
  border: 1px solid var(--color-muted);
  font-weight: 500;
}
.cookie-settings-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
/******** Cookie Modal ******/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,30,30,0.38);
  z-index: 7000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .32s cubic-bezier(.19,1,.22,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 24px 24px 24px;
  box-shadow: 0 8px 42px rgba(0,0,0,0.19);
  min-width: 320px;
  max-width: 96vw;
}
.cookie-modal-content h2 {
  font-size: 1.7em;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 12px 0 22px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.11em;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-primary);
  width: 21px;
  height: 21px;
}
.cookie-category label {
  margin-left: 5px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}

/************************************
RESPONSIVE DESIGN
************************************/
@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
  .features-grid, .service-list, .services-teaser-grid {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  section, .section { padding: 36px 0 0 0; }
  .features-grid, .services-teaser-grid, .service-list, .value-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-logo img {
    margin-bottom: 6px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.13rem; }
  .container {
    padding: 0 10px;
  }
  .content-wrapper { gap: 20px; }
  .features-grid, .services-teaser-grid, .service-list, .value-list, .faq-list, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .card, .testimonial-card, .services-teaser-grid > div, .service-list > li {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  table {
    font-size: 0.98em;
  }
  .footer-logo img {
    height: 34px;
  }
  .cta-button {
    font-size: 1em;
    padding: 10px 0;
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .hero { min-height: 220px; }
  .cookie-modal-content { min-width: unset; }
  .cookie-banner { padding: 17px 4vw 12px 4vw; flex-direction: column; gap: 16px; font-size: 1em; }
  .cookie-banner .cookie-actions { margin-left: 0; }
}


/**************************************
MICRO-INTERACTIONS & ANIMATIONS
**************************************/
.cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: var(--transition), box-shadow .16s, transform .13s;
}
.cta-button:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.98);
}
.card:hover, .testimonial-card:hover, .faq-list div:hover {
  box-shadow: var(--shadow-high);
}
.services-teaser-grid > div:hover {
  box-shadow: var(--shadow-high);
  background: #fff;
  transition: background .15s, box-shadow .16s;
}

/***************************************
ACCESSIBILITY
***************************************/
a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.mobile-menu a:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0px;
}

/************************************
MISCELLANEOUS UTILS
************************************/
.text-section {
  margin-bottom: 20px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 18px;
}
.value-list img { height: 32px; width: 32px; margin-right: 9px; vertical-align: middle; }
.service-list > li span {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  margin: 10px 0 2px 0;
  font-size: 1.08em;
}
.service-list > li a {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  padding: 7px 18px;
}
.service-list > li a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.who-for-grid ul {
  margin-top: 12px;
  flex-direction: column;
  gap: 11px;
}
.who-for-grid ul li {
  background: #F8F8F9;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 1.05em;
  box-shadow: 0 1px 4px rgba(30,36,45,0.04);
}
/************************************
MONOCHROME SOPHISTICATED FLAVOR
************************************/
body, section, .container, .content-wrapper, .card, .testimonial-card, .services-teaser-grid > div, .faq-list div {
  background: #fff;
}
section:nth-of-type(even) {
  background: #f8f8f9;
}
.card, .testimonial-card, .faq-list div, .services-teaser-grid > div, .service-list > li {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
/***** Dramatic contrast in feature/primary cards *****/
.card, .service-list > li:hover, .testimonial-card.lead {
  background: #18191c;
  color: #fff;
  border: 1.5px solid var(--color-primary);
}
.card h3, .service-list > li:hover h2, .testimonial-card.lead blockquote {
  color: #fff;
}
.card:hover, .service-list > li:hover, .testimonial-card.lead {
  box-shadow: 0 8px 20px rgba(0,8,44,0.15);
}
/**** Elegant section contrast for testimonials/review cards ****/
.testimonial-card {
  color: #18191c;
  background: #f7f7f9;
}
.testimonial-card.lead {
  color: #fff;
  background: #222;
}

/* Hide mobile menu by default on desktop */
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/************************************
UTILS
************************************/
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-2 { padding: 16px; }
.text-center { text-align: center; }
.flex {
  display: flex;
}
.align-center { align-items: center; }
.justify-center { justify-content: center; }
@media (max-width: 600px) {
  .footer-contact, .footer-logo, .footer-copyright, footer nav { text-align: left; }
}
