/*--------------------------------------------------------------
# Table of Contents
# 1. Fonts & Color Variables
# 2. General Styling
# 3. Preloader & Scroll Top
# 4. Header & Navigation
# 5. Footer
# 6. Section Titles & Shared Blocks
# 7. Hero
# 8. Clients
# 9. About
# 10. Why Us
# 11. Skills
# 12. Services
# 13. Work Process
# 14. Call To Action
# 15. Pricing / Zinssätze
# 16. Bedingungen / Conditions
# 17. Testimonials
# 18. FAQ 2
# 19. Subscribe
# 20. Contact
# 20b. Simulation CTA
# 21. Language Selector
# 22. Media Queries Globales
# 23. Simulation Page
# 24. Formulaire de demande
# 25. Cookie Consent Banner
# 26. Page Interne (Produits & Services)
# 27. Cartes Produits (product-card, fin-card, inv-card)
# 28. Header sur pages internes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 1. Fonts & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font:
    "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Jost", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #f7f9fc;
  --default-color: #3a4a5c;
  --heading-color: #0f2540;
  --accent-color: #0e9f9c;
  --accent-dark: #0a7d7b;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #ffffff;
  --nav-hover-color: #0e9f9c;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #3a4a5c;
  --nav-dropdown-hover-color: #0e9f9c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-sm: 0 4px 14px rgba(15, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 14px 40px rgba(15, 37, 64, 0.1);

  scroll-behavior: smooth;
}

.light-background {
  --background-color: #f1f4f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0f2540;
  --default-color: #eaf0f6;
  --heading-color: #ffffff;
  --surface-color: #1a3a5c;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# 2. General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  letter-spacing: -0.2px;
}

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 70px 0;
  scroll-margin-top: 88px;
  overflow: clip;
}

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# 3. Preloader & Scroll Top
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: var(--shadow-md);
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: var(--accent-dark);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# 4. Header & Navigation
--------------------------------------------------------------*/
.header {
  --background-color: #0f2540;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}
.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}
.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 9px 26px;
  margin: 0 0 0 30px;
  border-radius: var(--radius-pill);
  transition: 0.3s;
  font-weight: 500;
}
.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }
  .header .btn-getstarted {
    order: 4;
    margin: 0 15px 0 0;
    padding: 7px 16px;
  }
  .header .navmenu {
    order: 3;
  }
  .header .language-selector {
    order: 2;
  }
}

/* --- HEADER SUR LA PAGE D'ACCUEIL (transparent puis bleu au scroll) --- */
.index-page .header {
  --background-color: rgba(15, 37, 64, 0);
  --heading-color: #ffffff;
  --nav-color: #ffffff;
}
.index-page.scrolled .header {
  --background-color: rgba(15, 37, 64, 0.95);
  box-shadow: var(--shadow-sm);
}

/* --- HEADER SUR LES PAGES INTERNES (bleu foncé en permanence) --- */
.page-interior .header {
  --background-color: #0f2540;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu li:last-child a {
    padding-right: 0;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: var(--radius-sm);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: var(--radius-md);
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: var(--shadow-lg);
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    border-radius: var(--radius-sm);
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(15, 37, 64, 0.85);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# 5. Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 40px;
  position: relative;
}
.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--heading-color), transparent 96%);
  padding: 50px 0;
}
.footer .footer-newsletter h4 {
  font-size: 24px;
}
.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: 0.3s;
  border-radius: var(--radius-pill);
}
.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}
.footer .footer-newsletter .newsletter-form input[type="email"] {
  border: 0;
  padding: 4px 14px;
  width: 100%;
  background-color: transparent;
  color: var(--default-color);
}
.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
  outline: none;
}
.footer .footer-newsletter .newsletter-form input[type="submit"] {
  border: 0;
  font-size: 16px;
  padding: 0 22px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: var(--accent-dark);
}
.footer .footer-top {
  padding-top: 50px;
}
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}
.footer h4 {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}
.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.footer .footer-links ul li:first-child {
  padding-top: 0;
}
.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}
.footer .footer-links ul a:hover {
  color: var(--accent-color);
}
.footer .footer-about a {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--heading-font);
}
.footer .footer-contact p {
  margin-bottom: 5px;
}
.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .copyright p {
  margin-bottom: 0;
}
.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 6. Section Titles & Shared Blocks
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 50px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 1px;
}
.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 3px;
}
.section-title p {
  margin-bottom: 0;
}

/* Titres H1 pour pages internes */
.section-title h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  letter-spacing: 0.5px;
}
.section-title h1:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}
.section-title h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 3px;
}

/*--------------------------------------------------------------
# 7. Hero
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 15px 0 30px 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}
.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  transition: 0.3s;
}
.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.3s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}
.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}
.hero .btn-watch-video:hover {
  color: var(--accent-color);
}
.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}
.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
@keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# 8. Clients
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}
.clients .swiper {
  padding: 10px 0;
}
.clients .swiper-wrapper {
  height: auto;
}
.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
  filter: grayscale(60%);
  opacity: 0.75;
}
.clients .swiper-slide img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# 9. About
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}
.about ul li {
  padding-bottom: 8px;
  display: flex;
  align-items: flex-start;
}
.about ul i {
  font-size: 20px;
  padding-right: 6px;
  color: var(--accent-color);
  margin-top: 2px;
}
.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 9px 28px;
  border-radius: var(--radius-sm);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}
.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}
.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# 10. Why Us
--------------------------------------------------------------*/
.why-us {
  padding: 40px 0;
}
.why-us .content h3 {
  font-weight: 400;
  font-size: 32px;
}
.why-us .content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}
.why-us .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-us .faq-container .faq-item:last-child {
  margin-bottom: 0;
}
.why-us .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
}
.why-us .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
  font-weight: 600;
}
.why-us .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}
.why-us .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.why-us .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}
.why-us .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}
.why-us .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}
.why-us .faq-container .faq-active h3 {
  color: var(--accent-color);
}
.why-us .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}
.why-us .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}
.why-us .why-us-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-us .why-us-img img {
  max-height: 70%;
}

/*--------------------------------------------------------------
# 11. Skills
--------------------------------------------------------------*/
.skills .content h3 {
  font-size: 1.9rem;
  font-weight: 700;
}
.skills .content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}
.skills .content p:last-child {
  margin-bottom: 0;
}
.skills .content ul {
  list-style: none;
  padding: 0;
}
.skills .content ul li {
  padding-bottom: 10px;
}
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}
.skills .progress .skill {
  color: var(--default-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.skills .progress .skill .val {
  float: right;
  font-style: normal;
}
.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--heading-color), transparent 92%);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.skills .progress-bar {
  width: 1px;
  height: 8px;
  transition: 0.9s;
  background-color: var(--accent-color);
  border-radius: 4px;
}

/*--------------------------------------------------------------
# 12. Services
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  padding: 45px 28px;
  transition: all ease-in-out 0.4s;
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
}
.services .service-item .icon {
  margin-bottom: 15px;
}
.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 34px;
  transition: 0.3s;
}
.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 19px;
}
.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}
.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.services .service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}
.services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 13. Work Process
--------------------------------------------------------------*/
.work-process .steps-item {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.work-process .steps-item .steps-image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
  height: 240px;
}
.work-process .steps-item .steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-process .steps-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.work-process .steps-item:hover .steps-number {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.work-process .steps-item:hover .steps-image img {
  transform: scale(1.08);
}
.work-process .steps-content {
  position: relative;
  padding: 40px 30px 30px;
}
.work-process .steps-content .steps-number {
  position: absolute;
  left: 30px;
  top: -30px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-sm);
}
.work-process .steps-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}
.work-process .steps-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
}
.work-process .steps-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.work-process .steps-features .feature-item:last-child {
  margin-bottom: 0;
}
.work-process .steps-features .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}
.work-process .steps-features .feature-item span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/*--------------------------------------------------------------
# 14. Call To Action
--------------------------------------------------------------*/
.call-to-action {
  padding: 100px 0;
  position: relative;
  clip-path: inset(0);
}
.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.call-to-action .container {
  position: relative;
  z-index: 3;
}
.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}
.call-to-action p {
  color: var(--default-color);
}
.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: var(--radius-pill);
  transition: 0.4s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}
.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# 15. Pricing / Zinssätze
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-top: 4px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 45px 35px;
  height: 100%;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pricing .pricing-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing .pricing-item.featured {
  border-top-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}
.pricing .pricing-item h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--heading-color);
}
.pricing .pricing-item .price {
  color: var(--accent-color);
  font-size: 44px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 15px;
  line-height: 1;
}
.pricing .pricing-item .price sup {
  font-size: 22px;
  font-weight: 500;
  top: -1em;
  margin-right: 4px;
}
.pricing .pricing-item .price span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  font-weight: 400;
}
.pricing .pricing-item .description {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
  min-height: 44px;
}
.pricing .pricing-item ul {
  padding: 0;
  margin: 0 0 25px 0;
  list-style: none;
  text-align: left;
  line-height: 22px;
  flex-grow: 1;
}
.pricing .pricing-item ul li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 2px;
}
.pricing .pricing-item .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 11px 35px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1.5px solid var(--accent-color);
  text-align: center;
}
.pricing .pricing-item .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.pricing .pricing-item.featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.pricing .pricing-item.featured .buy-btn:hover {
  background: var(--accent-dark);
}

/*--------------------------------------------------------------
# 16. Bedingungen / Conditions
--------------------------------------------------------------*/
.conditions {
  padding: 80px 0;
}
.conditions-block {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  height: 100%;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.conditions-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.conditions-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.conditions-block-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.conditions-block-icon i {
  font-size: 24px;
  color: var(--accent-color);
}
.conditions-block-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}
.conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.conditions-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed
    color-mix(in srgb, var(--default-color), transparent 88%);
}
.conditions-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.conditions-list li:first-child {
  padding-top: 0;
}
.conditions-list li > i {
  font-size: 18px;
  color: var(--accent-color);
  margin-top: 3px;
  flex-shrink: 0;
}
.conditions-list li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.conditions-list li strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.3;
}
.conditions-list li span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.5;
}
.conditions-subtitle {
  text-align: center;
  margin-bottom: 30px;
}
.conditions-subtitle h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}
.conditions-subtitle p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}
.conditions-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.conditions-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), white 40%)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.conditions-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}
.conditions-card:hover::before {
  opacity: 1;
}
.conditions-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.conditions-card-icon i {
  font-size: 24px;
  color: var(--accent-color);
}
.conditions-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}
.conditions-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.conditions-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
  font-size: 14px;
  line-height: 1.4;
}
.conditions-card ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.conditions-card ul li .label {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 0;
}
.conditions-card ul li .value {
  color: var(--heading-color);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}
.conditions-notice {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.conditions-notice > i {
  font-size: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}
.conditions-notice > div {
  flex: 1;
}
.conditions-notice strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.conditions-notice p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0;
}
@media (max-width: 991px) {
  .conditions-block {
    padding: 30px 25px;
  }
  .conditions-card {
    padding: 25px 22px;
  }
  .conditions-card ul li .value {
    max-width: 55%;
  }
}
@media (max-width: 575px) {
  .conditions-block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .conditions-notice {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .conditions-card ul li {
    flex-direction: column;
    gap: 4px;
  }
  .conditions-card ul li .value {
    text-align: left;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# 17. Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  text-align: center;
}
.testimonials .testimonial-item .testimonial-img {
  width: 110px;
  border-radius: 50%;
  border: 4px solid var(--surface-color);
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 0 5px 0;
}
.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}
.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}
.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}
.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}
.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}
.testimonials .swiper-wrapper {
  height: auto;
}
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# 18. FAQ 2
--------------------------------------------------------------*/
.faq-2 .faq-container {
  margin-top: 15px;
}
.faq-2 .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 22px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: 0.3s;
}
.faq-2 .faq-container .faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-2 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}
.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}
.faq-2 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}
.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}
.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}
.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}
.faq-2 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}
.faq-2 .faq-container .faq-active h3 {
  color: var(--accent-color);
}
.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}
.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 19. Subscribe
--------------------------------------------------------------*/
.subscribe .container {
  padding: 70px 70px 0 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-radius: var(--radius-lg);
}
.subscribe .cta-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.subscribe .cta-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.subscribe .cta-form .form-control {
  height: 50px;
  border-radius: 25px 0 0 25px;
  border: 1px solid var(--accent-color);
  padding-left: 20px;
}
.subscribe .cta-form .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}
.subscribe .cta-form .btn {
  height: 50px;
  border-radius: 0 25px 25px 0;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.subscribe .cta-form .btn:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}
@media (max-width: 992px) {
  .subscribe .container {
    padding: 50px 40px 0 40px;
  }
  .subscribe .cta-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  .subscribe .cta-image {
    text-align: center;
  }
}
@media (max-width: 575px) {
  .subscribe .container {
    padding: 30px 15px 0 15px;
    border-radius: 0;
  }
  .subscribe .cta-form .btn {
    padding: 0 15px;
  }
}

/*--------------------------------------------------------------
# 20. Contact
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
  border-radius: var(--radius-sm);
}
.contact .info-item {
  margin-bottom: 40px;
}
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}
.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
}
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: var(--radius-sm);
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}
.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 11px 32px;
  transition: 0.4s;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.contact .php-email-form button[type="submit"]:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
@media (max-width: 575px) {
  .contact .info-wrap,
  .contact .php-email-form {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# 20b. Simulation CTA
--------------------------------------------------------------*/
.simulation-cta {
  padding: 60px 0;
}
.simulation-cta-content {
  background: linear-gradient(135deg, var(--heading-color) 0%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 45px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.simulation-cta-content::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent-color), transparent 70%) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.simulation-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.simulation-cta-icon i {
  font-size: 30px;
  color: var(--accent-color);
}
.simulation-cta-content h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.simulation-cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}
.btn-simulation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: #ffffff;
  padding: 15px 35px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--heading-font);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--accent-color), transparent 60%);
}
.btn-simulation:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px
    color-mix(in srgb, var(--accent-color), transparent 50%);
}
.btn-simulation i {
  font-size: 20px;
}
@media (max-width: 991px) {
  .simulation-cta-content {
    padding: 35px 30px;
    text-align: center;
  }
  .simulation-cta-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .simulation-cta-content p {
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .simulation-cta-content {
    padding: 30px 22px;
  }
  .simulation-cta-content h2 {
    font-size: 22px;
  }
  .btn-simulation {
    width: 100%;
    justify-content: center;
    padding: 14px 25px;
  }
}

/*--------------------------------------------------------------
# 21. Language Selector
--------------------------------------------------------------*/
.language-selector {
  position: relative;
  margin-left: 20px;
  margin-right: 12px;
  display: inline-block;
}
.language-selector .language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--nav-color, #fff), transparent 65%);
  color: var(--nav-color, #fff);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: var(--nav-font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.language-selector .language-toggle:hover {
  background: color-mix(in srgb, var(--nav-color, #fff), transparent 88%);
  border-color: var(--nav-hover-color, #0e9f9c);
  color: var(--nav-hover-color, #0e9f9c);
}
.language-selector .lang-flag {
  font-size: 16px;
  line-height: 1;
}
.language-selector .lang-code {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.language-selector .lang-arrow {
  font-size: 11px;
  transition: transform 0.3s ease;
  margin-left: 2px;
}
.language-selector.open .lang-arrow {
  transform: rotate(180deg);
}
.language-selector .language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface-color, #fff);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 6px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  z-index: 1000;
}
.language-selector.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-selector .language-menu li {
  margin: 0;
  padding: 0;
}
.language-selector .language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--nav-dropdown-color, #3a4a5c);
  font-size: 14px;
  font-family: var(--nav-font);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.language-selector .language-menu a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.language-selector .language-menu a.active {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-weight: 600;
}
.language-selector .language-menu a .lang-flag {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 1199px) {
  .language-selector {
    margin-left: 0;
    margin-right: 12px;
  }
  .language-selector .language-toggle {
    padding: 6px 10px;
    font-size: 13px;
    border-color: color-mix(in srgb, var(--nav-color, #fff), transparent 65%);
  }
  .language-selector .lang-code {
    display: none;
  }
  .language-selector .language-menu {
    min-width: 200px;
    right: 0;
  }
}
@media (max-width: 575px) {
  .header .btn-getstarted {
    display: none;
  }
  .language-selector {
    margin-right: 8px;
  }
}

.language-switcher-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.language-switcher-footer a {
  color: var(--default-color);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
  font-size: 14px;
}
.language-switcher-footer a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
}
.language-switcher-footer a.active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
# 22. Media Queries Globales
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# 23. Simulation Page
--------------------------------------------------------------*/
.simulation {
  padding: 120px 0 80px;
}
.simulation-form {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.simulation-form .form-group {
  margin-bottom: 32px;
}
.simulation-form .form-group:last-child {
  margin-bottom: 0;
}
.simulation-form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 12px;
}
.financing-type-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.financing-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 15px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--default-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--default-color);
}
.financing-type i {
  font-size: 22px;
  color: var(--accent-color);
}
.financing-type:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}
.financing-type.active {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-weight: 600;
}
.amount-display,
.duration-display {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  margin-bottom: 16px;
  text-align: center;
}
.amount-display span,
.duration-display span {
  font-size: 42px;
}
.simulation-form input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--default-color), transparent 88%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.simulation-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-color), transparent 50%);
  transition: transform 0.2s ease;
}
.simulation-form input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.simulation-form input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-color), transparent 50%);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 8px;
}
.simulation-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--default-color);
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  transition: border-color 0.3s ease;
}
.simulation-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}
.simulation-results {
  background: linear-gradient(135deg, var(--heading-color) 0%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  color: #ffffff;
  position: sticky;
  top: 100px;
}
.simulation-results h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.result-item:last-of-type {
  border-bottom: none;
}
.result-item.highlight {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  margin: 10px -15px;
  padding: 16px 15px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}
.result-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.result-value {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--heading-font);
}
.result-item.highlight .result-value {
  font-size: 22px;
  color: var(--accent-color);
}
.simulation-notice {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 25px 0;
}
.simulation-notice i {
  font-size: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}
.simulation-notice p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent-color);
  color: #ffffff;
  padding: 15px 25px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-apply:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
}
@media (max-width: 991px) {
  .simulation-form {
    padding: 30px 25px;
  }
  .simulation-results {
    position: static;
    margin-top: 30px;
  }
  .financing-type-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .financing-type-selector {
    grid-template-columns: 1fr;
  }
  .simulation-form {
    padding: 25px 20px;
  }
  .simulation-results {
    padding: 28px 22px;
  }
  .amount-display span,
  .duration-display span {
    font-size: 34px;
  }
}

/*--------------------------------------------------------------
# 24. Formulaire de demande
--------------------------------------------------------------*/
.demande-section {
  padding: 120px 0 80px;
}
.demande-section .form-section {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.demande-section .form-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 88%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.demande-section .form-section h3 i {
  color: var(--accent-color);
  font-size: 22px;
}
.demande-section .form-section .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.demande-section .form-section .form-control,
.demande-section .form-section .form-select {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  font-size: 15px;
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.demande-section .form-section .form-control:focus,
.demande-section .form-section .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
  outline: none;
}
.demande-section .form-section .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 65%);
}
.demande-section .form-section .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.demande-section .form-section .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
}
.demande-section .form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-color);
  color: #fff;
  padding: 15px 45px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--accent-color), transparent 55%);
}
.demande-section .form-submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px
    color-mix(in srgb, var(--accent-color), transparent 45%);
}
.demande-section .form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.demande-section .field-error {
  color: #df1529;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}
.demande-section .field-error.visible {
  display: block;
}
.demande-section .form-control.is-invalid,
.demande-section .form-select.is-invalid {
  border-color: #df1529 !important;
}
@media (max-width: 991px) {
  .demande-section {
    padding: 100px 0 60px;
  }
  .demande-section .form-section {
    padding: 30px 24px;
  }
}
@media (max-width: 575px) {
  .demande-section {
    padding: 90px 0 50px;
  }
  .demande-section .form-section {
    padding: 25px 20px;
  }
  .demande-section .form-section h3 {
    font-size: 16px;
  }
  .demande-section .form-submit-btn {
    width: 100%;
    padding: 14px 25px;
  }
}

/*--------------------------------------------------------------
# 25. Cookie Consent Banner
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  animation: cookieFadeIn 0.3s ease;
}
.cookie-banner[hidden] {
  display: none;
}
@keyframes cookieFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cookie-banner-inner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 35px 32px;
  box-shadow: 0 25px 60px rgba(15, 37, 64, 0.25);
  animation: cookieSlideUp 0.35s ease;
}
@keyframes cookieSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-icon {
  font-size: 42px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1;
}
.cookie-banner h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 12px;
  text-align: center;
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
  margin: 0 0 20px;
  text-align: left;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}
.cookie-btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--nav-font);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}
.cookie-btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}
.cookie-btn-secondary {
  background: transparent;
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 75%);
}
.cookie-btn-secondary:hover {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  border-color: var(--default-color);
}
.cookie-btn-outline {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.cookie-btn-outline:hover {
  background: var(--accent-color);
  color: #ffffff;
}
.cookie-links {
  font-size: 12px !important;
  text-align: center !important;
  margin: 16px 0 0 !important;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}
.cookie-links a {
  color: var(--accent-color);
  text-decoration: none;
}
.cookie-links a:hover {
  text-decoration: underline;
}
.cookie-view-customize h3 {
  text-align: left;
  font-size: 18px;
}
.cookie-view-customize > p {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}
.cookie-category:last-of-type {
  border-bottom: none;
}
.cookie-category strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 3px;
}
.cookie-category p {
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 75%);
  border-radius: 50px;
  transition: 0.3s;
}
.cookie-switch-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.cookie-switch input:checked + .cookie-switch-slider {
  background-color: var(--accent-color);
}
.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(18px);
}
.cookie-switch input:disabled + .cookie-switch-slider {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 575px) {
  .cookie-banner-inner {
    padding: 28px 22px;
  }
  .cookie-banner h3 {
    font-size: 18px;
  }
  .cookie-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
  .cookie-actions {
    flex-direction: column;
  }
}
.cookie-reopen {
  position: fixed;
  bottom: 70px;
  left: 15px;
  z-index: 9998;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--default-color);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: none;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.cookie-reopen:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}
.cookie-reopen.visible {
  display: inline-flex;
}

/*--------------------------------------------------------------
# 26. Page Interne (Produits & Services)
--------------------------------------------------------------*/
/* Ajustement du padding-top pour éviter le chevauchement avec le header fixe */
.page-interior .section:first-of-type {
  padding-top: 130px;
}

/* Espacement des sections sur les pages internes */
.page-interior .section {
  padding: 70px 0;
}

/* Titres H1 dans la section-title */
.page-interior .section-title h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-transform: none;
}

@media (max-width: 991px) {
  .page-interior .section:first-of-type {
    padding-top: 110px;
  }
  .page-interior .section-title h1 {
    font-size: 30px;
  }
}

@media (max-width: 575px) {
  .page-interior .section:first-of-type {
    padding-top: 100px;
  }
  .page-interior .section-title h1 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# 27. Cartes Produits (product-card, fin-card, inv-card)
--------------------------------------------------------------*/
.product-card,
.fin-card,
.inv-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.fin-card:hover,
.inv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.product-card .icon,
.fin-card .icon,
.inv-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.product-card .icon i,
.fin-card .icon i,
.inv-card .icon i {
  font-size: 26px;
  color: var(--accent-color);
}

.product-card h3,
.fin-card h3,
.inv-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.product-card p,
.fin-card p,
.inv-card p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.65;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-card .rate,
.fin-card .highlight,
.inv-card .highlight {
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

/* Boutons dans les cartes */
.product-card .btn-getstarted,
.fin-card .btn-getstarted,
.inv-card .btn-getstarted {
  display: inline-block;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  background: var(--accent-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
}

.product-card .btn-getstarted:hover,
.fin-card .btn-getstarted:hover,
.inv-card .btn-getstarted:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 575px) {
  .product-card,
  .fin-card,
  .inv-card {
    padding: 26px 22px;
  }
  .product-card h3,
  .fin-card h3,
  .inv-card h3 {
    font-size: 17px;
  }
  .product-card .btn-getstarted,
  .fin-card .btn-getstarted,
  .inv-card .btn-getstarted {
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# 28. Header sur pages internes
--------------------------------------------------------------*/
.page-interior .header {
  --background-color: #0f2540;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Sur mobile, le header garde le fond foncé */
@media (max-width: 1199px) {
  .page-interior .header {
    --background-color: #0f2540;
  }
  .page-interior .navmenu a {
    color: var(--nav-dropdown-color);
  }
  .page-interior .navmenu .active {
    color: var(--nav-hover-color);
  }
}

/*--------------------------------------------------------------
# 26b. Steps Number (pages internes)
--------------------------------------------------------------*/
.steps-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 575px) {
  .steps-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# 29. Corrections responsive pages internes
--------------------------------------------------------------*/

/* --- Boutons CTA empilés correctement en mobile --- */
.page-interior .section .text-center > a.btn-get-started,
.page-interior .section .text-center > a[href*="demande"],
.page-interior .section .text-center > a[href*="simulation"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 6px !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  /* Empiler les CTA verticalement */
  .page-interior .section .text-center {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .page-interior .section .text-center > a {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 25px !important;
    border-radius: var(--radius-pill) !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Enlever le margin-left des boutons secondaires */
  .page-interior .section .text-center > a[style*="margin-left"] {
    margin-left: 0 !important;
  }
}

/* --- Section title H1/H2 sur pages internes --- */
.page-interior .section-title h1,
.page-interior .section-title h2 {
  font-size: 32px;
  line-height: 1.25;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 991px) {
  .page-interior .section-title h1,
  .page-interior .section-title h2 {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .page-interior .section-title h1,
  .page-interior .section-title h2 {
    font-size: 22px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

/* --- FAQ items correctement alignés --- */
.page-interior .faq-2 .faq-container .faq-item,
.page-interior .faq-container .faq-item {
  padding: 20px 22px 20px 55px; /* Espace à gauche pour l'icône */
  position: relative;
}

.page-interior .faq-2 .faq-container .faq-item h3,
.page-interior .faq-container .faq-item h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 30px 0 0;
  padding: 0;
}

.page-interior .faq-2 .faq-container .faq-item .faq-icon,
.page-interior .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 18px;
  color: var(--accent-color);
  line-height: 1;
}

.page-interior .faq-2 .faq-container .faq-item .faq-toggle,
.page-interior .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 24px;
  right: 20px;
  font-size: 14px;
  color: var(--default-color);
  line-height: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.page-interior .faq-2 .faq-container .faq-item .faq-content,
.page-interior .faq-container .faq-item .faq-content {
  padding-left: 0;
  margin-top: 12px;
}

.page-interior .faq-2 .faq-container .faq-item .faq-content p,
.page-interior .faq-container .faq-item .faq-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .page-interior .faq-2 .faq-container .faq-item,
  .page-interior .faq-container .faq-item {
    padding: 18px 18px 18px 48px;
  }
  .page-interior .faq-2 .faq-container .faq-item h3,
  .page-interior .faq-container .faq-item h3 {
    font-size: 15px;
  }
  .page-interior .faq-2 .faq-container .faq-item .faq-icon,
  .page-interior .faq-container .faq-item .faq-icon {
    top: 18px;
    left: 16px;
    font-size: 16px;
  }
  .page-interior .faq-2 .faq-container .faq-item .faq-toggle,
  .page-interior .faq-container .faq-item .faq-toggle {
    top: 20px;
    right: 16px;
  }
}

/* --- Espacement des sections sur pages internes --- */
.page-interior .section {
  padding: 70px 0;
}

@media (max-width: 991px) {
  .page-interior .section {
    padding: 55px 0;
  }
}

@media (max-width: 575px) {
  .page-interior .section {
    padding: 45px 0;
  }
  .page-interior .section-title {
    padding-bottom: 35px;
  }
}

/* --- Cartes produits : boutons cohérents --- */
.product-card .btn-getstarted,
.fin-card .btn-getstarted,
.inv-card .btn-getstarted {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 11px 24px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--accent-color);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  white-space: nowrap;
}

.product-card .btn-getstarted:hover,
.fin-card .btn-getstarted:hover,
.inv-card .btn-getstarted:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .product-card .btn-getstarted,
  .fin-card .btn-getstarted,
  .inv-card .btn-getstarted {
    width: 100%;
    justify-content: center;
  }
}

/* --- Alertes et notices --- */
.page-interior .alert {
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  padding: 18px 22px;
}

/* --- Titres h3 dans les sections détaillées --- */
.page-interior .section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 25px;
}

.page-interior .section h3:first-child {
  margin-top: 0;
}

@media (max-width: 575px) {
  .page-interior .section h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# 30. FAQ standalone (pages internes)
--------------------------------------------------------------*/
.faq-container {
  margin-top: 0;
}

.faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 22px 55px 22px 55px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-container .faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

/* Contenu replié par défaut */
.faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Icône ? à gauche */
.faq-container .faq-item .faq-icon {
  position: absolute;
  top: 24px;
  left: 20px;
  font-size: 18px;
  line-height: 1;
  transition: color 0.3s ease;
  color: var(--accent-color);
}

/* Chevron à droite */
.faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 14px;
  line-height: 1;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
  color: var(--default-color);
}

.faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

/* État ouvert */
.faq-container .faq-item.faq-active h3 {
  color: var(--accent-color);
}

.faq-container .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 12px;
}

.faq-container .faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/* Responsive mobile */
@media (max-width: 575px) {
  .faq-container .faq-item {
    padding: 18px 45px 18px 45px;
  }
  .faq-container .faq-item h3 {
    font-size: 15px;
  }
  .faq-container .faq-item .faq-icon {
    top: 20px;
    left: 16px;
    font-size: 16px;
  }
  .faq-container .faq-item .faq-toggle {
    top: 20px;
    right: 18px;
  }
  .faq-container .faq-item .faq-content p {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# 31. Sections détaillées (Qu'est-ce que... / Conditions)
--------------------------------------------------------------*/
.page-interior .section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 18px;
  line-height: 1.3;
}

.page-interior .section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 14px;
  margin-top: 0;
  line-height: 1.3;
}

.page-interior .section p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-bottom: 15px;
}

.page-interior .section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-interior .section ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.page-interior .section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Tableau "Conditions en un coup d'œil" */
.page-interior .section table.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  margin-bottom: 25px;
}

.page-interior .section table.table tr {
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.page-interior .section table.table tr:last-child {
  border-bottom: none;
}

.page-interior .section table.table td {
  padding: 14px 20px;
  vertical-align: middle;
  border: none;
  color: var(--default-color);
}

.page-interior .section table.table td:first-child {
  font-weight: 600;
  color: var(--heading-color);
  width: 40%;
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.page-interior .section table.table td:last-child {
  font-weight: 500;
}

/* Documents requis en cartes */
.page-interior .section .documents-list {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 22px 25px;
  box-shadow: var(--shadow-sm);
  margin-top: 15px;
}

.page-interior .section .documents-list ul {
  margin-bottom: 0;
}

/* Deux colonnes côte à côte */
@media (max-width: 991px) {
  .page-interior .section h2 {
    font-size: 24px;
  }
  .page-interior .section h3 {
    font-size: 18px;
  }
  .page-interior .section table.table td {
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .page-interior .section h2 {
    font-size: 20px;
  }
  .page-interior .section h3 {
    font-size: 17px;
    margin-top: 20px;
  }
  .page-interior .section p {
    font-size: 14px;
  }
  .page-interior .section ul li {
    font-size: 14px;
    padding-left: 20px;
  }
  .page-interior .section table.table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# 32. Boutons responsive — pages internes & sous-pages
--------------------------------------------------------------*/

/* --- Boutons principaux (toutes pages internes) --- */
.page-interior a.btn-get-started,
.page-interior a.btn-getstarted,
.page-interior a.buy-btn,
.page-interior a.read-more,
.page-interior a.btn-simulation,
.page-interior a.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  transition: all 0.3s ease;
}

/* --- CTA isolés (sans conteneur .text-center) --- */
.page-interior .section > .container > a.btn-get-started,
.page-interior .section > .container > a.btn-getstarted,
.page-interior .section > .container > p > a.btn-get-started,
.page-interior .section > .container > p > a.btn-getstarted,
.page-interior
  .section
  > .container
  > div
  > a.btn-get-started:not(.btn-simulation) {
  display: flex;
  margin: 20px auto 0;
  width: fit-content;
  max-width: 100%;
}

/* --- CTA dans les cartes produit (product-card, fin-card, inv-card) --- */
.product-card a.btn-getstarted,
.fin-card a.btn-getstarted,
.inv-card a.btn-getstarted,
.product-card a.btn-get-started,
.fin-card a.btn-get-started,
.inv-card a.btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-start;
  padding: 11px 24px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-color);
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 100%;
}

.product-card a.btn-getstarted:hover,
.fin-card a.btn-getstarted:hover,
.inv-card a.btn-getstarted:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* --- CTA dans les sections "Conditions" (buy-btn) --- */
.page-interior .conditions-card .buy-btn,
.page-interior .conditions-card a {
  white-space: normal;
  word-wrap: break-word;
}

/* --- CTA dans la section Simulation CTA --- */
.page-interior .btn-simulation {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .page-interior .btn-simulation {
    white-space: normal;
  }
}

/* --- Responsive global : tous les boutons --- */
@media (max-width: 768px) {
  /* Boutons principaux : largeur automatique centrée */
  .page-interior a.btn-get-started,
  .page-interior a.btn-getstarted,
  .page-interior a.buy-btn,
  .page-interior a.read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 13px 25px;
    font-size: 14px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }

  /* Boutons dans les cartes produit : pleine largeur */
  .product-card a.btn-getstarted,
  .fin-card a.btn-getstarted,
  .inv-card a.btn-getstarted,
  .product-card a.btn-get-started,
  .fin-card a.btn-get-started,
  .inv-card a.btn-get-started {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    white-space: normal;
  }

  /* CTA isolés (dans un paragraphe ou une div) */
  .page-interior .section > .container > p > a.btn-get-started,
  .page-interior .section > .container > p > a.btn-getstarted,
  .page-interior
    .section
    > .container
    > div
    > a.btn-get-started:not(.btn-simulation) {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
  }
}

@media (max-width: 575px) {
  /* Réduire encore la taille en très petit écran */
  .page-interior a.btn-get-started,
  .page-interior a.btn-getstarted,
  .page-interior a.buy-btn,
  .page-interior a.read-more {
    padding: 12px 20px;
    font-size: 13px;
    max-width: 100%;
  }

  .product-card a.btn-getstarted,
  .fin-card a.btn-getstarted,
  .inv-card a.btn-getstarted,
  .product-card a.btn-get-started,
  .fin-card a.btn-get-started,
  .inv-card a.btn-get-started {
    padding: 11px 18px;
    font-size: 13px;
  }

  /* Le bouton dans la section FAQ "En savoir plus" */
  .page-interior .section .text-center a {
    width: 100%;
    max-width: 100%;
    padding: 13px 20px;
    font-size: 14px;
  }
}

/* --- Cas particulier : bouton dans une <p> (sous-pages détail) --- */
.page-interior .section p > a.btn-get-started,
.page-interior .section p > a.btn-getstarted,
.page-interior .section p > a.read-more {
  display: inline-flex;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .page-interior .section p > a.btn-get-started,
  .page-interior .section p > a.btn-getstarted,
  .page-interior .section p > a.read-more {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 15px 0 0;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# 33. Header responsive — pages internes (mobile & tablette)
--------------------------------------------------------------*/

/* --- Ordre des éléments dans le header sur pages internes --- */
@media (max-width: 1199px) {
  .page-interior .header .container-fluid {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .page-interior .header .logo {
    order: 1;
    flex-shrink: 0;
    min-width: 0;
  }

  .page-interior .header .logo h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .page-interior .header .language-selector {
    order: 2;
    margin-left: auto;
    margin-right: 8px;
    flex-shrink: 0;
  }

  .page-interior .header .navmenu {
    order: 3;
    flex-shrink: 0;
  }

  .page-interior .header .btn-getstarted {
    order: 4;
    display: none !important;
  }
}

/* --- Tablette : CTA compact visible --- */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-interior .header .btn-getstarted {
    display: inline-flex !important;
    margin: 0 0 0 12px;
    padding: 7px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  .page-interior .header .logo h1 {
    font-size: 24px;
  }
}

/* --- Petit mobile : tout compacter --- */
@media (max-width: 575px) {
  .page-interior .header {
    padding: 12px 0;
  }
  .page-interior .header .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-interior .header .logo h1 {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  .page-interior .header .language-selector {
    margin-right: 4px;
  }
  .page-interior .header .language-selector .language-toggle {
    padding: 5px 9px;
    font-size: 12px;
  }
  .page-interior .header .language-selector .lang-code {
    display: none;
  }
  .page-interior .header .mobile-nav-toggle {
    font-size: 24px;
    margin-right: 0;
  }
}

/*--------------------------------------------------------------
# 33b. Même correction pour la page d'accueil (DE + FR)
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .index-page .header .logo h1 {
    font-size: 22px;
  }
  .index-page .header .btn-getstarted {
    margin: 0 0 0 15px;
    padding: 7px 16px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .index-page .header .logo h1 {
    font-size: 18px;
  }
  .index-page .header .language-selector .language-toggle {
    padding: 5px 9px;
    font-size: 12px;
  }
  .index-page .header .language-selector .lang-code {
    display: none;
  }
  .index-page .header .mobile-nav-toggle {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# 33c. Menu mobile
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .mobile-nav-active .navmenu > ul {
    display: block;
    padding: 20px 10px;
  }
  .mobile-nav-active .navmenu > ul > li {
    margin-bottom: 4px;
  }
  .mobile-nav-active .header .logo,
  .mobile-nav-active .header .language-selector,
  .mobile-nav-active .header .btn-getstarted {
    position: relative;
    z-index: 9998;
    color: #ffffff;
  }
  .page-interior .navmenu .dropdown > ul {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
  }
  .page-interior .navmenu .dropdown > .dropdown-active {
    display: block;
  }
  .page-interior .navmenu .dropdown > .dropdown-active > li > a {
    font-size: 15px;
    padding: 8px 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
  }
}

/*--------------------------------------------------------------
# 33d. CTA dans le menu mobile (DE + FR)
--------------------------------------------------------------*/
.navmenu .mobile-cta {
  display: none;
}

@media (max-width: 1199px) {
  .navmenu .mobile-cta {
    display: block;
    margin-top: 10px;
    padding: 0 20px;
  }
  .navmenu .mobile-cta .btn-mobile-cta {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--accent-color);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .navmenu .mobile-cta .btn-mobile-cta:hover {
    background: var(--accent-dark);
  }
}

/*--------------------------------------------------------------
# 34. Multi-step Form
--------------------------------------------------------------*/
.form-progress {
  margin-bottom: 40px;
  padding: 0 10px;
}

.form-progress-bar {
  position: relative;
  height: 4px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 25px;
}

.form-progress-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.form-progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.form-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-progress-step .form-progress-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-progress-step.active {
  color: var(--accent-color);
}

.form-progress-step.active .form-progress-circle {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 12px
    color-mix(in srgb, var(--accent-color), transparent 60%);
}

.form-progress-step.completed {
  color: var(--accent-color);
}

.form-progress-step.completed .form-progress-circle {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

@media (max-width: 575px) {
  .form-progress-step span {
    font-size: 10px;
  }
  .form-progress-step .form-progress-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* --- Étapes du formulaire --- */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: formStepFadeIn 0.4s ease;
}

@keyframes formStepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Cartes de sélection du type de financement --- */
.financing-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.financing-option {
  position: relative;
  cursor: pointer;
  display: block;
}

.financing-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.financing-option-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: var(--radius-md);
  background: var(--surface-color);
  transition: all 0.3s ease;
  height: 100%;
  text-align: left;
}

.financing-option-content i {
  font-size: 26px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.financing-option-content strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
}

.financing-option-content span {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.4;
}

.financing-option input[type="radio"]:checked + .financing-option-content {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  box-shadow: 0 4px 14px
    color-mix(in srgb, var(--accent-color), transparent 85%);
}

.financing-option:hover .financing-option-content {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .financing-options {
    grid-template-columns: 1fr;
  }
}

/* --- Navigation entre étapes --- */
.form-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.form-navigation .btn-prev,
.form-navigation .btn-next,
.form-navigation .form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--default-font);
  white-space: nowrap;
}

.form-navigation .btn-prev {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.form-navigation .btn-prev:hover {
  border-color: var(--default-color);
  background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.form-navigation .btn-next,
.form-navigation .form-submit-btn {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 6px 20px
    color-mix(in srgb, var(--accent-color), transparent 60%);
}

.form-navigation .btn-next:hover,
.form-navigation .form-submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.form-navigation .btn-next:disabled,
.form-navigation .form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-navigation #formMessage {
  flex: 0 0 100%;
  margin-top: 12px;
}

.form-navigation .btn-next i {
  transition: transform 0.3s ease;
}

.form-navigation .btn-next:hover i {
  transform: translateX(4px);
}

.form-navigation .btn-prev i {
  transition: transform 0.3s ease;
}

.form-navigation .btn-prev:hover i {
  transform: translateX(-4px);
}

@media (max-width: 575px) {
  .form-navigation {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .form-navigation .btn-prev,
  .form-navigation .btn-next,
  .form-navigation .form-submit-btn {
    width: 100%;
  }
}

/* --- Récapitulatif --- */
.recap-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.recap-section {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--accent-color);
}

.recap-section h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.recap-list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 20px;
  margin: 0;
  font-size: 14px;
}

.recap-list dt {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.recap-list dd {
  color: var(--heading-color);
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}

@media (max-width: 575px) {
  .recap-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .recap-list dt {
    margin-top: 8px;
  }
}
