/* 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #1B263B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
}

/* BRAND COLORS AS CSS VARIABLES */
:root {
  --color-primary: #1B263B;
  --color-secondary: #4ECDC4;
  --color-accent: #F5F7FA;
  --color-gray-100: #F5F7FA;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-700: #334155;
  --color-blue-dark: #1B263B;
  --color-blue: #1667B2;
  --color-success: #38B2AC;
  --color-danger: #EF4444;
  --shadow: 0 4px 20px 0 rgba(27,38,59,0.07);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-sm: 6px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --focus-ring: 0 0 0 2px var(--color-secondary);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-blue-dark);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol { color: var(--color-blue-dark); font-size: 1rem; margin-bottom: 16px; }
.text-section p, .text-section ul, .text-section li { color: var(--color-blue-dark); }
strong { font-weight: bold; }

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-secondary);
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 730px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(27,38,59,0.11);
  transform: translateY(-2px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Feature/Grid Patterns */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  width: 40px; height: 40px;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 8px 28px 0 rgba(27,38,59,0.13);
  transform: translateY(-4px) scale(1.016);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list > li {
  margin-bottom: 0;
}
.service-highlight {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-highlight h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}
.service-highlight img {
  width: 28px;
  height: 28px;
}
.service-highlight:hover {
  box-shadow: 0 8px 28px 0 rgba(27,38,59,0.15);
  transform: translateY(-4px) scale(1.016);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #E2E8F0;
  border-radius: var(--radius-lg);
  min-width: 300px;
  max-width: 540px;
  font-size: 1.12rem;
  color: #1B263B;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px 0 rgba(27,38,59,0.09);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  margin-bottom: 9px;
  color: #1B263B;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-gray-500);
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(27,38,59,0.14);
  transform: translateY(-2px) scale(1.013);
}


/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(78,205,196, 0.11);
  outline: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #119c98;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 5px 24px 0 rgba(78,205,196, 0.17);
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(27,38,59,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-blue-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 4px;
  position: relative;
  border-radius: var(--radius-sm);
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: var(--color-gray-200);
  outline: none;
}
header .btn-primary {
  margin-left: 18px;
  margin-top: 0;
}
/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 2.1rem;
  padding: 5px 16px;
  margin-left: 10px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #119c98;
  box-shadow: 0 4px 18px 0 rgba(78,205,196, 0.18);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,38,59,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 44px 28px 28px 28px;
  box-shadow: 0 2px 12px 0 rgba(27,38,59,0.14);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.42,.12,.36,.85);
  z-index: 2002;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 28px;
  font-size: 2.1rem;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius);
  border: none;
  width: 38px; height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #119c98;
  box-shadow: 0 4px 10px 0 rgba(78,205,196, 0.25);
}
.mobile-nav {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 500;
  padding: 14px;
  border-radius: var(--radius-sm);
  width: 100%;
  display: block;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-blue-dark);
}

/* Hide mobile menu by default */
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 1024px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 32px 5px;
    margin-bottom: 39px;
  }
  .feature-grid, .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 99vw;
    padding: 18px 10px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.05rem; }
  .footer-contact img {
    height: 34px;
  }
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
  width: 100%;
  box-shadow: 0 -3px 20px 0 rgba(27,38,59,0.05);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 20px 18px 20px;
}
.footer-contact {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.footer-contact img {
  height: 46px; width: 46px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(255,255,255,0.12);
  padding: 4px;
}
.footer-contact p {
  color: #F5F7FA;
  font-size: 0.95rem;
}
.footer-contact a {
  color: #4ECDC4;
  font-weight: 500;
  word-break: break-all;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #F5F7FA;
  font-size: 0.97rem;
  margin-bottom: 2px;
}
.footer-menu a:hover {
  color: #4ECDC4;
}
#adresse {
  color: #CBD5E1;
  font-size: 0.89rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    padding: 32px 10px 10px 10px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* SPACING & HIERARCHY */
main .section, main section { margin-bottom: 60px; }
.card, .feature-item, .testimonial-card, .service-highlight {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 10px;
}

/* GENERAL INTERACTIONS, TRANSITIONS & SHADOWS */
.card, .feature-item, .testimonial-card, .service-highlight {
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .service-highlight:hover {
  box-shadow: 0 13px 26px 0 rgba(27,38,59,0.14);
  transform: translateY(-3px) scale(1.024);
}

/* TABLES (for possible legal etc. pages) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background-color: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background-color: #E2E8F0;
  color: var(--color-primary);
}
td {
  border-bottom: 1px solid #CBD5E1;
}

/* FORMS (for contact) */
input, textarea, select {
  width: 100%;
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #CBD5E1;
  background: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  transition: border var(--transition), box-shadow var(--transition);
  margin-bottom: 18px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-secondary);
  box-shadow: var(--focus-ring);
  outline: none;
}
label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* EXTRAS */
::-webkit-input-placeholder { color: #64748b; }
::-moz-placeholder { color: #64748b; }
:-ms-input-placeholder { color: #64748b; }
::placeholder { color: #64748b; }

/* Cookie Consent Banner Styles */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1B263B;
  border-top: 2px solid #CBD5E1;
  box-shadow: 0 -4px 24px 0 rgba(27,38,59,0.13);
  z-index: 2004;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 40px;
  padding: 22px 32px;
  font-size: 1rem;
  animation: cookieSlideIn 0.42s cubic-bezier(.43,0,.54,1);
  transition: transform 0.35s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity:1; }
}
.cookie-banner p {
  color: #1B263B;
  margin-bottom: 9px;
  max-width: 520px;
}
.cookie-banner .button-group {
  margin-top: 0;
  gap: 14px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-link {
  font-size: 1rem;
  padding: 10px 21px;
  border-radius: var(--radius);
}
.btn-secondary {
  background: #E2E8F0;
  color: #1B263B;
  font-weight: 600;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus  {
  background: #CBD5E1;
  color: var(--color-blue);
}
.btn-link {
  background: none;
  color: var(--color-blue);
  border-radius: var(--radius-sm);
  padding: 8px 9px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.btn-link:hover, .btn-link:focus {
  background: #E2E8F0;
  color: var(--color-secondary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 7px 17px 7px;
    font-size: 0.97rem;
  }
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,38,59,0.44);
  z-index: 2005;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(27,38,59,0.15);
  padding: 38px 32px 28px 32px;
  min-width: 330px;
  max-width: 98vw;
  color: #1B263B;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadePanelIn 0.35s cubic-bezier(.38,0,.49,1);
}
@keyframes fadePanelIn {
  from { transform: scale(0.95) translateY(58px); opacity:0.4; } to { transform:none; opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-switch {
  pointer-events: auto;
  width: 44px;
  height: 24px;
  background: #E2E8F0;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  margin-left: 10px;
}
.cookie-modal .cookie-switch[data-checked="true"] {
  background: var(--color-secondary);
}
.cookie-modal .cookie-switch-circle {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(60,60,60,0.09);
  transition: left 0.18s;
}
.cookie-modal .cookie-switch[data-checked="true"] .cookie-switch-circle {
  left: 21px;
}
.cookie-modal .cookie-switch[aria-disabled="true"],
.cookie-modal .cookie-switch[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 1rem;
  padding: 9px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: #E2E8F0;
  color: #1B263B;
  font-size: 1.18rem;
  border-radius: var(--radius);
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    padding: 18px 6px 14px 6px;
  }
}

/* Accessibility focus rings */
.btn-primary:focus, .btn-secondary:focus, .btn-link:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 2px var(--color-secondary), 0 2px 8px 0 rgba(78,205,196, 0.17);
  outline: none;
}

/* Utility classes */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.w-100 { width: 100%!important; }

/* Inline SVG icons (contact lists) */
.text-section li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1rem;
}
.text-section li img {
  width: 20px; height: 20px;
  opacity: 0.69;
}

/* Newsletter/CTA */
@media (max-width: 600px) {
  .btn-primary, .btn-secondary, .btn-link {
    width: 100%;
    justify-content: center;
    padding-left: 0; padding-right: 0;
    box-sizing: border-box;
  }
}

/* Blog & News article cards */
.service-list article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list article:hover {
  box-shadow: 0 8px 24px 0 rgba(27,38,59,0.11);
  transform: translateY(-2px) scale(1.012);
}
.service-list article h3 {
  color: var(--color-primary);
}
.service-list article a {
  color: var(--color-blue);
  font-weight: 500;
  margin-top: 2px;
}
.service-list article a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Success/Thank you pages */
.text-section a.btn-primary {
  margin-top: 22px;
}

/* Ensure minimum 20px between content cards/sections */
.section > .container > .content-wrapper > * + *,
.section > .container > * + * {
  margin-top: 20px;
}
/* Prevent card overlap on wrap */
@media (max-width: 1100px) {
  .feature-grid, .card-container, .content-grid {
    gap: 20px;
  }
}
