/* --- CSS RESET + NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #21293D;
  color: #F8F8FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #28B0D8;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #22E4EF;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #F8F8FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p, ul, ol, blockquote, cite {
  font-size: 1rem;
  color: #F8F8FA;
  margin-bottom: 16px;
}
strong { color: #28B0D8; font-weight: 700; }
small { font-size: 0.95rem; color: #b3c6e1; }

/* --- LAYOUT CONTAINERS & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #262E45;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(28,40,60,.15);
  transition: background 0.3s;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(120deg, #21293D 60%, #283B53 100%);
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  border-bottom: 2px solid #23365A;
}
.hero h1 {
  font-size: 2.7rem;
  background: linear-gradient(90deg, #28B0D8, #22E4EF 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: #DAF6FC;
}

/* --- FLEXBOX GRIDS --- */
.feature-grid, .innovation-cards, .case-grid, .contact-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-grid { justify-content: flex-start; }
.innovation-cards, .case-grid { justify-content: space-between; }
.contact-infos {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

/* --- CARD COMPONENTS --- */
.card, .feature {
  background: #232B44;
  border-radius: 16px;
  padding: 28px 23px 23px 23px;
  box-shadow: 0 5px 32px 0 rgba(40,176,216,.06), 0 0 0 1.5px #28B0D8 inset;
  position: relative;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 280px;
  transition: transform .21s cubic-bezier(.6,0,.18,1), box-shadow .18s;
  z-index: 1;
  overflow: hidden;
}
.card:hover, .feature:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 12px 40px 0 #28B0D8cc, 0 0 10px 2px #22E4EF66;
}

.tag {
  display: inline-block;
  background: #28B0D8;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

/* --- CTA BUTTONS --- */
.cta-btn {
  display: inline-block;
  background: linear-gradient(92deg, #28B0D8 80%, #22E4EF 100%);
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-radius: 10px;
  padding: 15px 36px;
  margin-top: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px 0 #1cccec3d;
  border: none;
  cursor: pointer;
  transition: background .25s, box-shadow .18s, transform .09s;
  outline: none;
  text-shadow: 0 3px 12px #1bc7e123;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #22E4EF, #28B0D8 70%);
  color: #fff;
  box-shadow: 0 6px 32px 0 #28B0D8B3, 0 0 16px 2px #22E4EF77;
  transform: translateY(-2px) scale(1.04);
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #1B2231;
  border-bottom: 2px solid #262E45;
  z-index: 10;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F8F8FA;
  font-weight: 500;
  font-size: 1rem;
  transition: color .17s, text-shadow .2s;
  padding: 7px 10px;
  border-radius: 6px;
  position: relative;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #22E4EF;
  text-shadow: 0 2px 12px #22E4EF21;
  background: #222a3d;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 201;
  width: 44px;
  height: 44px;
  background: #1B2231;
  color: #22E4EF;
  font-size: 2.1rem;
  border-radius: 7px;
  border: 2px solid #28B0D8;
  box-shadow: 0 2px 8px #28B0D821;
  cursor: pointer;
  transition: background .17s, color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #262E45;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #141825ee;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.85,.06,.51,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 27px 24px 8px 0;
  background: none;
  color: #22E4EF;
  font-size: 2.4rem;
  border-radius: 10px;
  border: 2px solid #28B0D8;
  padding: 4px 17px;
  cursor: pointer;
  box-shadow: 0 2px 8px #28B0D841;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #181d29;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 32px;
}
.mobile-nav a {
  color: #F8F8FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  background: none;
  border-radius: 8px;
  padding: 12px 0;
  transition: background .17s, color .17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222a3d;
  color: #22E4EF;
}

/* --- SHOW/HIDE NAV BY SCREEN SIZE --- */
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none; }
}

/* --- FOOTER --- */
footer {
  background: #1B2231;
  color: #F8F8FA;
  padding: 32px 0 0 0;
  border-top: 2px solid #232B44;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
}
.footer-left { max-width: 270px; }
.footer-left img { margin-bottom: 15px; }
.footer-left p {
  font-size: 1rem;
  color: #AFC5D8;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}
.footer-nav a {
  color: #DAF6FC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #22E4EF;
  text-decoration: underline;
}
.newsletter {
  background: #232B44;
  border-radius: 13px;
  padding: 16px 22px;
  box-shadow: 0 2px 8px #25cccf13;
  min-width: 250px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.newsletter h4 {
  color: #22E4EF;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.newsletter input {
  background: #273049;
  border-radius: 7px;
  padding: 8px 10px;
  color: #F8F8FA;
  border: 2px solid #243755;
  font-size: 1rem;
  margin-bottom: 8px;
  width: 100%;
}
.newsletter button {
  background: #28B0D8;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .16s;
}
.newsletter button:disabled {
  background: #193248;
  cursor: not-allowed;
  color: #AFC5D8;
}
.newsletter small {
  color: #AFC5D8;
}

/* --- FEATURES, VALUES, IMPACT, ETC. --- */
.value-list, .ai-case-list, .ai-applications, .sensor-case-list, .sensor-types, .sensor-bénéfits, .design-case-list, .design-principles, .user-experience-highlights, .next-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 14px 0;
}
.value-list li, .ai-case-list li, .ai-applications li, .sensor-case-list li, .sensor-types li, .sensor-bénéfits li, .design-case-list li, .design-principles li, .user-experience-highlights li, .next-steps li {
  padding-left: 0;
  background: #273049;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 #156f857d;
  color: #DAF6FC;
  padding: 12px 16px 12px 54px;
  position: relative;
}
.value-list li img, .design-case-list li img {
  position: absolute;
  left: 15px;
  top: 14px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 3px 7px #22E4EFbb);
}

/* --- FILTER BAR --- */
.filter-bar {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
  margin-bottom: 17px;
  align-items: center;
}
.filter-bar .tag {
  background: #23365A;
  color: #28B0D8;
  border: 1px solid #28B0D8;
  font-size: .98rem;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.filter-bar .tag:hover,
.filter-bar .tag.active {
  background: #28B0D8;
  color: #fff;
}

/* --- IMPACT-STATS --- */
.impact-stats {
  background: #1E2432;
  border-left: 6px solid #28B0D8;
  border-radius: 9px;
  margin: 24px 0 18px 0;
  padding: 16px 18px;
}
.impact-stats p {
  font-size: 1.1rem;
  color: #22E4EF;
  font-weight: bold;
  margin-bottom: 0;
}

/* --- TEXT/IMAGE & TOPIC LAYOUTS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIAL/CONFIRMATION --- */
.testimonial-card, .confirmation {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 17px;
  background: #f8f8fa;
  color: #21293D;
  box-shadow: 0 4px 24px 0 #1cccec13;
}
.testimonial-card cite {
  color: #28B0D8;
}
.confirmation .cta-btn {
  background: linear-gradient(90deg, #22E4EF 80%, #28B0D8 100%);
  color: #21293D;
}
.confirmation h1 { color: #28B0D8; }
.confirmation p, .confirmation a { color: #21293D; }
.next-steps {
  margin: 24px 0 18px 0;
  background: #262E45;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 #28B0D820;
  padding: 15px 25px;
}
.next-steps li { background: #21293D; color: #22E4EF; font-weight: 500; }

/* --- BLOCKQUOTE --- */
blockquote {
  background: #232B44;
  border-left: 6px solid #28B0D8;
  color: #22E4EF;
  font-size: 1.11rem;
  margin: 32px 0;
  padding: 17px 26px;
  border-radius: 10px;
  box-shadow: 0 2px 8px #28B0D820;
}
cite {
  display: block;
  color: #AFC5D8;
  font-size: 0.98rem;
  margin-top: 10px;
  font-style: italic;
}

/* --- CONTACT CARDS --- */
.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: #273049;
  border-radius: 12px;
  padding: 19px 18px 19px 56px;
  min-width: 220px;
  max-width: 280px;
  position: relative;
  flex: 1 1 200px;
}
.contact-detail img {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 3px 7px #22E4EFbb);
}
.contact-detail strong {
  color: #28B0D8;
  margin-bottom: 3px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .section { padding: 32px 9px; }
  .footer-nav, .newsletter, .footer-left { min-width: 140px; max-width: unset; }
  .footer-left img { width: 120px; }
  header .container { flex-wrap: wrap; gap: 5px; }
  .desktop-nav { gap: 13px; }
  .confirmation .content-wrapper, .content-wrapper { gap: 12px; }
}
@media (max-width: 768px) {
  .container { max-width: 98%; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 40px 0 40px 0; }
  .content-wrapper, .section { padding: unset; }
  .card, .feature, .contact-detail { min-width: 100%; }
  .feature-grid, .innovation-cards, .case-grid, .contact-infos {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav, .newsletter, .footer-left { margin-top: 14px; max-width: unset; }
  .newsletter { width: 100%; min-width: unset; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
  .text-image-section { flex-direction: column; gap: 24px; }
}

@media (max-width: 550px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .cta-btn, .newsletter button { padding: 11px 18px; font-size: .99rem; }
  .hero { padding: 21px 0 21px 0; }
}

/* --- SPACING --- */
.card, .feature, .testimonial-card, .confirmation, .next-steps {
  margin-bottom: 20px !important;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .content-grid, .feature-grid, .innovation-cards, .case-grid, .contact-infos {
  gap: 24px !important;
}
.testimonial-card, .confirmation {
  padding: 20px !important;
  gap: 20px !important;
}
.feature-item {
  gap: 15px !important;
}
.text-image-section {
  gap: 30px !important;
}

/* --- BUTTONS & MICRO-INTERACTIONS --- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* --- FORMS --- */
input[type="email"]:disabled {
  background: #23365A;
  color: #AFC5D8;
  cursor: not-allowed;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #23365A;
  color: #fff;
  z-index: 3002;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  box-shadow: 0 -6px 32px 0 #28B0D840;
  transition: transform .25s cubic-bezier(.82,.08,.49,1);
  border-top: 3px solid #28B0D8;
}
.cookie-banner.closed {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  font-size: 1rem;
  margin-right: 20px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #28B0D8;
  color: #fff;
  box-shadow: 0 1px 8px #22E4EF13;
  cursor: pointer;
  border: none;
  transition: background .14s, color .14s, box-shadow .14s;
}
.cookie-banner button.accept {
  background: #28B0D8;
}
.cookie-banner button.reject {
  background: #273049;
  color: #DCEAF5;
  border: 2px solid #28B0D8;
}
.cookie-banner button.settings {
  background: none;
  color: #22E4EF;
  border: 2px solid #22E4EF;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #22E4EF;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #444F65;
  color: #22E4EF;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #222a3d;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #142234e0;
  z-index: 3003;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .23s cubic-bezier(.82,.08,.49,1);
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #21293D;
  color: #fff;
  border-radius: 21px;
  box-shadow: 0 12px 48px #192544fd;
  padding: 38px 34px 29px 34px;
  min-width: 330px;
  max-width: 96vw;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid #28B0D8;
}
.cookie-modal h2 {
  color: #28B0D8;
  font-size: 1.35rem;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 12px 0;
  padding: 11px 0;
  border-bottom: 1px solid #384259;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  flex: 1 1 75%;
  color: #fff;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #28B0D8;
  width: 19px; height: 19px;
}
.cookie-category input[disabled] {
  accent-color: #bbb;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #23365A;
  color: #22E4EF;
  border: none;
  border-radius: 8px;
  padding: 8px 19px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #181d29;
  color: #fff;
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-category input[type="checkbox"]:checked + label {
  color: #22E4EF;
}

@media (max-width: 750px) {
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cookie-banner .cookie-text { font-size: 0.99rem; margin-right: 0; }
  .cookie-modal { padding: 28px 8px 22px 14px; min-width: 0; max-width: 97vw; }
}

/* --- ANIMATIONS --- */
.mobile-menu {
  will-change: transform;
}
.mobile-menu.open {
  animation: slide-in-menu 0.37s cubic-bezier(.8,0,.18,1);
}
@keyframes slide-in-menu {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner {
  animation: fadeInUp .7s;
}
.cookie-modal {
  animation: fadeInUp .45s;
}

/* --- ACCENT ELEMENTS (NEON) --- */
.card:before, .feature:before, .feature-grid .feature:before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at center, #22E4EF55 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.card:after {
  content: '';
  position: absolute;
  bottom: -24px; left: -24px;
  width: 70px; height: 70px;
  background: radial-gradient(circle at center, #28B0D822 0%, transparent 80%);
  z-index: 0;
}

.cta, .cta-btn {
  text-shadow: 0 0 12px #1bc7e13a;
}

/* --- UTILITY & STATE CLASSES --- */
.text-section {
  margin: 18px 0 12px 0;
}
input:disabled, textarea:disabled {
  filter: grayscale(0.13);
  opacity: 0.77;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #22E4EF;
  outline-offset: 2px;
}

/* --- MISC --- */
::-webkit-scrollbar { width: 10px; background: #1B2231; }
::-webkit-scrollbar-thumb { background: #28B0D8; border-radius: 5px; }

/* --- END OF CSS --- */