/* --- 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #1C232A;
  color: #F3F5F6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.666;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #F9CC3A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #1B7B6B;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #20262C;
  margin: 32px 0 24px 0;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 16px 14px;
  border-bottom: 1px solid #273340;
  text-align: left;
  font-size: 16px;
}
th {
  background: #15314A;
  color: #F9CC3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}
tr:last-child td {
  border-bottom: none;
}
blockquote {
  font-style: italic;
  color: #15314A;
  background: #F8F9FA;
  border-left: 6px solid #F9CC3A;
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 12px;
  line-height: 1.7;
}
hr {
  border: none;
  background: #273340;
  height: 2px;
  margin: 32px 0;
}

/* --- BRAND COLORS & FONTS --- */
:root {
  --color-primary: #15314A;
  --color-secondary: #1B7B6B;
  --color-accent: #F9CC3A;
  --color-bg: #1C232A;
  --color-surface: #222B33;
  --color-surface-light: #29333A;
  --color-card: #20262C;
  --color-border: #273340;
  --color-metal: #576069;
  --color-shadow: rgba(21, 49, 74, 0.15);
  --color-shadow-strong: rgba(21,49,74,0.29);
  --color-light: #F3F5F6;
  --color-light-alt: #F8F9FA;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.85rem; margin-bottom: 18px; color: var(--color-accent); }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol {
  font-size: 1rem;
  color: var(--color-light);
  margin-bottom: 14px;
}
strong {
  color: var(--color-accent);
  font-weight: bold;
  letter-spacing: 0.01em;
}
.mini-cta {
  color: var(--color-accent);
  font-weight: 600;
  font-family: var(--font-display);
  display: inline-block;
  margin-top: 12px;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.2s;
}
.mini-cta:hover, .mini-cta:focus {
  color: var(--color-secondary);
}

/* --- LAYOUTS & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container, .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 14px;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 28px 22px;
  transition: box-shadow 0.25s, transform 0.2s;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.01);
  border-color: var(--color-accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-surface);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-border);
  max-width: 320px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 20px var(--color-shadow-strong);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.014);
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8F9FA;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(40,48,60,0.055);
  margin-bottom: 20px;
  color: #20262C;
  border-left: 5px solid var(--color-accent);
  border-top: 1.5px solid #E0DFE4;
  font-family: var(--font-body);
  min-width: 0;
}
.testimonial-card blockquote {
  color: #15314A;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 6px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.map-location {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-surface-light);
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 10px;
  color: var(--color-light-alt);
}
.map-location img {
  width: 38px;
  height: 38px;
  filter: grayscale(1) brightness(1.25);
}


/* --- HEADER --- */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}
header a img {
  width: 150px;
  height: auto;
  display: block;
}
header nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}
header nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.93;
  letter-spacing: 0.04em;
  transition: color 0.18s, opacity 0.14s;
  position: relative;
  padding: 8px 0;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(94deg, var(--color-secondary) 89%, var(--color-accent) 100%);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 7px;
  border: none;
  padding: 13px 28px;
  margin-left: 22px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, transform 0.18s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(100deg, var(--color-accent) 70%, var(--color-secondary) 100%);
  color: #1C232A;
  box-shadow: 0 6px 25px 0 var(--color-shadow-strong);
  transform: translateY(-1px) scale(1.03);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  margin-left: 8px;
  display: none;
  cursor: pointer;
  z-index: 1500;
  line-height: 1;
  padding: 4px 8px 4px 8px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-border);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,49,74,0.98);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  width: 100vw;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.1rem;
  position: absolute;
  top: 22px; right: 24px;
  z-index: 10;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 5px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-metal);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 88px 0 0 34px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 0;
  opacity: 0.98;
  transition: color 0.16s, opacity 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}


/* --- MAIN & SECTION SPACING PATTERNS --- */
main {
  min-height: 66vh;
  background: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FORMS (INFO/CTA) --- */
input, textarea, select, button {
  font-family: var(--font-body);
}
button, .cta-btn {
  outline: none;
  border: none;
}

/* Table lists in tarifs */
table th, table td {
  border-bottom: 1px solid var(--color-border);
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 40px 0 30px 0;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 12px 0 var(--color-shadow);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-accent);
  opacity: 0.85;
  font-family: var(--font-display);
  font-size: 1em;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-bottom: 5px;
  transition: color 0.18s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
footer img {
  width: 58px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(0.17) brightness(1.04);
}
footer address {
  margin-top: 2px;
  font-size: 0.98em;
  color: var(--color-light-alt);
  font-style: normal;
  line-height: 1.5;
}
footer address img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  filter: grayscale(1) brightness(0.85);
}
footer span {
  display: block;
  color: #F9CC3A;
  font-size: 0.97em;
  margin-top: 10px;
}

/* --- FAQ & Table Styles --- */
div > h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
  margin-top: 18px;
  font-weight: bold;
}

table thead tr th {
  background: #232C34;
  color: #F9CC3A;
}
tr:nth-child(even) td {
  background: rgba(34, 43, 51, 0.93);
}

/* --- MISCELLANEOUS ELEMENTS --- */
span {
  color: #F3F5F6;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-surface-light);
  color: var(--color-light);
  box-shadow: 0 -2px 18px 0 var(--color-shadow-strong);
  z-index: 3000;
  padding: 24px 24px 24px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  font-size: 1rem;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1), opacity 0.25s;
  border-top: 2.5px solid var(--color-accent);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-banner .cta-btn, .cookie-banner button {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 1em;
  font-family: var(--font-display);
  transition: background 0.2s, color 0.2s, box-shadow 0.21s;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 var(--color-shadow);
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-settings-btn {
  background: var(--color-metal);
  color: #fff;
  border-radius: 6px;
  padding: 9px 18px;
  margin-left: 7px;
  border: none;
  transition: background 0.2s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,35,42,0.92);
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--color-surface-light);
  padding: 38px 32px 26px 32px;
  border-radius: 13px;
  box-shadow: 0 8px 38px 0 var(--color-shadow-strong);
  min-width: 340px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-light);
  font-size: 1.03em;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--color-metal);
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background .2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.23s cubic-bezier(.7,0,.22,1);
}
.cookie-toggle:checked:before {
  left: 18px;
  background: var(--color-secondary);
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-metal);
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}

/* --- BUTTONS --- */
button, .cta-btn {
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.14s;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* --- ICONS (if SVG in <img>) --- */
img[alt*="icon"], img[src*="icon-"] {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  filter: grayscale(1) brightness(1.08);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.09rem; }
  section, .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper, .text-section {
    gap: 13px;
  }
  .feature-item, .card, .testimonial-card {
    max-width: 100%;
    padding: 15px 10px;
    border-radius: 10px;
  }
  .map-location {
    flex-direction: column;
    gap: 10px;
    padding: 7px 9px;
  }
  /* Header/mobile menu */
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 50px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 12px 18px;
    font-size: 1em;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-right: 8px;
    margin-left: 0;
  }
  .mobile-menu {
    padding-top: 0;
  }
}
@media (max-width: 520px) {
  .container {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .feature-item, .card, .testimonial-card {
    padding: 11px 4px;
  }
  .cookie-modal-content {
    min-width: 92vw;
    padding: 23px 7vw 18px 7vw;
  }
}

/* --- SCROLLBAR STYLES --- */
body::-webkit-scrollbar {
  width: 12px;
  background: var(--color-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-metal);
  border-radius: 6px;
}

/* --- FOCUS STYLES --- */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- SPECIALS --- */
.hero, .hero-section {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 70px 0 58px 0;
  border-bottom: 2.5px solid var(--color-secondary);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 46px -16px var(--color-shadow-strong);
}

/* --- ANIMATION FOR MICRO-INTERACTIONS --- */
.cta-btn, button, .mini-cta, .cookie-btn, .cookie-settings-btn {
  transition: background 0.24s, color 0.22s, transform 0.17s, box-shadow 0.13s;
}
.testimonial-card {
  transition: box-shadow 0.18s, border-color 0.17s, background 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(40,48,60,0.17);
  border-color: var(--color-accent);
  background: #F6F9FD;
}

/* --- OVERRIDES FOR SPECIAL CLASSES --- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

/* --- MANDATORY SPACING & ALIGNMENT --- */
.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; }

/* --- HANDLING COMPONENT GAP ON ALL DEVICES --- */
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
